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

deps: upgrade npm to 9.5.1 #46783

Merged
merged 1 commit into from
Feb 25, 2023
Merged
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion deps/npm/docs/content/commands/npm-ls.md
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
example, running `npm ls promzard` in npm's source tree will show:

```bash
[email protected].0 /path/to/npm
[email protected].1 /path/to/npm
└─┬ [email protected]
└── [email protected]
```
2 changes: 1 addition & 1 deletion deps/npm/docs/content/commands/npm.md
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.

### Version

9.5.0
9.5.1

### Description

2 changes: 1 addition & 1 deletion deps/npm/docs/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
@@ -120,7 +120,7 @@ SPDX license identifier for the license you're using, like this:

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

If your package is licensed under multiple common licenses, use an [SPDX
license expression syntax version 2.0
2 changes: 1 addition & 1 deletion deps/npm/docs/output/commands/npm-ls.html
Original file line number Diff line number Diff line change
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3>
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><code class="language-bash">[email protected].0 /path/to/npm
<pre><code class="language-bash">[email protected].1 /path/to/npm
└─┬ [email protected]
└── [email protected]
</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
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2>
</code></pre>
<p>Note: This command is unaware of workspaces.</p>
<h3 id="version">Version</h3>
<p>9.5.0</p>
<p>9.5.1</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
2 changes: 1 addition & 1 deletion deps/npm/docs/output/configuring-npm/package-json.html
Original file line number Diff line number Diff line change
@@ -230,7 +230,7 @@ <h3 id="license">license</h3>
</code></pre>
<p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license
IDs</a>. Ideally you should pick one that is
<a href="https://opensource.org/licenses/alphabetical">OSI</a> approved.</p>
<a href="https://opensource.org/licenses/">OSI</a> approved.</p>
<p>If your package is licensed under multiple common licenses, use an <a href="https://spdx.dev/specifications/">SPDX
license expression syntax version 2.0
string</a>, like this:</p>
2 changes: 1 addition & 1 deletion deps/npm/lib/commands/help.js
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ const BaseCommand = require('../base-command.js')

// Strips out the number from foo.7 or foo.7. or foo.7.tgz
// We don't currently compress our man pages but if we ever did this would
// seemlessly continue supporting it
// seamlessly continue supporting it
const manNumberRegex = /\.(\d+)(\.[^/\\]*)?$/
// Searches for the "npm-" prefix in page names, to prefer those.
const manNpmPrefixRegex = /\/npm-/
2 changes: 1 addition & 1 deletion deps/npm/lib/commands/link.js
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ class Link extends ArboristWorkspaceCmd {
{ code: 'ELINKGLOBAL' }
)
}
// install-links is implicitely false when running `npm link`
// install-links is implicitly false when running `npm link`
this.npm.config.set('install-links', false)

// link with no args: symlink the folder to the global location
8 changes: 4 additions & 4 deletions deps/npm/lib/utils/queryable.js
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ const _append = Symbol('append')

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

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

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

