Sha256: 08be826850413e9a47e827097aa40e10cd3e333d4cf2ce1e1a04d5ba107405fa
Contents?: true
Size: 475 Bytes
Versions: 10
Compression:
Stored size: 475 Bytes
Contents
module LicenseFinder class NpmPackage < Package def initialize(spec, options={}) super( spec["name"], spec["version"], options.merge( description: spec["description"], homepage: spec["homepage"], spec_licenses: Package.license_names_from_standard_spec(spec), install_path: spec["path"], children: spec.fetch("dependencies", {}).map { |_, d| d["name"] } ) ) end end end
Version data entries
10 entries across 10 versions & 1 rubygems