@@ -6340,7 +6340,7 @@ module.exports = SemVer
6340
6340
6341
6341
const SemVer = __nccwpck_require__(8088)
6342
6342
const parse = __nccwpck_require__(5925)
6343
- const {re, t} = __nccwpck_require__(9523)
6343
+ const { re, t } = __nccwpck_require__(9523)
6344
6344
6345
6345
const coerce = (version, options) => {
6346
6346
if (version instanceof SemVer) {
@@ -6383,8 +6383,9 @@ const coerce = (version, options) => {
6383
6383
re[t.COERCERTL].lastIndex = -1
6384
6384
}
6385
6385
6386
- if (match === null)
6386
+ if (match === null) {
6387
6387
return null
6388
+ }
6388
6389
6389
6390
return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)
6390
6391
}
@@ -6448,7 +6449,7 @@ module.exports = eq
6448
6449
/***/ 5925:
6449
6450
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
6450
6451
6451
- const {MAX_LENGTH} = __nccwpck_require__(2293)
6452
+ const { MAX_LENGTH } = __nccwpck_require__(2293)
6452
6453
const { re, t } = __nccwpck_require__(9523)
6453
6454
const SemVer = __nccwpck_require__(8088)
6454
6455
@@ -6507,7 +6508,7 @@ const SEMVER_SPEC_VERSION = '2.0.0'
6507
6508
6508
6509
const MAX_LENGTH = 256
6509
6510
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
6510
- /* istanbul ignore next */ 9007199254740991
6511
+ /* istanbul ignore next */ 9007199254740991
6511
6512
6512
6513
// Max safe segment length for coercion.
6513
6514
const MAX_SAFE_COMPONENT_LENGTH = 16
@@ -6516,7 +6517,7 @@ module.exports = {
6516
6517
SEMVER_SPEC_VERSION,
6517
6518
MAX_LENGTH,
6518
6519
MAX_SAFE_INTEGER,
6519
- MAX_SAFE_COMPONENT_LENGTH
6520
+ MAX_SAFE_COMPONENT_LENGTH,
6520
6521
}
6521
6522
6522
6523
@@ -6562,7 +6563,7 @@ const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)
6562
6563
6563
6564
module.exports = {
6564
6565
compareIdentifiers,
6565
- rcompareIdentifiers
6566
+ rcompareIdentifiers,
6566
6567
}
6567
6568
6568
6569
@@ -6577,9 +6578,9 @@ const opts = ['includePrerelease', 'loose', 'rtl']
6577
6578
const parseOptions = options =>
6578
6579
!options ? {}
6579
6580
: typeof options !== 'object' ? { loose: true }
6580
- : opts.filter(k => options[k]).reduce((options , k) => {
6581
- options [k] = true
6582
- return options
6581
+ : opts.filter(k => options[k]).reduce((o , k) => {
6582
+ o [k] = true
6583
+ return o
6583
6584
}, {})
6584
6585
module.exports = parseOptions
6585
6586
@@ -6601,7 +6602,7 @@ let R = 0
6601
6602
6602
6603
const createToken = (name, value, isGlobal) => {
6603
6604
const index = R++
6604
- debug(index, value)
6605
+ debug(name, index, value)
6605
6606
t[name] = index
6606
6607
src[index] = value
6607
6608
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
@@ -6769,8 +6770,8 @@ createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
6769
6770
// Star ranges basically just allow anything at all.
6770
6771
createToken('STAR', '(<|>)?=?\\s*\\*')
6771
6772
// >=0.0.0 is like a star
6772
- createToken('GTE0', '^\\s*>=\\s*0\.0 \.0\\s*$')
6773
- createToken('GTE0PRE', '^\\s*>=\\s*0\.0 \.0-0\\s*$')
6773
+ createToken('GTE0', '^\\s*>=\\s*0\\.0\ \.0\\s*$')
6774
+ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\ \.0-0\\s*$')
6774
6775
6775
6776
6776
6777
/***/ }),
@@ -9380,6 +9381,7 @@ ${changedExcludedPackages.join(', ')}. Skipping.`)
9380
9381
function isAMajorReleaseBump(change) {
9381
9382
const from = change.delete
9382
9383
const to = change.insert
9384
+
9383
9385
if (!from || !to) {
9384
9386
return false
9385
9387
}
@@ -9568,7 +9570,7 @@ const getModuleVersionChanges = (prDiff) => {
9568
9570
const parsedDiffFiles = parse(prDiff)
9569
9571
const packageJsonChanges = parsedDiffFiles.find((file) => file.newPath === 'package.json')
9570
9572
if (!packageJsonChanges) {
9571
- return false
9573
+ return {}
9572
9574
}
9573
9575
9574
9576
const moduleChanges = {}
0 commit comments