snyk-go-plugin
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -204,5 +204,7 @@ var fs = require('fs'); | ||
} else { | ||
pkg.dependencies[child.name] = child; | ||
pkg._counts[child.name] = (pkg._counts[child.name] || 0) + 1; | ||
// in case was already added via a grandchild | ||
if (!pkg.dependencies[child.name]) { | ||
pkg.dependencies[child.name] = child; | ||
pkg._counts[child.name] = (pkg._counts[child.name] || 0) + 1; | ||
} | ||
} | ||
@@ -209,0 +211,0 @@ }) |
@@ -12,5 +12,7 @@ { | ||
"lint": "jscs `find ./lib -name '*.js'` -v && jscs `find ./test -name '*.js'` -v", | ||
"test": "tap `find ./test -name '*.test.js'`", | ||
"test-functional": "tap `ls ./test/*.test.js`", | ||
"test-system": "tap --timeout=300 `ls ./test/system/*.test.js`", | ||
"test": "npm run test-functional && npm run test-system", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post", | ||
"watch": "nodemon -e 'js go' -x 'npm test'" | ||
"watch": "nodemon -e 'js go' -x 'npm test-functional'" | ||
}, | ||
@@ -29,3 +31,3 @@ "author": "snyk.io", | ||
}, | ||
"version": "1.3.6" | ||
"version": "1.3.7" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19295
283