@@ -19297,13 +19297,13 @@ var jsYaml = {
19297
19297
const SEMVER_SPEC_VERSION = '2.0.0';
19298
19298
const MAX_LENGTH$2 = 256;
19299
19299
const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER ||
19300
- 9007199254740991;
19300
+ 9007199254740991;
19301
19301
const MAX_SAFE_COMPONENT_LENGTH = 16;
19302
19302
var constants = {
19303
19303
SEMVER_SPEC_VERSION,
19304
19304
MAX_LENGTH: MAX_LENGTH$2,
19305
19305
MAX_SAFE_INTEGER: MAX_SAFE_INTEGER$1,
19306
- MAX_SAFE_COMPONENT_LENGTH
19306
+ MAX_SAFE_COMPONENT_LENGTH,
19307
19307
};
19308
19308
19309
19309
var re$2 = {exports: {}};
@@ -19327,7 +19327,7 @@ const t = exports.t = {};
19327
19327
let R = 0;
19328
19328
const createToken = (name, value, isGlobal) => {
19329
19329
const index = R++;
19330
- debug(index, value);
19330
+ debug(name, index, value);
19331
19331
t[name] = index;
19332
19332
src[index] = value;
19333
19333
re[index] = new RegExp(value, isGlobal ? 'g' : undefined);
@@ -19407,17 +19407,17 @@ createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
19407
19407
`(${src[t.XRANGEPLAINLOOSE]})` +
19408
19408
`\\s*$`);
19409
19409
createToken('STAR', '(<|>)?=?\\s*\\*');
19410
- createToken('GTE0', '^\\s*>=\\s*0\.0 \.0\\s*$');
19411
- createToken('GTE0PRE', '^\\s*>=\\s*0\.0 \.0-0\\s*$');
19410
+ createToken('GTE0', '^\\s*>=\\s*0\\.0\ \.0\\s*$');
19411
+ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\ \.0-0\\s*$');
19412
19412
}(re$2, re$2.exports));
19413
19413
19414
19414
const opts = ['includePrerelease', 'loose', 'rtl'];
19415
19415
const parseOptions$2 = options =>
19416
19416
!options ? {}
19417
19417
: typeof options !== 'object' ? { loose: true }
19418
- : opts.filter(k => options[k]).reduce((options , k) => {
19419
- options [k] = true;
19420
- return options
19418
+ : opts.filter(k => options[k]).reduce((o , k) => {
19419
+ o [k] = true;
19420
+ return o
19421
19421
}, {});
19422
19422
var parseOptions_1 = parseOptions$2;
19423
19423
@@ -19438,7 +19438,7 @@ const compareIdentifiers$1 = (a, b) => {
19438
19438
const rcompareIdentifiers = (a, b) => compareIdentifiers$1(b, a);
19439
19439
var identifiers = {
19440
19440
compareIdentifiers: compareIdentifiers$1,
19441
- rcompareIdentifiers
19441
+ rcompareIdentifiers,
19442
19442
};
19443
19443
19444
19444
const debug = debug_1;
@@ -19652,7 +19652,7 @@ class SemVer$2 {
19652
19652
}
19653
19653
}
19654
19654
if (identifier) {
19655
- if (this.prerelease[0] === identifier ) {
19655
+ if (compareIdentifiers( this.prerelease[0], identifier) === 0 ) {
19656
19656
if (isNaN(this.prerelease[1])) {
19657
19657
this.prerelease = [identifier, 0];
19658
19658
}
@@ -19671,7 +19671,7 @@ class SemVer$2 {
19671
19671
}
19672
19672
var semver = SemVer$2;
19673
19673
19674
- const {MAX_LENGTH} = constants;
19674
+ const { MAX_LENGTH } = constants;
19675
19675
const { re, t } = re$2.exports;
19676
19676
const SemVer$1 = semver;
19677
19677
const parseOptions = parseOptions_1;
0 commit comments