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.9.2
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
    Copy the full SHA
    4689ae4 View commit details

Commits on Jul 25, 2023

  1. 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
Loading