From 6b251b1009648b36d49b83a2cc407c348fa225e0 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Tue, 15 Aug 2023 14:11:40 -0700 Subject: [PATCH] fix: drop node 16.13.x support BREAKING CHANGE: support for node <=16.13 has been removed --- .github/workflows/ci-libnpmaccess.yml | 2 +- .github/workflows/ci-libnpmdiff.yml | 2 +- .github/workflows/ci-libnpmexec.yml | 2 +- .github/workflows/ci-libnpmhook.yml | 2 +- .github/workflows/ci-libnpmorg.yml | 2 +- .github/workflows/ci-libnpmpack.yml | 2 +- .github/workflows/ci-libnpmpublish.yml | 2 +- .github/workflows/ci-libnpmsearch.yml | 2 +- .github/workflows/ci-libnpmteam.yml | 2 +- .github/workflows/ci-libnpmversion.yml | 4 +--- .github/workflows/ci-npmcli-arborist.yml | 2 +- .github/workflows/ci-npmcli-mock-registry.yml | 2 +- mock-registry/package.json | 4 ++-- workspaces/arborist/package.json | 4 ++-- workspaces/libnpmaccess/package.json | 4 ++-- workspaces/libnpmdiff/package.json | 4 ++-- workspaces/libnpmexec/package.json | 4 ++-- workspaces/libnpmhook/package.json | 4 ++-- workspaces/libnpmorg/package.json | 4 ++-- workspaces/libnpmpack/package.json | 4 ++-- workspaces/libnpmpublish/package.json | 4 ++-- workspaces/libnpmsearch/package.json | 4 ++-- workspaces/libnpmteam/package.json | 4 ++-- workspaces/libnpmversion/package.json | 10 ++++++++-- 24 files changed, 42 insertions(+), 38 deletions(-) diff --git a/.github/workflows/ci-libnpmaccess.yml b/.github/workflows/ci-libnpmaccess.yml index 2f97a1ec1b7e5..0f530a4cddaca 100644 --- a/.github/workflows/ci-libnpmaccess.yml +++ b/.github/workflows/ci-libnpmaccess.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmdiff.yml b/.github/workflows/ci-libnpmdiff.yml index dc6f09e74fc2b..6171ebdfd26f4 100644 --- a/.github/workflows/ci-libnpmdiff.yml +++ b/.github/workflows/ci-libnpmdiff.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmexec.yml b/.github/workflows/ci-libnpmexec.yml index a09285039e8aa..e216f74c4a54f 100644 --- a/.github/workflows/ci-libnpmexec.yml +++ b/.github/workflows/ci-libnpmexec.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmhook.yml b/.github/workflows/ci-libnpmhook.yml index a4d7a170a2636..d384f7127b103 100644 --- a/.github/workflows/ci-libnpmhook.yml +++ b/.github/workflows/ci-libnpmhook.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmorg.yml b/.github/workflows/ci-libnpmorg.yml index 0d01c4f7c197f..2860ad34c145e 100644 --- a/.github/workflows/ci-libnpmorg.yml +++ b/.github/workflows/ci-libnpmorg.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmpack.yml b/.github/workflows/ci-libnpmpack.yml index db8b0b496c146..bf5471e58c941 100644 --- a/.github/workflows/ci-libnpmpack.yml +++ b/.github/workflows/ci-libnpmpack.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmpublish.yml b/.github/workflows/ci-libnpmpublish.yml index 0312720c95a7c..33a21ef83735d 100644 --- a/.github/workflows/ci-libnpmpublish.yml +++ b/.github/workflows/ci-libnpmpublish.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmsearch.yml b/.github/workflows/ci-libnpmsearch.yml index 8f3d8f6a5802f..58d58b523ad4a 100644 --- a/.github/workflows/ci-libnpmsearch.yml +++ b/.github/workflows/ci-libnpmsearch.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmteam.yml b/.github/workflows/ci-libnpmteam.yml index 2d9266f8043f5..c1dc3219c5cbd 100644 --- a/.github/workflows/ci-libnpmteam.yml +++ b/.github/workflows/ci-libnpmteam.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-libnpmversion.yml b/.github/workflows/ci-libnpmversion.yml index b94827e9dad3c..f78a1df3acc5b 100644 --- a/.github/workflows/ci-libnpmversion.yml +++ b/.github/workflows/ci-libnpmversion.yml @@ -64,9 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 14.17.0 - - 14.x - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-npmcli-arborist.yml b/.github/workflows/ci-npmcli-arborist.yml index c032dc33e9e09..7ba0f170e576d 100644 --- a/.github/workflows/ci-npmcli-arborist.yml +++ b/.github/workflows/ci-npmcli-arborist.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/.github/workflows/ci-npmcli-mock-registry.yml b/.github/workflows/ci-npmcli-mock-registry.yml index 4e8510eb59612..8e23df0cb5657 100644 --- a/.github/workflows/ci-npmcli-mock-registry.yml +++ b/.github/workflows/ci-npmcli-mock-registry.yml @@ -64,7 +64,7 @@ jobs: os: windows-latest shell: cmd node-version: - - 16.13.0 + - 16.14.0 - 16.x - 18.0.0 - 18.x diff --git a/mock-registry/package.json b/mock-registry/package.json index 5f9598b08e4fb..d729881f52651 100644 --- a/mock-registry/package.json +++ b/mock-registry/package.json @@ -30,13 +30,13 @@ "lib/" ], "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index a607e163d72b9..567bd2f9e293b 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -86,14 +86,14 @@ ] }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmaccess/package.json b/workspaces/libnpmaccess/package.json index a78674049c784..292bffe371ba8 100644 --- a/workspaces/libnpmaccess/package.json +++ b/workspaces/libnpmaccess/package.json @@ -33,7 +33,7 @@ "npm-registry-fetch": "^15.0.0" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "node": "^16.14.0 || >=18.0.0" }, "files": [ "bin/", @@ -44,7 +44,7 @@ "version": "4.18.0", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmdiff/package.json b/workspaces/libnpmdiff/package.json index 12565b747d062..723fe876c5459 100644 --- a/workspaces/libnpmdiff/package.json +++ b/workspaces/libnpmdiff/package.json @@ -13,7 +13,7 @@ "lib/" ], "engines": { - "node": "^16.13.0 || >=18.0.0" + "node": "^16.14.0 || >=18.0.0" }, "keywords": [ "npm", @@ -61,7 +61,7 @@ "version": "4.18.0", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmexec/package.json b/workspaces/libnpmexec/package.json index e633eb98dd50a..e749a8a0b4e6a 100644 --- a/workspaces/libnpmexec/package.json +++ b/workspaces/libnpmexec/package.json @@ -7,7 +7,7 @@ ], "main": "lib/index.js", "engines": { - "node": "^16.13.0 || >=18.0.0" + "node": "^16.14.0 || >=18.0.0" }, "description": "npm exec (npx) programmatic API", "repository": { @@ -76,7 +76,7 @@ "version": "4.18.0", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmhook/package.json b/workspaces/libnpmhook/package.json index 5fc4d372632d3..c97047e644812 100644 --- a/workspaces/libnpmhook/package.json +++ b/workspaces/libnpmhook/package.json @@ -40,14 +40,14 @@ "tap": "^16.3.4" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmorg/package.json b/workspaces/libnpmorg/package.json index 8cef0bd762af6..584f113ed10c0 100644 --- a/workspaces/libnpmorg/package.json +++ b/workspaces/libnpmorg/package.json @@ -45,14 +45,14 @@ "npm-registry-fetch": "^15.0.0" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmpack/package.json b/workspaces/libnpmpack/package.json index 0a8330815c2a2..fa252913f865f 100644 --- a/workspaces/libnpmpack/package.json +++ b/workspaces/libnpmpack/package.json @@ -42,14 +42,14 @@ "pacote": "^17.0.0" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmpublish/package.json b/workspaces/libnpmpublish/package.json index 0cb19f7950fe4..583d8a86fb840 100644 --- a/workspaces/libnpmpublish/package.json +++ b/workspaces/libnpmpublish/package.json @@ -48,14 +48,14 @@ "ssri": "^10.0.5" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmsearch/package.json b/workspaces/libnpmsearch/package.json index c00101a99ede3..ab0f73882b023 100644 --- a/workspaces/libnpmsearch/package.json +++ b/workspaces/libnpmsearch/package.json @@ -41,14 +41,14 @@ "npm-registry-fetch": "^15.0.0" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmteam/package.json b/workspaces/libnpmteam/package.json index 9379c8e0c718c..860c525afa4a5 100644 --- a/workspaces/libnpmteam/package.json +++ b/workspaces/libnpmteam/package.json @@ -35,14 +35,14 @@ "npm-registry-fetch": "^15.0.0" }, "engines": { - "node": "^16.13.0 || >=18.0.0" + "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", "content": "../../scripts/template-oss/index.js", "ciVersions": [ - "16.13.0", + "16.14.0", "16.x", "18.0.0", "18.x" diff --git a/workspaces/libnpmversion/package.json b/workspaces/libnpmversion/package.json index 19e4972632a88..aaaba35ad9e4b 100644 --- a/workspaces/libnpmversion/package.json +++ b/workspaces/libnpmversion/package.json @@ -44,11 +44,17 @@ "semver": "^7.3.7" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "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", - "content": "../../scripts/template-oss/index.js" + "content": "../../scripts/template-oss/index.js", + "ciVersions": [ + "16.14.0", + "16.x", + "18.0.0", + "18.x" + ] } }