Socket
Socket
Sign inDemoInstall

read-package-json

Package Overview
Dependencies
Maintainers
6
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-package-json - npm Package Compare versions

Comparing version 4.1.2 to 5.0.0

lib/read-json.js

39

package.json
{
"name": "read-package-json",
"version": "4.1.2",
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"version": "5.0.0",
"author": "GitHub Inc.",
"description": "The thing npm uses to read package.json files with semantics and defaults and validation",

@@ -10,3 +10,3 @@ "repository": {

},
"main": "read-json.js",
"main": "lib/read-json.js",
"scripts": {

@@ -16,18 +16,23 @@ "prerelease": "npm t",

"release": "standard-version -s",
"test": "tap --nyc-arg=--all --coverage test/*.js",
"test": "tap",
"npmclilint": "npmcli-lint",
"lint": "npm run npmclilint -- --ignore-pattern test/fixtures \"*.*js\" \"test/**/*.*js\"",
"lint": "eslint '**/*.js'",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint --",
"postsnap": "npm run lintfix --"
"posttest": "npm run lint",
"postsnap": "npm run lintfix --",
"postlint": "npm-template-check",
"template-copy": "npm-template-copy --force",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"snap": "tap"
},
"dependencies": {
"glob": "^7.1.1",
"json-parse-even-better-errors": "^2.3.0",
"normalize-package-data": "^3.0.0",
"npm-normalize-package-bin": "^1.0.0"
"glob": "^7.2.0",
"json-parse-even-better-errors": "^2.3.1",
"normalize-package-data": "^4.0.0",
"npm-normalize-package-bin": "^1.0.1"
},
"devDependencies": {
"@npmcli/lint": "^1.0.2",
"standard-version": "^9.3.1",
"@npmcli/template-oss": "^2.9.2",
"tap": "^15.0.9"

@@ -37,6 +42,7 @@ },

"files": [
"read-json.js"
"bin",
"lib"
],
"engines": {
"node": ">=10"
"node": "^12.13.0 || ^14.15.0 || >=16"
},

@@ -48,3 +54,6 @@ "tap": {

"statements": 77
},
"templateOSS": {
"version": "2.9.2"
}
}
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