diff options
author | Luke Karrys <luke@lukekarrys.com> | 2022-04-21 01:05:34 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2022-04-26 23:27:44 +0300 |
commit | c51e553a32315e4f1b703ca9030eb7ade91d1a85 (patch) | |
tree | e2cfab87f6e220c0c81cd61aa2cdc323faa8827d /node_modules/semver/classes/semver.js | |
parent | 252b2b1e8caaf1c26e5ab6836a83ec430d2a699a (diff) |
deps: semver@7.3.7
Diffstat (limited to 'node_modules/semver/classes/semver.js')
-rw-r--r-- | node_modules/semver/classes/semver.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/semver/classes/semver.js b/node_modules/semver/classes/semver.js index ed81a7ec6..af6295519 100644 --- a/node_modules/semver/classes/semver.js +++ b/node_modules/semver/classes/semver.js @@ -265,7 +265,7 @@ class SemVer { if (identifier) { // 1.2.0-beta.1 bumps to 1.2.0-beta.2, // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 - if (this.prerelease[0] === identifier) { + if (compareIdentifiers(this.prerelease[0], identifier) === 0) { if (isNaN(this.prerelease[1])) { this.prerelease = [identifier, 0] } |