@npmcli/package-json
Advanced tools
Comparing version 5.0.3 to 5.1.0
@@ -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", ... } **/ |
{ | ||
"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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37452
898