// returns an array that contains either dot-separate items (that will
// be splitted appart during the next step OR the fully parsed keys
// be split apart during the next step OR the fully parsed keys
// read from square brackets, e.g:
// foo.bar[1.0.0].a.b -> ['foo.bar', '1.0.0', 'a.b']
return [
@@ -142,7 +142,7 @@ const setter = ({ data, key, value, force }) => {
const keys = parseKeys(key)
const setKeys = (_data, _key) => {
// handles array indexes, converting valid integers to numbers,
// note that occurences of Symbol(append) will throw,
// note that occurrences of Symbol(append) will throw,
// so we just ignore these for now
let maybeIndex = Number.NaN
try {
2 changes: 1 addition & 1 deletion deps/npm/lib/workspaces/update-workspaces.js
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ async function updateWorkspaces ({
? false
: config.get('save')

// runs a minimalistic reify update, targetting only the workspaces
// runs a minimalistic reify update, targeting only the workspaces
// that had version updates and skipping fund/audit/save
const opts = {
...flatOptions,
2 changes: 1 addition & 1 deletion deps/npm/man/man1/npm-ls.1
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ Positional arguments are \fBname@version-range\fR identifiers, which will limit
.P
.RS 2
.nf
[email protected].0 /path/to/npm
[email protected].1 /path/to/npm
└─┬ [email protected]
└── [email protected]
.fi
2 changes: 1 addition & 1 deletion deps/npm/man/man1/npm.1
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ npm
Note: This command is unaware of workspaces.
.SS "Version"
.P
9.5.0
9.5.1
.SS "Description"
.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 conflicts intelligently.
2 changes: 1 addition & 1 deletion deps/npm/man/man5/npm-json.5
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ If you're using a common license such as BSD-2-Clause or MIT, add a current SPDX
.fi
.RE
.P
You can check \fBthe full list of SPDX license IDs\fR \fI\(lahttps://spdx.org/licenses/\(ra\fR. Ideally you should pick one that is \fBOSI\fR \fI\(lahttps://opensource.org/licenses/alphabetical\(ra\fR approved.
You can check \fBthe full list of SPDX license IDs\fR \fI\(lahttps://spdx.org/licenses/\(ra\fR. Ideally you should pick one that is \fBOSI\fR \fI\(lahttps://opensource.org/licenses/\(ra\fR approved.
.P
If your package is licensed under multiple common licenses, use an \fBSPDX license expression syntax version 2.0 string\fR \fI\(lahttps://spdx.dev/specifications/\(ra\fR, like this:
.P
2 changes: 1 addition & 1 deletion deps/npm/man/man5/package-json.5
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ If you're using a common license such as BSD-2-Clause or MIT, add a current SPDX
.fi
.RE
.P
You can check \fBthe full list of SPDX license IDs\fR \fI\(lahttps://spdx.org/licenses/\(ra\fR. Ideally you should pick one that is \fBOSI\fR \fI\(lahttps://opensource.org/licenses/alphabetical\(ra\fR approved.
You can check \fBthe full list of SPDX license IDs\fR \fI\(lahttps://spdx.org/licenses/\(ra\fR. Ideally you should pick one that is \fBOSI\fR \fI\(lahttps://opensource.org/licenses/\(ra\fR approved.
.P
If your package is licensed under multiple common licenses, use an \fBSPDX license expression syntax version 2.0 string\fR \fI\(lahttps://spdx.dev/specifications/\(ra\fR, like this:
.P
16 changes: 9 additions & 7 deletions deps/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deps/npm/node_modules/@npmcli/arborist/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deps/npm/node_modules/libnpmdiff/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deps/npm/node_modules/libnpmexec/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deps/npm/node_modules/libnpmfund/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deps/npm/node_modules/libnpmpack/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deps/npm/node_modules/lru-cache/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

262 changes: 164 additions & 98 deletions deps/npm/node_modules/lru-cache/index.d.ts

Large diffs are not rendered by default.

95 changes: 65 additions & 30 deletions deps/npm/node_modules/lru-cache/index.js
1,053 changes: 1,053 additions & 0 deletions deps/npm/node_modules/lru-cache/index.mjs

Large diffs are not rendered by default.

32 changes: 27 additions & 5 deletions deps/npm/node_modules/lru-cache/package.json
6 changes: 3 additions & 3 deletions deps/npm/node_modules/pacote/lib/fetcher.js
2 changes: 1 addition & 1 deletion deps/npm/node_modules/pacote/package.json
14 changes: 7 additions & 7 deletions deps/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "9.5.0",
"version": "9.5.1",
"name": "npm",
"description": "a package manager for JavaScript",
"workspaces": [
@@ -53,7 +53,7 @@
},
"dependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/arborist": "^6.2.2",
"@npmcli/arborist": "^6.2.3",
"@npmcli/config": "^6.1.3",
"@npmcli/map-workspaces": "^3.0.2",
"@npmcli/package-json": "^3.0.0",
@@ -76,12 +76,12 @@
"is-cidr": "^4.0.2",
"json-parse-even-better-errors": "^3.0.0",
"libnpmaccess": "^7.0.2",
"libnpmdiff": "^5.0.10",
"libnpmexec": "^5.0.10",
"libnpmfund": "^4.0.10",
"libnpmdiff": "^5.0.11",
"libnpmexec": "^5.0.11",
"libnpmfund": "^4.0.11",
"libnpmhook": "^9.0.3",
"libnpmorg": "^5.0.3",
"libnpmpack": "^5.0.10",
"libnpmpack": "^5.0.11",
"libnpmpublish": "^7.1.0",
"libnpmsearch": "^6.0.2",
"libnpmteam": "^5.0.3",
@@ -102,7 +102,7 @@
"npm-user-validate": "^2.0.0",
"npmlog": "^7.0.1",
"p-map": "^4.0.0",
"pacote": "^15.1.0",
"pacote": "^15.1.1",
"parse-conflict-json": "^3.0.0",
"proc-log": "^3.0.0",
"qrcode-terminal": "^0.12.0",