Skip to content

Commit c263626

Browse files
committed
1 parent 78df711 commit c263626

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

node_modules/abbrev/lib/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
module.exports = abbrev
22

33
function abbrev (...args) {
4-
let list = args.length === 1 || Array.isArray(args[0]) ? args[0] : args
4+
let list = args
5+
if (args.length === 1 && (Array.isArray(args[0]) || typeof args[0] === 'string')) {
6+
list = [].concat(args[0])
7+
}
58

69
for (let i = 0, l = list.length; i < l; i++) {
710
list[i] = typeof list[i] === 'string' ? list[i] : String(list[i])

node_modules/abbrev/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "abbrev",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Like ruby's abbrev module, but in js",
55
"author": "GitHub Inc.",
66
"main": "lib/index.js",
@@ -21,7 +21,7 @@
2121
"license": "ISC",
2222
"devDependencies": {
2323
"@npmcli/eslint-config": "^5.0.0",
24-
"@npmcli/template-oss": "4.23.3",
24+
"@npmcli/template-oss": "4.24.3",
2525
"tap": "^16.3.0"
2626
},
2727
"tap": {
@@ -39,7 +39,7 @@
3939
},
4040
"templateOSS": {
4141
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
42-
"version": "4.23.3",
42+
"version": "4.24.3",
4343
"publish": true
4444
}
4545
}

package-lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"@npmcli/redact": "^3.1.1",
9595
"@npmcli/run-script": "^9.1.0",
9696
"@sigstore/tuf": "^3.0.0",
97-
"abbrev": "^3.0.0",
97+
"abbrev": "^3.0.1",
9898
"archy": "~1.0.0",
9999
"cacache": "^19.0.1",
100100
"chalk": "^5.4.1",
@@ -5122,9 +5122,9 @@
51225122
}
51235123
},
51245124
"node_modules/abbrev": {
5125-
"version": "3.0.0",
5126-
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.0.tgz",
5127-
"integrity": "sha512-+/kfrslGQ7TNV2ecmQwMJj/B65g5KVq1/L3SGVZ3tCYGqlzFuFCGBZJtMP99wH3NpEUyAjn0zPdPUg0D+DwrOA==",
5125+
"version": "3.0.1",
5126+
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz",
5127+
"integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==",
51285128
"inBundle": true,
51295129
"license": "ISC",
51305130
"engines": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@npmcli/redact": "^3.1.1",
6262
"@npmcli/run-script": "^9.1.0",
6363
"@sigstore/tuf": "^3.0.0",
64-
"abbrev": "^3.0.0",
64+
"abbrev": "^3.0.1",
6565
"archy": "~1.0.0",
6666
"cacache": "^19.0.1",
6767
"chalk": "^5.4.1",

0 commit comments

Comments
 (0)