Socket
Socket
Sign inDemoInstall

init-package-json

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

init-package-json - npm Package Compare versions

Comparing version 1.7.1 to 1.8.0

3

default-input.js

@@ -35,2 +35,5 @@ var fs = require('fs')

if (!p.version) return next()
if (p._requiredBy) {
if (!p._requiredBy.some(function (req) { return req === '#USER' })) return next()
}
deps[d] = config.get('save-exact') ? p.version : config.get('save-prefix') + p.version

@@ -37,0 +40,0 @@ return next()

2

package.json
{
"name": "init-package-json",
"version": "1.7.1",
"version": "1.8.0",
"main": "init-package-json.js",

@@ -5,0 +5,0 @@ "scripts": {

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