{"_id":"@npmcli/package-json","_rev":"4130653","name":"@npmcli/package-json","description":"Programmatic API to update package.json","dist-tags":{"latest":"7.0.5"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"time":{"modified":"2026-03-01T18:32:36.000Z","created":"2021-06-22T23:24:10.542Z","7.0.5":"2026-02-19T17:10:15.697Z","7.0.4":"2025-11-21T16:40:59.989Z","7.0.3":"2025-11-18T22:41:33.715Z","7.0.2":"2025-11-04T18:32:52.188Z","7.0.1":"2025-09-17T21:53:06.656Z","7.0.0":"2025-08-28T20:48:23.437Z","6.2.0":"2025-05-21T16:28:33.275Z","6.1.1":"2025-01-21T17:24:59.208Z","6.1.0":"2024-11-27T17:40:15.035Z","6.0.1":"2024-10-02T16:40:57.169Z","6.0.0":"2024-09-26T18:50:32.583Z","5.2.1":"2024-09-17T20:35:10.657Z","5.2.0":"2024-06-03T15:58:37.907Z","5.1.1":"2024-05-29T15:54:27.585Z","5.1.0":"2024-04-22T20:51:40.871Z","5.0.3":"2024-04-12T22:06:15.981Z","5.0.2":"2024-04-10T15:59:02.632Z","5.0.1":"2024-04-09T17:53:34.763Z","5.0.0":"2023-08-15T17:48:46.423Z","4.0.1":"2023-07-17T20:41:15.229Z","4.0.0":"2023-07-05T17:15:50.745Z","3.1.1":"2023-06-06T17:34:12.290Z","3.1.0":"2023-05-16T15:53:12.163Z","3.0.0":"2022-10-14T02:00:58.968Z","2.0.0":"2022-04-05T14:02:07.676Z","1.0.1":"2021-06-23T16:26:13.768Z","1.0.0":"2021-06-22T23:24:10.542Z"},"users":{},"author":{"name":"GitHub Inc."},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"versions":{"7.0.5":{"name":"@npmcli/package-json","version":"7.0.5","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^7.0.0","glob":"^13.0.0","hosted-git-info":"^9.0.0","json-parse-even-better-errors":"^5.0.0","proc-log":"^6.0.0","semver":"^7.5.3","spdx-expression-parse":"^4.0.0"},"devDependencies":{"@npmcli/eslint-config":"^6.0.0","@npmcli/template-oss":"4.28.1","tap":"^16.0.1"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.28.1","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"78c442dbe8ff4221e529ffdc2093383723da73e6","_id":"@npmcli/package-json@7.0.5","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.22.0","_npmVersion":"11.10.0","dist":{"shasum":"e29481dfc586d1625a6553799e6bec52ae0487a5","size":15050,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-7.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-7.0.5.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6950df50-2c8a-4ada-94a3-2860b9afcfef"}},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_7.0.5_1771521015565_0.23878281310503247"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-19T17:10:15.697Z","publish_time":1771521015697,"_source_registry_name":"default","_cnpm_publish_time":1771521015697},"7.0.4":{"name":"@npmcli/package-json","version":"7.0.4","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^7.0.0","glob":"^13.0.0","hosted-git-info":"^9.0.0","json-parse-even-better-errors":"^5.0.0","proc-log":"^6.0.0","semver":"^7.5.3","validate-npm-package-license":"^3.0.4"},"devDependencies":{"@npmcli/eslint-config":"^6.0.0","@npmcli/template-oss":"4.28.0","tap":"^16.0.1"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.28.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"87a59959a2850fbdef13440d9a0ca41b63721dda","_id":"@npmcli/package-json@7.0.4","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.21.1","_npmVersion":"11.6.3","dist":{"shasum":"f4178e5d90b888f3bdf666915706f613c2d870d7","size":14773,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-7.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-7.0.4.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6950df50-2c8a-4ada-94a3-2860b9afcfef"}},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_7.0.4_1763743259793_0.5795781935792952"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-21T16:40:59.989Z","publish_time":1763743259989,"_source_registry_name":"default","_cnpm_publish_time":1763743259989},"7.0.3":{"name":"@npmcli/package-json","version":"7.0.3","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^7.0.0","glob":"^12.0.0","hosted-git-info":"^9.0.0","json-parse-even-better-errors":"^5.0.0","proc-log":"^6.0.0","semver":"^7.5.3","validate-npm-package-license":"^3.0.4"},"devDependencies":{"@npmcli/eslint-config":"^6.0.0","@npmcli/template-oss":"4.28.0","tap":"^16.0.1"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.28.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"6204a3894ad9ab41050a430a8d84cff1465e9a09","_id":"@npmcli/package-json@7.0.3","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.21.1","_npmVersion":"11.6.2","dist":{"shasum":"785271154d6090b0a1d29303ba1c3bf737b1204f","size":14776,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-7.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-7.0.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6950df50-2c8a-4ada-94a3-2860b9afcfef"}},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_7.0.3_1763505693524_0.23226454572325417"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-18T22:41:33.715Z","publish_time":1763505693715,"_source_registry_name":"default","_cnpm_publish_time":1763505693715},"7.0.2":{"name":"@npmcli/package-json","version":"7.0.2","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^7.0.0","glob":"^11.0.3","hosted-git-info":"^9.0.0","json-parse-even-better-errors":"^5.0.0","proc-log":"^6.0.0","semver":"^7.5.3","validate-npm-package-license":"^3.0.4"},"devDependencies":{"@npmcli/eslint-config":"^6.0.0","@npmcli/template-oss":"4.28.0","tap":"^16.0.1"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.28.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"8e979b3c5f215a57156789912f0305bf539daf3d","_id":"@npmcli/package-json@7.0.2","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.21.1","_npmVersion":"11.6.2","dist":{"shasum":"9ac89c08d6a637bd0db8a73717d53ec45d87fa5c","size":14775,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-7.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-7.0.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6950df50-2c8a-4ada-94a3-2860b9afcfef"}},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_7.0.2_1762281171976_0.27428512147268"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-04T18:32:52.188Z","publish_time":1762281172188,"_source_registry_name":"default","_cnpm_publish_time":1762281172188},"7.0.1":{"name":"@npmcli/package-json","version":"7.0.1","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^7.0.0","glob":"^11.0.3","hosted-git-info":"^9.0.0","json-parse-even-better-errors":"^4.0.0","proc-log":"^5.0.0","semver":"^7.5.3","validate-npm-package-license":"^3.0.4"},"devDependencies":{"@npmcli/eslint-config":"^5.1.0","@npmcli/template-oss":"4.25.0","tap":"^16.0.1"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.25.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@7.0.1","gitHead":"5aa1707d4302bcf030c6d19efd812e62609c6b53","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.19.0","_npmVersion":"11.6.0","dist":{"shasum":"709e852298777f6f1251afa2f200d3843f65caf3","size":14778,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-7.0.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6950df50-2c8a-4ada-94a3-2860b9afcfef"}},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_7.0.1_1758145986407_0.0047362265834274275"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-17T21:53:06.656Z","publish_time":1758145986656,"_source_registry_name":"default","_cnpm_publish_time":1758145986656},"7.0.0":{"name":"@npmcli/package-json","version":"7.0.0","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^6.0.0","glob":"^11.0.3","hosted-git-info":"^9.0.0","json-parse-even-better-errors":"^4.0.0","proc-log":"^5.0.0","semver":"^7.5.3","validate-npm-package-license":"^3.0.4"},"devDependencies":{"@npmcli/eslint-config":"^5.1.0","@npmcli/template-oss":"4.25.0","tap":"^16.0.1"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.25.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@7.0.0","gitHead":"f5db81bdfbba5e9d3bfc0732f8bfe511825a20aa","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.18.0","_npmVersion":"11.5.2","dist":{"shasum":"d429eb2e190b600e43318abaf978931dca5760fa","size":14780,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-7.0.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_7.0.0_1756414103247_0.13241882788726178"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-28T20:48:23.437Z","publish_time":1756414103437,"_source_registry_name":"default","_cnpm_publish_time":1756414103437},"6.2.0":{"name":"@npmcli/package-json","version":"6.2.0","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^6.0.0","glob":"^10.2.2","hosted-git-info":"^8.0.0","json-parse-even-better-errors":"^4.0.0","proc-log":"^5.0.0","semver":"^7.5.3","validate-npm-package-license":"^3.0.4"},"devDependencies":{"@npmcli/eslint-config":"^5.1.0","@npmcli/template-oss":"4.23.6","read-package-json":"^7.0.0","read-package-json-fast":"^4.0.0","tap":"^16.0.1"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.6","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@6.2.0","gitHead":"a4116dc37d50b6606ab03fec2f8b4a8a30e2abb8","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.15.0","_npmVersion":"11.4.0","dist":{"shasum":"7c7e61e466eefdf729cb87a34c3adc15d76e2f97","size":14157,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-6.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-6.2.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_6.2.0_1747844913097_0.9526609770966341"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-21T16:28:33.275Z","publish_time":1747844913275,"_source_registry_name":"default","_cnpm_publish_time":1747844913275},"6.1.1":{"name":"@npmcli/package-json","version":"6.1.1","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^6.0.0","glob":"^10.2.2","hosted-git-info":"^8.0.0","json-parse-even-better-errors":"^4.0.0","proc-log":"^5.0.0","semver":"^7.5.3","validate-npm-package-license":"^3.0.4"},"devDependencies":{"@npmcli/eslint-config":"^5.1.0","@npmcli/template-oss":"4.23.6","read-package-json":"^7.0.0","read-package-json-fast":"^4.0.0","tap":"^16.0.1"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.6","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@6.1.1","gitHead":"b6465f44c727d6513db6898c7cbe41dd355cebe8","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.12.0","_npmVersion":"11.0.0","dist":{"shasum":"78ff92d138fdcb85f31cab907455d5db96d017cb","size":14053,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-6.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-6.1.1.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/package-json_6.1.1_1737480299021_0.04771903671409783"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-21T17:24:59.208Z","publish_time":1737480299208,"_source_registry_name":"default","_cnpm_publish_time":1737480299208},"6.1.0":{"name":"@npmcli/package-json","version":"6.1.0","description":"Programmatic API to update package.json","keywords":["npm","oss"],"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"license":"ISC","author":{"name":"GitHub Inc."},"main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"dependencies":{"@npmcli/git":"^6.0.0","glob":"^10.2.2","hosted-git-info":"^8.0.0","json-parse-even-better-errors":"^4.0.0","normalize-package-data":"^7.0.0","proc-log":"^5.0.0","semver":"^7.5.3"},"devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.23.5","read-package-json":"^7.0.0","read-package-json-fast":"^4.0.0","tap":"^16.0.1"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.5","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@6.1.0","gitHead":"79cb556342b83b4b298a413677758b39c4d9c839","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.1","dist":{"shasum":"34f0875da178b04df1a7746c02bdc26479819afb","size":12151,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-6.1.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_6.1.0_1732729214851_0.20544677723030502"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-27T17:40:15.035Z","publish_time":1732729215035,"_source_registry_name":"default","_cnpm_publish_time":1732729215035},"6.0.1":{"name":"@npmcli/package-json","version":"6.0.1","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.23.3","read-package-json":"^7.0.0","read-package-json-fast":"^4.0.0","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^6.0.0","glob":"^10.2.2","hosted-git-info":"^8.0.0","json-parse-even-better-errors":"^4.0.0","normalize-package-data":"^7.0.0","proc-log":"^5.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.3","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@6.0.1","gitHead":"914737eb849d82aa65e4662f43dd5d726bb07428","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"shasum":"550a8eb3e0ae9ad8577cb7a3f2d677a04a3bcee9","size":11335,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-6.0.1.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_6.0.1_1727887256876_0.841393155409504"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-02T16:40:57.169Z","publish_time":1727887257169,"_source_registry_name":"default","_cnpm_publish_time":1727887257169},"6.0.0":{"name":"@npmcli/package-json","version":"6.0.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.23.3","read-package-json":"^7.0.0","read-package-json-fast":"^4.0.0","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^8.0.0","json-parse-even-better-errors":"^4.0.0","normalize-package-data":"^7.0.0","proc-log":"^5.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.3","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@6.0.0","gitHead":"25761f127c0b1ae04f5cad710b9fc7852bc999ee","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"shasum":"a6fe597a3783cfbf48d67beedb66de46f252f172","size":11331,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-6.0.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_6.0.0_1727376632319_0.7612747835983116"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-26T18:50:32.583Z","publish_time":1727376632583,"_source_registry_name":"default","_cnpm_publish_time":1727376632583},"5.2.1":{"name":"@npmcli/package-json","version":"5.2.1","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"npm run eslint","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.23.3","read-package-json":"^7.0.0","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^4.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.3","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.2.1","gitHead":"3426666cc292489d6d7a6d5e89a5029175a86f06","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.8.0","_npmVersion":"10.8.3","dist":{"shasum":"df69477b1023b81ff8503f2b9db4db4faea567ed","size":11337,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.2.1.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.2.1_1726605310456_0.0895452752142245"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-17T20:35:10.657Z","publish_time":1726605310657,"_source_registry_name":"default","_cnpm_publish_time":1726605310657},"5.2.0":{"name":"@npmcli/package-json","version":"5.2.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.22.0","read-package-json":"^7.0.0","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^4.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.22.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.2.0","gitHead":"fa6ed87cb7dbb824d5e74dd3ff03b711e201a5a4","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.2.0","_npmVersion":"10.8.1","dist":{"shasum":"a1429d3111c10044c7efbfb0fce9f2c501f4cfad","size":11335,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.2.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.2.0_1717430317726_0.28310188057227914"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-03T15:58:37.907Z","publish_time":1717430317907,"_source_registry_name":"default","_cnpm_publish_time":1717430317907},"5.1.1":{"name":"@npmcli/package-json","version":"5.1.1","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.22.0","read-package-json":"^7.0.0","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^4.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.22.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.1.1","gitHead":"e6c2bdda262e57f1da26687a8cbc1b9805d28ce4","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"22.2.0","_npmVersion":"10.8.0","dist":{"shasum":"ec7339438ae16fcb2216f1c34a0dad707e62d55b","size":10921,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.1.1.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.1.1_1716998067383_0.2856439318481001"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-29T15:54:27.585Z","publish_time":1716998067585,"_source_registry_name":"default","_cnpm_publish_time":1716998067585},"5.1.0":{"name":"@npmcli/package-json","version":"5.1.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.21.4","read-package-json":"^7.0.0","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^4.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.21.4","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.1.0","gitHead":"57f7f255a38c1cfdfe7374920e651abef2ac3418","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.2","dist":{"shasum":"10d117b5fb175acc14c70901a151c52deffc843e","size":10741,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.1.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.1.0_1713819100680_0.11639282050815702"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-22T20:51:40.871Z","publish_time":1713819100871,"_source_registry_name":"default","_cnpm_publish_time":1713819100871},"5.0.3":{"name":"@npmcli/package-json","version":"5.0.3","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.21.3","read-package-json":"^7.0.0","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^4.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.21.3","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.0.3","gitHead":"ee18cb547e64479d9c4f21432812642a2e39b6ff","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"20.12.1","_npmVersion":"10.5.2","dist":{"shasum":"d8a922fcd5abe27a8b0ed619beddfef0f44e614e","size":10727,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.0.3.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.0.3_1712959575819_0.6902354670931385"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-12T22:06:15.981Z","publish_time":1712959575981,"_source_registry_name":"default","_cnpm_publish_time":1712959575981},"5.0.2":{"name":"@npmcli/package-json","version":"5.0.2","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.21.3","read-package-json":"^7.0.0","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^3.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.21.3","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.0.2","gitHead":"b1e741b63e817405a52a495e0b52693491a5a0d0","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"20.12.1","_npmVersion":"10.5.1","dist":{"shasum":"9bf4a04d669d1743b358338eba5a19504e89b057","size":10720,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.0.2.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.0.2_1712764742460_0.8871043778871779"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-10T15:59:02.632Z","publish_time":1712764742632,"_source_registry_name":"default","_cnpm_publish_time":1712764742632},"5.0.1":{"name":"@npmcli/package-json","version":"5.0.1","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.21.3","read-package-json":"^7.0.0","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^3.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.21.3","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.0.1","gitHead":"d4814d44e222a128e4df6b417056c39ee86db48a","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"20.12.1","_npmVersion":"10.5.1","dist":{"shasum":"c26ca69e89d4dd22d71ceee1db7949e40654a862","size":10621,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.0.1.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.0.1_1712685214592_0.33680088113512263"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-09T17:53:34.763Z","publish_time":1712685214763,"_source_registry_name":"default","_cnpm_publish_time":1712685214763},"5.0.0":{"name":"@npmcli/package-json","version":"5.0.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.18.0","read-package-json":"^6.0.4","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^5.0.0","glob":"^10.2.2","hosted-git-info":"^7.0.0","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^6.0.0","proc-log":"^3.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^16.14.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.18.0","publish":"true","ciVersions":["16.14.0","16.x","18.0.0","18.x"]},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@5.0.0","gitHead":"37f32be1557601e79750b335e43405af194315a1","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"18.17.0","_npmVersion":"9.8.1","dist":{"shasum":"77d0f8b17096763ccbd8af03b7117ba6e34d6e91","size":10544,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-5.0.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_5.0.0_1692121726223_0.354170964022972"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-15T17:48:46.423Z","publish_time":1692121726423,"_source_registry_name":"default","_cnpm_publish_time":1692121726423},"4.0.1":{"name":"@npmcli/package-json","version":"4.0.1","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.17.0","read-package-json":"^6.0.4","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^4.1.0","glob":"^10.2.2","hosted-git-info":"^6.1.1","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^5.0.0","proc-log":"^3.0.0","semver":"^7.5.3"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.17.0","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/package-json@4.0.1","gitHead":"e8b8dcb0bd9ff8078946b4397e8bf989aaf4a748","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_nodeVersion":"18.16.1","_npmVersion":"9.8.0","dist":{"shasum":"1a07bf0e086b640500791f6bf245ff43cc27fa37","size":10531,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-4.0.1.tgz"},"_npmUser":{"name":"fritzy","email":"fritzy@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_4.0.1_1689626475045_0.2498071980953822"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-17T20:41:15.229Z","publish_time":1689626475229,"_source_registry_name":"default","_cnpm_publish_time":1689626475229},"4.0.0":{"name":"@npmcli/package-json","version":"4.0.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.15.1","read-package-json":"^6.0.4","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^4.1.0","glob":"^10.2.2","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^5.0.0","npm-normalize-package-bin":"^3.0.1","proc-log":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.15.1","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"94d98ba9e381e7a033e9ad74dd14413b23f2b3e1","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_id":"@npmcli/package-json@4.0.0","_nodeVersion":"18.16.1","_npmVersion":"9.7.2","dist":{"shasum":"a63ae5084eb031e7cdadd3d40b511445f1fe8631","size":8962,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-4.0.0.tgz"},"_npmUser":{"name":"fritzy","email":"fritzy@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_4.0.0_1688577350586_0.5147122742104944"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-05T17:15:50.745Z","publish_time":1688577350745,"_source_registry_name":"default","_cnpm_publish_time":1688577350745},"3.1.1":{"name":"@npmcli/package-json","version":"3.1.1","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.15.1","read-package-json":"^6.0.4","read-package-json-fast":"^3.0.2","tap":"^16.0.1"},"dependencies":{"@npmcli/git":"^4.1.0","glob":"^10.2.2","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^5.0.0","npm-normalize-package-bin":"^3.0.1","proc-log":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.15.1","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"1d474efa57d9c4f740eea9fe1f0f0d44acef56fe","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_id":"@npmcli/package-json@3.1.1","_nodeVersion":"18.16.0","_npmVersion":"9.6.7","dist":{"shasum":"5628332aac90fa1b4d6f98e03988c5958b35e0c5","size":7664,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-3.1.1.tgz"},"_npmUser":{"name":"fritzy","email":"fritzy@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_3.1.1_1686072852118_0.5455200220549472"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-06T17:34:12.290Z","publish_time":1686072852290,"_source_registry_name":"default","_cnpm_publish_time":1686072852290},"3.1.0":{"name":"@npmcli/package-json","version":"3.1.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.15.1","tap":"^16.0.1"},"dependencies":{"glob":"^10.2.2","json-parse-even-better-errors":"^3.0.0","normalize-package-data":"^5.0.0","npm-normalize-package-bin":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.15.1","publish":"true"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"adb0c176d5e9741b653483bb2f12790c8a7e1370","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_id":"@npmcli/package-json@3.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.6.6","dist":{"shasum":"d9eb34083be4275520f3844d17fc74926d47cae1","size":7458,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-3.1.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_3.1.0_1684252392002_0.3914568718655753"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-16T15:53:12.163Z","publish_time":1684252392163,"_source_registry_name":"default","_cnpm_publish_time":1684252392163},"3.0.0":{"name":"@npmcli/package-json","version":"3.0.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"snap":"tap","test":"tap","lint":"eslint \"**/*.js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^3.0.1","@npmcli/template-oss":"4.5.1","tap":"^16.0.1"},"dependencies":{"json-parse-even-better-errors":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.5.1"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"496d0cd78db183252464597d32c2eb4f322bf98e","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_id":"@npmcli/package-json@3.0.0","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"c9219a197e1be8dbf43c4ef8767a72277c0533b6","size":4484,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-3.0.0.tgz"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_3.0.0_1665712858770_0.021797029178529215"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-16T07:22:26.190Z","publish_time":1665712858968,"_cnpm_publish_time":1665712858968},"2.0.0":{"name":"@npmcli/package-json","version":"2.0.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","lint":"eslint \"**/*.js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint","postsnap":"npm run lintfix --","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^3.0.1","@npmcli/template-oss":"3.2.2","tap":"^16.0.1"},"dependencies":{"json-parse-even-better-errors":"^2.3.1"},"repository":{"type":"git","url":"git+https://github.com/npm/package-json.git"},"engines":{"node":"^12.13.0 || ^14.15.0 || >=16.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"3.2.2"},"gitHead":"9d7f8d4306239f258c85755685923d8bda70ee68","bugs":{"url":"https://github.com/npm/package-json/issues"},"homepage":"https://github.com/npm/package-json#readme","_id":"@npmcli/package-json@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.6.0","dist":{"shasum":"3bbcf4677e21055adbe673d9f08c9f9cde942e4a","size":4490,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-2.0.0.tgz"},"_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_2.0.0_1649167327531_0.8897321946306054"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-05T16:29:34.762Z","publish_time":1649167327676,"_cnpm_publish_time":1649167327676},"1.0.1":{"name":"@npmcli/package-json","version":"1.0.1","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","npmclilint":"npmcli-lint","lint":"npm run npmclilint -- \"lib/*.*js\" \"test/*.*js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint --","postsnap":"npm run lintfix --"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/lint":"^1.0.1","tap":"^15.0.9"},"dependencies":{"json-parse-even-better-errors":"^2.3.1"},"gitHead":"51fc9c583b6af6eb2c775efb2101a15ad24e651a","_id":"@npmcli/package-json@1.0.1","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"1ed42f00febe5293c3502fd0ef785647355f6e89","size":4314,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-1.0.1.tgz"},"_npmUser":{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_1.0.1_1624465573618_0.49627158540953276"},"_hasShrinkwrap":false,"publish_time":1624465573768,"_cnpm_publish_time":1624465573768},"1.0.0":{"name":"@npmcli/package-json","version":"1.0.0","description":"Programmatic API to update package.json","main":"lib/index.js","scripts":{"preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","npmclilint":"npmcli-lint","lint":"npm run npmclilint -- \"lib/*.*js\" \"test/*.*js\"","lintfix":"npm run lint -- --fix","posttest":"npm run lint --","postsnap":"npm run lintfix --"},"keywords":["npm","oss"],"author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/lint":"^1.0.1","tap":"^15.0.9"},"dependencies":{"json-parse-even-better-errors":"^2.3.1"},"gitHead":"f62d8c63acec185f577a3525352d139b4eab0f28","_id":"@npmcli/package-json@1.0.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"74a63b9a472a5a493d8441803769fa4dff9119d5","size":4079,"noattachment":false,"key":"/@npmcli/package-json/-/@npmcli/package-json-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/package-json/download/@npmcli/package-json-1.0.0.tgz"},"_npmUser":{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/package-json_1.0.0_1624404250421_0.3274632041267709"},"_hasShrinkwrap":false,"publish_time":1624404250542,"_cnpm_publish_time":1624404250542}},"readme":"# @npmcli/package-json\n\n[![npm version](https://img.shields.io/npm/v/@npmcli/package-json)](https://www.npmjs.com/package/@npmcli/package-json)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/npm/package-json/ci.yml?branch=main)](https://github.com/npm/package-json)\n\nProgrammatic API to update `package.json` files. Updates and saves files the\nsame way the **npm cli** handles them.\n\n## Install\n\n`npm install @npmcli/package-json`\n\n## Usage:\n\n```js\nconst PackageJson = require('@npmcli/package-json')\nconst pkgJson = await PackageJson.load(path)\n// $ cat package.json\n// {\n//   \"name\": \"foo\",\n//   \"version\": \"1.0.0\",\n//   \"dependencies\": {\n//     \"a\": \"^1.0.0\",\n//     \"abbrev\": \"^1.1.1\"\n//   }\n// }\n\npkgJson.update({\n  dependencies: {\n    a: '^1.0.0',\n    b: '^1.2.3',\n  },\n  workspaces: [\n    './new-workspace',\n  ],\n})\n\nawait pkgJson.save()\n// $ cat package.json\n// {\n//   \"name\": \"foo\",\n//   \"version\": \"1.0.0\",\n//   \"dependencies\": {\n//     \"a\": \"^1.0.0\",\n//     \"b\": \"^1.2.3\"\n//   },\n//   \"workspaces\": [\n//     \"./new-workspace\"\n//   ]\n// }\n```\n\nThere is also a helper function exported for opening a package.json file\nwith no extra normalization or saving functionality.\n\n```js\nconst { readPackage } = require('@npmcli/package-json/lib/read-package')\nconst rawData = await readPackage('./package.json')\n// rawData will now have the package.json contents with no changes or normalizations\n```\n\n## API:\n\n### `constructor()`\n\nCreates a new empty instance of `PackageJson`.\n\n---\n\n### `async PackageJson.create(path)`\n\nCreates an empty `package.json` at the given path. If one already exists\nit will be overwritten.\n\n---\n\n### `async PackageJson.load(path, opts = {})`\n\nLoads a `package.json` at the given path.\n\n- `opts`: `Object` can contain:\n  - `create`: `Boolean` if true, a new package.json will be created if one does not already exist. Will not clobber ane existing package.json that can not be parsed.\n\n### Example:\n\nLoads contents of a `package.json` file located at `./`:\n\n```js\nconst PackageJson = require('@npmcli/package-json')\nconst pkgJson = new PackageJson()\nawait pkgJson.load('./')\n```\n\nThrows an error in case a `package.json` file is missing or has invalid contents.\n\n---\n\n### **static** `async PackageJson.load(path)`\n\nConvenience static method that returns a new instance and loads the contents of a `package.json` file from that location.\n\n- `path`: `String` that points to the folder from where to read the `package.json` from\n\n### Example:\n\nLoads contents of a `package.json` file located at `./`:\n\n```js\nconst PackageJson = require('@npmcli/package-json')\nconst pkgJson = await PackageJson.load('./')\n```\n\n---\n\n### `async PackageJson.normalize()`\n\nIntended for normalizing package.json files in a node_modules tree.  Some light normalization is done to ensure that it is ready for use in `@npmcli/arborist`\n\n- `path`: `String` that points to the folder from where to read the `package.json` from\n- `opts`: `Object` can contain:\n  - `strict`: `Boolean` enables optional strict mode when applying the `normalizeData` step\n  - `steps`: `Array` optional normalization steps that will be applied to the `package.json` file, replacing the default steps\n  - `root`: `Path` optional git root to provide when applying the `gitHead` step\n  - `changes`: `Array` if provided, a message about each change that was made to the packument will be added to this array\n\n---\n\n### **static** `async PackageJson.normalize(path, opts = {})`\n\nConvenience static that calls `load` before calling `normalize`\n\n- `path`: `String` that points to the folder from where to read the `package.json` from\n- `opts`: `Object` can contain:\n  - `strict`: `Boolean` enables optional strict mode when applying the `normalizeData` step\n  - `steps`: `Array` optional normalization steps that will be applied to the `package.json` file, replacing the default steps\n  - `root`: `Path` optional git root to provide when applying the `gitHead` step\n  - `changes`: `Array` if provided, a message about each change that was made to the packument will be added to this array\n\n---\n\n### `async PackageJson.prepare()`\n\nLike `normalize` but intended for preparing package.json files for publish.\n\n---\n\n### `PackageJson.syncNormalize()`\n\nThis calls normalize synchronously.  Most consumers of this package should avoid using this.  It was added because some parts of npm were normalizing package content in class constructors and needed this affordance.  It will silently ignore any asynchronous steps asked for.  Again, this is a compatiblity affordance for some code in npm that is currently impossible to change without a significant semver major change, and is best not used.\n\n### **static** `async PackageJson.prepare(path, opts = {})`\n\nConvenience static that calls `load` before calling `prepare`\n\n- `path`: `String` that points to the folder from where to read the `package.json` from\n- `opts`: `Object` can contain:\n  - `strict`: `Boolean` enables optional strict mode when applying the `normalizeData` step\n  - `steps`: `Array` optional normalization steps that will be applied to the `package.json` file, replacing the default steps\n  - `root`: `Path` optional git root to provide when applying the `gitHead` step\n  - `changes`: `Array` if provided, a message about each change that was made to the packument will be added to this array\n\n---\n\n### `async PackageJson.fix()`\n\nLike `normalize` but intended for the `npm pkg fix` command.\n\n---\n\n### `PackageJson.update(content)`\n\nUpdates the contents of a `package.json` with the `content` provided.\n\n- `content`: `Object` containing the properties to be updated/replaced in the\n`package.json` file.\n\nSpecial properties like `dependencies`, `devDependencies`,\n`optionalDependencies`, `peerDependencies` will have special logic to handle\nthe update of these options, such as sorting and deduplication.\n\n### Example:\n\nAdds a new script named `new-script` to your `package.json` `scripts` property:\n\n```js\nconst PackageJson = require('@npmcli/package-json')\nconst pkgJson = await PackageJson.load('./')\npkgJson.update({\n  scripts: {\n    ...pkgJson.content.scripts,\n    'new-script': 'echo \"Bom dia!\"'\n  }\n})\n```\n\n**NOTE:** When working with dependencies, it's important to provide values for\nall known dependency types as the update logic has some interdependence in\nbetween these properties.\n\n### Example:\n\nA safe way to add a `devDependency` AND remove all peer dependencies of an\nexisting `package.json`:\n\n```js\nconst PackageJson = require('@npmcli/package-json')\nconst pkgJson = await PackageJson.load('./')\npkgJson.update({\n  dependencies: pkgJson.content.dependencies,\n  devDependencies: {\n    ...pkgJson.content.devDependencies,\n    foo: '^foo@1.0.0',\n  },\n  peerDependencies: {},\n  optionalDependencies: pkgJson.content.optionalDependencies,\n})\n```\n\n---\n\n### **get** `PackageJson.content`\n\nGetter that retrieves the normalized `Object` read from the loaded\n`package.json` file.\n\n### Example:\n\n```js\nconst PackageJson = require('@npmcli/package-json')\nconst pkgJson = await PackageJson.load('./')\npkgJson.content\n// -> {\n//   name: 'foo',\n//   version: '1.0.0'\n// }\n```\n\n---\n\n### `async PackageJson.save([options])`\n\n\nSaves the current `content` to the same location used when calling `load()`.\n\n- `options`: `Object` (optional)\n  - `sort`: `Boolean` (optional) — If true, sorts the keys in the resulting `package.json` file for consistency and readability.\n\n> [!NOTE]\n> The sort order for `package.json` is based on the conventions from\n> [sort-package-json](https://github.com/keithamus/sort-package-json/blob/main/defaultRules.md),\n> cross-checked with the official npm types and documentation:\n> - https://github.com/npm/types/blob/main/types/index.d.ts#L104\n> - https://docs.npmjs.com/cli/configuring-npm/package-json\n\n## LICENSE\n\n[ISC](./LICENSE)\n","_attachments":{},"homepage":"https://github.com/npm/package-json#readme","bugs":{"url":"https://github.com/npm/package-json/issues"},"license":"ISC"}