Socket
Socket
Sign inDemoInstall

licensee

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

licensee - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

6

index.js

@@ -79,4 +79,5 @@ module.exports = licensee

function readDependencyList (done) {
var executable = process.platform === 'win32' ? 'npm.cmd' : 'npm'
var child = spawn(
'npm', ['ls', '--production', '--json'], { cwd: path }
executable, ['ls', '--production', '--json'], { cwd: path }
)

@@ -89,2 +90,5 @@ var outputError

})
child.once('error', function (error) {
outputError = error;
})
child.once('close', function (code) {

@@ -91,0 +95,0 @@ if (code !== 0) {

7

package.json
{
"name": "licensee",
"description": "check dependency licenses against rules",
"version": "7.0.1",
"version": "7.0.2",
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (https://kemitchell.com/)",

@@ -18,3 +18,3 @@ "contributors": [

"run-parallel": "^1.1.9",
"semver": "^5.6.0",
"semver": "^6.1.1",
"simple-concat": "^1.0.0",

@@ -35,3 +35,2 @@ "spdx-expression-parse": "^3.0.0",

"spawn-sync": "^2.0.0",
"standard": "^12.0.1",
"tap": "^11.0.0"

@@ -43,5 +42,5 @@ },

"licenses": "./licensee --errors-only",
"style": "standard index.js",
"lint": "npx standard index.js licensee",
"test": "tap tests/**/test.js"
}
}

Sorry, the diff of this file is not supported yet

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