Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/cliPublic

Commit9aa4fa6

Browse files
committed
deps: semver@7.7.3
1 parent5b4a7fc commit9aa4fa6

File tree

6 files changed

+32
-11
lines changed

6 files changed

+32
-11
lines changed

‎node_modules/semver/classes/range.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ const isSatisfiable = (comparators, options) => {
255255
// already replaced the hyphen ranges
256256
// turn into a set of JUST comparators.
257257
constparseComparator=(comp,options)=>{
258+
comp=comp.replace(re[t.BUILD],'')
258259
debug('comp',comp,options)
259260
comp=replaceCarets(comp,options)
260261
debug('caret',comp)

‎node_modules/semver/classes/semver.js‎

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,25 @@ class SemVer {
111111
other=newSemVer(other,this.options)
112112
}
113113

114-
return(
115-
compareIdentifiers(this.major,other.major)||
116-
compareIdentifiers(this.minor,other.minor)||
117-
compareIdentifiers(this.patch,other.patch)
118-
)
114+
if(this.major<other.major){
115+
return-1
116+
}
117+
if(this.major>other.major){
118+
return1
119+
}
120+
if(this.minor<other.minor){
121+
return-1
122+
}
123+
if(this.minor>other.minor){
124+
return1
125+
}
126+
if(this.patch<other.patch){
127+
return-1
128+
}
129+
if(this.patch>other.patch){
130+
return1
131+
}
132+
return0
119133
}
120134

121135
comparePre(other){

‎node_modules/semver/internal/identifiers.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
constnumeric=/^[0-9]+$/
44
constcompareIdentifiers=(a,b)=>{
5+
if(typeofa==='number'&&typeofb==='number'){
6+
returna===b ?0 :a<b ?-1 :1
7+
}
8+
59
constanum=numeric.test(a)
610
constbnum=numeric.test(b)
711

‎node_modules/semver/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"semver",
3-
"version":"7.7.2",
3+
"version":"7.7.3",
44
"description":"The semantic version parser used by npm.",
55
"main":"index.js",
66
"scripts": {
@@ -15,7 +15,7 @@
1515
},
1616
"devDependencies": {
1717
"@npmcli/eslint-config":"^5.0.0",
18-
"@npmcli/template-oss":"4.24.3",
18+
"@npmcli/template-oss":"4.25.1",
1919
"benchmark":"^2.1.4",
2020
"tap":"^16.0.0"
2121
},
@@ -52,7 +52,7 @@
5252
"author":"GitHub Inc.",
5353
"templateOSS": {
5454
"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
55-
"version":"4.24.3",
55+
"version":"4.25.1",
5656
"engines":">=10",
5757
"distPaths": [
5858
"classes/",

‎package-lock.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"proc-log":"^5.0.0",
139139
"qrcode-terminal":"^0.12.0",
140140
"read":"^4.1.0",
141-
"semver":"^7.7.2",
141+
"semver":"^7.7.3",
142142
"spdx-expression-parse":"^4.0.0",
143143
"ssri":"^12.0.0",
144144
"supports-color":"^10.2.2",
@@ -10348,7 +10348,9 @@
1034810348
}
1034910349
},
1035010350
"node_modules/semver": {
10351-
"version":"7.7.2",
10351+
"version":"7.7.3",
10352+
"resolved":"https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
10353+
"integrity":"sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
1035210354
"inBundle":true,
1035310355
"license":"ISC",
1035410356
"bin": {

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"proc-log":"^5.0.0",
107107
"qrcode-terminal":"^0.12.0",
108108
"read":"^4.1.0",
109-
"semver":"^7.7.2",
109+
"semver":"^7.7.3",
110110
"spdx-expression-parse":"^4.0.0",
111111
"ssri":"^12.0.0",
112112
"supports-color":"^10.2.2",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp