Comparing version 7.5.3 to 7.5.4
@@ -41,3 +41,3 @@ // hoisted class for cyclic dependency | ||
// map the range to a 2d array of comparators | ||
.map(r => this.parseRange(r)) | ||
.map(r => this.parseRange(r.trim())) | ||
// throw out any comparator lists that are empty | ||
@@ -44,0 +44,0 @@ // this generally means that it was not a valid range, which is allowed |
@@ -1,2 +0,6 @@ | ||
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH } = require('./constants') | ||
const { | ||
MAX_SAFE_COMPONENT_LENGTH, | ||
MAX_SAFE_BUILD_LENGTH, | ||
MAX_LENGTH, | ||
} = require('./constants') | ||
const debug = require('./debug') | ||
@@ -22,3 +26,3 @@ exports = module.exports = {} | ||
['\\s', 1], | ||
['\\d', MAX_SAFE_COMPONENT_LENGTH], | ||
['\\d', MAX_LENGTH], | ||
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH], | ||
@@ -25,0 +29,0 @@ ] |
{ | ||
"name": "semver", | ||
"version": "7.5.3", | ||
"version": "7.5.4", | ||
"description": "The semantic version parser used by npm.", | ||
@@ -17,3 +17,3 @@ "main": "index.js", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.15.1", | ||
"@npmcli/template-oss": "4.17.0", | ||
"tap": "^16.0.0" | ||
@@ -57,3 +57,3 @@ }, | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.15.1", | ||
"version": "4.17.0", | ||
"engines": ">=10", | ||
@@ -60,0 +60,0 @@ "ciVersions": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93401
2081