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

shrinked

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shrinked - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "shrinked",
"version": "0.1.2",
"version": "0.1.3",
"description": "Parses the shrinkwrap.json and returns the B+ tree of the dependencies.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -41,2 +41,18 @@ # shrinked [![NPM version](https://badge.fury.io/js/shrinked.svg)](http://badge.fury.io/js/shrinked) [![Build Status](https://travis-ci.org/kaelzhang/node-shrinked.svg?branch=master)](https://travis-ci.org/kaelzhang/node-shrinked) [![Dependency Status](https://gemnasium.com/kaelzhang/node-shrinked.svg)](https://gemnasium.com/kaelzhang/node-shrinked)

```js
shrinked('cortex-shrinkwrap.json', {
dependencyKeys: [
'dependencies',
// Then `shrinked` will parse three more keys in addition.
'asyncDependencies',
'devDependencies',
'engines'
]
}, function(err, tree){
if (err) {
return console.error(err);
}
console.log('The B+ tree is', util.inspect(tree, depth: 10));
});
```

@@ -43,0 +59,0 @@ ### shrinked.parse(json, [options])

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