Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v15.3.0 proposal #36232

Merged
merged 98 commits into from
Nov 24, 2020
Merged
Changes from 1 commit
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
85c85d3
path: add `path/posix` and `path/win32` alias modules
ExE-Boss Aug 28, 2020
baa87c1
util: add `util/types` alias module
ExE-Boss Jun 27, 2020
d1baae3
readline: add getPrompt to get the current prompt
mattiasrunge May 31, 2020
59af919
querystring: reduce memory usage by Int8Array
sapics Jul 5, 2020
5c0ddbc
net: fix invalid write after end error
ronag Nov 8, 2020
8a6cabb
events: port some wpt tests
Ethan-Arrowood Jul 2, 2020
be220b2
tools: update ESLint to 7.13.0
lpinca Nov 8, 2020
1924255
async_hooks: fix leak in AsyncLocalStorage exit
Qard Oct 23, 2020
0b40568
http2: delay session.receive() by a tick
szmarczak Nov 5, 2020
9c6be3c
http2: allow setting the local window size of a session
Nov 10, 2020
a81dc9a
src,crypto: refactoring of crypto_context, SecureContext
jasnell Oct 15, 2020
49649a4
tools: fix config serialization w/ long strings
oleavr Nov 5, 2020
bf0550c
tools: enforce use of single quotes in editorconfig
aduh95 Nov 7, 2020
500e709
doc: update list styles for remark-parse@9 rendering
Trott Nov 9, 2020
63494e4
tools: update doc tools to remark-parse@9.0.0
Trott Nov 9, 2020
4140f49
util: fix to inspect getters that access this
RaisinTen Nov 9, 2020
d2c757a
deps: V8: cherry-pick 27e1ac1a79ff
oleavr Nov 6, 2020
098a5b1
deps: V8: cherry-pick 086eecbd96b6
oleavr Nov 6, 2020
4b7ba11
deps: V8: cherry-pick 4e077ff0444a
oleavr Nov 6, 2020
8ae3ffe
deps: V8: cherry-pick 1d0f426311d4
oleavr Nov 6, 2020
387d92f
http: onFinish will not be triggered again when finished
rickyes Oct 28, 2020
56f83e6
build: refactor configure.py to use argparse
RaisinTen Oct 22, 2020
5729478
src: add loop idle time in diagnostic report
gireeshpunathil Nov 3, 2020
841a281
doc: fix typo in debugger.md
Trott Nov 10, 2020
6a4cc43
test: replace var with const
arsenalzp Nov 9, 2020
fbe210b
build: conditionally clear vcinstalldir
bingenito Nov 6, 2020
122797e
src: remove duplicate logic for getting buffer
yashLadha Sep 9, 2020
34aa0c8
assert: refactor to use more primordials
aduh95 Nov 6, 2020
0b70822
child_process: refactor to use more primordials
aduh95 Nov 6, 2020
63a138e
crypto: fix passing TypedArray to webcrypto AES methods
aduh95 Nov 11, 2020
e54108f
cluster: refactor to use more primordials
aduh95 Nov 6, 2020
3be5e86
test: add util.inspect test for null maxStringLength
Trott Nov 11, 2020
75707f4
lib,tools: enforce access to prototype from primordials
aduh95 Nov 7, 2020
6678897
esm: refactor to use more primordials
aduh95 Nov 7, 2020
f7b2fce
vm: refactor to use more primordials
aduh95 Nov 7, 2020
1550073
events: disabled manual construction AbortSignal
RaisinTen Nov 12, 2020
9405cdd
test: improve test-stream-duplex-readable-end
lpinca Nov 9, 2020
6349b1d
dns: add a cancel() method to the promise Resolver
szmarczak Nov 11, 2020
eefc6aa
doc: document the error when cwd not exists in child_process.spawn
FeelyChau Jul 24, 2020
ed8af3a
perf_hooks: make nodeTiming a first-class object
mmomtchev Nov 5, 2020
cd33594
doc: move shigeki to emeritus
Trott Nov 12, 2020
e8a8513
doc: fix invalid link in worker_threads.md
Trott Nov 13, 2020
b17a83a
doc: claim ABI version for Electron v13
codebytere Nov 12, 2020
0ff384b
doc: esm docs consolidation and reordering
guybedford Nov 9, 2020
89da0c3
n-api: factor out calling pattern
Nov 13, 2020
eb9295b
promise: emit error on domain unhandled rejections
benjamingr Nov 11, 2020
9ce9b01
events: add max listener warning for EventTarget
jasnell Nov 6, 2020
27f1bc0
deps: upgrade npm to 7.0.11
darcyclarke Nov 13, 2020
272fc79
crypto: fix format warning in AdditionalConfig
RaisinTen Nov 10, 2020
7e7ddb1
tools: hide commit queue action link
aduh95 Nov 14, 2020
0fcbb1c
deps: V8: cherry-pick 3176bfd447a9
addaleax Oct 12, 2020
c19df17
test: add test for fs.read when offset key is null
mayankagarwals Nov 1, 2020
f9bbd35
test: make test-http2-client-jsstream-destroy.js reliable
Trott Nov 15, 2020
3d623d8
n-api: improve consistency of how we get context
mhdawson Nov 10, 2020
142cacd
doc: clarify text about process not responding
Trott Nov 14, 2020
a367c0d
timers: refactor to use more primordials
aduh95 Nov 15, 2020
4746649
test: deflake test-http-destroyed-socket-write2
lpinca Nov 14, 2020
77b47df
test: fix typo in inspector-helper.js
lpinca Nov 15, 2020
60874ba
build: try “python3” as a last resort for 3.x
oleavr Nov 5, 2020
76b1863
fs: filehandle read now accepts object as argument
branisha Nov 14, 2020
a8dab21
doc,url: fix url.hostname example
darkrishabh Jun 5, 2020
d8fcf2c
tools: remove bashisms from license builder script
aduh95 Nov 14, 2020
e48ec70
domain: improve deprecation warning text for DEP0097
addaleax Nov 16, 2020
15ff155
lib: add throws option to fs.f/l/statSync
amcasey Jun 3, 2020
24065b9
doc: mark modules implementation as stable
guybedford Oct 23, 2020
73bb54a
test: update wpt url and resource
watilde Nov 7, 2020
7086f2e
src: refactor using-declarations node_env_var.cc
RaisinTen Nov 15, 2020
bb29508
doc: add link for v8.takeCoverage()
Trott Nov 16, 2020
82f1cde
lib: remove primordials.SafePromise
aduh95 Nov 17, 2020
8390f8a
http: add support for abortsignal to http.request
benjamingr Nov 9, 2020
d6ea12e
lib: set abort-controller toStringTag
benjamingr Nov 14, 2020
3691ecc
fs: remove experimental from promises.rmdir recursive
andersk Nov 16, 2020
f0aed8c
http2: add support for TypedArray to getUnpackedSettings
aduh95 Nov 16, 2020
1a4d43f
lib: refactor to use more primordials
aduh95 Nov 15, 2020
fcc38a1
build: replace which with command -v
RaisinTen Nov 14, 2020
2d24912
tools: only use 2 cores for macos action
MylesBorins Nov 18, 2020
3ee556a
benchmark: fix build warnings
Nov 18, 2020
4ab4a99
doc: de-emphasize wrapping in napi_define_class
Nov 18, 2020
a6ef92b
tools: bump unist-util-find@1.0.1 to unist-util-find@1.0.2
Trott Nov 13, 2020
4e3883e
win,build,tools: support VS prerelease
baruchiro Nov 8, 2020
c23ee37
deps: upgrade npm to 7.0.12
ruyadorno Nov 17, 2020
a6a90af
doc: add compatibility/interop technical value
GeoffreyBooth Sep 22, 2020
8a0c3b9
http2: refactor to use more primordials
aduh95 Nov 16, 2020
28d7101
async_hooks: refactor to use more primordials
aduh95 Nov 18, 2020
545ac1f
doc: fix punctuation in v8.md
Trott Nov 20, 2020
bcbf176
errors: refactor to use more primordials
aduh95 Nov 18, 2020
5698cc0
n-api: fix test_async_context warnings
Nov 19, 2020
79b2ba6
n-api: clean up binding creation
Nov 18, 2020
48bf59b
http2: add support for AbortSignal to http2Session.request
MadaraUchiha Nov 10, 2020
5fa35f6
test: update comments in test-fs-read-offset-null
Trott Nov 17, 2020
8bbdbcc
doc: revise agent.destroy() text
Trott Nov 18, 2020
6d1b1c7
src: integrate URL::href() and use in inspector
watilde Nov 1, 2020
2fdf509
http: fix typo in comment
HollowMan6 Nov 20, 2020
42dfda8
doc: remove stray comma in url.md
Trott Nov 19, 2020
0fbade3
doc: add arm64 macOS as experimental
richardlau Nov 20, 2020
d16e862
deps: upgrade npm to 7.0.13
ruyadorno Nov 20, 2020
4a88c73
deps: upgrade npm to 7.0.14
nlf Nov 23, 2020
63e7dc1
2020-11-24, Version 15.3.0 (Current)
codebytere Nov 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: upgrade npm to 7.0.12
PR-URL: #36153
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
ruyadorno authored and codebytere committed Nov 22, 2020

