Skip to content

Commit 63a62ed

Browse files
npm-cli-botdanielleadams
authored andcommitted
deps: upgrade npm to 9.5.1
PR-URL: #46783 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]>
1 parent 1ece4a7 commit 63a62ed

File tree

28 files changed

+1356
-178
lines changed

28 files changed

+1356
-178
lines changed

deps/npm/docs/content/commands/npm-ls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
2727
example, running `npm ls promzard` in npm's source tree will show:
2828

2929
```bash
30-
[email protected].0 /path/to/npm
30+
[email protected].1 /path/to/npm
3131
3232
3333
```

deps/npm/docs/content/commands/npm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
1414

1515
### Version
1616

17-
9.5.0
17+
9.5.1
1818

1919
### Description
2020

deps/npm/docs/content/configuring-npm/package-json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ SPDX license identifier for the license you're using, like this:
120120

121121
You can check [the full list of SPDX license
122122
IDs](https://spdx.org/licenses/). Ideally you should pick one that is
123-
[OSI](https://opensource.org/licenses/alphabetical) approved.
123+
[OSI](https://opensource.org/licenses/) approved.
124124

125125
If your package is licensed under multiple common licenses, use an [SPDX
126126
license expression syntax version 2.0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3>
160160
the results to only the paths to the packages named. Note that nested
161161
packages will <em>also</em> show the paths to the specified packages. For
162162
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
163-
<pre><code class="language-bash">[email protected].0 /path/to/npm
163+
<pre><code class="language-bash">[email protected].1 /path/to/npm
164164
165165
166166
</code></pre>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2>
150150
</code></pre>
151151
<p>Note: This command is unaware of workspaces.</p>
152152
<h3 id="version">Version</h3>
153-
<p>9.5.0</p>
153+
<p>9.5.1</p>
154154
<h3 id="description">Description</h3>
155155
<p>npm is the package manager for the Node JavaScript platform. It puts
156156
modules in place so that node can find them, and manages dependency

deps/npm/docs/output/configuring-npm/package-json.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ <h3 id="license">license</h3>
230230
</code></pre>
231231
<p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license
232232
IDs</a>. Ideally you should pick one that is
233-
<a href="https://opensource.org/licenses/alphabetical">OSI</a> approved.</p>
233+
<a href="https://opensource.org/licenses/">OSI</a> approved.</p>
234234
<p>If your package is licensed under multiple common licenses, use an <a href="https://spdx.dev/specifications/">SPDX
235235
license expression syntax version 2.0
236236
string</a>, like this:</p>

deps/npm/lib/commands/help.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const BaseCommand = require('../base-command.js')
1010

1111
// Strips out the number from foo.7 or foo.7. or foo.7.tgz
1212
// We don't currently compress our man pages but if we ever did this would
13-
// seemlessly continue supporting it
13+
// seamlessly continue supporting it
1414
const manNumberRegex = /\.(\d+)(\.[^/\\]*)?$/
1515
// Searches for the "npm-" prefix in page names, to prefer those.
1616
const manNpmPrefixRegex = /\/npm-/

deps/npm/lib/commands/link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Link extends ArboristWorkspaceCmd {
5252
{ code: 'ELINKGLOBAL' }
5353
)
5454
}
55-
// install-links is implicitely false when running `npm link`
55+
// install-links is implicitly false when running `npm link`
5656
this.npm.config.set('install-links', false)
5757

5858
// link with no args: symlink the folder to the global location

deps/npm/lib/utils/queryable.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const _append = Symbol('append')
44

55
const sqBracketsMatcher = str => str.match(/(.+)\[([^\]]+)\]\.?(.*)$/)
66

7-
// replaces any occurence of an empty-brackets (e.g: []) with a special
7+
// replaces any occurrence of an empty-brackets (e.g: []) with a special
88
// Symbol(append) to represent it, this is going to be useful for the setter
99
// method that will push values to the end of the array when finding these
1010
const replaceAppendSymbols = str => {
@@ -29,7 +29,7 @@ const parseKeys = key => {
2929
const preSqBracketPortion = index[1]
3030

3131
// we want to have a `new String` wrapper here in order to differentiate
32-
// between multiple occurences of the same string, e.g:
32+
// between multiple occurrences of the same string, e.g:
3333
// foo.bar[foo.bar] should split into { foo: { bar: { 'foo.bar': {} } }
3434
/* eslint-disable-next-line no-new-wrappers */
3535
const foundKey = new String(index[2])
@@ -41,7 +41,7 @@ const parseKeys = key => {
4141
sqBracketItems.add(foundKey)
4242

4343
// returns an array that contains either dot-separate items (that will
44-
// be splitted appart during the next step OR the fully parsed keys
44+
// be split apart during the next step OR the fully parsed keys
4545
// read from square brackets, e.g:
4646
// foo.bar[1.0.0].a.b -> ['foo.bar', '1.0.0', 'a.b']
4747
return [
@@ -142,7 +142,7 @@ const setter = ({ data, key, value, force }) => {
142142
const keys = parseKeys(key)
143143
const setKeys = (_data, _key) => {
144144
// handles array indexes, converting valid integers to numbers,
145-
// note that occurences of Symbol(append) will throw,
145+
// note that occurrences of Symbol(append) will throw,
146146
// so we just ignore these for now
147147
let maybeIndex = Number.NaN
148148
try {

deps/npm/lib/workspaces/update-workspaces.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function updateWorkspaces ({
2222
? false
2323
: config.get('save')
2424

25-
// runs a minimalistic reify update, targetting only the workspaces
25+
// runs a minimalistic reify update, targeting only the workspaces
2626
// that had version updates and skipping fund/audit/save
2727
const opts = {
2828
...flatOptions,

0 commit comments

Comments
 (0)