A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/c2636268e83b8049789534e78f4c15913e047c89 below:

abbrev@3.0.1 · npm/cli@c263626 · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+12

-9

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+12

-9

lines changed Original file line number Diff line number Diff line change

@@ -1,7 +1,10 @@

1 1

module.exports = abbrev

2 2 3 3

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 +

}

5 8 6 9

for (let i = 0, l = list.length; i < l; i++) {

7 10

list[i] = typeof list[i] === 'string' ? list[i] : String(list[i])

Original file line number Diff line number Diff line change

@@ -1,6 +1,6 @@

1 1

{

2 2

"name": "abbrev",

3 -

"version": "3.0.0",

3 +

"version": "3.0.1",

4 4

"description": "Like ruby's abbrev module, but in js",

5 5

"author": "GitHub Inc.",

6 6

"main": "lib/index.js",

@@ -21,7 +21,7 @@

21 21

"license": "ISC",

22 22

"devDependencies": {

23 23

"@npmcli/eslint-config": "^5.0.0",

24 -

"@npmcli/template-oss": "4.23.3",

24 +

"@npmcli/template-oss": "4.24.3",

25 25

"tap": "^16.3.0"

26 26

},

27 27

"tap": {

@@ -39,7 +39,7 @@

39 39

},

40 40

"templateOSS": {

41 41

"//@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",

43 43

"publish": true

44 44

}

45 45

}

Original file line number Diff line number Diff line change

@@ -94,7 +94,7 @@

94 94

"@npmcli/redact": "^3.1.1",

95 95

"@npmcli/run-script": "^9.1.0",

96 96

"@sigstore/tuf": "^3.0.0",

97 -

"abbrev": "^3.0.0",

97 +

"abbrev": "^3.0.1",

98 98

"archy": "~1.0.0",

99 99

"cacache": "^19.0.1",

100 100

"chalk": "^5.4.1",

@@ -5122,9 +5122,9 @@

5122 5122

}

5123 5123

},

5124 5124

"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==",

5128 5128

"inBundle": true,

5129 5129

"license": "ISC",

5130 5130

"engines": {

Original file line number Diff line number Diff line change

@@ -61,7 +61,7 @@

61 61

"@npmcli/redact": "^3.1.1",

62 62

"@npmcli/run-script": "^9.1.0",

63 63

"@sigstore/tuf": "^3.0.0",

64 -

"abbrev": "^3.0.0",

64 +

"abbrev": "^3.0.1",

65 65

"archy": "~1.0.0",

66 66

"cacache": "^19.0.1",

67 67

"chalk": "^5.4.1",

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4