Skip to content

Commit c23ee37

Browse files
ruyadornocodebytere
authored andcommitted
deps: upgrade npm to 7.0.12
PR-URL: #36153 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 4e3883e commit c23ee37

File tree

111 files changed

+5022
-3247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+5022
-3247
lines changed

‎deps/npm/.eslintrc.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"no-shadow-restricted-names": "error",
134134
"no-sparse-arrays": "error",
135135
"no-tabs": "error",
136-
"no-template-curly-in-string": "error",
136+
"no-template-curly-in-string": "off",
137137
"no-this-before-super": "error",
138138
"no-throw-literal": "off",
139139
"no-trailing-spaces": "error",

‎deps/npm/AUTHORS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,3 +733,4 @@ Jan Tojnar <[email protected]>
733733
Jason Attwood <[email protected]>
734734
Vlad GURDIGA <[email protected]>
735735
Sébastien Puech <[email protected]>
736+
Jannis Hell <[email protected]>

‎deps/npm/CHANGELOG.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
## 7.0.12 (2020-11-17)
2+
3+
### BUG FIXES
4+
5+
* [`7b89576bd`](https://github.com/npm/cli/commit/7b89576bd1fa557a312a841afa66b895558d1b12)
6+
[#2174](https://github.com/npm/cli/issues/2174)
7+
fix running empty scripts with `npm run-script`
8+
([@nlf](https://github.com/nlf))
9+
* [`bc9afb195`](https://github.com/npm/cli/commit/bc9afb195f5aad7c06bc96049c0f00dc8e752dee)
10+
[#2002](https://github.com/npm/cli/issues/2002)
11+
[#2184](https://github.com/npm/cli/issues/2184)
12+
Preserve builtin conf when installing npm globally
13+
([@isaacs](https://github.com/isaacs))
14+
15+
### DEPENDENCIES
16+
17+
* [`b74c05d88`](https://github.com/npm/cli/commit/b74c05d88dc48fabef031ea66ffaa4e548845655)
18+
19+
* fix windows command-line argument escaping
20+
21+
### DOCUMENTATION
22+
23+
* [`4e522fdc9`](https://github.com/npm/cli/commit/4e522fdc917bc85af2ca8ff7669a0178e2f35123)
24+
[#2179](https://github.com/npm/cli/issues/2179)
25+
remove mention to --parseable option from `npm audit` docs
26+
([@Primajin](https://github.com/Primajin))
27+
128
## 7.0.11 (2020-11-13)
229

330
### DEPENDENCIES

‎deps/npm/docs/content/commands/npm-audit.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ description: Run a security audit
77
### Synopsis
88

99
```bash
10-
npm audit [--json|--parseable|--audit-level=(low|moderate|high|critical)]
11-
npm audit fix [--force|--package-lock-only|--dry-run]
10+
npm audit [--json] [--production] [--audit-level=(low|moderate|high|critical)]
11+
npm audit fix [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)]
1212

1313
common options: [--production] [--only=(dev|prod)]
1414
```

‎deps/npm/docs/output/commands/npm-audit.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ <h2 id="table-of-contents">Table of contents</h2>
145145
</section>
146146

147147
<div id="_content"><h3 id="synopsis">Synopsis</h3>
148-
<pre lang="bash"><code>npm audit [--json|--parseable|--audit-level=(low|moderate|high|critical)]
149-
npm audit fix [--force|--package-lock-only|--dry-run]
148+
<pre lang="bash"><code>npm audit [--json] [--production] [--audit-level=(low|moderate|high|critical)]
149+
npm audit fix [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)]
150150

151151
common options: [--production] [--only=(dev|prod)]
152152
</code></pre>

‎deps/npm/docs/output/commands/npm-ls.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h3 id="description">Description</h3>
156156
limit the results to only the paths to the packages named. Note that
157157
nested packages will <em>also</em> show the paths to the specified packages.
158158
For example, running <code>npm ls promzard</code> in npm’s source tree will show:</p>
159-
<pre lang="bash"><code> [email protected].11 /path/to/npm
159+
<pre lang="bash"><code> [email protected].12 /path/to/npm
160160
161161
162162
</code></pre>

‎deps/npm/docs/output/commands/npm.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h2 id="table-of-contents">Table of contents</h2>
148148
<pre lang="bash"><code>npm &lt;command&gt; [args]
149149
</code></pre>
150150
<h3 id="version">Version</h3>
151-
<p>7.0.11</p>
151+
<p>7.0.12</p>
152152
<h3 id="description">Description</h3>
153153
<p>npm is the package manager for the Node JavaScript platform. It puts
154154
modules in place so that node can find them, and manages dependency

‎deps/npm/lib/audit.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const Arborist = require('@npmcli/arborist')
22
const auditReport = require('npm-audit-report')
33
const npm = require('./npm.js')
44
const output = require('./utils/output.js')
5-
const reifyOutput = require('./utils/reify-output.js')
5+
const reifyFinish = require('./utils/reify-finish.js')
66
const auditError = require('./utils/audit-error.js')
77

88
const audit = async args => {
@@ -14,7 +14,7 @@ const audit = async args => {
1414
const fix = args[0] === 'fix'
1515
await arb.audit({ fix })
1616
if (fix)
17-
reifyOutput(arb)
17+
await reifyFinish(arb)
1818
else {
1919
// will throw if there's an error, because this is an audit command
2020
auditError(arb.auditReport)

‎deps/npm/lib/ci.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const util = require('util')
22
const Arborist = require('@npmcli/arborist')
33
const rimraf = util.promisify(require('rimraf'))
4-
const reifyOutput = require('./utils/reify-output.js')
4+
const reifyFinish = require('./utils/reify-finish.js')
55

66
const log = require('npmlog')
77
const npm = require('./npm.js')
@@ -35,7 +35,7 @@ const ci = async () => {
3535
])
3636
// npm ci should never modify the lockfile or package.json
3737
await arb.reify({ ...npm.flatOptions, save: false })
38-
reifyOutput(arb)
38+
await reifyFinish(arb)
3939
}
4040

4141
module.exports = Object.assign(cmd, { completion, usage })

‎deps/npm/lib/dedupe.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const npm = require('./npm.js')
33
const Arborist = require('@npmcli/arborist')
44
const usageUtil = require('./utils/usage.js')
5-
const reifyOutput = require('./utils/reify-output.js')
5+
const reifyFinish = require('./utils/reify-finish.js')
66

77
const usage = usageUtil('dedupe', 'npm dedupe')
88
const completion = require('./utils/completion/none.js')
@@ -18,7 +18,7 @@ const dedupe = async (args) => {
1818
dryRun,
1919
})
2020
await arb.dedupe(npm.flatOptions)
21-
reifyOutput(arb)
21+
await reifyFinish(arb)
2222
}
2323

2424
module.exports = Object.assign(cmd, { usage, completion })

0 commit comments

Comments
 (0)