@vercel/node 3.0.2 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
@@ -2203,7 +2203,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2203
2203
|
exports.default = makeAPI;
|
2204
2204
|
|
2205
2205
|
function _semver() {
|
2206
|
-
const data = _interopRequireDefault(__webpack_require__(
|
2206
|
+
const data = _interopRequireDefault(__webpack_require__(65686));
|
2207
2207
|
|
2208
2208
|
_semver = function () {
|
2209
2209
|
return data;
|
@@ -4101,7 +4101,7 @@ function t() {
|
|
4101
4101
|
}
|
4102
4102
|
|
4103
4103
|
function _semver() {
|
4104
|
-
const data = _interopRequireDefault(__webpack_require__(
|
4104
|
+
const data = _interopRequireDefault(__webpack_require__(65686));
|
4105
4105
|
|
4106
4106
|
_semver = function () {
|
4107
4107
|
return data;
|
@@ -92664,7 +92664,7 @@ module.exports.get_mockS3Http = function() {
|
|
92664
92664
|
module.exports = exports;
|
92665
92665
|
|
92666
92666
|
const path = __webpack_require__(85622);
|
92667
|
-
const semver = __webpack_require__(
|
92667
|
+
const semver = __webpack_require__(96377);
|
92668
92668
|
const url = __webpack_require__(78835);
|
92669
92669
|
const detect_libc = __webpack_require__(83200);
|
92670
92670
|
const napi = __webpack_require__(37469);
|
@@ -130075,7 +130075,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
130075
130075
|
|
130076
130076
|
/***/ }),
|
130077
130077
|
|
130078
|
-
/***/
|
130078
|
+
/***/ 65686:
|
130079
130079
|
/***/ ((module, exports) => {
|
130080
130080
|
|
130081
130081
|
exports = module.exports = SemVer
|
@@ -130106,11 +130106,39 @@ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
|
|
130106
130106
|
// Max safe segment length for coercion.
|
130107
130107
|
var MAX_SAFE_COMPONENT_LENGTH = 16
|
130108
130108
|
|
130109
|
+
var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6
|
130110
|
+
|
130109
130111
|
// The actual regexps go on exports.re
|
130110
130112
|
var re = exports.re = []
|
130113
|
+
var safeRe = exports.safeRe = []
|
130111
130114
|
var src = exports.src = []
|
130112
130115
|
var R = 0
|
130113
130116
|
|
130117
|
+
var LETTERDASHNUMBER = '[a-zA-Z0-9-]'
|
130118
|
+
|
130119
|
+
// Replace some greedy regex tokens to prevent regex dos issues. These regex are
|
130120
|
+
// used internally via the safeRe object since all inputs in this library get
|
130121
|
+
// normalized first to trim and collapse all extra whitespace. The original
|
130122
|
+
// regexes are exported for userland consumption and lower level usage. A
|
130123
|
+
// future breaking change could export the safer regex only with a note that
|
130124
|
+
// all input should have extra whitespace removed.
|
130125
|
+
var safeRegexReplacements = [
|
130126
|
+
['\\s', 1],
|
130127
|
+
['\\d', MAX_LENGTH],
|
130128
|
+
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],
|
130129
|
+
]
|
130130
|
+
|
130131
|
+
function makeSafeRe (value) {
|
130132
|
+
for (var i = 0; i < safeRegexReplacements.length; i++) {
|
130133
|
+
var token = safeRegexReplacements[i][0]
|
130134
|
+
var max = safeRegexReplacements[i][1]
|
130135
|
+
value = value
|
130136
|
+
.split(token + '*').join(token + '{0,' + max + '}')
|
130137
|
+
.split(token + '+').join(token + '{1,' + max + '}')
|
130138
|
+
}
|
130139
|
+
return value
|
130140
|
+
}
|
130141
|
+
|
130114
130142
|
// The following Regular Expressions can be used for tokenizing,
|
130115
130143
|
// validating, and parsing SemVer version strings.
|
130116
130144
|
|
@@ -130120,14 +130148,14 @@ var R = 0
|
|
130120
130148
|
var NUMERICIDENTIFIER = R++
|
130121
130149
|
src[NUMERICIDENTIFIER] = '0|[1-9]\\d*'
|
130122
130150
|
var NUMERICIDENTIFIERLOOSE = R++
|
130123
|
-
src[NUMERICIDENTIFIERLOOSE] = '
|
130151
|
+
src[NUMERICIDENTIFIERLOOSE] = '\\d+'
|
130124
130152
|
|
130125
130153
|
// ## Non-numeric Identifier
|
130126
130154
|
// Zero or more digits, followed by a letter or hyphen, and then zero or
|
130127
130155
|
// more letters, digits, or hyphens.
|
130128
130156
|
|
130129
130157
|
var NONNUMERICIDENTIFIER = R++
|
130130
|
-
src[NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-]
|
130158
|
+
src[NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'
|
130131
130159
|
|
130132
130160
|
// ## Main Version
|
130133
130161
|
// Three dot-separated numeric identifiers.
|
@@ -130169,7 +130197,7 @@ src[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +
|
|
130169
130197
|
// Any combination of digits, letters, or hyphens.
|
130170
130198
|
|
130171
130199
|
var BUILDIDENTIFIER = R++
|
130172
|
-
src[BUILDIDENTIFIER] = '
|
130200
|
+
src[BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'
|
130173
130201
|
|
130174
130202
|
// ## Build Metadata
|
130175
130203
|
// Plus sign, followed by one or more period-separated build metadata
|
@@ -130254,6 +130282,7 @@ src[LONETILDE] = '(?:~>?)'
|
|
130254
130282
|
var TILDETRIM = R++
|
130255
130283
|
src[TILDETRIM] = '(\\s*)' + src[LONETILDE] + '\\s+'
|
130256
130284
|
re[TILDETRIM] = new RegExp(src[TILDETRIM], 'g')
|
130285
|
+
safeRe[TILDETRIM] = new RegExp(makeSafeRe(src[TILDETRIM]), 'g')
|
130257
130286
|
var tildeTrimReplace = '$1~'
|
130258
130287
|
|
130259
130288
|
var TILDE = R++
|
@@ -130269,6 +130298,7 @@ src[LONECARET] = '(?:\\^)'
|
|
130269
130298
|
var CARETTRIM = R++
|
130270
130299
|
src[CARETTRIM] = '(\\s*)' + src[LONECARET] + '\\s+'
|
130271
130300
|
re[CARETTRIM] = new RegExp(src[CARETTRIM], 'g')
|
130301
|
+
safeRe[CARETTRIM] = new RegExp(makeSafeRe(src[CARETTRIM]), 'g')
|
130272
130302
|
var caretTrimReplace = '$1^'
|
130273
130303
|
|
130274
130304
|
var CARET = R++
|
@@ -130290,6 +130320,7 @@ src[COMPARATORTRIM] = '(\\s*)' + src[GTLT] +
|
|
130290
130320
|
|
130291
130321
|
// this one has to use the /g flag
|
130292
130322
|
re[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g')
|
130323
|
+
safeRe[COMPARATORTRIM] = new RegExp(makeSafeRe(src[COMPARATORTRIM]), 'g')
|
130293
130324
|
var comparatorTrimReplace = '$1$2$3'
|
130294
130325
|
|
130295
130326
|
// Something like `1.2.3 - 1.2.4`
|
@@ -130318,6 +130349,14 @@ for (var i = 0; i < R; i++) {
|
|
130318
130349
|
debug(i, src[i])
|
130319
130350
|
if (!re[i]) {
|
130320
130351
|
re[i] = new RegExp(src[i])
|
130352
|
+
|
130353
|
+
// Replace all greedy whitespace to prevent regex dos issues. These regex are
|
130354
|
+
// used internally via the safeRe object since all inputs in this library get
|
130355
|
+
// normalized first to trim and collapse all extra whitespace. The original
|
130356
|
+
// regexes are exported for userland consumption and lower level usage. A
|
130357
|
+
// future breaking change could export the safer regex only with a note that
|
130358
|
+
// all input should have extra whitespace removed.
|
130359
|
+
safeRe[i] = new RegExp(makeSafeRe(src[i]))
|
130321
130360
|
}
|
130322
130361
|
}
|
130323
130362
|
|
@@ -130342,7 +130381,7 @@ function parse (version, options) {
|
|
130342
130381
|
return null
|
130343
130382
|
}
|
130344
130383
|
|
130345
|
-
var r = options.loose ?
|
130384
|
+
var r = options.loose ? safeRe[LOOSE] : safeRe[FULL]
|
130346
130385
|
if (!r.test(version)) {
|
130347
130386
|
return null
|
130348
130387
|
}
|
@@ -130397,7 +130436,7 @@ function SemVer (version, options) {
|
|
130397
130436
|
this.options = options
|
130398
130437
|
this.loose = !!options.loose
|
130399
130438
|
|
130400
|
-
var m = version.trim().match(options.loose ?
|
130439
|
+
var m = version.trim().match(options.loose ? safeRe[LOOSE] : safeRe[FULL])
|
130401
130440
|
|
130402
130441
|
if (!m) {
|
130403
130442
|
throw new TypeError('Invalid Version: ' + version)
|
@@ -130811,6 +130850,7 @@ function Comparator (comp, options) {
|
|
130811
130850
|
return new Comparator(comp, options)
|
130812
130851
|
}
|
130813
130852
|
|
130853
|
+
comp = comp.trim().split(/\s+/).join(' ')
|
130814
130854
|
debug('comparator', comp, options)
|
130815
130855
|
this.options = options
|
130816
130856
|
this.loose = !!options.loose
|
@@ -130827,7 +130867,7 @@ function Comparator (comp, options) {
|
|
130827
130867
|
|
130828
130868
|
var ANY = {}
|
130829
130869
|
Comparator.prototype.parse = function (comp) {
|
130830
|
-
var r = this.options.loose ?
|
130870
|
+
var r = this.options.loose ? safeRe[COMPARATORLOOSE] : safeRe[COMPARATOR]
|
130831
130871
|
var m = comp.match(r)
|
130832
130872
|
|
130833
130873
|
if (!m) {
|
@@ -130941,9 +130981,16 @@ function Range (range, options) {
|
|
130941
130981
|
this.loose = !!options.loose
|
130942
130982
|
this.includePrerelease = !!options.includePrerelease
|
130943
130983
|
|
130944
|
-
// First
|
130984
|
+
// First reduce all whitespace as much as possible so we do not have to rely
|
130985
|
+
// on potentially slow regexes like \s*. This is then stored and used for
|
130986
|
+
// future error messages as well.
|
130945
130987
|
this.raw = range
|
130946
|
-
|
130988
|
+
.trim()
|
130989
|
+
.split(/\s+/)
|
130990
|
+
.join(' ')
|
130991
|
+
|
130992
|
+
// First, split based on boolean or ||
|
130993
|
+
this.set = this.raw.split('||').map(function (range) {
|
130947
130994
|
return this.parseRange(range.trim())
|
130948
130995
|
}, this).filter(function (c) {
|
130949
130996
|
// throw out any that are not relevant for whatever reason
|
@@ -130951,7 +130998,7 @@ function Range (range, options) {
|
|
130951
130998
|
})
|
130952
130999
|
|
130953
131000
|
if (!this.set.length) {
|
130954
|
-
throw new TypeError('Invalid SemVer Range: ' +
|
131001
|
+
throw new TypeError('Invalid SemVer Range: ' + this.raw)
|
130955
131002
|
}
|
130956
131003
|
|
130957
131004
|
this.format()
|
@@ -130970,28 +131017,23 @@ Range.prototype.toString = function () {
|
|
130970
131017
|
|
130971
131018
|
Range.prototype.parseRange = function (range) {
|
130972
131019
|
var loose = this.options.loose
|
130973
|
-
range = range.trim()
|
130974
131020
|
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
|
130975
|
-
var hr = loose ?
|
131021
|
+
var hr = loose ? safeRe[HYPHENRANGELOOSE] : safeRe[HYPHENRANGE]
|
130976
131022
|
range = range.replace(hr, hyphenReplace)
|
130977
131023
|
debug('hyphen replace', range)
|
130978
131024
|
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
|
130979
|
-
range = range.replace(
|
130980
|
-
debug('comparator trim', range,
|
131025
|
+
range = range.replace(safeRe[COMPARATORTRIM], comparatorTrimReplace)
|
131026
|
+
debug('comparator trim', range, safeRe[COMPARATORTRIM])
|
130981
131027
|
|
130982
131028
|
// `~ 1.2.3` => `~1.2.3`
|
130983
|
-
range = range.replace(
|
131029
|
+
range = range.replace(safeRe[TILDETRIM], tildeTrimReplace)
|
130984
131030
|
|
130985
131031
|
// `^ 1.2.3` => `^1.2.3`
|
130986
|
-
range = range.replace(
|
130987
|
-
|
130988
|
-
// normalize spaces
|
130989
|
-
range = range.split(/\s+/).join(' ')
|
131032
|
+
range = range.replace(safeRe[CARETTRIM], caretTrimReplace)
|
130990
131033
|
|
130991
131034
|
// At this point, the range is completely trimmed and
|
130992
131035
|
// ready to be split into comparators.
|
130993
|
-
|
130994
|
-
var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR]
|
131036
|
+
var compRe = loose ? safeRe[COMPARATORLOOSE] : safeRe[COMPARATOR]
|
130995
131037
|
var set = range.split(' ').map(function (comp) {
|
130996
131038
|
return parseComparator(comp, this.options)
|
130997
131039
|
}, this).join(' ').split(/\s+/)
|
@@ -131067,7 +131109,7 @@ function replaceTildes (comp, options) {
|
|
131067
131109
|
}
|
131068
131110
|
|
131069
131111
|
function replaceTilde (comp, options) {
|
131070
|
-
var r = options.loose ?
|
131112
|
+
var r = options.loose ? safeRe[TILDELOOSE] : safeRe[TILDE]
|
131071
131113
|
return comp.replace(r, function (_, M, m, p, pr) {
|
131072
131114
|
debug('tilde', comp, _, M, m, p, pr)
|
131073
131115
|
var ret
|
@@ -131108,7 +131150,7 @@ function replaceCarets (comp, options) {
|
|
131108
131150
|
|
131109
131151
|
function replaceCaret (comp, options) {
|
131110
131152
|
debug('caret', comp, options)
|
131111
|
-
var r = options.loose ?
|
131153
|
+
var r = options.loose ? safeRe[CARETLOOSE] : safeRe[CARET]
|
131112
131154
|
return comp.replace(r, function (_, M, m, p, pr) {
|
131113
131155
|
debug('caret', comp, _, M, m, p, pr)
|
131114
131156
|
var ret
|
@@ -131167,7 +131209,7 @@ function replaceXRanges (comp, options) {
|
|
131167
131209
|
|
131168
131210
|
function replaceXRange (comp, options) {
|
131169
131211
|
comp = comp.trim()
|
131170
|
-
var r = options.loose ?
|
131212
|
+
var r = options.loose ? safeRe[XRANGELOOSE] : safeRe[XRANGE]
|
131171
131213
|
return comp.replace(r, function (ret, gtlt, M, m, p, pr) {
|
131172
131214
|
debug('xRange', comp, ret, gtlt, M, m, p, pr)
|
131173
131215
|
var xM = isX(M)
|
@@ -131237,10 +131279,10 @@ function replaceXRange (comp, options) {
|
|
131237
131279
|
function replaceStars (comp, options) {
|
131238
131280
|
debug('replaceStars', comp, options)
|
131239
131281
|
// Looseness is ignored here. star is always as loose as it gets!
|
131240
|
-
return comp.trim().replace(
|
131282
|
+
return comp.trim().replace(safeRe[STAR], '')
|
131241
131283
|
}
|
131242
131284
|
|
131243
|
-
// This function is passed to string.replace(
|
131285
|
+
// This function is passed to string.replace(safeRe[HYPHENRANGE])
|
131244
131286
|
// M, m, patch, prerelease, build
|
131245
131287
|
// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
|
131246
131288
|
// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do
|
@@ -131551,7 +131593,7 @@ function coerce (version) {
|
|
131551
131593
|
return null
|
131552
131594
|
}
|
131553
131595
|
|
131554
|
-
var match = version.match(
|
131596
|
+
var match = version.match(safeRe[COERCE])
|
131555
131597
|
|
131556
131598
|
if (match == null) {
|
131557
131599
|
return null
|
@@ -131565,7 +131607,7 @@ function coerce (version) {
|
|
131565
131607
|
|
131566
131608
|
/***/ }),
|
131567
131609
|
|
131568
|
-
/***/
|
131610
|
+
/***/ 99449:
|
131569
131611
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
131570
131612
|
|
131571
131613
|
const ANY = Symbol('SemVer ANY')
|
@@ -131586,6 +131628,7 @@ class Comparator {
|
|
131586
131628
|
}
|
131587
131629
|
}
|
131588
131630
|
|
131631
|
+
comp = comp.trim().split(/\s+/).join(' ')
|
131589
131632
|
debug('comparator', comp, options)
|
131590
131633
|
this.options = options
|
131591
131634
|
this.loose = !!options.loose
|
@@ -131648,13 +131691,6 @@ class Comparator {
|
|
131648
131691
|
throw new TypeError('a Comparator is required')
|
131649
131692
|
}
|
131650
131693
|
|
131651
|
-
if (!options || typeof options !== 'object') {
|
131652
|
-
options = {
|
131653
|
-
loose: !!options,
|
131654
|
-
includePrerelease: false,
|
131655
|
-
}
|
131656
|
-
}
|
131657
|
-
|
131658
131694
|
if (this.operator === '') {
|
131659
131695
|
if (this.value === '') {
|
131660
131696
|
return true
|
@@ -131667,48 +131703,59 @@ class Comparator {
|
|
131667
131703
|
return new Range(this.value, options).test(comp.semver)
|
131668
131704
|
}
|
131669
131705
|
|
131670
|
-
|
131671
|
-
|
131672
|
-
|
131673
|
-
|
131674
|
-
(this.
|
131675
|
-
|
131676
|
-
|
131677
|
-
|
131678
|
-
(this.
|
131679
|
-
|
131680
|
-
|
131681
|
-
cmp(this.semver, '<', comp.semver, options) &&
|
131682
|
-
(this.operator === '>=' || this.operator === '>') &&
|
131683
|
-
(comp.operator === '<=' || comp.operator === '<')
|
131684
|
-
const oppositeDirectionsGreaterThan =
|
131685
|
-
cmp(this.semver, '>', comp.semver, options) &&
|
131686
|
-
(this.operator === '<=' || this.operator === '<') &&
|
131687
|
-
(comp.operator === '>=' || comp.operator === '>')
|
131706
|
+
options = parseOptions(options)
|
131707
|
+
|
131708
|
+
// Special cases where nothing can possibly be lower
|
131709
|
+
if (options.includePrerelease &&
|
131710
|
+
(this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {
|
131711
|
+
return false
|
131712
|
+
}
|
131713
|
+
if (!options.includePrerelease &&
|
131714
|
+
(this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {
|
131715
|
+
return false
|
131716
|
+
}
|
131688
131717
|
|
131689
|
-
|
131690
|
-
|
131691
|
-
|
131692
|
-
|
131693
|
-
|
131694
|
-
|
131695
|
-
|
131718
|
+
// Same direction increasing (> or >=)
|
131719
|
+
if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {
|
131720
|
+
return true
|
131721
|
+
}
|
131722
|
+
// Same direction decreasing (< or <=)
|
131723
|
+
if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {
|
131724
|
+
return true
|
131725
|
+
}
|
131726
|
+
// same SemVer and both sides are inclusive (<= or >=)
|
131727
|
+
if (
|
131728
|
+
(this.semver.version === comp.semver.version) &&
|
131729
|
+
this.operator.includes('=') && comp.operator.includes('=')) {
|
131730
|
+
return true
|
131731
|
+
}
|
131732
|
+
// opposite directions less than
|
131733
|
+
if (cmp(this.semver, '<', comp.semver, options) &&
|
131734
|
+
this.operator.startsWith('>') && comp.operator.startsWith('<')) {
|
131735
|
+
return true
|
131736
|
+
}
|
131737
|
+
// opposite directions greater than
|
131738
|
+
if (cmp(this.semver, '>', comp.semver, options) &&
|
131739
|
+
this.operator.startsWith('<') && comp.operator.startsWith('>')) {
|
131740
|
+
return true
|
131741
|
+
}
|
131742
|
+
return false
|
131696
131743
|
}
|
131697
131744
|
}
|
131698
131745
|
|
131699
131746
|
module.exports = Comparator
|
131700
131747
|
|
131701
|
-
const parseOptions = __webpack_require__(
|
131702
|
-
const { re, t } = __webpack_require__(
|
131703
|
-
const cmp = __webpack_require__(
|
131704
|
-
const debug = __webpack_require__(
|
131705
|
-
const SemVer = __webpack_require__(
|
131706
|
-
const Range = __webpack_require__(
|
131748
|
+
const parseOptions = __webpack_require__(68166)
|
131749
|
+
const { safeRe: re, t } = __webpack_require__(2298)
|
131750
|
+
const cmp = __webpack_require__(16696)
|
131751
|
+
const debug = __webpack_require__(20107)
|
131752
|
+
const SemVer = __webpack_require__(47234)
|
131753
|
+
const Range = __webpack_require__(88614)
|
131707
131754
|
|
131708
131755
|
|
131709
131756
|
/***/ }),
|
131710
131757
|
|
131711
|
-
/***/
|
131758
|
+
/***/ 88614:
|
131712
131759
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
131713
131760
|
|
131714
131761
|
// hoisted class for cyclic dependency
|
@@ -131739,19 +131786,26 @@ class Range {
|
|
131739
131786
|
this.loose = !!options.loose
|
131740
131787
|
this.includePrerelease = !!options.includePrerelease
|
131741
131788
|
|
131742
|
-
// First
|
131789
|
+
// First reduce all whitespace as much as possible so we do not have to rely
|
131790
|
+
// on potentially slow regexes like \s*. This is then stored and used for
|
131791
|
+
// future error messages as well.
|
131743
131792
|
this.raw = range
|
131744
|
-
|
131793
|
+
.trim()
|
131794
|
+
.split(/\s+/)
|
131795
|
+
.join(' ')
|
131796
|
+
|
131797
|
+
// First, split on ||
|
131798
|
+
this.set = this.raw
|
131745
131799
|
.split('||')
|
131746
131800
|
// map the range to a 2d array of comparators
|
131747
|
-
.map(r => this.parseRange(r
|
131801
|
+
.map(r => this.parseRange(r))
|
131748
131802
|
// throw out any comparator lists that are empty
|
131749
131803
|
// this generally means that it was not a valid range, which is allowed
|
131750
131804
|
// in loose mode, but will still throw if the WHOLE range is invalid.
|
131751
131805
|
.filter(c => c.length)
|
131752
131806
|
|
131753
131807
|
if (!this.set.length) {
|
131754
|
-
throw new TypeError(`Invalid SemVer Range: ${
|
131808
|
+
throw new TypeError(`Invalid SemVer Range: ${this.raw}`)
|
131755
131809
|
}
|
131756
131810
|
|
131757
131811
|
// if we have any that are not the null set, throw out null sets.
|
@@ -131777,9 +131831,7 @@ class Range {
|
|
131777
131831
|
|
131778
131832
|
format () {
|
131779
131833
|
this.range = this.set
|
131780
|
-
.map((comps) =>
|
131781
|
-
return comps.join(' ').trim()
|
131782
|
-
})
|
131834
|
+
.map((comps) => comps.join(' ').trim())
|
131783
131835
|
.join('||')
|
131784
131836
|
.trim()
|
131785
131837
|
return this.range
|
@@ -131790,12 +131842,12 @@ class Range {
|
|
131790
131842
|
}
|
131791
131843
|
|
131792
131844
|
parseRange (range) {
|
131793
|
-
range = range.trim()
|
131794
|
-
|
131795
131845
|
// memoize range parsing for performance.
|
131796
131846
|
// this is a very hot path, and fully deterministic.
|
131797
|
-
const memoOpts =
|
131798
|
-
|
131847
|
+
const memoOpts =
|
131848
|
+
(this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |
|
131849
|
+
(this.options.loose && FLAG_LOOSE)
|
131850
|
+
const memoKey = memoOpts + ':' + range
|
131799
131851
|
const cached = cache.get(memoKey)
|
131800
131852
|
if (cached) {
|
131801
131853
|
return cached
|
@@ -131816,9 +131868,6 @@ class Range {
|
|
131816
131868
|
// `^ 1.2.3` => `^1.2.3`
|
131817
131869
|
range = range.replace(re[t.CARETTRIM], caretTrimReplace)
|
131818
131870
|
|
131819
|
-
// normalize spaces
|
131820
|
-
range = range.split(/\s+/).join(' ')
|
131821
|
-
|
131822
131871
|
// At this point, the range is completely trimmed and
|
131823
131872
|
// ready to be split into comparators.
|
131824
131873
|
|
@@ -131903,22 +131952,24 @@ class Range {
|
|
131903
131952
|
return false
|
131904
131953
|
}
|
131905
131954
|
}
|
131955
|
+
|
131906
131956
|
module.exports = Range
|
131907
131957
|
|
131908
131958
|
const LRU = __webpack_require__(26472)
|
131909
131959
|
const cache = new LRU({ max: 1000 })
|
131910
131960
|
|
131911
|
-
const parseOptions = __webpack_require__(
|
131912
|
-
const Comparator = __webpack_require__(
|
131913
|
-
const debug = __webpack_require__(
|
131914
|
-
const SemVer = __webpack_require__(
|
131961
|
+
const parseOptions = __webpack_require__(68166)
|
131962
|
+
const Comparator = __webpack_require__(99449)
|
131963
|
+
const debug = __webpack_require__(20107)
|
131964
|
+
const SemVer = __webpack_require__(47234)
|
131915
131965
|
const {
|
131916
|
-
re,
|
131966
|
+
safeRe: re,
|
131917
131967
|
t,
|
131918
131968
|
comparatorTrimReplace,
|
131919
131969
|
tildeTrimReplace,
|
131920
131970
|
caretTrimReplace,
|
131921
|
-
} = __webpack_require__(
|
131971
|
+
} = __webpack_require__(2298)
|
131972
|
+
const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __webpack_require__(78925)
|
131922
131973
|
|
131923
131974
|
const isNullSet = c => c.value === '<0.0.0-0'
|
131924
131975
|
const isAny = c => c.value === ''
|
@@ -131966,10 +132017,13 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
|
|
131966
132017
|
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
|
131967
132018
|
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
|
131968
132019
|
// ~0.0.1 --> >=0.0.1 <0.1.0-0
|
131969
|
-
const replaceTildes = (comp, options) =>
|
131970
|
-
comp
|
131971
|
-
|
131972
|
-
|
132020
|
+
const replaceTildes = (comp, options) => {
|
132021
|
+
return comp
|
132022
|
+
.trim()
|
132023
|
+
.split(/\s+/)
|
132024
|
+
.map((c) => replaceTilde(c, options))
|
132025
|
+
.join(' ')
|
132026
|
+
}
|
131973
132027
|
|
131974
132028
|
const replaceTilde = (comp, options) => {
|
131975
132029
|
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]
|
@@ -132007,10 +132061,13 @@ const replaceTilde = (comp, options) => {
|
|
132007
132061
|
// ^1.2.0 --> >=1.2.0 <2.0.0-0
|
132008
132062
|
// ^0.0.1 --> >=0.0.1 <0.0.2-0
|
132009
132063
|
// ^0.1.0 --> >=0.1.0 <0.2.0-0
|
132010
|
-
const replaceCarets = (comp, options) =>
|
132011
|
-
comp
|
132012
|
-
|
132013
|
-
|
132064
|
+
const replaceCarets = (comp, options) => {
|
132065
|
+
return comp
|
132066
|
+
.trim()
|
132067
|
+
.split(/\s+/)
|
132068
|
+
.map((c) => replaceCaret(c, options))
|
132069
|
+
.join(' ')
|
132070
|
+
}
|
132014
132071
|
|
132015
132072
|
const replaceCaret = (comp, options) => {
|
132016
132073
|
debug('caret', comp, options)
|
@@ -132067,9 +132124,10 @@ const replaceCaret = (comp, options) => {
|
|
132067
132124
|
|
132068
132125
|
const replaceXRanges = (comp, options) => {
|
132069
132126
|
debug('replaceXRanges', comp, options)
|
132070
|
-
return comp
|
132071
|
-
|
132072
|
-
|
132127
|
+
return comp
|
132128
|
+
.split(/\s+/)
|
132129
|
+
.map((c) => replaceXRange(c, options))
|
132130
|
+
.join(' ')
|
132073
132131
|
}
|
132074
132132
|
|
132075
132133
|
const replaceXRange = (comp, options) => {
|
@@ -132152,12 +132210,15 @@ const replaceXRange = (comp, options) => {
|
|
132152
132210
|
const replaceStars = (comp, options) => {
|
132153
132211
|
debug('replaceStars', comp, options)
|
132154
132212
|
// Looseness is ignored here. star is always as loose as it gets!
|
132155
|
-
return comp
|
132213
|
+
return comp
|
132214
|
+
.trim()
|
132215
|
+
.replace(re[t.STAR], '')
|
132156
132216
|
}
|
132157
132217
|
|
132158
132218
|
const replaceGTE0 = (comp, options) => {
|
132159
132219
|
debug('replaceGTE0', comp, options)
|
132160
|
-
return comp
|
132220
|
+
return comp
|
132221
|
+
.trim()
|
132161
132222
|
.replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')
|
132162
132223
|
}
|
132163
132224
|
|
@@ -132195,7 +132256,7 @@ const hyphenReplace = incPr => ($0,
|
|
132195
132256
|
to = `<=${to}`
|
132196
132257
|
}
|
132197
132258
|
|
132198
|
-
return
|
132259
|
+
return `${from} ${to}`.trim()
|
132199
132260
|
}
|
132200
132261
|
|
132201
132262
|
const testSet = (set, version, options) => {
|
@@ -132237,15 +132298,15 @@ const testSet = (set, version, options) => {
|
|
132237
132298
|
|
132238
132299
|
/***/ }),
|
132239
132300
|
|
132240
|
-
/***/
|
132301
|
+
/***/ 47234:
|
132241
132302
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132242
132303
|
|
132243
|
-
const debug = __webpack_require__(
|
132244
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(
|
132245
|
-
const { re, t } = __webpack_require__(
|
132304
|
+
const debug = __webpack_require__(20107)
|
132305
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(78925)
|
132306
|
+
const { safeRe: re, t } = __webpack_require__(2298)
|
132246
132307
|
|
132247
|
-
const parseOptions = __webpack_require__(
|
132248
|
-
const { compareIdentifiers } = __webpack_require__(
|
132308
|
+
const parseOptions = __webpack_require__(68166)
|
132309
|
+
const { compareIdentifiers } = __webpack_require__(91680)
|
132249
132310
|
class SemVer {
|
132250
132311
|
constructor (version, options) {
|
132251
132312
|
options = parseOptions(options)
|
@@ -132258,7 +132319,7 @@ class SemVer {
|
|
132258
132319
|
version = version.version
|
132259
132320
|
}
|
132260
132321
|
} else if (typeof version !== 'string') {
|
132261
|
-
throw new TypeError(`Invalid
|
132322
|
+
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`)
|
132262
132323
|
}
|
132263
132324
|
|
132264
132325
|
if (version.length > MAX_LENGTH) {
|
@@ -132417,36 +132478,36 @@ class SemVer {
|
|
132417
132478
|
|
132418
132479
|
// preminor will bump the version up to the next minor release, and immediately
|
132419
132480
|
// down to pre-release. premajor and prepatch work the same way.
|
132420
|
-
inc (release, identifier) {
|
132481
|
+
inc (release, identifier, identifierBase) {
|
132421
132482
|
switch (release) {
|
132422
132483
|
case 'premajor':
|
132423
132484
|
this.prerelease.length = 0
|
132424
132485
|
this.patch = 0
|
132425
132486
|
this.minor = 0
|
132426
132487
|
this.major++
|
132427
|
-
this.inc('pre', identifier)
|
132488
|
+
this.inc('pre', identifier, identifierBase)
|
132428
132489
|
break
|
132429
132490
|
case 'preminor':
|
132430
132491
|
this.prerelease.length = 0
|
132431
132492
|
this.patch = 0
|
132432
132493
|
this.minor++
|
132433
|
-
this.inc('pre', identifier)
|
132494
|
+
this.inc('pre', identifier, identifierBase)
|
132434
132495
|
break
|
132435
132496
|
case 'prepatch':
|
132436
132497
|
// If this is already a prerelease, it will bump to the next version
|
132437
132498
|
// drop any prereleases that might already exist, since they are not
|
132438
132499
|
// relevant at this point.
|
132439
132500
|
this.prerelease.length = 0
|
132440
|
-
this.inc('patch', identifier)
|
132441
|
-
this.inc('pre', identifier)
|
132501
|
+
this.inc('patch', identifier, identifierBase)
|
132502
|
+
this.inc('pre', identifier, identifierBase)
|
132442
132503
|
break
|
132443
132504
|
// If the input is a non-prerelease version, this acts the same as
|
132444
132505
|
// prepatch.
|
132445
132506
|
case 'prerelease':
|
132446
132507
|
if (this.prerelease.length === 0) {
|
132447
|
-
this.inc('patch', identifier)
|
132508
|
+
this.inc('patch', identifier, identifierBase)
|
132448
132509
|
}
|
132449
|
-
this.inc('pre', identifier)
|
132510
|
+
this.inc('pre', identifier, identifierBase)
|
132450
132511
|
break
|
132451
132512
|
|
132452
132513
|
case 'major':
|
@@ -132488,9 +132549,15 @@ class SemVer {
|
|
132488
132549
|
break
|
132489
132550
|
// This probably shouldn't be used publicly.
|
132490
132551
|
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
132491
|
-
case 'pre':
|
132552
|
+
case 'pre': {
|
132553
|
+
const base = Number(identifierBase) ? 1 : 0
|
132554
|
+
|
132555
|
+
if (!identifier && identifierBase === false) {
|
132556
|
+
throw new Error('invalid increment argument: identifier is empty')
|
132557
|
+
}
|
132558
|
+
|
132492
132559
|
if (this.prerelease.length === 0) {
|
132493
|
-
this.prerelease = [
|
132560
|
+
this.prerelease = [base]
|
132494
132561
|
} else {
|
132495
132562
|
let i = this.prerelease.length
|
132496
132563
|
while (--i >= 0) {
|
@@ -132501,27 +132568,36 @@ class SemVer {
|
|
132501
132568
|
}
|
132502
132569
|
if (i === -1) {
|
132503
132570
|
// didn't increment anything
|
132504
|
-
this.prerelease.
|
132571
|
+
if (identifier === this.prerelease.join('.') && identifierBase === false) {
|
132572
|
+
throw new Error('invalid increment argument: identifier already exists')
|
132573
|
+
}
|
132574
|
+
this.prerelease.push(base)
|
132505
132575
|
}
|
132506
132576
|
}
|
132507
132577
|
if (identifier) {
|
132508
132578
|
// 1.2.0-beta.1 bumps to 1.2.0-beta.2,
|
132509
132579
|
// 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
|
132580
|
+
let prerelease = [identifier, base]
|
132581
|
+
if (identifierBase === false) {
|
132582
|
+
prerelease = [identifier]
|
132583
|
+
}
|
132510
132584
|
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
132511
132585
|
if (isNaN(this.prerelease[1])) {
|
132512
|
-
this.prerelease =
|
132586
|
+
this.prerelease = prerelease
|
132513
132587
|
}
|
132514
132588
|
} else {
|
132515
|
-
this.prerelease =
|
132589
|
+
this.prerelease = prerelease
|
132516
132590
|
}
|
132517
132591
|
}
|
132518
132592
|
break
|
132519
|
-
|
132593
|
+
}
|
132520
132594
|
default:
|
132521
132595
|
throw new Error(`invalid increment argument: ${release}`)
|
132522
132596
|
}
|
132523
|
-
this.format()
|
132524
|
-
this.
|
132597
|
+
this.raw = this.format()
|
132598
|
+
if (this.build.length) {
|
132599
|
+
this.raw += `+${this.build.join('.')}`
|
132600
|
+
}
|
132525
132601
|
return this
|
132526
132602
|
}
|
132527
132603
|
}
|
@@ -132531,10 +132607,10 @@ module.exports = SemVer
|
|
132531
132607
|
|
132532
132608
|
/***/ }),
|
132533
132609
|
|
132534
|
-
/***/
|
132610
|
+
/***/ 23996:
|
132535
132611
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132536
132612
|
|
132537
|
-
const parse = __webpack_require__(
|
132613
|
+
const parse = __webpack_require__(18606)
|
132538
132614
|
const clean = (version, options) => {
|
132539
132615
|
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
|
132540
132616
|
return s ? s.version : null
|
@@ -132544,15 +132620,15 @@ module.exports = clean
|
|
132544
132620
|
|
132545
132621
|
/***/ }),
|
132546
132622
|
|
132547
|
-
/***/
|
132623
|
+
/***/ 16696:
|
132548
132624
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132549
132625
|
|
132550
|
-
const eq = __webpack_require__(
|
132551
|
-
const neq = __webpack_require__(
|
132552
|
-
const gt = __webpack_require__(
|
132553
|
-
const gte = __webpack_require__(
|
132554
|
-
const lt = __webpack_require__(
|
132555
|
-
const lte = __webpack_require__(
|
132626
|
+
const eq = __webpack_require__(70625)
|
132627
|
+
const neq = __webpack_require__(3325)
|
132628
|
+
const gt = __webpack_require__(23370)
|
132629
|
+
const gte = __webpack_require__(98622)
|
132630
|
+
const lt = __webpack_require__(46071)
|
132631
|
+
const lte = __webpack_require__(77696)
|
132556
132632
|
|
132557
132633
|
const cmp = (a, op, b, loose) => {
|
132558
132634
|
switch (op) {
|
@@ -132603,12 +132679,12 @@ module.exports = cmp
|
|
132603
132679
|
|
132604
132680
|
/***/ }),
|
132605
132681
|
|
132606
|
-
/***/
|
132682
|
+
/***/ 82509:
|
132607
132683
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132608
132684
|
|
132609
|
-
const SemVer = __webpack_require__(
|
132610
|
-
const parse = __webpack_require__(
|
132611
|
-
const { re, t } = __webpack_require__(
|
132685
|
+
const SemVer = __webpack_require__(47234)
|
132686
|
+
const parse = __webpack_require__(18606)
|
132687
|
+
const { safeRe: re, t } = __webpack_require__(2298)
|
132612
132688
|
|
132613
132689
|
const coerce = (version, options) => {
|
132614
132690
|
if (version instanceof SemVer) {
|
@@ -132662,10 +132738,10 @@ module.exports = coerce
|
|
132662
132738
|
|
132663
132739
|
/***/ }),
|
132664
132740
|
|
132665
|
-
/***/
|
132741
|
+
/***/ 1058:
|
132666
132742
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132667
132743
|
|
132668
|
-
const SemVer = __webpack_require__(
|
132744
|
+
const SemVer = __webpack_require__(47234)
|
132669
132745
|
const compareBuild = (a, b, loose) => {
|
132670
132746
|
const versionA = new SemVer(a, loose)
|
132671
132747
|
const versionB = new SemVer(b, loose)
|
@@ -132676,20 +132752,20 @@ module.exports = compareBuild
|
|
132676
132752
|
|
132677
132753
|
/***/ }),
|
132678
132754
|
|
132679
|
-
/***/
|
132755
|
+
/***/ 64271:
|
132680
132756
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132681
132757
|
|
132682
|
-
const compare = __webpack_require__(
|
132758
|
+
const compare = __webpack_require__(89603)
|
132683
132759
|
const compareLoose = (a, b) => compare(a, b, true)
|
132684
132760
|
module.exports = compareLoose
|
132685
132761
|
|
132686
132762
|
|
132687
132763
|
/***/ }),
|
132688
132764
|
|
132689
|
-
/***/
|
132765
|
+
/***/ 89603:
|
132690
132766
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132691
132767
|
|
132692
|
-
const SemVer = __webpack_require__(
|
132768
|
+
const SemVer = __webpack_require__(47234)
|
132693
132769
|
const compare = (a, b, loose) =>
|
132694
132770
|
new SemVer(a, loose).compare(new SemVer(b, loose))
|
132695
132771
|
|
@@ -132698,73 +132774,116 @@ module.exports = compare
|
|
132698
132774
|
|
132699
132775
|
/***/ }),
|
132700
132776
|
|
132701
|
-
/***/
|
132777
|
+
/***/ 91937:
|
132702
132778
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132703
132779
|
|
132704
|
-
const parse = __webpack_require__(
|
132705
|
-
const eq = __webpack_require__(31801)
|
132780
|
+
const parse = __webpack_require__(18606)
|
132706
132781
|
|
132707
132782
|
const diff = (version1, version2) => {
|
132708
|
-
|
132783
|
+
const v1 = parse(version1, null, true)
|
132784
|
+
const v2 = parse(version2, null, true)
|
132785
|
+
const comparison = v1.compare(v2)
|
132786
|
+
|
132787
|
+
if (comparison === 0) {
|
132709
132788
|
return null
|
132710
|
-
}
|
132711
|
-
|
132712
|
-
|
132713
|
-
|
132714
|
-
|
132715
|
-
|
132716
|
-
|
132717
|
-
|
132718
|
-
|
132719
|
-
|
132720
|
-
|
132721
|
-
|
132789
|
+
}
|
132790
|
+
|
132791
|
+
const v1Higher = comparison > 0
|
132792
|
+
const highVersion = v1Higher ? v1 : v2
|
132793
|
+
const lowVersion = v1Higher ? v2 : v1
|
132794
|
+
const highHasPre = !!highVersion.prerelease.length
|
132795
|
+
const lowHasPre = !!lowVersion.prerelease.length
|
132796
|
+
|
132797
|
+
if (lowHasPre && !highHasPre) {
|
132798
|
+
// Going from prerelease -> no prerelease requires some special casing
|
132799
|
+
|
132800
|
+
// If the low version has only a major, then it will always be a major
|
132801
|
+
// Some examples:
|
132802
|
+
// 1.0.0-1 -> 1.0.0
|
132803
|
+
// 1.0.0-1 -> 1.1.1
|
132804
|
+
// 1.0.0-1 -> 2.0.0
|
132805
|
+
if (!lowVersion.patch && !lowVersion.minor) {
|
132806
|
+
return 'major'
|
132722
132807
|
}
|
132723
|
-
|
132808
|
+
|
132809
|
+
// Otherwise it can be determined by checking the high version
|
132810
|
+
|
132811
|
+
if (highVersion.patch) {
|
132812
|
+
// anything higher than a patch bump would result in the wrong version
|
132813
|
+
return 'patch'
|
132814
|
+
}
|
132815
|
+
|
132816
|
+
if (highVersion.minor) {
|
132817
|
+
// anything higher than a minor bump would result in the wrong version
|
132818
|
+
return 'minor'
|
132819
|
+
}
|
132820
|
+
|
132821
|
+
// bumping major/minor/patch all have same result
|
132822
|
+
return 'major'
|
132823
|
+
}
|
132824
|
+
|
132825
|
+
// add the `pre` prefix if we are going to a prerelease version
|
132826
|
+
const prefix = highHasPre ? 'pre' : ''
|
132827
|
+
|
132828
|
+
if (v1.major !== v2.major) {
|
132829
|
+
return prefix + 'major'
|
132724
132830
|
}
|
132831
|
+
|
132832
|
+
if (v1.minor !== v2.minor) {
|
132833
|
+
return prefix + 'minor'
|
132834
|
+
}
|
132835
|
+
|
132836
|
+
if (v1.patch !== v2.patch) {
|
132837
|
+
return prefix + 'patch'
|
132838
|
+
}
|
132839
|
+
|
132840
|
+
// high and low are preleases
|
132841
|
+
return 'prerelease'
|
132725
132842
|
}
|
132843
|
+
|
132726
132844
|
module.exports = diff
|
132727
132845
|
|
132728
132846
|
|
132729
132847
|
/***/ }),
|
132730
132848
|
|
132731
|
-
/***/
|
132849
|
+
/***/ 70625:
|
132732
132850
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132733
132851
|
|
132734
|
-
const compare = __webpack_require__(
|
132852
|
+
const compare = __webpack_require__(89603)
|
132735
132853
|
const eq = (a, b, loose) => compare(a, b, loose) === 0
|
132736
132854
|
module.exports = eq
|
132737
132855
|
|
132738
132856
|
|
132739
132857
|
/***/ }),
|
132740
132858
|
|
132741
|
-
/***/
|
132859
|
+
/***/ 23370:
|
132742
132860
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132743
132861
|
|
132744
|
-
const compare = __webpack_require__(
|
132862
|
+
const compare = __webpack_require__(89603)
|
132745
132863
|
const gt = (a, b, loose) => compare(a, b, loose) > 0
|
132746
132864
|
module.exports = gt
|
132747
132865
|
|
132748
132866
|
|
132749
132867
|
/***/ }),
|
132750
132868
|
|
132751
|
-
/***/
|
132869
|
+
/***/ 98622:
|
132752
132870
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132753
132871
|
|
132754
|
-
const compare = __webpack_require__(
|
132872
|
+
const compare = __webpack_require__(89603)
|
132755
132873
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0
|
132756
132874
|
module.exports = gte
|
132757
132875
|
|
132758
132876
|
|
132759
132877
|
/***/ }),
|
132760
132878
|
|
132761
|
-
/***/
|
132879
|
+
/***/ 16096:
|
132762
132880
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132763
132881
|
|
132764
|
-
const SemVer = __webpack_require__(
|
132882
|
+
const SemVer = __webpack_require__(47234)
|
132765
132883
|
|
132766
|
-
const inc = (version, release, options, identifier) => {
|
132884
|
+
const inc = (version, release, options, identifier, identifierBase) => {
|
132767
132885
|
if (typeof (options) === 'string') {
|
132886
|
+
identifierBase = identifier
|
132768
132887
|
identifier = options
|
132769
132888
|
options = undefined
|
132770
132889
|
}
|
@@ -132773,7 +132892,7 @@ const inc = (version, release, options, identifier) => {
|
|
132773
132892
|
return new SemVer(
|
132774
132893
|
version instanceof SemVer ? version.version : version,
|
132775
132894
|
options
|
132776
|
-
).inc(release, identifier).version
|
132895
|
+
).inc(release, identifier, identifierBase).version
|
132777
132896
|
} catch (er) {
|
132778
132897
|
return null
|
132779
132898
|
}
|
@@ -132783,88 +132902,71 @@ module.exports = inc
|
|
132783
132902
|
|
132784
132903
|
/***/ }),
|
132785
132904
|
|
132786
|
-
/***/
|
132905
|
+
/***/ 46071:
|
132787
132906
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132788
132907
|
|
132789
|
-
const compare = __webpack_require__(
|
132908
|
+
const compare = __webpack_require__(89603)
|
132790
132909
|
const lt = (a, b, loose) => compare(a, b, loose) < 0
|
132791
132910
|
module.exports = lt
|
132792
132911
|
|
132793
132912
|
|
132794
132913
|
/***/ }),
|
132795
132914
|
|
132796
|
-
/***/
|
132915
|
+
/***/ 77696:
|
132797
132916
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132798
132917
|
|
132799
|
-
const compare = __webpack_require__(
|
132918
|
+
const compare = __webpack_require__(89603)
|
132800
132919
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0
|
132801
132920
|
module.exports = lte
|
132802
132921
|
|
132803
132922
|
|
132804
132923
|
/***/ }),
|
132805
132924
|
|
132806
|
-
/***/
|
132925
|
+
/***/ 99227:
|
132807
132926
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132808
132927
|
|
132809
|
-
const SemVer = __webpack_require__(
|
132928
|
+
const SemVer = __webpack_require__(47234)
|
132810
132929
|
const major = (a, loose) => new SemVer(a, loose).major
|
132811
132930
|
module.exports = major
|
132812
132931
|
|
132813
132932
|
|
132814
132933
|
/***/ }),
|
132815
132934
|
|
132816
|
-
/***/
|
132935
|
+
/***/ 30706:
|
132817
132936
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132818
132937
|
|
132819
|
-
const SemVer = __webpack_require__(
|
132938
|
+
const SemVer = __webpack_require__(47234)
|
132820
132939
|
const minor = (a, loose) => new SemVer(a, loose).minor
|
132821
132940
|
module.exports = minor
|
132822
132941
|
|
132823
132942
|
|
132824
132943
|
/***/ }),
|
132825
132944
|
|
132826
|
-
/***/
|
132945
|
+
/***/ 3325:
|
132827
132946
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132828
132947
|
|
132829
|
-
const compare = __webpack_require__(
|
132948
|
+
const compare = __webpack_require__(89603)
|
132830
132949
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0
|
132831
132950
|
module.exports = neq
|
132832
132951
|
|
132833
132952
|
|
132834
132953
|
/***/ }),
|
132835
132954
|
|
132836
|
-
/***/
|
132955
|
+
/***/ 18606:
|
132837
132956
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132838
132957
|
|
132839
|
-
const
|
132840
|
-
const
|
132841
|
-
const SemVer = __webpack_require__(86971)
|
132842
|
-
|
132843
|
-
const parseOptions = __webpack_require__(23858)
|
132844
|
-
const parse = (version, options) => {
|
132845
|
-
options = parseOptions(options)
|
132846
|
-
|
132958
|
+
const SemVer = __webpack_require__(47234)
|
132959
|
+
const parse = (version, options, throwErrors = false) => {
|
132847
132960
|
if (version instanceof SemVer) {
|
132848
132961
|
return version
|
132849
132962
|
}
|
132850
|
-
|
132851
|
-
if (typeof version !== 'string') {
|
132852
|
-
return null
|
132853
|
-
}
|
132854
|
-
|
132855
|
-
if (version.length > MAX_LENGTH) {
|
132856
|
-
return null
|
132857
|
-
}
|
132858
|
-
|
132859
|
-
const r = options.loose ? re[t.LOOSE] : re[t.FULL]
|
132860
|
-
if (!r.test(version)) {
|
132861
|
-
return null
|
132862
|
-
}
|
132863
|
-
|
132864
132963
|
try {
|
132865
132964
|
return new SemVer(version, options)
|
132866
132965
|
} catch (er) {
|
132867
|
-
|
132966
|
+
if (!throwErrors) {
|
132967
|
+
return null
|
132968
|
+
}
|
132969
|
+
throw er
|
132868
132970
|
}
|
132869
132971
|
}
|
132870
132972
|
|
@@ -132873,20 +132975,20 @@ module.exports = parse
|
|
132873
132975
|
|
132874
132976
|
/***/ }),
|
132875
132977
|
|
132876
|
-
/***/
|
132978
|
+
/***/ 89770:
|
132877
132979
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132878
132980
|
|
132879
|
-
const SemVer = __webpack_require__(
|
132981
|
+
const SemVer = __webpack_require__(47234)
|
132880
132982
|
const patch = (a, loose) => new SemVer(a, loose).patch
|
132881
132983
|
module.exports = patch
|
132882
132984
|
|
132883
132985
|
|
132884
132986
|
/***/ }),
|
132885
132987
|
|
132886
|
-
/***/
|
132988
|
+
/***/ 69166:
|
132887
132989
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132888
132990
|
|
132889
|
-
const parse = __webpack_require__(
|
132991
|
+
const parse = __webpack_require__(18606)
|
132890
132992
|
const prerelease = (version, options) => {
|
132891
132993
|
const parsed = parse(version, options)
|
132892
132994
|
return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
|
@@ -132896,30 +132998,30 @@ module.exports = prerelease
|
|
132896
132998
|
|
132897
132999
|
/***/ }),
|
132898
133000
|
|
132899
|
-
/***/
|
133001
|
+
/***/ 9773:
|
132900
133002
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132901
133003
|
|
132902
|
-
const compare = __webpack_require__(
|
133004
|
+
const compare = __webpack_require__(89603)
|
132903
133005
|
const rcompare = (a, b, loose) => compare(b, a, loose)
|
132904
133006
|
module.exports = rcompare
|
132905
133007
|
|
132906
133008
|
|
132907
133009
|
/***/ }),
|
132908
133010
|
|
132909
|
-
/***/
|
133011
|
+
/***/ 20158:
|
132910
133012
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132911
133013
|
|
132912
|
-
const compareBuild = __webpack_require__(
|
133014
|
+
const compareBuild = __webpack_require__(1058)
|
132913
133015
|
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
|
132914
133016
|
module.exports = rsort
|
132915
133017
|
|
132916
133018
|
|
132917
133019
|
/***/ }),
|
132918
133020
|
|
132919
|
-
/***/
|
133021
|
+
/***/ 13513:
|
132920
133022
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132921
133023
|
|
132922
|
-
const Range = __webpack_require__(
|
133024
|
+
const Range = __webpack_require__(88614)
|
132923
133025
|
const satisfies = (version, range, options) => {
|
132924
133026
|
try {
|
132925
133027
|
range = new Range(range, options)
|
@@ -132933,20 +133035,20 @@ module.exports = satisfies
|
|
132933
133035
|
|
132934
133036
|
/***/ }),
|
132935
133037
|
|
132936
|
-
/***/
|
133038
|
+
/***/ 65247:
|
132937
133039
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132938
133040
|
|
132939
|
-
const compareBuild = __webpack_require__(
|
133041
|
+
const compareBuild = __webpack_require__(1058)
|
132940
133042
|
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
|
132941
133043
|
module.exports = sort
|
132942
133044
|
|
132943
133045
|
|
132944
133046
|
/***/ }),
|
132945
133047
|
|
132946
|
-
/***/
|
133048
|
+
/***/ 61294:
|
132947
133049
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132948
133050
|
|
132949
|
-
const parse = __webpack_require__(
|
133051
|
+
const parse = __webpack_require__(18606)
|
132950
133052
|
const valid = (version, options) => {
|
132951
133053
|
const v = parse(version, options)
|
132952
133054
|
return v ? v.version : null
|
@@ -132956,51 +133058,51 @@ module.exports = valid
|
|
132956
133058
|
|
132957
133059
|
/***/ }),
|
132958
133060
|
|
132959
|
-
/***/
|
133061
|
+
/***/ 96377:
|
132960
133062
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
132961
133063
|
|
132962
133064
|
// just pre-load all the stuff that index.js lazily exports
|
132963
|
-
const internalRe = __webpack_require__(
|
132964
|
-
const constants = __webpack_require__(
|
132965
|
-
const SemVer = __webpack_require__(
|
132966
|
-
const identifiers = __webpack_require__(
|
132967
|
-
const parse = __webpack_require__(
|
132968
|
-
const valid = __webpack_require__(
|
132969
|
-
const clean = __webpack_require__(
|
132970
|
-
const inc = __webpack_require__(
|
132971
|
-
const diff = __webpack_require__(
|
132972
|
-
const major = __webpack_require__(
|
132973
|
-
const minor = __webpack_require__(
|
132974
|
-
const patch = __webpack_require__(
|
132975
|
-
const prerelease = __webpack_require__(
|
132976
|
-
const compare = __webpack_require__(
|
132977
|
-
const rcompare = __webpack_require__(
|
132978
|
-
const compareLoose = __webpack_require__(
|
132979
|
-
const compareBuild = __webpack_require__(
|
132980
|
-
const sort = __webpack_require__(
|
132981
|
-
const rsort = __webpack_require__(
|
132982
|
-
const gt = __webpack_require__(
|
132983
|
-
const lt = __webpack_require__(
|
132984
|
-
const eq = __webpack_require__(
|
132985
|
-
const neq = __webpack_require__(
|
132986
|
-
const gte = __webpack_require__(
|
132987
|
-
const lte = __webpack_require__(
|
132988
|
-
const cmp = __webpack_require__(
|
132989
|
-
const coerce = __webpack_require__(
|
132990
|
-
const Comparator = __webpack_require__(
|
132991
|
-
const Range = __webpack_require__(
|
132992
|
-
const satisfies = __webpack_require__(
|
132993
|
-
const toComparators = __webpack_require__(
|
132994
|
-
const maxSatisfying = __webpack_require__(
|
132995
|
-
const minSatisfying = __webpack_require__(
|
132996
|
-
const minVersion = __webpack_require__(
|
132997
|
-
const validRange = __webpack_require__(
|
132998
|
-
const outside = __webpack_require__(
|
132999
|
-
const gtr = __webpack_require__(
|
133000
|
-
const ltr = __webpack_require__(
|
133001
|
-
const intersects = __webpack_require__(
|
133002
|
-
const simplifyRange = __webpack_require__(
|
133003
|
-
const subset = __webpack_require__(
|
133065
|
+
const internalRe = __webpack_require__(2298)
|
133066
|
+
const constants = __webpack_require__(78925)
|
133067
|
+
const SemVer = __webpack_require__(47234)
|
133068
|
+
const identifiers = __webpack_require__(91680)
|
133069
|
+
const parse = __webpack_require__(18606)
|
133070
|
+
const valid = __webpack_require__(61294)
|
133071
|
+
const clean = __webpack_require__(23996)
|
133072
|
+
const inc = __webpack_require__(16096)
|
133073
|
+
const diff = __webpack_require__(91937)
|
133074
|
+
const major = __webpack_require__(99227)
|
133075
|
+
const minor = __webpack_require__(30706)
|
133076
|
+
const patch = __webpack_require__(89770)
|
133077
|
+
const prerelease = __webpack_require__(69166)
|
133078
|
+
const compare = __webpack_require__(89603)
|
133079
|
+
const rcompare = __webpack_require__(9773)
|
133080
|
+
const compareLoose = __webpack_require__(64271)
|
133081
|
+
const compareBuild = __webpack_require__(1058)
|
133082
|
+
const sort = __webpack_require__(65247)
|
133083
|
+
const rsort = __webpack_require__(20158)
|
133084
|
+
const gt = __webpack_require__(23370)
|
133085
|
+
const lt = __webpack_require__(46071)
|
133086
|
+
const eq = __webpack_require__(70625)
|
133087
|
+
const neq = __webpack_require__(3325)
|
133088
|
+
const gte = __webpack_require__(98622)
|
133089
|
+
const lte = __webpack_require__(77696)
|
133090
|
+
const cmp = __webpack_require__(16696)
|
133091
|
+
const coerce = __webpack_require__(82509)
|
133092
|
+
const Comparator = __webpack_require__(99449)
|
133093
|
+
const Range = __webpack_require__(88614)
|
133094
|
+
const satisfies = __webpack_require__(13513)
|
133095
|
+
const toComparators = __webpack_require__(51046)
|
133096
|
+
const maxSatisfying = __webpack_require__(72649)
|
133097
|
+
const minSatisfying = __webpack_require__(40)
|
133098
|
+
const minVersion = __webpack_require__(16077)
|
133099
|
+
const validRange = __webpack_require__(98218)
|
133100
|
+
const outside = __webpack_require__(14005)
|
133101
|
+
const gtr = __webpack_require__(56565)
|
133102
|
+
const ltr = __webpack_require__(70038)
|
133103
|
+
const intersects = __webpack_require__(53024)
|
133104
|
+
const simplifyRange = __webpack_require__(29115)
|
133105
|
+
const subset = __webpack_require__(62544)
|
133004
133106
|
module.exports = {
|
133005
133107
|
parse,
|
133006
133108
|
valid,
|
@@ -133044,6 +133146,7 @@ module.exports = {
|
|
133044
133146
|
src: internalRe.src,
|
133045
133147
|
tokens: internalRe.t,
|
133046
133148
|
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
133149
|
+
RELEASE_TYPES: constants.RELEASE_TYPES,
|
133047
133150
|
compareIdentifiers: identifiers.compareIdentifiers,
|
133048
133151
|
rcompareIdentifiers: identifiers.rcompareIdentifiers,
|
133049
133152
|
}
|
@@ -133051,7 +133154,7 @@ module.exports = {
|
|
133051
133154
|
|
133052
133155
|
/***/ }),
|
133053
133156
|
|
133054
|
-
/***/
|
133157
|
+
/***/ 78925:
|
133055
133158
|
/***/ ((module) => {
|
133056
133159
|
|
133057
133160
|
// Note: this is the semver.org version of the spec that it implements
|
@@ -133065,17 +133168,30 @@ const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
|
|
133065
133168
|
// Max safe segment length for coercion.
|
133066
133169
|
const MAX_SAFE_COMPONENT_LENGTH = 16
|
133067
133170
|
|
133171
|
+
const RELEASE_TYPES = [
|
133172
|
+
'major',
|
133173
|
+
'premajor',
|
133174
|
+
'minor',
|
133175
|
+
'preminor',
|
133176
|
+
'patch',
|
133177
|
+
'prepatch',
|
133178
|
+
'prerelease',
|
133179
|
+
]
|
133180
|
+
|
133068
133181
|
module.exports = {
|
133069
|
-
SEMVER_SPEC_VERSION,
|
133070
133182
|
MAX_LENGTH,
|
133071
|
-
MAX_SAFE_INTEGER,
|
133072
133183
|
MAX_SAFE_COMPONENT_LENGTH,
|
133184
|
+
MAX_SAFE_INTEGER,
|
133185
|
+
RELEASE_TYPES,
|
133186
|
+
SEMVER_SPEC_VERSION,
|
133187
|
+
FLAG_INCLUDE_PRERELEASE: 0b001,
|
133188
|
+
FLAG_LOOSE: 0b010,
|
133073
133189
|
}
|
133074
133190
|
|
133075
133191
|
|
133076
133192
|
/***/ }),
|
133077
133193
|
|
133078
|
-
/***/
|
133194
|
+
/***/ 20107:
|
133079
133195
|
/***/ ((module) => {
|
133080
133196
|
|
133081
133197
|
const debug = (
|
@@ -133091,7 +133207,7 @@ module.exports = debug
|
|
133091
133207
|
|
133092
133208
|
/***/ }),
|
133093
133209
|
|
133094
|
-
/***/
|
133210
|
+
/***/ 91680:
|
133095
133211
|
/***/ ((module) => {
|
133096
133212
|
|
133097
133213
|
const numeric = /^[0-9]+$/
|
@@ -133121,43 +133237,58 @@ module.exports = {
|
|
133121
133237
|
|
133122
133238
|
/***/ }),
|
133123
133239
|
|
133124
|
-
/***/
|
133240
|
+
/***/ 68166:
|
133125
133241
|
/***/ ((module) => {
|
133126
133242
|
|
133127
|
-
// parse out just the options we care about
|
133128
|
-
|
133129
|
-
const
|
133130
|
-
const parseOptions = options =>
|
133131
|
-
!options
|
133132
|
-
|
133133
|
-
|
133134
|
-
|
133135
|
-
|
133136
|
-
|
133243
|
+
// parse out just the options we care about
|
133244
|
+
const looseOption = Object.freeze({ loose: true })
|
133245
|
+
const emptyOpts = Object.freeze({ })
|
133246
|
+
const parseOptions = options => {
|
133247
|
+
if (!options) {
|
133248
|
+
return emptyOpts
|
133249
|
+
}
|
133250
|
+
|
133251
|
+
if (typeof options !== 'object') {
|
133252
|
+
return looseOption
|
133253
|
+
}
|
133254
|
+
|
133255
|
+
return options
|
133256
|
+
}
|
133137
133257
|
module.exports = parseOptions
|
133138
133258
|
|
133139
133259
|
|
133140
133260
|
/***/ }),
|
133141
133261
|
|
133142
|
-
/***/
|
133262
|
+
/***/ 2298:
|
133143
133263
|
/***/ ((module, exports, __webpack_require__) => {
|
133144
133264
|
|
133145
|
-
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(
|
133146
|
-
const debug = __webpack_require__(
|
133265
|
+
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(78925)
|
133266
|
+
const debug = __webpack_require__(20107)
|
133147
133267
|
exports = module.exports = {}
|
133148
133268
|
|
133149
133269
|
// The actual regexps go on exports.re
|
133150
133270
|
const re = exports.re = []
|
133271
|
+
const safeRe = exports.safeRe = []
|
133151
133272
|
const src = exports.src = []
|
133152
133273
|
const t = exports.t = {}
|
133153
133274
|
let R = 0
|
133154
133275
|
|
133155
133276
|
const createToken = (name, value, isGlobal) => {
|
133277
|
+
// Replace all greedy whitespace to prevent regex dos issues. These regex are
|
133278
|
+
// used internally via the safeRe object since all inputs in this library get
|
133279
|
+
// normalized first to trim and collapse all extra whitespace. The original
|
133280
|
+
// regexes are exported for userland consumption and lower level usage. A
|
133281
|
+
// future breaking change could export the safer regex only with a note that
|
133282
|
+
// all input should have extra whitespace removed.
|
133283
|
+
const safe = value
|
133284
|
+
.split('\\s*').join('\\s{0,1}')
|
133285
|
+
.split('\\s+').join('\\s')
|
133156
133286
|
const index = R++
|
133157
133287
|
debug(name, index, value)
|
133158
133288
|
t[name] = index
|
133159
133289
|
src[index] = value
|
133160
133290
|
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
133291
|
+
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
133161
133292
|
}
|
133162
133293
|
|
133163
133294
|
// The following Regular Expressions can be used for tokenizing,
|
@@ -133328,35 +133459,35 @@ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$')
|
|
133328
133459
|
|
133329
133460
|
/***/ }),
|
133330
133461
|
|
133331
|
-
/***/
|
133462
|
+
/***/ 56565:
|
133332
133463
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133333
133464
|
|
133334
133465
|
// Determine if version is greater than all the versions possible in the range.
|
133335
|
-
const outside = __webpack_require__(
|
133466
|
+
const outside = __webpack_require__(14005)
|
133336
133467
|
const gtr = (version, range, options) => outside(version, range, '>', options)
|
133337
133468
|
module.exports = gtr
|
133338
133469
|
|
133339
133470
|
|
133340
133471
|
/***/ }),
|
133341
133472
|
|
133342
|
-
/***/
|
133473
|
+
/***/ 53024:
|
133343
133474
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133344
133475
|
|
133345
|
-
const Range = __webpack_require__(
|
133476
|
+
const Range = __webpack_require__(88614)
|
133346
133477
|
const intersects = (r1, r2, options) => {
|
133347
133478
|
r1 = new Range(r1, options)
|
133348
133479
|
r2 = new Range(r2, options)
|
133349
|
-
return r1.intersects(r2)
|
133480
|
+
return r1.intersects(r2, options)
|
133350
133481
|
}
|
133351
133482
|
module.exports = intersects
|
133352
133483
|
|
133353
133484
|
|
133354
133485
|
/***/ }),
|
133355
133486
|
|
133356
|
-
/***/
|
133487
|
+
/***/ 70038:
|
133357
133488
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133358
133489
|
|
133359
|
-
const outside = __webpack_require__(
|
133490
|
+
const outside = __webpack_require__(14005)
|
133360
133491
|
// Determine if version is less than all the versions possible in the range
|
133361
133492
|
const ltr = (version, range, options) => outside(version, range, '<', options)
|
133362
133493
|
module.exports = ltr
|
@@ -133364,11 +133495,11 @@ module.exports = ltr
|
|
133364
133495
|
|
133365
133496
|
/***/ }),
|
133366
133497
|
|
133367
|
-
/***/
|
133498
|
+
/***/ 72649:
|
133368
133499
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133369
133500
|
|
133370
|
-
const SemVer = __webpack_require__(
|
133371
|
-
const Range = __webpack_require__(
|
133501
|
+
const SemVer = __webpack_require__(47234)
|
133502
|
+
const Range = __webpack_require__(88614)
|
133372
133503
|
|
133373
133504
|
const maxSatisfying = (versions, range, options) => {
|
133374
133505
|
let max = null
|
@@ -133396,11 +133527,11 @@ module.exports = maxSatisfying
|
|
133396
133527
|
|
133397
133528
|
/***/ }),
|
133398
133529
|
|
133399
|
-
/***/
|
133530
|
+
/***/ 40:
|
133400
133531
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133401
133532
|
|
133402
|
-
const SemVer = __webpack_require__(
|
133403
|
-
const Range = __webpack_require__(
|
133533
|
+
const SemVer = __webpack_require__(47234)
|
133534
|
+
const Range = __webpack_require__(88614)
|
133404
133535
|
const minSatisfying = (versions, range, options) => {
|
133405
133536
|
let min = null
|
133406
133537
|
let minSV = null
|
@@ -133427,12 +133558,12 @@ module.exports = minSatisfying
|
|
133427
133558
|
|
133428
133559
|
/***/ }),
|
133429
133560
|
|
133430
|
-
/***/
|
133561
|
+
/***/ 16077:
|
133431
133562
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133432
133563
|
|
133433
|
-
const SemVer = __webpack_require__(
|
133434
|
-
const Range = __webpack_require__(
|
133435
|
-
const gt = __webpack_require__(
|
133564
|
+
const SemVer = __webpack_require__(47234)
|
133565
|
+
const Range = __webpack_require__(88614)
|
133566
|
+
const gt = __webpack_require__(23370)
|
133436
133567
|
|
133437
133568
|
const minVersion = (range, loose) => {
|
133438
133569
|
range = new Range(range, loose)
|
@@ -133495,18 +133626,18 @@ module.exports = minVersion
|
|
133495
133626
|
|
133496
133627
|
/***/ }),
|
133497
133628
|
|
133498
|
-
/***/
|
133629
|
+
/***/ 14005:
|
133499
133630
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133500
133631
|
|
133501
|
-
const SemVer = __webpack_require__(
|
133502
|
-
const Comparator = __webpack_require__(
|
133632
|
+
const SemVer = __webpack_require__(47234)
|
133633
|
+
const Comparator = __webpack_require__(99449)
|
133503
133634
|
const { ANY } = Comparator
|
133504
|
-
const Range = __webpack_require__(
|
133505
|
-
const satisfies = __webpack_require__(
|
133506
|
-
const gt = __webpack_require__(
|
133507
|
-
const lt = __webpack_require__(
|
133508
|
-
const lte = __webpack_require__(
|
133509
|
-
const gte = __webpack_require__(
|
133635
|
+
const Range = __webpack_require__(88614)
|
133636
|
+
const satisfies = __webpack_require__(13513)
|
133637
|
+
const gt = __webpack_require__(23370)
|
133638
|
+
const lt = __webpack_require__(46071)
|
133639
|
+
const lte = __webpack_require__(77696)
|
133640
|
+
const gte = __webpack_require__(98622)
|
133510
133641
|
|
133511
133642
|
const outside = (version, range, hilo, options) => {
|
133512
133643
|
version = new SemVer(version, options)
|
@@ -133582,14 +133713,14 @@ module.exports = outside
|
|
133582
133713
|
|
133583
133714
|
/***/ }),
|
133584
133715
|
|
133585
|
-
/***/
|
133716
|
+
/***/ 29115:
|
133586
133717
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133587
133718
|
|
133588
133719
|
// given a set of versions and a range, create a "simplified" range
|
133589
133720
|
// that includes the same versions that the original range does
|
133590
133721
|
// If the original range is shorter than the simplified one, return that.
|
133591
|
-
const satisfies = __webpack_require__(
|
133592
|
-
const compare = __webpack_require__(
|
133722
|
+
const satisfies = __webpack_require__(13513)
|
133723
|
+
const compare = __webpack_require__(89603)
|
133593
133724
|
module.exports = (versions, range, options) => {
|
133594
133725
|
const set = []
|
133595
133726
|
let first = null
|
@@ -133636,14 +133767,14 @@ module.exports = (versions, range, options) => {
|
|
133636
133767
|
|
133637
133768
|
/***/ }),
|
133638
133769
|
|
133639
|
-
/***/
|
133770
|
+
/***/ 62544:
|
133640
133771
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133641
133772
|
|
133642
|
-
const Range = __webpack_require__(
|
133643
|
-
const Comparator = __webpack_require__(
|
133773
|
+
const Range = __webpack_require__(88614)
|
133774
|
+
const Comparator = __webpack_require__(99449)
|
133644
133775
|
const { ANY } = Comparator
|
133645
|
-
const satisfies = __webpack_require__(
|
133646
|
-
const compare = __webpack_require__(
|
133776
|
+
const satisfies = __webpack_require__(13513)
|
133777
|
+
const compare = __webpack_require__(89603)
|
133647
133778
|
|
133648
133779
|
// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:
|
133649
133780
|
// - Every simple range `r1, r2, ...` is a null set, OR
|
@@ -133709,6 +133840,9 @@ const subset = (sub, dom, options = {}) => {
|
|
133709
133840
|
return true
|
133710
133841
|
}
|
133711
133842
|
|
133843
|
+
const minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]
|
133844
|
+
const minimumVersion = [new Comparator('>=0.0.0')]
|
133845
|
+
|
133712
133846
|
const simpleSubset = (sub, dom, options) => {
|
133713
133847
|
if (sub === dom) {
|
133714
133848
|
return true
|
@@ -133718,9 +133852,9 @@ const simpleSubset = (sub, dom, options) => {
|
|
133718
133852
|
if (dom.length === 1 && dom[0].semver === ANY) {
|
133719
133853
|
return true
|
133720
133854
|
} else if (options.includePrerelease) {
|
133721
|
-
sub =
|
133855
|
+
sub = minimumVersionWithPreRelease
|
133722
133856
|
} else {
|
133723
|
-
sub =
|
133857
|
+
sub = minimumVersion
|
133724
133858
|
}
|
133725
133859
|
}
|
133726
133860
|
|
@@ -133728,7 +133862,7 @@ const simpleSubset = (sub, dom, options) => {
|
|
133728
133862
|
if (options.includePrerelease) {
|
133729
133863
|
return true
|
133730
133864
|
} else {
|
133731
|
-
dom =
|
133865
|
+
dom = minimumVersion
|
133732
133866
|
}
|
133733
133867
|
}
|
133734
133868
|
|
@@ -133887,10 +134021,10 @@ module.exports = subset
|
|
133887
134021
|
|
133888
134022
|
/***/ }),
|
133889
134023
|
|
133890
|
-
/***/
|
134024
|
+
/***/ 51046:
|
133891
134025
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133892
134026
|
|
133893
|
-
const Range = __webpack_require__(
|
134027
|
+
const Range = __webpack_require__(88614)
|
133894
134028
|
|
133895
134029
|
// Mostly just for testing and legacy API reasons
|
133896
134030
|
const toComparators = (range, options) =>
|
@@ -133902,10 +134036,10 @@ module.exports = toComparators
|
|
133902
134036
|
|
133903
134037
|
/***/ }),
|
133904
134038
|
|
133905
|
-
/***/
|
134039
|
+
/***/ 98218:
|
133906
134040
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
133907
134041
|
|
133908
|
-
const Range = __webpack_require__(
|
134042
|
+
const Range = __webpack_require__(88614)
|
133909
134043
|
const validRange = (range, options) => {
|
133910
134044
|
try {
|
133911
134045
|
// Return '*' instead of '' so that truthiness works.
|