Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

license-checker

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

license-checker - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

CHANGELOG.md

9

lib/index.js

@@ -30,2 +30,3 @@ /*

unknown = options.unknown,
readmeFile,
licenseData, files = [], licenseFile;

@@ -101,2 +102,10 @@

licenseData = json.license || json.licenses || undefined;
if (json.path && (!json.readme || json.readme.toLowerCase().indexOf('no readme data found') > -1)) {
readmeFile = path.join(json.path, 'README.md');
if (fs.existsSync(readmeFile)) {
json.readme = fs.readFileSync(readmeFile, 'utf8').toString();
}
}
if (licenseData) {

@@ -103,0 +112,0 @@ /*istanbul ignore else*/

5

package.json

@@ -5,3 +5,3 @@ {

"author": "Dav Glass <davglass@gmail.com>",
"version": "6.0.0",
"version": "7.0.0",
"contributors": [

@@ -25,2 +25,3 @@ "Adam Weber <adamweber01@gmail.com>",

"Stan Senotrusov <stan@senotrusov.com>",
"Stoyan Revov <st.revov@gmail.com>",
"Tero Keski-Valkama <tero.keski-valkama@cybercom.com>",

@@ -44,2 +45,3 @@ "Thomas Grainger <tagrain@gmail.com>",

"format-package-json": "^0.2.0",
"github-changes": "^1.0.4",
"git-contributors": "^0.2.3",

@@ -65,2 +67,3 @@ "istanbul": "^0.4.3",

"scripts": {
"changes": "github-changes -o davglass -r license-checker",
"contrib": "./scripts/contrib.js",

@@ -67,0 +70,0 @@ "pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./lib/",

2

README.md

@@ -100,3 +100,3 @@ NPM License Checker

start: '/path/to/start/looking'
}, function(json, err) {
}, function(err, json) {
if (err) {

@@ -103,0 +103,0 @@ //Handle error

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc