Skip to content

Commit

Permalink
Update dependency semver to v7.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and smorimoto committed Feb 4, 2025
1 parent 7b272cf commit 49e8f6a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10668,7 +10668,7 @@ const testSet = (set, version, options) => {

const debug = __nccwpck_require__(1159)
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(5101)
const { safeRe: re, t } = __nccwpck_require__(5471)
const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(5471)

const parseOptions = __nccwpck_require__(356)
const { compareIdentifiers } = __nccwpck_require__(3348)
Expand Down Expand Up @@ -10850,7 +10850,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}`)
}
Expand Down Expand Up @@ -11707,6 +11708,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

Expand Down Expand Up @@ -11739,6 +11741,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)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@actions/github": "6.0.0",
"@actions/tool-cache": "2.0.2",
"@vercel/ncc": "0.38.3",
"semver": "7.7.0"
"semver": "7.7.1"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ __metadata:
"@types/node": "npm:22.13.0"
"@types/semver": "npm:7.5.8"
"@vercel/ncc": "npm:0.38.3"
semver: "npm:7.7.0"
semver: "npm:7.7.1"
typescript: "npm:5.7.3"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -971,12 +971,12 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:7.7.0, semver@npm:^7.3.5":
version: 7.7.0
resolution: "semver@npm:7.7.0"
"semver@npm:7.7.1, semver@npm:^7.3.5":
version: 7.7.1
resolution: "semver@npm:7.7.1"
bin:
semver: bin/semver.js
checksum: 10c0/bcd1c03209b4be7d8ca86c976a0410beba7d4ec1d49d846a4be154b958db1ff5eaee50760c1d4f4070b19dee3236b8672d3e09642c53ea23740398bba2538a2d
checksum: 10c0/fd603a6fb9c399c6054015433051bdbe7b99a940a8fb44b85c2b524c4004b023d7928d47cb22154f8d054ea7ee8597f586605e05b52047f048278e4ac56ae958
languageName: node
linkType: hard

Expand Down

0 comments on commit 49e8f6a

Please sign in to comment.