Socket
Socket
Sign inDemoInstall

@npmcli/package-json

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/package-json - npm Package Compare versions

Comparing version 5.0.3 to 5.1.0

6

lib/index.js

@@ -170,2 +170,8 @@ const { readFile, writeFile } = require('fs/promises')

fromContent (data) {
this.#manifest = data
this.#canSave = false
return this
}
// Load data from a comment

@@ -172,0 +178,0 @@ // /**package { "name": "foo", "version": "1.2.3", ... } **/

6

package.json
{
"name": "@npmcli/package-json",
"version": "5.0.3",
"version": "5.1.0",
"description": "Programmatic API to update package.json",

@@ -28,3 +28,3 @@ "main": "lib/index.js",

"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.21.3",
"@npmcli/template-oss": "4.21.4",
"read-package-json": "^7.0.0",

@@ -52,3 +52,3 @@ "read-package-json-fast": "^3.0.2",

"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.21.3",
"version": "4.21.4",
"publish": "true"

@@ -55,0 +55,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