@@ -56644,7 +56644,7 @@ class Range {
56644
56644
this.set = this.raw
56645
56645
.split('||')
56646
56646
// map the range to a 2d array of comparators
56647
- .map(r => this.parseRange(r))
56647
+ .map(r => this.parseRange(r.trim() ))
56648
56648
// throw out any comparator lists that are empty
56649
56649
// this generally means that it was not a valid range, which is allowed
56650
56650
// in loose mode, but will still throw if the WHOLE range is invalid.
@@ -58116,7 +58116,11 @@ module.exports = parseOptions
58116
58116
/***/ 9523:
58117
58117
/***/ ((module, exports, __nccwpck_require__) => {
58118
58118
58119
- const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH } = __nccwpck_require__(2293)
58119
+ const {
58120
+ MAX_SAFE_COMPONENT_LENGTH,
58121
+ MAX_SAFE_BUILD_LENGTH,
58122
+ MAX_LENGTH,
58123
+ } = __nccwpck_require__(2293)
58120
58124
const debug = __nccwpck_require__(106)
58121
58125
exports = module.exports = {}
58122
58126
@@ -58137,7 +58141,7 @@ const LETTERDASHNUMBER = '[a-zA-Z0-9-]'
58137
58141
// all input should have extra whitespace removed.
58138
58142
const safeRegexReplacements = [
58139
58143
['\\s', 1],
58140
- ['\\d', MAX_SAFE_COMPONENT_LENGTH ],
58144
+ ['\\d', MAX_LENGTH ],
58141
58145
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],
58142
58146
]
58143
58147
0 commit comments