Socket
Socket
Sign inDemoInstall

snyk-php-plugin

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-php-plugin - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

6

lib/index.js

@@ -13,2 +13,6 @@ var debug = require('debug')('snyk');

composerLockObj = loadJsonFile(basePath, fileName);
// throw an error if improper lockfile received
if (typeof composerLockObj.packages !== 'object') {
throw new Error('Invalid lock file ' + basePath + '/' + fileName);
}
// we want to load the json file as well; usually composer.json

@@ -19,3 +23,3 @@ composerJsonObj = loadJsonFile(basePath,

debug(error.message);
return Promise.reject(new Error('Unable to parse manifest files'));
return Promise.reject(error || new Error('Unable to parse manifest files'));
}

@@ -22,0 +26,0 @@ var ret = generateJsonReport(fileName, composerJsonObj, composerLockObj);

2

package.json

@@ -1,1 +0,1 @@

{"name":"snyk-php-plugin","description":"Snyk CLI PHP plugin","main":"lib/index.js","scripts":{"build":"mkdir dist; lodash -p -o ./dist/lodash-min.js include=get,find,clone","lint":"npm run eslint","eslint":"./node_modules/.bin/eslint -c .eslintrc lib test","test-functional":"tap `find ./test -name '*.test.js'` -R spec","test":"npm run test-functional","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"files":["lib","dist"],"homepage":"https://github.com/snyk/snyk-php-plugin","repository":{"type":"git","url":"https://github.com/snyk/snyk-php-plugin"},"author":"snyk.io","license":"Apache-2.0","dependencies":{"debug":"^3.1.0"},"devDependencies":{"lodash-cli":"^4.17.4","eslint":"^4.11.0","tap":"^10.7.3","semantic-release":"^8.2.0"},"version":"1.1.2"}
{"name":"snyk-php-plugin","description":"Snyk CLI PHP plugin","main":"lib/index.js","scripts":{"build":"mkdir dist; lodash -p -o ./dist/lodash-min.js include=get,find,clone","lint":"npm run eslint","eslint":"./node_modules/.bin/eslint -c .eslintrc lib test","test-functional":"tap `find ./test -name '*.test.js'` -R spec","test":"npm run test-functional","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"files":["lib","dist"],"homepage":"https://github.com/snyk/snyk-php-plugin","repository":{"type":"git","url":"https://github.com/snyk/snyk-php-plugin"},"author":"snyk.io","license":"Apache-2.0","dependencies":{"debug":"^3.1.0"},"devDependencies":{"lodash-cli":"^4.17.4","eslint":"^4.11.0","tap":"^10.7.3","semantic-release":"^8.2.0"},"version":"1.2.0"}
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