New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cortex-shrinkwrap

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cortex-shrinkwrap - npm Package Compare versions

Comparing version 3.0.2 to 4.0.0

.jshintrc

13

lib/shrinktree.js

@@ -56,4 +56,4 @@ var path = require('path');

return cb(null, null, json);
} catch (err) {
return cb(err);
} catch (e) {
return cb(e);
}

@@ -76,3 +76,3 @@ });

traveller.visit(pkg, {
enter: function(node, parent) {
enter: function(node, parent, circular, ref) {
var ret;

@@ -125,2 +125,9 @@ var key = node.pkg.name + '@' + node.pkg.version + node.from;

if (circular && ref) {
n = {
from: node.pkg.name + '@' + node.from,
version: node.pkg.version
};
}
if (parent) {

@@ -127,0 +134,0 @@ var pkey = parent.pkg.name + '@' + parent.pkg.version + parent.from;

{
"name": "cortex-shrinkwrap",
"version": "3.0.2",
"version": "4.0.0",
"description": "Lock down the versions of a package's dependencies",
"main": "./lib/index.js",
"scripts": {
"lint": "./node_modules/.bin/jshint {bin,lib,test}/*.js",
"lint": "./node_modules/.bin/jshint lib/*.js test/*.js",
"test": "npm run lint && ./node_modules/.bin/mocha -R spec test"

@@ -35,4 +35,4 @@ },

"sorted-object": "~1.0.0",
"cortex-deps-traveller": "^1.2.0"
"cortex-deps-traveller": "^2.0.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