",
"repository": {
"type": "git",
@@ -17,7 +17,7 @@
"url": "https://github.com/nock/nock/issues"
},
"engines": {
- "node": ">= 18"
+ "node": ">=18.20.0 <20 || >=20.12.1"
},
"main": "./index.js",
"types": "types",
diff --git a/node_modules/semver/classes/semver.js b/node_modules/semver/classes/semver.js
index 97049a4084..6fbc062bc2 100644
--- a/node_modules/semver/classes/semver.js
+++ b/node_modules/semver/classes/semver.js
@@ -1,6 +1,6 @@
const debug = require('../internal/debug')
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')
-const { safeRe: re, t } = require('../internal/re')
+const { safeRe: re, safeSrc: src, t } = require('../internal/re')
const parseOptions = require('../internal/parse-options')
const { compareIdentifiers } = require('../internal/identifiers')
@@ -182,7 +182,8 @@ class SemVer {
}
// Avoid an invalid semver results
if (identifier) {
- const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])
+ const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
+ const match = `-${identifier}`.match(r)
if (!match || match[1] !== identifier) {
throw new Error(`invalid identifier: ${identifier}`)
}
diff --git a/node_modules/semver/internal/re.js b/node_modules/semver/internal/re.js
index fd8920e7ba..2a956ba0a3 100644
--- a/node_modules/semver/internal/re.js
+++ b/node_modules/semver/internal/re.js
@@ -10,6 +10,7 @@ exports = module.exports = {}
const re = exports.re = []
const safeRe = exports.safeRe = []
const src = exports.src = []
+const safeSrc = exports.safeSrc = []
const t = exports.t = {}
let R = 0
@@ -42,6 +43,7 @@ const createToken = (name, value, isGlobal) => {
debug(name, index, value)
t[name] = index
src[index] = value
+ safeSrc[index] = safe
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
}
diff --git a/node_modules/semver/package.json b/node_modules/semver/package.json
index 405fb66e68..c2644547a2 100644
--- a/node_modules/semver/package.json
+++ b/node_modules/semver/package.json
@@ -1,6 +1,6 @@
{
"name": "semver",
- "version": "7.7.0",
+ "version": "7.7.1",
"description": "The semantic version parser used by npm.",
"main": "index.js",
"scripts": {
diff --git a/package-lock.json b/package-lock.json
index dc64790a53..2c858b0299 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -35,10 +35,10 @@
"get-folder-size": "^2.0.1",
"js-yaml": "^4.1.0",
"jsonschema": "1.4.1",
- "long": "^5.2.4",
+ "long": "^5.3.0",
"node-forge": "^1.3.1",
"path": "^0.12.7",
- "semver": "^7.7.0",
+ "semver": "^7.7.1",
"uuid": "^11.0.5",
"zlib": "^1.0.5"
},
@@ -46,7 +46,7 @@
"@ava/typescript": "4.1.0",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.2.0",
- "@eslint/js": "^9.19.0",
+ "@eslint/js": "^9.20.0",
"@microsoft/eslint-formatter-sarif": "^3.1.0",
"@types/adm-zip": "^0.5.7",
"@types/console-log-level": "^1.4.5",
@@ -62,11 +62,11 @@
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-filenames": "^1.3.2",
- "eslint-plugin-github": "^5.1.7",
+ "eslint-plugin-github": "^5.1.8",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-no-async-foreach": "^0.1.1",
"micromatch": "4.0.8",
- "nock": "^14.0.0",
+ "nock": "^14.0.1",
"removeNPMAbsolutePaths": "3.0.1",
"sinon": "^19.0.2",
"typescript": "^5.7.3"
@@ -695,9 +695,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "9.19.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz",
- "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==",
+ "version": "9.20.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.20.0.tgz",
+ "integrity": "sha512-iZA07H9io9Wn836aVTytRaNqh00Sad+EamwOVJT12GTLw1VGMFV/4JaME+JjLtr9fiGaoWgYnS54wrfWsSs4oQ==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3806,9 +3806,9 @@
}
},
"node_modules/eslint-plugin-github": {
- "version": "5.1.7",
- "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.7.tgz",
- "integrity": "sha512-P3S5TwvHy8u1QadfcI/tZ2uNFMTHv+mT/YmEdLEgEzp08mA3iK02kg/IhoWOz0SnbTyUi1qrq0a6SwC3uQSkpQ==",
+ "version": "5.1.8",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.8.tgz",
+ "integrity": "sha512-A6q+R3EBMF7hxIViWpQsalqpu3O0POcQ9VpN1m9W2I8yGumw+SFxXZUTafBd9X9mgUJhaU4M9qSifC1q/39H3A==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5643,9 +5643,9 @@
"license": "MIT"
},
"node_modules/long": {
- "version": "5.2.4",
- "resolved": "https://registry.npmjs.org/long/-/long-5.2.4.tgz",
- "integrity": "sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/long/-/long-5.3.0.tgz",
+ "integrity": "sha512-5vvY5yF1zF/kXk+L94FRiTDa1Znom46UjPCH6/XbSvS8zBKMFBHTJk8KDMqJ+2J6QezQFi7k1k8v21ClJYHPaw==",
"license": "Apache-2.0"
},
"node_modules/lower-case": {
@@ -5862,9 +5862,9 @@
"license": "0BSD"
},
"node_modules/nock": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/nock/-/nock-14.0.0.tgz",
- "integrity": "sha512-3Z2ZoZoYTR/y2I+NI16+6IzfZFKBX7MrADtoBAm7v/QKqxQUhKw+Dh+847PPS1j/FDutjfIXfrh3CJF74yITWg==",
+ "version": "14.0.1",
+ "resolved": "https://registry.npmjs.org/nock/-/nock-14.0.1.tgz",
+ "integrity": "sha512-IJN4O9pturuRdn60NjQ7YkFt6Rwei7ZKaOwb1tvUIIqTgeD0SDDAX3vrqZD4wcXczeEy/AsUXxpGpP/yHqV7xg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5873,7 +5873,7 @@
"propagate": "^2.0.0"
},
"engines": {
- "node": ">= 18"
+ "node": ">=18.20.0 <20 || >=20.12.1"
}
},
"node_modules/node-fetch": {
@@ -6691,9 +6691,9 @@
"license": "ISC"
},
"node_modules/semver": {
- "version": "7.7.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz",
- "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==",
+ "version": "7.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
+ "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
diff --git a/package.json b/package.json
index cdde03e661..778968ea3e 100644
--- a/package.json
+++ b/package.json
@@ -48,10 +48,10 @@
"get-folder-size": "^2.0.1",
"js-yaml": "^4.1.0",
"jsonschema": "1.4.1",
- "long": "^5.2.4",
+ "long": "^5.3.0",
"node-forge": "^1.3.1",
"path": "^0.12.7",
- "semver": "^7.7.0",
+ "semver": "^7.7.1",
"uuid": "^11.0.5",
"zlib": "^1.0.5"
},
@@ -62,7 +62,7 @@
"@ava/typescript": "4.1.0",
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.2.0",
- "@eslint/js": "^9.19.0",
+ "@eslint/js": "^9.20.0",
"@microsoft/eslint-formatter-sarif": "^3.1.0",
"@types/adm-zip": "^0.5.7",
"@types/console-log-level": "^1.4.5",
@@ -78,11 +78,11 @@
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-filenames": "^1.3.2",
- "eslint-plugin-github": "^5.1.7",
+ "eslint-plugin-github": "^5.1.8",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-no-async-foreach": "^0.1.1",
"micromatch": "4.0.8",
- "nock": "^14.0.0",
+ "nock": "^14.0.1",
"removeNPMAbsolutePaths": "3.0.1",
"sinon": "^19.0.2",
"typescript": "^5.7.3"
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy