Skip to content

Commit 7491469

Browse files
npm-cli-bottargos
authored andcommitted
deps: upgrade npm to 8.13.2
PR-URL: #43622 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com>
1 parent 350e6ae commit 7491469

File tree

18 files changed

+74
-24
lines changed

18 files changed

+74
-24
lines changed

deps/npm/docs/content/commands/npm-run-script.md

+15
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,21 @@ will *not* run any pre- or post-scripts.
240240
<!-- automatically generated, do not edit manually -->
241241
<!-- see lib/utils/config/definitions.js -->
242242

243+
#### `foreground-scripts`
244+
245+
* Default: false
246+
* Type: Boolean
247+
248+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
249+
scripts for installed packages in the foreground process, sharing standard
250+
input, output, and error with the main npm process.
251+
252+
Note that this will generally make installs run slower, and be much noisier,
253+
but can be useful for debugging.
254+
255+
<!-- automatically generated, do not edit manually -->
256+
<!-- see lib/utils/config/definitions.js -->
257+
243258
#### `script-shell`
244259

245260
* Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ <h3 id="description">Description</h3>
166166
the results to only the paths to the packages named. Note that nested
167167
packages will <em>also</em> show the paths to the specified packages. For
168168
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
169-
<pre lang="bash"><code>npm@8.13.1 /path/to/npm
169+
<pre lang="bash"><code>npm@8.13.2 /path/to/npm
170170
└─┬ init-package-json@0.0.4
171171
└── promzard@0.1.5
172172
</code></pre>

deps/npm/docs/output/commands/npm-run-script.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1 id="npm-run-script">npm-run-script</h1>
142142

143143
<section id="table_of_contents">
144144
<h2 id="table-of-contents">Table of contents</h2>
145-
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#workspaces-support">Workspaces support</a></li><ul><li><a href="#filtering-workspaces">Filtering workspaces</a></li></ul><li><a href="#configuration">Configuration</a></li><ul><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#if-present"><code>if-present</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#script-shell"><code>script-shell</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
145+
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#workspaces-support">Workspaces support</a></li><ul><li><a href="#filtering-workspaces">Filtering workspaces</a></li></ul><li><a href="#configuration">Configuration</a></li><ul><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#if-present"><code>if-present</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#script-shell"><code>script-shell</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
146146
</section>
147147

148148
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -319,6 +319,18 @@ <h4 id="ignore-scripts"><code>ignore-scripts</code></h4>
319319
will <em>not</em> run any pre- or post-scripts.</p>
320320
<!-- raw HTML omitted -->
321321
<!-- raw HTML omitted -->
322+
<h4 id="foreground-scripts"><code>foreground-scripts</code></h4>
323+
<ul>
324+
<li>Default: false</li>
325+
<li>Type: Boolean</li>
326+
</ul>
327+
<p>Run all build scripts (ie, <code>preinstall</code>, <code>install</code>, and <code>postinstall</code>)
328+
scripts for installed packages in the foreground process, sharing standard
329+
input, output, and error with the main npm process.</p>
330+
<p>Note that this will generally make installs run slower, and be much noisier,
331+
but can be useful for debugging.</p>
332+
<!-- raw HTML omitted -->
333+
<!-- raw HTML omitted -->
322334
<h4 id="script-shell"><code>script-shell</code></h4>
323335
<ul>
324336
<li>Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows</li>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ <h2 id="table-of-contents">Table of contents</h2>
149149
<!-- raw HTML omitted -->
150150
<!-- raw HTML omitted -->
151151
<h3 id="version">Version</h3>
152-
<p>8.13.1</p>
152+
<p>8.13.2</p>
153153
<h3 id="description">Description</h3>
154154
<p>npm is the package manager for the Node JavaScript platform. It puts
155155
modules in place so that node can find them, and manages dependency

deps/npm/lib/commands/run-script.js

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class RunScript extends BaseCommand {
3535
'include-workspace-root',
3636
'if-present',
3737
'ignore-scripts',
38+
'foreground-scripts',
3839
'script-shell',
3940
]
4041

deps/npm/man/man1/npm-ls.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ example, running \fBnpm ls promzard\fP in npm's source tree will show:
2626
.P
2727
.RS 2
2828
.nf
29-
npm@8\.13\.1 /path/to/npm
29+
npm@8\.13\.2 /path/to/npm
3030
└─┬ init\-package\-json@0\.0\.4
3131
└── promzard@0\.1\.5
3232
.fi

deps/npm/man/man1/npm-run-script.1

+15
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,21 @@ Note that commands explicitly intended to run a particular script, such as
246246
\fBnpm start\fP, \fBnpm stop\fP, \fBnpm restart\fP, \fBnpm test\fP, and \fBnpm run\-script\fP
247247
will still run their intended script if \fBignore\-scripts\fP is set, but they
248248
will \fInot\fR run any pre\- or post\-scripts\.
249+
.SS \fBforeground\-scripts\fP
250+
.RS 0
251+
.IP \(bu 2
252+
Default: false
253+
.IP \(bu 2
254+
Type: Boolean
255+
256+
.RE
257+
.P
258+
Run all build scripts (ie, \fBpreinstall\fP, \fBinstall\fP, and \fBpostinstall\fP)
259+
scripts for installed packages in the foreground process, sharing standard
260+
input, output, and error with the main npm process\.
261+
.P
262+
Note that this will generally make installs run slower, and be much noisier,
263+
but can be useful for debugging\.
249264
.SS \fBscript\-shell\fP
250265
.RS 0
251266
.IP \(bu 2

deps/npm/man/man1/npm.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.SS Synopsis
55
.SS Version
66
.P
7-
8\.13\.1
7+
8\.13\.2
88
.SS Description
99
.P
1010
npm is the package manager for the Node JavaScript platform\. It puts

deps/npm/node_modules/@npmcli/metavuln-calculator/lib/advisory.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/node_modules/@npmcli/metavuln-calculator/package.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/node_modules/@npmcli/run-script/lib/escape.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/node_modules/@npmcli/run-script/package.json

+3-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/node_modules/npm-packlist/lib/index.js

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/node_modules/npm-packlist/package.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/npm/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "8.13.1",
2+
"version": "8.13.2",
33
"name": "npm",
44
"description": "a package manager for JavaScript",
55
"workspaces": [
@@ -62,7 +62,7 @@
6262
"@npmcli/fs": "^2.1.0",
6363
"@npmcli/map-workspaces": "^2.0.3",
6464
"@npmcli/package-json": "^2.0.0",
65-
"@npmcli/run-script": "^4.1.3",
65+
"@npmcli/run-script": "^4.1.5",
6666
"abbrev": "~1.1.1",
6767
"archy": "~1.0.0",
6868
"cacache": "^16.1.1",

deps/npm/tap-snapshots/test/lib/load-all-commands.js.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ npm run-script <command> [-- <args>]
746746
Options:
747747
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
748748
[-ws|--workspaces] [--include-workspace-root] [--if-present] [--ignore-scripts]
749-
[--script-shell <script-shell>]
749+
[--foreground-scripts] [--script-shell <script-shell>]
750750
751751
aliases: run, rum, urn
752752

deps/npm/tap-snapshots/test/lib/npm.js.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ All commands:
790790
Options:
791791
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
792792
[-ws|--workspaces] [--include-workspace-root] [--if-present] [--ignore-scripts]
793-
[--script-shell <script-shell>]
793+
[--foreground-scripts] [--script-shell <script-shell>]
794794
795795
aliases: run, rum, urn
796796

0 commit comments

Comments
 (0)