A RetroSearch Logo

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

Search Query:

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

normalize-package-data@6.0.1 · npm/cli@310a7a5 · GitHub

File tree Expand file treeCollapse file tree 6 files changed

+17

-22

lines changed

Filter options

Expand file treeCollapse file tree 6 files changed

+17

-22

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

@@ -139,7 +139,7 @@ module.exports = {

139 139

}

140 140

},

141 141 142 -

fixDependencies: function (data, strict) {

142 +

fixDependencies: function (data) {

143 143

objectifyDeps(data, this.warn)

144 144

addOptionalDepsToDeps(data, this.warn)

145 145

this.fixBundleDependenciesField(data)

@@ -415,7 +415,7 @@ function parsePerson (person) {

415 415

return obj

416 416

}

417 417 418 -

function addOptionalDepsToDeps (data, warn) {

418 +

function addOptionalDepsToDeps (data) {

419 419

var o = data.optionalDependencies

420 420

if (!o) {

421 421

return

Original file line number Diff line number Diff line change

@@ -26,7 +26,7 @@ function normalize (data, warn, strict) {

26 26

strict = false

27 27

}

28 28

if (!warn || data.private) {

29 -

warn = function (msg) { /* noop */ }

29 +

warn = function () { /* noop */ }

30 30

}

31 31 32 32

if (data.scripts &&

Original file line number Diff line number Diff line change

@@ -1,18 +1,18 @@

1 1

{

2 2

"name": "normalize-package-data",

3 -

"version": "6.0.0",

3 +

"version": "6.0.1",

4 4

"author": "GitHub Inc.",

5 5

"description": "Normalizes data that can be found in package.json files.",

6 6

"license": "BSD-2-Clause",

7 7

"repository": {

8 8

"type": "git",

9 -

"url": "https://github.com/npm/normalize-package-data.git"

9 +

"url": "git+https://github.com/npm/normalize-package-data.git"

10 10

},

11 11

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

12 12

"scripts": {

13 13

"test": "tap",

14 14

"npmclilint": "npmcli-lint",

15 -

"lint": "eslint \"**/*.js\"",

15 +

"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",

16 16

"lintfix": "npm run lint -- --fix",

17 17

"posttest": "npm run lint",

18 18

"postsnap": "npm run lintfix --",

@@ -28,7 +28,7 @@

28 28

},

29 29

"devDependencies": {

30 30

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

31 -

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

31 +

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

32 32

"tap": "^16.0.1"

33 33

},

34 34

"files": [

@@ -40,14 +40,8 @@

40 40

},

41 41

"templateOSS": {

42 42

"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",

43 -

"version": "4.18.0",

44 -

"publish": "true",

45 -

"ciVersions": [

46 -

"16.14.0",

47 -

"16.x",

48 -

"18.0.0",

49 -

"18.x"

50 -

]

43 +

"version": "4.22.0",

44 +

"publish": "true"

51 45

},

52 46

"tap": {

53 47

"branches": 86,

Original file line number Diff line number Diff line change

@@ -129,7 +129,7 @@

129 129

"ms": "^2.1.2",

130 130

"node-gyp": "^10.1.0",

131 131

"nopt": "^7.2.1",

132 -

"normalize-package-data": "^6.0.0",

132 +

"normalize-package-data": "^6.0.1",

133 133

"npm-audit-report": "^5.0.0",

134 134

"npm-install-checks": "^6.3.0",

135 135

"npm-package-arg": "^11.0.2",

@@ -8770,10 +8770,11 @@

8770 8770

}

8771 8771

},

8772 8772

"node_modules/normalize-package-data": {

8773 -

"version": "6.0.0",

8774 -

"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz",

8775 -

"integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==",

8773 +

"version": "6.0.1",

8774 +

"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.1.tgz",

8775 +

"integrity": "sha512-6rvCfeRW+OEZagAB4lMLSNuTNYZWLVtKccK79VSTf//yTY5VOCgcpH80O+bZK8Neps7pUnd5G+QlMg1yV/2iZQ==",

8776 8776

"inBundle": true,

8777 +

"license": "BSD-2-Clause",

8777 8778

"dependencies": {

8778 8779

"hosted-git-info": "^7.0.0",

8779 8780

"is-core-module": "^2.8.1",

@@ -15006,7 +15007,7 @@

15006 15007

"license": "ISC",

15007 15008

"dependencies": {

15008 15009

"ci-info": "^4.0.0",

15009 -

"normalize-package-data": "^6.0.0",

15010 +

"normalize-package-data": "^6.0.1",

15010 15011

"npm-package-arg": "^11.0.2",

15011 15012

"npm-registry-fetch": "^17.0.1",

15012 15013

"proc-log": "^4.2.0",

Original file line number Diff line number Diff line change

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

94 94

"ms": "^2.1.2",

95 95

"node-gyp": "^10.1.0",

96 96

"nopt": "^7.2.1",

97 -

"normalize-package-data": "^6.0.0",

97 +

"normalize-package-data": "^6.0.1",

98 98

"npm-audit-report": "^5.0.0",

99 99

"npm-install-checks": "^6.3.0",

100 100

"npm-package-arg": "^11.0.2",

Original file line number Diff line number Diff line change

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

39 39

"homepage": "https://npmjs.com/package/libnpmpublish",

40 40

"dependencies": {

41 41

"ci-info": "^4.0.0",

42 -

"normalize-package-data": "^6.0.0",

42 +

"normalize-package-data": "^6.0.1",

43 43

"npm-package-arg": "^11.0.2",

44 44

"npm-registry-fetch": "^17.0.1",

45 45

"proc-log": "^4.2.0",

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