Verified

This commit was signed with the committer’s verified signature.
codebytere Shelley Vohr
commit c23ee3744faeb50c036bab0c05994d6761bfc0a5
2 changes: 1 addition & 1 deletion deps/npm/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@
"no-shadow-restricted-names": "error",
"no-sparse-arrays": "error",
"no-tabs": "error",
"no-template-curly-in-string": "error",
"no-template-curly-in-string": "off",
"no-this-before-super": "error",
"no-throw-literal": "off",
"no-trailing-spaces": "error",
1 change: 1 addition & 0 deletions deps/npm/AUTHORS
Original file line number Diff line number Diff line change
@@ -733,3 +733,4 @@ Jan Tojnar <jtojnar@gmail.com>
Jason Attwood <jason_attwood@hotmail.co.uk>
Vlad GURDIGA <gurdiga@gmail.com>
Sébastien Puech <s.puech@tricentis.com>
Jannis Hell <Primajin@users.noreply.github.com>
27 changes: 27 additions & 0 deletions deps/npm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
## 7.0.12 (2020-11-17)

### BUG FIXES

* [`7b89576bd`](https://github.com/npm/cli/commit/7b89576bd1fa557a312a841afa66b895558d1b12)
[#2174](https://github.com/npm/cli/issues/2174)
fix running empty scripts with `npm run-script`
([@nlf](https://github.com/nlf))
* [`bc9afb195`](https://github.com/npm/cli/commit/bc9afb195f5aad7c06bc96049c0f00dc8e752dee)
[#2002](https://github.com/npm/cli/issues/2002)
[#2184](https://github.com/npm/cli/issues/2184)
Preserve builtin conf when installing npm globally
([@isaacs](https://github.com/isaacs))

### DEPENDENCIES

* [`b74c05d88`](https://github.com/npm/cli/commit/b74c05d88dc48fabef031ea66ffaa4e548845655)
`@npmcli/run-script@1.8.0`
* fix windows command-line argument escaping

### DOCUMENTATION

* [`4e522fdc9`](https://github.com/npm/cli/commit/4e522fdc917bc85af2ca8ff7669a0178e2f35123)
[#2179](https://github.com/npm/cli/issues/2179)
remove mention to --parseable option from `npm audit` docs
([@Primajin](https://github.com/Primajin))

## 7.0.11 (2020-11-13)

### DEPENDENCIES
4 changes: 2 additions & 2 deletions deps/npm/docs/content/commands/npm-audit.md
Original file line number Diff line number Diff line change
@@ -7,8 +7,8 @@ description: Run a security audit
### Synopsis

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

common options: [--production] [--only=(dev|prod)]
```
4 changes: 2 additions & 2 deletions deps/npm/docs/output/commands/npm-audit.html
Original file line number Diff line number Diff line change
@@ -145,8 +145,8 @@ <h2 id="table-of-contents">Table of contents</h2>
</section>

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

common options: [--production] [--only=(dev|prod)]
</code></pre>
2 changes: 1 addition & 1 deletion deps/npm/docs/output/commands/npm-ls.html
Original file line number Diff line number Diff line change
@@ -156,7 +156,7 @@ <h3 id="description">Description</h3>
limit the results to only the paths to the packages named. Note that
nested packages will <em>also</em> show the paths to the specified packages.
For example, running <code>npm ls promzard</code> in npm’s source tree will show:</p>
<pre lang="bash"><code> npm@7.0.11 /path/to/npm
<pre lang="bash"><code> npm@7.0.12 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
</code></pre>
2 changes: 1 addition & 1 deletion deps/npm/docs/output/commands/npm.html
Original file line number Diff line number Diff line change
@@ -148,7 +148,7 @@ <h2 id="table-of-contents">Table of contents</h2>
<pre lang="bash"><code>npm &lt;command&gt; [args]
</code></pre>
<h3 id="version">Version</h3>
<p>7.0.11</p>
<p>7.0.12</p>
<h3 id="description">Description</h3>
<p>npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency
4 changes: 2 additions & 2 deletions deps/npm/lib/audit.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ const Arborist = require('@npmcli/arborist')
const auditReport = require('npm-audit-report')
const npm = require('./npm.js')
const output = require('./utils/output.js')
const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')
const auditError = require('./utils/audit-error.js')

const audit = async args => {
@@ -14,7 +14,7 @@ const audit = async args => {
const fix = args[0] === 'fix'
await arb.audit({ fix })
if (fix)
reifyOutput(arb)
await reifyFinish(arb)
else {
// will throw if there's an error, because this is an audit command
auditError(arb.auditReport)
4 changes: 2 additions & 2 deletions deps/npm/lib/ci.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const util = require('util')
const Arborist = require('@npmcli/arborist')
const rimraf = util.promisify(require('rimraf'))
const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')

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

module.exports = Object.assign(cmd, { completion, usage })
4 changes: 2 additions & 2 deletions deps/npm/lib/dedupe.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
const npm = require('./npm.js')
const Arborist = require('@npmcli/arborist')
const usageUtil = require('./utils/usage.js')
const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')

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

module.exports = Object.assign(cmd, { usage, completion })
15 changes: 8 additions & 7 deletions deps/npm/lib/init.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// initialize a package.json file

const usageUtil = require('./utils/usage.js')
const completion = require('./utils/completion/none.js')
'use strict'

const initJson = require('init-package-json')
const npa = require('npm-package-arg')

const npm = require('./npm.js')
const initJson = require('init-package-json')
const usageUtil = require('./utils/usage.js')
const completion = require('./utils/completion/none.js')
const output = require('./utils/output.js')

const usage = usageUtil(
@@ -78,11 +78,12 @@ const init = async args => {
npm.log.warn('init', 'canceled')
return res()
}
npm.log.info('init', 'written successfully')
if (er)
rej(er)
else
else {
npm.log.info('init', 'written successfully')
res(data)
}
})
})
}
63 changes: 30 additions & 33 deletions deps/npm/lib/install.js
Original file line number Diff line number Diff line change
@@ -6,13 +6,15 @@ const util = require('util')
const readdir = util.promisify(fs.readdir)
const npm = require('./npm.js')
const usageUtil = require('./utils/usage.js')
const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')
const log = require('npmlog')
const { resolve, join } = require('path')
const Arborist = require('@npmcli/arborist')
const runScript = require('@npmcli/run-script')

const install = async (args, cb) => {
const cmd = async (args, cb) => install(args).then(() => cb()).catch(cb)

const install = async args => {
// the /path/to/node_modules/..
const globalTop = resolve(npm.globalDir, '..')
const { ignoreScripts, global: isGlobalInstall } = npm.flatOptions
@@ -34,38 +36,33 @@ const install = async (args, cb) => {
path: where,
})

try {
await arb.reify({
...npm.flatOptions,
add: args,
})
if (!args.length && !isGlobalInstall && !ignoreScripts) {
const { scriptShell } = npm.flatOptions
const scripts = [
'preinstall',
'install',
'postinstall',
'prepublish', // XXX should we remove this finally??
'preprepare',
'prepare',
'postprepare',
]
for (const event of scripts) {
await runScript({
path: where,
args: [],
scriptShell,
stdio: 'inherit',
stdioString: true,
event,
})
}
await arb.reify({
...npm.flatOptions,
add: args,
})
if (!args.length && !isGlobalInstall && !ignoreScripts) {
const { scriptShell } = npm.flatOptions
const scripts = [
'preinstall',
'install',
'postinstall',
'prepublish', // XXX should we remove this finally??
'preprepare',
'prepare',
'postprepare',
]
for (const event of scripts) {
await runScript({
path: where,
args: [],
scriptShell,
stdio: 'inherit',
stdioString: true,
event,
})
}
reifyOutput(arb)
cb()
} catch (er) {
cb(er)
}
await reifyFinish(arb)
}

const usage = usageUtil(
@@ -144,4 +141,4 @@ const completion = async (opts, cb) => {
cb()
}

module.exports = Object.assign(install, { usage, completion })
module.exports = Object.assign(cmd, { usage, completion })
6 changes: 3 additions & 3 deletions deps/npm/lib/link.js
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ const semver = require('semver')

const npm = require('./npm.js')
const usageUtil = require('./utils/usage.js')
const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')

const completion = (opts, cb) => {
const dir = npm.globalDir
@@ -122,7 +122,7 @@ const linkInstall = async args => {
add: names.map(l => `file:${resolve(globalTop, 'node_modules', l)}`),
})

reifyOutput(localArb)
await reifyFinish(localArb)
}

const linkPkg = async () => {
@@ -133,7 +133,7 @@ const linkPkg = async () => {
global: true,
})
await arb.reify({ add: [`file:${npm.prefix}`] })
reifyOutput(arb)
await reifyFinish(arb)
}

module.exports = Object.assign(cmd, { completion, usage })
4 changes: 2 additions & 2 deletions deps/npm/lib/prune.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ const npm = require('./npm.js')
const Arborist = require('@npmcli/arborist')
const usageUtil = require('./utils/usage.js')

const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')

const usage = usageUtil('prune',
'npm prune [[<@scope>/]<pkg>...] [--production]'
@@ -19,7 +19,7 @@ const prune = async () => {
path: where,
})
await arb.prune(npm.flatOptions)
reifyOutput(arb)
await reifyFinish(arb)
}

module.exports = Object.assign(cmd, { usage, completion })
2 changes: 1 addition & 1 deletion deps/npm/lib/run-script.js
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ const runScript = async (args) => {

pkg.scripts = scripts

if (!scripts[event] && !(event === 'start' && await isServerPackage(path))) {
if (!Object.prototype.hasOwnProperty.call(scripts, event) && !(event === 'start' && await isServerPackage(path))) {
if (npm.config.get('if-present'))
return

4 changes: 2 additions & 2 deletions deps/npm/lib/uninstall.js
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ const npm = require('./npm.js')
const rpj = require('read-package-json-fast')
const { resolve } = require('path')
const usageUtil = require('./utils/usage.js')
const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')

const cmd = (args, cb) => rm(args).then(() => cb()).catch(cb)

@@ -32,7 +32,7 @@ const rm = async args => {
...npm.flatOptions,
rm: args,
})
reifyOutput(arb)
await reifyFinish(arb)
}

const usage = usageUtil(
4 changes: 2 additions & 2 deletions deps/npm/lib/update.js
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ const Arborist = require('@npmcli/arborist')
const log = require('npmlog')
const npm = require('./npm.js')
const usageUtil = require('./utils/usage.js')
const reifyOutput = require('./utils/reify-output.js')
const reifyFinish = require('./utils/reify-finish.js')
const completion = require('./utils/completion/installed-deep.js')

const usage = usageUtil(
@@ -32,7 +32,7 @@ const update = async args => {
})

await arb.reify({ update })
reifyOutput(arb)
await reifyFinish(arb)
}

module.exports = Object.assign(cmd, { usage, completion })
31 changes: 31 additions & 0 deletions deps/npm/lib/utils/reify-finish.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
const reifyOutput = require('./reify-output.js')
const npm = require('../npm.js')
const ini = require('ini')
const {writeFile} = require('fs').promises
const {resolve} = require('path')

const reifyFinish = async arb => {
await saveBuiltinConfig(arb)
reifyOutput(arb)
}

const saveBuiltinConfig = async arb => {
const { options: { global }, actualTree } = arb
if (!global)
return

// if we are using a builtin config, and just installed npm as
// a top-level global package, we have to preserve that config.
const npmNode = actualTree.inventory.get('node_modules/npm')
if (!npmNode)
return

const builtinConf = npm.config.data.get('builtin')
if (builtinConf.loadError)
return

const content = ini.stringify(builtinConf.raw).trim() + '\n'
await writeFile(resolve(npmNode.path, 'npmrc'), content)
}

module.exports = reifyFinish
4 changes: 2 additions & 2 deletions deps/npm/man/man1/npm-audit.1
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@
.P
.RS 2
.nf
npm audit [\-\-json|\-\-parseable|\-\-audit\-level=(low|moderate|high|critical)]
npm audit fix [\-\-force|\-\-package\-lock\-only|\-\-dry\-run]
npm audit [\-\-json] [\-\-production] [\-\-audit\-level=(low|moderate|high|critical)]
npm audit fix [\-\-force|\-\-package\-lock\-only|\-\-dry\-run|\-\-production|\-\-only=(dev|prod)]

common options: [\-\-production] [\-\-only=(dev|prod)]
.fi
Loading