From 6b858a401fe593a303f84a8afeb3e7e3a47cfaf7 Mon Sep 17 00:00:00 2001 From: Veniamin Krol <153412+vkrol@users.noreply.github.com> Date: Fri, 11 Nov 2022 20:02:23 +0000 Subject: [PATCH] Fix npm package.json documentation URL --- PJV.js | 2 +- README.md | 2 +- index.html | 2 +- test/qunit-pjv.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PJV.js b/PJV.js index c5cd157..002ca2a 100644 --- a/PJV.js +++ b/PJV.js @@ -15,7 +15,7 @@ PJV.getSpecMap = function (specName) { if (specName == "npm") { - // https://npmjs.org/doc/json.html + // https://docs.npmjs.com/cli/v9/configuring-npm/package-json return { "name": {"type": "string", required: true, format: PJV.packageFormat}, "version": {"type": "string", required: true, format: PJV.versionFormat}, diff --git a/README.md b/README.md index 91b6227..dd22608 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Supported Specifications Of course, there are multiple ones to follow, which makes it trickier. -* [NPM](https://npmjs.org/doc/json.html) +* [NPM](https://docs.npmjs.com/cli/v9/configuring-npm/package-json) * [CommonJS Packages 1.0](http://wiki.commonjs.org/wiki/Packages/1.0) * [CommonJS Packages 1.1](http://wiki.commonjs.org/wiki/Packages/1.1) diff --git a/index.html b/index.html index 239b124..52c2bf7 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@

Package.json validator

Validate against: