Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: npm/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.8.1
Choose a base ref
...
head repository: npm/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.0.0
Choose a head ref

Commits on Jul 19, 2023

  1. chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4

    Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
    - [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
    - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)
    
    ---
    updated-dependencies:
    - dependency-name: word-wrap
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and wraithgar committed Jul 19, 2023
    1

    Verified

    This commit was signed with the committer’s verified signature.
    eadwu Edmund Wu
    Copy the full SHA
    4689ae4 View commit details

Commits on Jul 25, 2023

  1. Verified

    This commit was signed with the committer’s verified signature.
    eadwu Edmund Wu
    Copy the full SHA
    e5338af View commit details

Commits on Jul 26, 2023

  1. feat: set engines and prerelease for npm 10 (#6674)

    BREAKING CHANGE: npm now supports node `^18.17.0 || >=20.5.0`
    lukekarrys authored Jul 26, 2023
    Copy the full SHA
    b6cf113 View commit details
  2. fix: remove metric-registry config

    BREAKING CHANGE: the hard-coded "metrics-registry" config has been
    removed.
    
    This is not used by npm at all, and is also not used by any of the npm
    modules that consume config.  npm does not send data to any metrics
    server.
    wraithgar authored and lukekarrys committed Jul 26, 2023
    Copy the full SHA
    1f767aa View commit details
  3. fix: remove "tmp" config

    BREAKING CHANGE: the unused "tmp" config has been removed
    wraithgar authored and lukekarrys committed Jul 26, 2023
    Copy the full SHA
    ece52a3 View commit details
  4. fix: remove "hashAlgorithm" from flatOptions

    BREAKING CHANGE: the hard-coded "hashAlgorithm" value is no longer being
    passed through flatOptions
    
    Nothing in npm is using this.
    wraithgar authored and lukekarrys committed Jul 26, 2023
    Copy the full SHA
    db91a77 View commit details
  5. Copy the full SHA
    d2c3712 View commit details
  6. fix: stop retrying on 409 conflict

    BREAKING CHANGE: libnpmpublish will no longer attempt a single automatic
    retry on 409 responses during publish.
    wraithgar authored and lukekarrys committed Jul 26, 2023
    Copy the full SHA
    0a71ebb View commit details
  7. chore: remove lodash.clonedeep

    wraithgar authored and lukekarrys committed Jul 26, 2023
    Copy the full SHA
    392682b View commit details
  8. fix: remove implicit if-present logic from run-script workspaces

    BREAKING CHANGE: npm no longer treats missing scripts as a special case
    in workspace mode.  Use `if-present` to ignore missing scripts.
    wraithgar authored and lukekarrys committed Jul 26, 2023
    Copy the full SHA
    0318f44 View commit details
  9. fix: remove "ci-name" config

    BREAKING CHANGE: the "ci-name" config has been removed
    
    The "ci" portion of the default "user-agent" will now only be derived
    from the environment and can not be manually overridden.
    wraithgar authored and lukekarrys committed Jul 26, 2023
    3
    Copy the full SHA
    e0d3edd View commit details
  10. chore: remove @npmcli/config dep from docs workspace

    When a new major of @npmcli/config is released, the docs workspace is
    not being updated by release-please since it is a private workspace.
    
    Remove the dependency is the easiest way to workaround this for now.
    lukekarrys authored and wraithgar committed Jul 26, 2023
    Copy the full SHA
    c453fa0 View commit details
  11. chore: allow publishing new major of workspace without prerelease

    Previously the publish script assumed that a new major version of a
    workspace would always be preceeded by a prerelease. This updates the
    script so that a workspace will be published to the `latest` tag if it
    is greater than the current latest major version.
    
    This also fixes an issue where getting a version of a workspace could
    fail if it is the first time being published to a new tag. The script
    now catches this error and treats it like a workspace that needs
    publishing.
    lukekarrys committed Jul 26, 2023
    Copy the full SHA
    05357c3 View commit details
  12. Copy the full SHA
    51bc99d View commit details

Commits on Jul 28, 2023

  1. docs: Update package-json.md (#6680)

    Co-authored-by: Jordan Harband <ljharb@gmail.com>
    p-chan and ljharb authored Jul 28, 2023
    Copy the full SHA
    c1e01d9 View commit details

Commits on Jul 31, 2023

  1. fix: prefix in .npmrc error log (#6685)

    Co-authored-by: AaronHamilton965 <91709196+AaronHamilton965@users.noreply.github.com>
    rahulio96 and AaronHamilton965 authored Jul 31, 2023
    Copy the full SHA
    ed9a461 View commit details
  2. 1
    Copy the full SHA
    c736b62 View commit details

Commits on Aug 16, 2023

  1. Copy the full SHA
    fb956b5 View commit details

Commits on Aug 18, 2023

  1. 1
    Copy the full SHA
    f916d33 View commit details

Commits on Aug 30, 2023

  1. Copy the full SHA
    5d0d859 View commit details
  2. Copy the full SHA
    91a11d2 View commit details
  3. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    e3a377d View commit details
  4. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    355bac8 View commit details
  5. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    4caedd0 View commit details
  6. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    b6f2205 View commit details
  7. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    d431647 View commit details
  8. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    5c8c6cc View commit details
  9. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    8b0e755 View commit details
  10. deps: pacote@16.0.0

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    edbc25a View commit details
  11. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    ee7292e View commit details
  12. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    37a99eb View commit details
  13. fix: drop node14 support

    BREAKING CHANGE: support for node 14 has been removed
    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    d857c4a View commit details
  14. Copy the full SHA
    d477654 View commit details
  15. Copy the full SHA
    bf1d517 View commit details
  16. deps: npm-profile@8.0.0

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    7be541a View commit details
  17. Copy the full SHA
    ca33c98 View commit details
  18. deps: cacache@17.1.4

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    5eea975 View commit details
  19. deps: fs-minipass@3.0.3

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    f6f6a18 View commit details
  20. Copy the full SHA
    45f8d6f View commit details
  21. deps: ssri@10.0.5

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    9117a4f View commit details
  22. Copy the full SHA
    88ece81 View commit details
  23. Copy the full SHA
    4c9eb17 View commit details
  24. deps: glob@10.3.3

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    ede7f5e View commit details
  25. deps: minipass@7.0.3

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    2c5542d View commit details
  26. Copy the full SHA
    61e9b00 View commit details
  27. deps: minipass-fetch@3.0.4

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    e28d426 View commit details
  28. deps: @npmcli/git@5.0.0

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    c9587d7 View commit details
  29. Copy the full SHA
    b0849ab View commit details
  30. deps: cacache@18.0.0

    lukekarrys committed Aug 30, 2023
    Copy the full SHA
    7af81c7 View commit details
  31. Copy the full SHA
    729e893 View commit details
Showing 365 changed files with 28,775 additions and 8,695 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -26,8 +26,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmaccess.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmdiff.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmexec.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
2 changes: 2 additions & 0 deletions .github/workflows/ci-libnpmfund.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmhook.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmorg.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmpack.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmpublish.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmsearch.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmteam.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-libnpmversion.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-npmcli-arborist.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
2 changes: 2 additions & 0 deletions .github/workflows/ci-npmcli-config.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
9 changes: 6 additions & 3 deletions .github/workflows/ci-npmcli-docs.yml
Original file line number Diff line number Diff line change
@@ -35,8 +35,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,7 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 18.x
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -80,6 +81,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -110,8 +112,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-npmcli-mock-globals.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 3 additions & 3 deletions .github/workflows/ci-npmcli-mock-registry.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -63,9 +64,7 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.14.0
- 16.x
- 18.0.0
- 18.x
@@ -85,6 +84,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
2 changes: 2 additions & 0 deletions .github/workflows/ci-npmcli-smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ jobs:
with:
node-version: 18.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -85,6 +86,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
21 changes: 10 additions & 11 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
@@ -81,8 +81,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -116,12 +117,10 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.x
- 18.0.0
- 18.17.0
- 18.x
- 20.5.0
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -183,6 +182,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -219,12 +219,10 @@ jobs:
os: macos-latest
shell: bash
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.x
- 18.0.0
- 18.17.0
- 18.x
- 20.5.0
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -286,6 +284,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -43,8 +43,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -71,12 +72,10 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.x
- 18.0.0
- 18.17.0
- 18.x
- 20.5.0
- 20.x
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -93,6 +92,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -121,8 +121,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -147,8 +148,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -174,8 +176,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
3 changes: 2 additions & 1 deletion .github/workflows/create-node-pr.yml
Original file line number Diff line number Diff line change
@@ -36,8 +36,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
3 changes: 2 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -30,8 +30,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -44,8 +44,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
@@ -156,8 +157,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: npm
check-latest: true
- name: Check Git Status
run: node scripts/git-dirty.js
- name: Reset Deps
28 changes: 14 additions & 14 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
".": "9.8.1",
"workspaces/arborist": "6.3.0",
"workspaces/libnpmaccess": "7.0.2",
"workspaces/libnpmdiff": "5.0.19",
"workspaces/libnpmexec": "6.0.3",
"workspaces/libnpmfund": "4.0.19",
"workspaces/libnpmhook": "9.0.3",
"workspaces/libnpmorg": "5.0.4",
"workspaces/libnpmpack": "5.0.19",
"workspaces/libnpmpublish": "7.5.0",
"workspaces/libnpmsearch": "6.0.2",
"workspaces/libnpmteam": "5.0.3",
"workspaces/libnpmversion": "4.0.2",
"workspaces/config": "6.2.1"
".": "10.0.0",
"workspaces/arborist": "7.0.0",
"workspaces/libnpmaccess": "8.0.0",
"workspaces/libnpmdiff": "6.0.0",
"workspaces/libnpmexec": "7.0.0",
"workspaces/libnpmfund": "4.1.0",
"workspaces/libnpmhook": "10.0.0",
"workspaces/libnpmorg": "6.0.0",
"workspaces/libnpmpack": "6.0.0",
"workspaces/libnpmpublish": "9.0.0",
"workspaces/libnpmsearch": "7.0.0",
"workspaces/libnpmteam": "6.0.0",
"workspaces/libnpmversion": "5.0.0",
"workspaces/config": "7.1.0"
}
4 changes: 4 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -890,3 +890,7 @@ DaviDevMod <98312056+DaviDevMod@users.noreply.github.com>
Mike Ribbons <mribbons@gmail.com>
Rahul <122141535+rahulio96@users.noreply.github.com>
AaronHamilton965 <91709196+AaronHamilton965@users.noreply.github.com>
Emmanuel Ferdman <emmanuelferdman@gmail.com>
P-Chan <hello@0x50.io>
Rahul <rahulgithub96@gmail.com>
Francesco Sardone <francesco@airscript.it>
147 changes: 147 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,152 @@
# Changelog

## [10.0.0](https://github.com/npm/cli/compare/v10.0.0-pre.1...v10.0.0) (2023-08-31)

### Features

* [`48a7b07`](https://github.com/npm/cli/commit/48a7b077d70cbe5bc808db6aae2c734aa202938a) remove prerelease flags (@lukekarrys)

### Dependencies

* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v7.0.0): `@npmcli/arborist@7.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/config-v7.1.0): `@npmcli/config@7.1.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmaccess-v8.0.0): `libnpmaccess@8.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v6.0.0): `libnpmdiff@6.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v7.0.0): `libnpmexec@7.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.1.0): `libnpmfund@4.1.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v10.0.0): `libnpmhook@10.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v6.0.0): `libnpmorg@6.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v6.0.0): `libnpmpack@6.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v9.0.0): `libnpmpublish@9.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmsearch-v7.0.0): `libnpmsearch@7.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmteam-v6.0.0): `libnpmteam@6.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmversion-v5.0.0): `libnpmversion@5.0.0`

## [10.0.0-pre.1](https://github.com/npm/cli/compare/v10.0.0-pre.0...v10.0.0-pre.1) (2023-08-31)

### ⚠️ BREAKING CHANGES

* support for node <=16.13 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed
* support for node 14 has been removed

### Bug Fixes

* [`b34ee65`](https://github.com/npm/cli/commit/b34ee65ad1c82b53d5b5b28595203e18163fe4df) [#6706](https://github.com/npm/cli/pull/6706) set objectMode for search filter stream (@lukekarrys)
* [`6b251b1`](https://github.com/npm/cli/commit/6b251b1009648b36d49b83a2cc407c348fa225e0) [#6706](https://github.com/npm/cli/pull/6706) drop node 16.13.x support (@lukekarrys)
* [`d857c4a`](https://github.com/npm/cli/commit/d857c4ac7321211848076d148a4bea46af7058fd) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`37a99eb`](https://github.com/npm/cli/commit/37a99eb98b8846ab9481cc4ebd7a7278a8bc89bd) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`ee7292e`](https://github.com/npm/cli/commit/ee7292ed78c362927736471e0584217b2000f493) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`8b0e755`](https://github.com/npm/cli/commit/8b0e755b78098d9c0800e69f0cc2f6a457ce28a6) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`5c8c6cc`](https://github.com/npm/cli/commit/5c8c6ccc0be6e544f6884ecc1189de02450b7dfc) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`d431647`](https://github.com/npm/cli/commit/d4316479a7894290586718e412d7c670316a36f2) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`b6f2205`](https://github.com/npm/cli/commit/b6f220569791d655ab3c423990356cee47ca5218) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`4caedd0`](https://github.com/npm/cli/commit/4caedd0e49641e9f1757f5622e5845b5b49c56c1) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`355bac8`](https://github.com/npm/cli/commit/355bac87eb66b105c9f0c2338ae37fed5f973b66) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`e3a377d`](https://github.com/npm/cli/commit/e3a377d3b047c0436e05096d70cc5697714e413d) [#6706](https://github.com/npm/cli/pull/6706) drop node14 support (@lukekarrys)
* [`f916d33`](https://github.com/npm/cli/commit/f916d333c16b4f0433d8a304e856b73ed4f949cd) [#6715](https://github.com/npm/cli/pull/6715) allow searching packages with no description (@lukekarrys)

### Documentation

* [`c736b62`](https://github.com/npm/cli/commit/c736b622b8504b07f5a19f631ade42dd40063269) [#6686](https://github.com/npm/cli/pull/6686) add missing bugs key in package-json.md (#6686) (@airscripts)
* [`c1e01d9`](https://github.com/npm/cli/commit/c1e01d97da3b775edf104de158ee5db5cf027d0d) [#6680](https://github.com/npm/cli/pull/6680) Update package-json.md (#6680) (@p-chan, @ljharb)

### Dependencies

* [`5ab3f7e`](https://github.com/npm/cli/commit/5ab3f7e944b12481cb1164175c7a79d24d5e3ac5) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/git@5.0.3`
* [`eb41977`](https://github.com/npm/cli/commit/eb41977c56cbac88fa7d02f88dbf630cc652471a) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/run-script@7.0.1`
* [`f30c9e3`](https://github.com/npm/cli/commit/f30c9e30c2a6d777ea31157a90fddadc81fd11d0) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/git@5.0.2`
* [`f334466`](https://github.com/npm/cli/commit/f334466c53669e7debd4b9c67eafca74955509ee) [#6706](https://github.com/npm/cli/pull/6706) `pacote@17.0.4`
* [`bb63bf9`](https://github.com/npm/cli/commit/bb63bf945b2db8f3074e7429aff6343721c55cd1) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/run-script@7.0.0`
* [`75642c6`](https://github.com/npm/cli/commit/75642c6041195e093ef15ee2a42e1fc6a381c572) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/promise-spawn@7.0.0`
* [`dbb18f4`](https://github.com/npm/cli/commit/dbb18f4778a97915cd8bbb737a807f3db51c4619) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/agent@2.1.0`
* [`812aa6d`](https://github.com/npm/cli/commit/812aa6d2027ed42453b86b22f4cf8de25f6e0180) [#6706](https://github.com/npm/cli/pull/6706) `sigstore@2.1.0`
* [`7fab9d3`](https://github.com/npm/cli/commit/7fab9d3d2efd71f505658216dc44d802bc3203a6) [#6706](https://github.com/npm/cli/pull/6706) `@sigstore/tuf@2.1.0`
* [`12337cc`](https://github.com/npm/cli/commit/12337cc9d43bae2c5ad75e295b6a4d70e15a39cf) [#6706](https://github.com/npm/cli/pull/6706) `which@4.0.0`
* [`b1ad3ad`](https://github.com/npm/cli/commit/b1ad3ad194d046aa6209a4efad961429b379393c) [#6706](https://github.com/npm/cli/pull/6706) `npm-packlist@8.0.0`
* [`43831d0`](https://github.com/npm/cli/commit/43831d0fe4b02cb18d1c533f2831aaeedf5102e1) [#6706](https://github.com/npm/cli/pull/6706) `pacote@17.0.3`
* [`44e8fec`](https://github.com/npm/cli/commit/44e8fec3f28ce3bdd0500b92cbcf8f211da3c866) [#6706](https://github.com/npm/cli/pull/6706) `pacote@17.0.2`
* [`0d2e2c9`](https://github.com/npm/cli/commit/0d2e2c9d09ff760d8db09774fcd7ad417a88c4c7) [#6706](https://github.com/npm/cli/pull/6706) bump sigstore from 1.7.0 to 2.0.0
* [`dbd5885`](https://github.com/npm/cli/commit/dbd5885364648d3f2fe1c7b672e8aeadcd06edd1) [#6706](https://github.com/npm/cli/pull/6706) `npm-profile@9.0.0`
* [`2ee0fb3`](https://github.com/npm/cli/commit/2ee0fb3ac0c5e49f9eba545d6b05e20be1352414) [#6706](https://github.com/npm/cli/pull/6706) `npm-registry-fetch@16.0.0`
* [`81ff4df`](https://github.com/npm/cli/commit/81ff4dfd17024efb068816c9b0824ffc709a7cc4) [#6706](https://github.com/npm/cli/pull/6706) `pacote@17.0.1`
* [`2b23d44`](https://github.com/npm/cli/commit/2b23d44a9f0f01370d4999853aedecec4f1d8dd3) [#6706](https://github.com/npm/cli/pull/6706) hoist `read-package-json@7.0.0`
* [`325ed05`](https://github.com/npm/cli/commit/325ed05be53b57096727fb962925bf362edf9730) [#6706](https://github.com/npm/cli/pull/6706) hoist `normalize-package-data@6.0.0`
* [`c3a1a02`](https://github.com/npm/cli/commit/c3a1a021780d948a3023b622700b98aabb0df2f4) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/metavuln-calculator@7.0.0`
* [`f1dd130`](https://github.com/npm/cli/commit/f1dd1305fdcba0b7f5496223b5a65f0fe7e29975) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/git@5.0.1`
* [`10792ea`](https://github.com/npm/cli/commit/10792ea951a3ef8fc138f82d7b81484006213ce9) [#6706](https://github.com/npm/cli/pull/6706) `init-package-json@6.0.0`
* [`cac0725`](https://github.com/npm/cli/commit/cac07256e7234d0782a4833dae207732c71fef95) [#6706](https://github.com/npm/cli/pull/6706) `pacote@17.0.0`
* [`fd8beaf`](https://github.com/npm/cli/commit/fd8beaf4de23b8fbd9d5b968e10a5034d1a8f7bd) [#6706](https://github.com/npm/cli/pull/6706) `npm-pick-manifest@9.0.0`
* [`65f435e`](https://github.com/npm/cli/commit/65f435ee0a088d6593d8e985c2519cdd783f9a6d) [#6706](https://github.com/npm/cli/pull/6706) hoist `lru-cache@10.0.1`
* [`c784b57`](https://github.com/npm/cli/commit/c784b57b654d25e8d932e6fe415b87e75dcf9026) [#6706](https://github.com/npm/cli/pull/6706) `npm-package-arg@11.0.0`
* [`d6b1790`](https://github.com/npm/cli/commit/d6b1790492d9bc96c196d85d8fc9fd98d62d0087) [#6706](https://github.com/npm/cli/pull/6706) `normalize-package-data@6.0.0`
* [`2f03fb9`](https://github.com/npm/cli/commit/2f03fb9d8f25fd2b047d46edb608eb75f1f36017) [#6706](https://github.com/npm/cli/pull/6706) `make-fetch-happen@13.0.0`
* [`729e893`](https://github.com/npm/cli/commit/729e893cf610de725142f72cc344d1c11f42d7af) [#6706](https://github.com/npm/cli/pull/6706) `hosted-git-info@7.0.0`
* [`7af81c7`](https://github.com/npm/cli/commit/7af81c7360a6df31cdb0a8f18104b42656166378) [#6706](https://github.com/npm/cli/pull/6706) `cacache@18.0.0`
* [`b0849ab`](https://github.com/npm/cli/commit/b0849ab6feb62bf307ee362389bfcaf0e85653be) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/package-json@5.0.0`
* [`c9587d7`](https://github.com/npm/cli/commit/c9587d79c7c02aff4f53b093bf6702026ecea53a) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/git@5.0.0`
* [`e28d426`](https://github.com/npm/cli/commit/e28d42674deb791d862e07756bb453190773e6ec) [#6706](https://github.com/npm/cli/pull/6706) `minipass-fetch@3.0.4`
* [`61e9b00`](https://github.com/npm/cli/commit/61e9b00e096ce2e3122f1b21d22f3073ff22f2ce) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/metavuln-calculator@6.0.1`
* [`2c5542d`](https://github.com/npm/cli/commit/2c5542d29ba207e7c5c4337ac9ad7f296188508a) [#6706](https://github.com/npm/cli/pull/6706) `minipass@7.0.3`
* [`ede7f5e`](https://github.com/npm/cli/commit/ede7f5e74ad4d88559fec2532ddba2facbd7af7f) [#6706](https://github.com/npm/cli/pull/6706) `glob@10.3.3`
* [`4c9eb17`](https://github.com/npm/cli/commit/4c9eb1703bd41555e4ef7c2fc087a349b90c9b4c) [#6706](https://github.com/npm/cli/pull/6706) `npm-install-checks@6.2.0`
* [`88ece81`](https://github.com/npm/cli/commit/88ece8161021997cb5c22040b34d0dffff55fcf1) [#6706](https://github.com/npm/cli/pull/6706) `npm-pick-manifest@8.0.2`
* [`9117a4f`](https://github.com/npm/cli/commit/9117a4fcf05291ce7609bcad5bb810df9a5158e7) [#6706](https://github.com/npm/cli/pull/6706) `ssri@10.0.5`
* [`45f8d6f`](https://github.com/npm/cli/commit/45f8d6f15f82067f27d56357159a7f965b857f5d) [#6706](https://github.com/npm/cli/pull/6706) `make-fetch-happen@12.0.0`
* [`f6f6a18`](https://github.com/npm/cli/commit/f6f6a18120b31626259cdd4da834524a034aa4cb) [#6706](https://github.com/npm/cli/pull/6706) `fs-minipass@3.0.3`
* [`5eea975`](https://github.com/npm/cli/commit/5eea975437ab27d02afa2aaee59b2d4f98831df3) [#6706](https://github.com/npm/cli/pull/6706) `cacache@17.1.4`
* [`ca33c98`](https://github.com/npm/cli/commit/ca33c9840533435bda634adefb61757f30fad5ab) [#6706](https://github.com/npm/cli/pull/6706) `@npmcli/metavuln-calculator@6.0.0`
* [`7be541a`](https://github.com/npm/cli/commit/7be541a7a82cf1fb0de58953605b69c058f7efe0) [#6706](https://github.com/npm/cli/pull/6706) `npm-profile@8.0.0`
* [`edbc25a`](https://github.com/npm/cli/commit/edbc25a5980c34e0d28aac7503475cd33e07f7d2) [#6706](https://github.com/npm/cli/pull/6706) `pacote@16.0.0`
* [`5d0d859`](https://github.com/npm/cli/commit/5d0d8592cbf3b816d9fe44c36d390200ec15e87a) [#6706](https://github.com/npm/cli/pull/6706) `npm-registry-fetch@15.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v7.0.0-pre.0): `@npmcli/arborist@7.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/config-v7.0.1): `@npmcli/config@7.0.1`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmaccess-v8.0.0-pre.0): `libnpmaccess@8.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v6.0.0-pre.0): `libnpmdiff@6.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v7.0.0-pre.0): `libnpmexec@7.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.20): `libnpmfund@4.0.20`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v10.0.0-pre.0): `libnpmhook@10.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v6.0.0-pre.0): `libnpmorg@6.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v6.0.0-pre.0): `libnpmpack@6.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v9.0.0-pre.0): `libnpmpublish@9.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmsearch-v7.0.0-pre.0): `libnpmsearch@7.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmteam-v6.0.0-pre.0): `libnpmteam@6.0.0-pre.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmversion-v5.0.0-pre.0): `libnpmversion@5.0.0-pre.0`

## [10.0.0-pre.0](https://github.com/npm/cli/compare/v9.8.1...v10.0.0-pre.0) (2023-07-26)

### ⚠️ BREAKING CHANGES

* the "ci-name" config has been removed
* npm no longer treats missing scripts as a special case in workspace mode. Use `if-present` to ignore missing scripts.
* npm now supports node `^18.17.0 || >=20.5.0`

### Features

* [`b6cf113`](https://github.com/npm/cli/commit/b6cf113f5199d3c23f632dbe35d8020515c6c623) [#6674](https://github.com/npm/cli/pull/6674) set engines and prerelease for npm 10 (#6674) (@lukekarrys)

### Bug Fixes

* [`e0d3edd`](https://github.com/npm/cli/commit/e0d3edd9908f8303abb9941bdd2f6e9aa31bc9d7) [#6641](https://github.com/npm/cli/pull/6641) remove "ci-name" config (@wraithgar)
* [`0318f44`](https://github.com/npm/cli/commit/0318f442fe6c18275607a5d574c383f085484e6e) [#6641](https://github.com/npm/cli/pull/6641) remove implicit if-present logic from run-script workspaces (@wraithgar)

### Documentation

* [`e5338af`](https://github.com/npm/cli/commit/e5338af3ca5d1aea78348f4894481eef3b1f7354) [#6672](https://github.com/npm/cli/pull/6672) remove link to deprecated `npm set-script` command (#6672) (@emmanuel-ferdman)

### Dependencies

* [Workspace](https://github.com/npm/cli/releases/tag/config-v7.0.0): `@npmcli/config@7.0.0`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v8.0.0): `libnpmpublish@8.0.0`

## [9.8.1](https://github.com/npm/cli/compare/v9.8.0...v9.8.1) (2023-07-18)

### Bug Fixes
30 changes: 18 additions & 12 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
@@ -82,6 +82,7 @@ graph LR;
libnpmversion-->semver;
make-fetch-happen-->cacache;
make-fetch-happen-->minipass-fetch;
make-fetch-happen-->npmcli-agent["@npmcli/agent"];
make-fetch-happen-->ssri;
nopt-->abbrev;
normalize-package-data-->hosted-git-info;
@@ -192,7 +193,6 @@ graph LR;
npmcli-config-->read-package-json-fast;
npmcli-config-->semver;
npmcli-docs-->ignore-walk;
npmcli-docs-->npmcli-config["@npmcli/config"];
npmcli-docs-->npmcli-eslint-config["@npmcli/eslint-config"];
npmcli-docs-->npmcli-template-oss["@npmcli/template-oss"];
npmcli-docs-->semver;
@@ -260,8 +260,6 @@ graph LR;
```mermaid
graph LR;
agent-base-->debug;
agentkeepalive-->debug;
agentkeepalive-->depd;
agentkeepalive-->humanize-ms;
aggregate-error-->clean-stack;
aggregate-error-->indent-string;
@@ -415,7 +413,6 @@ graph LR;
libnpmpack-->spawk;
libnpmpack-->tap;
libnpmpublish-->ci-info;
libnpmpublish-->lodash.clonedeep;
libnpmpublish-->nock;
libnpmpublish-->normalize-package-data;
libnpmpublish-->npm-package-arg;
@@ -462,6 +459,7 @@ graph LR;
make-fetch-happen-->minipass-pipeline;
make-fetch-happen-->minipass;
make-fetch-happen-->negotiator;
make-fetch-happen-->npmcli-agent["@npmcli/agent"];
make-fetch-happen-->promise-retry;
make-fetch-happen-->socks-proxy-agent;
make-fetch-happen-->ssri;
@@ -567,7 +565,7 @@ graph LR;
npm-->remark-github;
npm-->remark;
npm-->semver;
npm-->sigstore;
npm-->sigstore-tuf["@sigstore/tuf"];
npm-->spawk;
npm-->ssri;
npm-->supports-color;
@@ -600,6 +598,10 @@ graph LR;
npm-registry-fetch-->minizlib;
npm-registry-fetch-->npm-package-arg;
npm-registry-fetch-->proc-log;
npmcli-agent-->http-proxy-agent;
npmcli-agent-->https-proxy-agent;
npmcli-agent-->lru-cache;
npmcli-agent-->socks-proxy-agent;
npmcli-arborist-->benchmark;
npmcli-arborist-->bin-links;
npmcli-arborist-->cacache;
@@ -658,7 +660,6 @@ graph LR;
npmcli-docs-->ignore-walk;
npmcli-docs-->isaacs-string-locale-compare["@isaacs/string-locale-compare"];
npmcli-docs-->jsdom;
npmcli-docs-->npmcli-config["@npmcli/config"];
npmcli-docs-->npmcli-eslint-config["@npmcli/eslint-config"];
npmcli-docs-->npmcli-template-oss["@npmcli/template-oss"];
npmcli-docs-->rehype-stringify;
@@ -768,9 +769,14 @@ graph LR;
rimraf-->glob;
semver-->lru-cache;
shebang-command-->shebang-regex;
sigstore-->make-fetch-happen;
sigstore-->sigstore-bundle["@sigstore/bundle"];
sigstore-->sigstore-protobuf-specs["@sigstore/protobuf-specs"];
sigstore-->sigstore-sign["@sigstore/sign"];
sigstore-->sigstore-tuf["@sigstore/tuf"];
sigstore-bundle-->sigstore-protobuf-specs["@sigstore/protobuf-specs"];
sigstore-sign-->make-fetch-happen;
sigstore-sign-->sigstore-bundle["@sigstore/bundle"];
sigstore-sign-->sigstore-protobuf-specs["@sigstore/protobuf-specs"];
sigstore-tuf-->sigstore-protobuf-specs["@sigstore/protobuf-specs"];
sigstore-tuf-->tuf-js;
socks-->ip;
@@ -827,8 +833,8 @@ packages higher up the chain.
- @npmcli/arborist
- @npmcli/metavuln-calculator
- pacote, libnpmhook, libnpmorg, libnpmsearch, libnpmteam, npm-profile
- @npmcli/docs, npm-registry-fetch, @npmcli/package-json, libnpmversion
- @npmcli/config, @npmcli/git, make-fetch-happen, init-package-json
- @npmcli/map-workspaces, @npmcli/installed-package-contents, cacache, npm-pick-manifest, @npmcli/run-script, read-package-json, promzard
- read-package-json-fast, nopt, @npmcli/mock-globals, @npmcli/fs, npm-bundled, unique-filename, npm-install-checks, npm-package-arg, npm-packlist, normalize-package-data, bin-links, npmlog, parse-conflict-json, read
- @npmcli/name-from-folder, json-parse-even-better-errors, npm-normalize-package-bin, ini, abbrev, proc-log, semver, @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, fs-minipass, ssri, unique-slug, @npmcli/promise-spawn, hosted-git-info, validate-npm-package-name, @npmcli/node-gyp, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, are-we-there-yet, gauge, minify-registry-metadata, @npmcli/disparity-colors, mute-stream, npm-audit-report, npm-user-validate
- npm-registry-fetch, @npmcli/package-json, libnpmversion
- @npmcli/git, make-fetch-happen, @npmcli/config, init-package-json
- npm-pick-manifest, @npmcli/installed-package-contents, @npmcli/run-script, cacache, read-package-json, @npmcli/map-workspaces, promzard
- @npmcli/docs, npm-package-arg, npm-install-checks, npm-bundled, read-package-json-fast, @npmcli/fs, unique-filename, npm-packlist, normalize-package-data, @npmcli/mock-globals, bin-links, nopt, npmlog, parse-conflict-json, read
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, hosted-git-info, proc-log, validate-npm-package-name, @npmcli/promise-spawn, npm-normalize-package-bin, @npmcli/node-gyp, json-parse-even-better-errors, fs-minipass, ssri, unique-slug, @npmcli/agent, minipass-fetch, @npmcli/name-from-folder, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, are-we-there-yet, gauge, minify-registry-metadata, ini, @npmcli/disparity-colors, mute-stream, npm-audit-report, npm-user-validate
1 change: 0 additions & 1 deletion docs/lib/content/commands/npm-pkg.md
Original file line number Diff line number Diff line change
@@ -182,5 +182,4 @@ npm pkg get name version --ws
* [npm install](/commands/npm-install)
* [npm init](/commands/npm-init)
* [npm config](/commands/npm-config)
* [npm set-script](/commands/npm-set-script)
* [workspaces](/using-npm/workspaces)
7 changes: 5 additions & 2 deletions docs/lib/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
@@ -93,8 +93,10 @@ It should look like this:

```json
{
"url" : "https://github.com/owner/project/issues",
"email" : "project@hostname.com"
"bugs": {
"url": "https://github.com/owner/project/issues",
"email": "project@hostname.com"
}
}
```

@@ -285,6 +287,7 @@ Certain files are always included, regardless of settings:
* `README`
* `LICENSE` / `LICENCE`
* The file in the "main" field
* The file(s) in the "bin" field

`README` & `LICENSE` can have any case and extension.

3 changes: 1 addition & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@
},
"devDependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/config": "^6.1.7",
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"front-matter": "^4.0.2",
@@ -33,7 +32,7 @@
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"semver": "^7.3.8",
"tap": "^16.3.4",
"tap": "^16.3.8",
"unified": "^10.1.2",
"yaml": "^2.2.1"
},
6 changes: 3 additions & 3 deletions lib/commands/audit.js
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ const localeCompare = require('@isaacs/string-locale-compare')('en')
const npa = require('npm-package-arg')
const pacote = require('pacote')
const pMap = require('p-map')
const { sigstore } = require('sigstore')
const tufClient = require('@sigstore/tuf')

const ArboristWorkspaceCmd = require('../arborist-cmd.js')
const auditError = require('../utils/audit-error.js')
@@ -38,8 +38,8 @@ class VerifySignatures {
throw new Error('found no installed dependencies to audit')
}

const tuf = await sigstore.tuf.client({
tufCachePath: this.opts.tufCache,
const tuf = await tufClient.initTUF({
cachePath: this.opts.tufCache,
retry: this.opts.retry,
timeout: this.opts.timeout,
})
16 changes: 1 addition & 15 deletions lib/commands/run-script.js
Original file line number Diff line number Diff line change
@@ -207,24 +207,10 @@ class RunScript extends BaseCommand {
log.error(err)
log.error(` in workspace: ${pkg._id || pkg.name}`)
log.error(` at location: ${workspacePath}`)

const scriptMissing = err.message.startsWith('Missing script')

// avoids exiting with error code in case there's scripts missing
// in some workspaces since other scripts might have succeeded
if (!scriptMissing) {
process.exitCode = 1
}

return scriptMissing
process.exitCode = 1
})
res.push(runResult)
}

// in case **all** tests are missing, then it should exit with error code
if (res.every(Boolean)) {
throw new Error(`Missing script: ${args[0]}`)
}
}

async listWorkspaces (args, filters) {
4 changes: 4 additions & 0 deletions lib/commands/search.js
Original file line number Diff line number Diff line change
@@ -68,6 +68,10 @@ class Search extends BaseCommand {
let anyOutput = false

class FilterStream extends Minipass {
constructor () {
super({ objectMode: true })
}

write (pkg) {
if (filter(pkg, opts.include, opts.exclude)) {
super.write(pkg)
2 changes: 1 addition & 1 deletion lib/utils/format-search-stream.js
Original file line number Diff line number Diff line change
@@ -143,7 +143,7 @@ function highlightSearchTerms (str, terms) {
function normalizePackage (data, opts) {
return {
name: ansiTrim(data.name),
description: ansiTrim(data.description),
description: ansiTrim(data.description ?? ''),
author: data.maintainers.map((m) => `=${ansiTrim(m.username)}`).join(' '),
keywords: Array.isArray(data.keywords)
? data.keywords.map(ansiTrim).join(' ')
12 changes: 9 additions & 3 deletions mock-globals/package.json
Original file line number Diff line number Diff line change
@@ -30,11 +30,17 @@
"lib/"
],
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
"node": "^16.14.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.18.0"
"version": "4.18.0",
"ciVersions": [
"16.14.0",
"16.x",
"18.0.0",
"18.x"
]
},
"tap": {
"branches": 89,
@@ -49,6 +55,6 @@
"devDependencies": {
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.18.0",
"tap": "^16.3.2"
"tap": "^16.3.8"
}
}
18 changes: 12 additions & 6 deletions mock-registry/package.json
Original file line number Diff line number Diff line change
@@ -30,11 +30,17 @@
"lib/"
],
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
"node": "^16.14.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.18.0"
"version": "4.18.0",
"ciVersions": [
"16.14.0",
"16.x",
"18.0.0",
"18.x"
]
},
"tap": {
"no-coverage": true,
@@ -48,9 +54,9 @@
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.18.0",
"json-stringify-safe": "^5.0.1",
"nock": "^13.3.0",
"npm-package-arg": "^10.1.0",
"pacote": "^15.0.8",
"tap": "^16.3.4"
"nock": "^13.3.3",
"npm-package-arg": "^11.0.0",
"pacote": "^17.0.4",
"tap": "^16.3.8"
}
}
27 changes: 23 additions & 4 deletions node_modules/.gitignore
201 changes: 201 additions & 0 deletions node_modules/@npmcli/agent/lib/agents.js
53 changes: 53 additions & 0 deletions node_modules/@npmcli/agent/lib/dns.js
65 changes: 65 additions & 0 deletions node_modules/@npmcli/agent/lib/errors.js
46 changes: 46 additions & 0 deletions node_modules/@npmcli/agent/lib/index.js
74 changes: 74 additions & 0 deletions node_modules/@npmcli/agent/lib/options.js
96 changes: 96 additions & 0 deletions node_modules/@npmcli/agent/lib/proxy.js
84 changes: 84 additions & 0 deletions node_modules/@npmcli/agent/lib/util.js
66 changes: 66 additions & 0 deletions node_modules/@npmcli/agent/node_modules/agent-base/dist/helpers.js
112 changes: 112 additions & 0 deletions node_modules/@npmcli/agent/node_modules/agent-base/dist/index.js
49 changes: 49 additions & 0 deletions node_modules/@npmcli/agent/node_modules/agent-base/package.json
147 changes: 147 additions & 0 deletions node_modules/@npmcli/agent/node_modules/http-proxy-agent/dist/index.js
142 changes: 142 additions & 0 deletions node_modules/@npmcli/agent/node_modules/socks-proxy-agent/package.json
64 changes: 64 additions & 0 deletions node_modules/@npmcli/agent/package.json
4 changes: 2 additions & 2 deletions node_modules/@npmcli/git/lib/revs.js
26 changes: 16 additions & 10 deletions node_modules/@npmcli/git/package.json
20 changes: 13 additions & 7 deletions node_modules/@npmcli/metavuln-calculator/package.json
22 changes: 14 additions & 8 deletions node_modules/@npmcli/package-json/package.json
18 changes: 12 additions & 6 deletions node_modules/@npmcli/promise-spawn/package.json
18 changes: 12 additions & 6 deletions node_modules/@npmcli/run-script/package.json
Loading