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/npm-registry-fetch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 22850977038cdbb089f28ac0cc56b93180c30754
Choose a base ref
...
head repository: npm/npm-registry-fetch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16893c3f2193416dadb66f52d0566fb4b367d1da
Choose a head ref
  • 13 commits
  • 14 files changed
  • 6 contributors

Commits on Apr 27, 2023

  1. deps: bump minipass from 4.2.7 to 5.0.0 (#177)

    * deps: bump minipass from 4.2.7 to 5.0.0
    
    Bumps [minipass](https://github.com/isaacs/minipass) from 4.2.7 to 5.0.0.
    - [Release notes](https://github.com/isaacs/minipass/releases)
    - [Changelog](https://github.com/isaacs/minipass/blob/main/CHANGELOG.md)
    - [Commits](isaacs/minipass@v4.2.7...v5.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: minipass
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * chore: fixup usage of minipass@5
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: nlf <quitlahok@gmail.com>
    dependabot[bot] and nlf authored Apr 27, 2023

    Partially verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    a2d5880 View commit details
  2. chore: bump @npmcli/template-oss from 4.13.0 to 4.14.1 (#182)

    * chore: bump @npmcli/template-oss from 4.13.0 to 4.14.1
    
    Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.13.0 to 4.14.1.
    - [Release notes](https://github.com/npm/template-oss/releases)
    - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
    - [Commits](npm/template-oss@v4.13.0...v4.14.1)
    
    ---
    updated-dependencies:
    - dependency-name: "@npmcli/template-oss"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * chore: postinstall for dependabot template-oss PR
    
    * chore: postinstall for dependabot template-oss PR
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: npm CLI robot <npm-cli+bot@github.com>
    Co-authored-by: nlf <quitlahok@gmail.com>
    3 people authored Apr 27, 2023

    Partially verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    975016e View commit details
  3. chore: release 14.0.5

    github-actions[bot] authored and nlf committed Apr 27, 2023

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    dbb86ff View commit details

Commits on May 31, 2023

  1. chore: bump @npmcli/template-oss from 4.14.1 to 4.15.1

    Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.14.1 to 4.15.1.
    - [Release notes](https://github.com/npm/template-oss/releases)
    - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
    - [Commits](npm/template-oss@v4.14.1...v4.15.1)
    
    ---
    updated-dependencies:
    - dependency-name: @npmcli/template-oss
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and lukekarrys committed May 31, 2023
    Copy the full SHA
    c267ac6 View commit details
  2. Copy the full SHA
    1136eae View commit details

Commits on Jul 13, 2023

  1. chore: bump @npmcli/template-oss from 4.15.1 to 4.17.0

    Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.15.1 to 4.17.0.
    - [Release notes](https://github.com/npm/template-oss/releases)
    - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
    - [Commits](npm/template-oss@v4.15.1...v4.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: @npmcli/template-oss
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and lukekarrys committed Jul 13, 2023
    Copy the full SHA
    e02d4ef View commit details
  2. Copy the full SHA
    7e4427e View commit details

Commits on Jul 19, 2023

  1. chore: bump @npmcli/template-oss from 4.17.0 to 4.18.0

    Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.17.0 to 4.18.0.
    - [Release notes](https://github.com/npm/template-oss/releases)
    - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
    - [Commits](npm/template-oss@v4.17.0...v4.18.0)
    
    ---
    updated-dependencies:
    - dependency-name: @npmcli/template-oss
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and lukekarrys committed Jul 19, 2023
    Copy the full SHA
    5d15eeb View commit details
  2. Copy the full SHA
    baaa886 View commit details

Commits on Jul 27, 2023

  1. fix: drop node14 support (#193)

    BREAKING CHANGE: support for node 14 has been removed
    wraithgar authored Jul 27, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b875c26 View commit details
  2. deps: bump minipass from 5.0.0 to 7.0.2

    Bumps [minipass](https://github.com/isaacs/minipass) from 5.0.0 to 7.0.2.
    - [Changelog](https://github.com/isaacs/minipass/blob/main/CHANGELOG.md)
    - [Commits](isaacs/minipass@v5.0.0...v7.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: minipass
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and lukekarrys committed Jul 27, 2023
    Copy the full SHA
    e154d49 View commit details

Commits on Jul 28, 2023

  1. deps: bump make-fetch-happen from 11.1.1 to 12.0.0 (#195)

    BREAKING CHANGE: the underlying fetch module now uses `@npmcli/agent`. Backwards compatibility should be fully implemented but due to the scope of this change it was made a breaking change out of an abundance of caution.
    
    Bumps [make-fetch-happen](https://github.com/npm/make-fetch-happen) from
    11.1.1 to 12.0.0.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/npm/make-fetch-happen/releases">make-fetch-happen's
    releases</a>.</em></p>
    <blockquote>
    <h2>v12.0.0</h2>
    <h2><a
    href="https://github.com/npm/make-fetch-happen/compare/v11.1.1...v12.0.0">12.0.0</a>
    (2023-07-27)</h2>
    <h3>⚠️ BREAKING CHANGES</h3>
    <ul>
    <li>support for node 14 has been removed</li>
    <li>this changes the underlying http agents to those provided by
    <code>@npmcli/agent</code>. Backwards compatibility should be fully
    implemented but due to the scope of this change it was made a breaking
    change out of an abundance of caution.</li>
    </ul>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/7c25367d95c5a0853b4b1e93c13456ac1cfc493d"><code>7c25367</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    move to <code>@​npmcli/agent</code> (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    </ul>
    <h3>Bug Fixes</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/3059b286be9884f0d2f83f5b57314e924c07c57d"><code>3059b28</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/259">#259</a>
    drop node14 support (<a
    href="https://redirect.github.com/npm/make-fetch-happen/issues/259">#259</a>)
    (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    </ul>
    <h3>Documentation</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/efd1e2f02a38e7f39fe291503546f1be92ad0fa7"><code>efd1e2f</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    update readme (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    </ul>
    <h3>Dependencies</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/5318d239280b951479877badd81868411d71f19f"><code>5318d23</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/253">#253</a>
    bump minipass from 5.0.0 to 7.0.2 (<a
    href="https://redirect.github.com/npm/make-fetch-happen/issues/253">#253</a>)</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/5493550d841cc2b182deae6717c010d9fb445002"><code>5493550</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove lru-cache</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/193b901f69adb8497f932beaeb60bff1fe0a94b5"><code>193b901</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove socks-proxy-agent</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/fc356228b1127e65f3c5c27f4e2b1dc26167298a"><code>fc35622</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove agentkeepalive</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/e78fcdf507938806dffcd4ce82c0f9373e589b29"><code>e78fcdf</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove https-proxy-agent</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/a4089a0946476d5ea2624130d0fcf6da5b99d730"><code>a4089a0</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove http-proxy-agent</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/92c32269646e531e86a0b1b7efe96596506ef563"><code>92c3226</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    add <code>@​npmcli/agent</code></li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/npm/make-fetch-happen/blob/main/CHANGELOG.md">make-fetch-happen's
    changelog</a>.</em></p>
    <blockquote>
    <h2><a
    href="https://github.com/npm/make-fetch-happen/compare/v11.1.1...v12.0.0">12.0.0</a>
    (2023-07-27)</h2>
    <h3>⚠️ BREAKING CHANGES</h3>
    <ul>
    <li>support for node 14 has been removed</li>
    <li>this changes the underlying http agents to those provided by
    <code>@npmcli/agent</code>. Backwards compatibility should be fully
    implemented but due to the scope of this change it was made a breaking
    change out of an abundance of caution.</li>
    </ul>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/7c25367d95c5a0853b4b1e93c13456ac1cfc493d"><code>7c25367</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    move to <code>@​npmcli/agent</code> (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    </ul>
    <h3>Bug Fixes</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/3059b286be9884f0d2f83f5b57314e924c07c57d"><code>3059b28</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/259">#259</a>
    drop node14 support (<a
    href="https://redirect.github.com/npm/make-fetch-happen/issues/259">#259</a>)
    (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    </ul>
    <h3>Documentation</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/efd1e2f02a38e7f39fe291503546f1be92ad0fa7"><code>efd1e2f</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    update readme (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    </ul>
    <h3>Dependencies</h3>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/5318d239280b951479877badd81868411d71f19f"><code>5318d23</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/253">#253</a>
    bump minipass from 5.0.0 to 7.0.2 (<a
    href="https://redirect.github.com/npm/make-fetch-happen/issues/253">#253</a>)</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/5493550d841cc2b182deae6717c010d9fb445002"><code>5493550</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove lru-cache</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/193b901f69adb8497f932beaeb60bff1fe0a94b5"><code>193b901</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove socks-proxy-agent</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/fc356228b1127e65f3c5c27f4e2b1dc26167298a"><code>fc35622</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove agentkeepalive</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/e78fcdf507938806dffcd4ce82c0f9373e589b29"><code>e78fcdf</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove https-proxy-agent</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/a4089a0946476d5ea2624130d0fcf6da5b99d730"><code>a4089a0</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    remove http-proxy-agent</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/92c32269646e531e86a0b1b7efe96596506ef563"><code>92c3226</code></a>
    <a
    href="https://redirect.github.com/npm/make-fetch-happen/pull/255">#255</a>
    add <code>@​npmcli/agent</code></li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/bb3a5f55e78e4b0ef61a95756b484379a6bcaf7c"><code>bb3a5f5</code></a>
    chore: release 12.0.0</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/5318d239280b951479877badd81868411d71f19f"><code>5318d23</code></a>
    deps: bump minipass from 5.0.0 to 7.0.2 (<a
    href="https://redirect.github.com/npm/make-fetch-happen/issues/253">#253</a>)</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/3059b286be9884f0d2f83f5b57314e924c07c57d"><code>3059b28</code></a>
    fix: drop node14 support (<a
    href="https://redirect.github.com/npm/make-fetch-happen/issues/259">#259</a>)</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/096e2b8fc769247599a34fdc974e1670da3cd693"><code>096e2b8</code></a>
    chore: bump <code>@​npmcli/template-oss</code> from 4.15.1 to 4.18.0 (<a
    href="https://redirect.github.com/npm/make-fetch-happen/issues/256">#256</a>)</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/efd1e2f02a38e7f39fe291503546f1be92ad0fa7"><code>efd1e2f</code></a>
    docs: update readme</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/7c25367d95c5a0853b4b1e93c13456ac1cfc493d"><code>7c25367</code></a>
    feat: move to <code>@​npmcli/agent</code></li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/5493550d841cc2b182deae6717c010d9fb445002"><code>5493550</code></a>
    deps: remove lru-cache</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/193b901f69adb8497f932beaeb60bff1fe0a94b5"><code>193b901</code></a>
    deps: remove socks-proxy-agent</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/fc356228b1127e65f3c5c27f4e2b1dc26167298a"><code>fc35622</code></a>
    deps: remove agentkeepalive</li>
    <li><a
    href="https://github.com/npm/make-fetch-happen/commit/e78fcdf507938806dffcd4ce82c0f9373e589b29"><code>e78fcdf</code></a>
    deps: remove https-proxy-agent</li>
    <li>Additional commits viewable in <a
    href="https://github.com/npm/make-fetch-happen/compare/v11.1.1...v12.0.0">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=make-fetch-happen&package-manager=npm_and_yarn&previous-version=11.1.1&new-version=12.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 28, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a97564f View commit details
  2. chore: release 15.0.0

    github-actions[bot] authored and wraithgar committed Jul 28, 2023

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    16893c3 View commit details
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ updates:
directory: /
schedule:
interval: daily
target-branch: "main"
allow:
- dependency-type: direct
versioning-strategy: increase-if-necessary
29 changes: 27 additions & 2 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
---
_extends: '.github:npm-cli/settings.yml'
# This file is automatically added by @npmcli/template-oss. Do not edit.

repository:
allow_merge_commit: false
allow_rebase_merge: true
allow_squash_merge: true
squash_merge_commit_title: PR_TITLE
squash_merge_commit_message: PR_BODY
delete_branch_on_merge: true
enable_automated_security_fixes: true
enable_vulnerability_alerts: true

branches:
- name: main
protection:
required_status_checks: null
enforce_admins: true
block_creations: true
required_pull_request_reviews:
required_approving_review_count: 1
require_code_owner_reviews: true
require_last_push_approval: true
dismiss_stale_reviews: true
restrictions:
apps: []
users: []
teams: [ "cli-team" ]
10 changes: 4 additions & 6 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ jobs:
return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: inputs.check-sha
with:
@@ -93,7 +93,7 @@ jobs:
- name: Post Lint
run: npm run postlint --ignore-scripts
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
@@ -117,8 +117,6 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.x
- 18.0.0
@@ -162,7 +160,7 @@ jobs:
return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: inputs.check-sha
with:
@@ -208,7 +206,7 @@ jobs:
- name: Test
run: npm test --ignore-scripts
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: steps.check.outputs.check_id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@ on:
push:
branches:
- main
- latest
schedule:
# "At 09:00 UTC (02:00 PT) on Monday" https://crontab.guru/#0_9_*_*_1
- cron: "0 9 * * 1"
@@ -60,8 +59,6 @@ jobs:
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
- 16.13.0
- 16.x
- 18.0.0
2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -6,11 +6,9 @@ on:
push:
branches:
- main
- latest
pull_request:
branches:
- main
- latest
schedule:
# "At 10:00 UTC (03:00 PT) on Monday" https://crontab.guru/#0_10_*_*_1
- cron: "0 10 * * 1"
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -44,5 +44,7 @@ jobs:
npx --offline commitlint -V --from 'origin/${{ github.base_ref }}' --to ${{ github.event.pull_request.head.sha }}
- name: Run Commitlint on PR Title
if: steps.commit.outcome == 'failure'
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo '${{ github.event.pull_request.title }}' | npx --offline commitlint -V
echo "$PR_TITLE" | npx --offline commitlint -V
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -11,8 +11,6 @@ on:
push:
branches:
- main
- latest
- release/v*

permissions:
contents: write
@@ -78,7 +76,7 @@ jobs:
let commentId = comments.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id
body += `Release workflow run: ${workflow.html_url}\n\n#### Force CI to Update This Release\n\n`
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`main\`. `
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`${REF_NAME}\`. `
body += `To force CI to update this PR, run this command:\n\n`
body += `\`\`\`\ngh workflow run release.yml -r ${REF_NAME} -R ${owner}/${repo} -f release-pr=${issue_number}\n\`\`\``
@@ -124,7 +122,7 @@ jobs:
return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: steps.release.outputs.pr-sha
with:
@@ -215,7 +213,7 @@ jobs:
return { summary }
- name: Create Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
id: check
if: steps.commit.outputs.sha
with:
@@ -225,7 +223,7 @@ jobs:
sha: ${{ steps.commit.outputs.sha }}
output: ${{ steps.check-output.outputs.result }}
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: needs.release.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
@@ -263,7 +261,7 @@ jobs:
fi
echo "result=$result" >> $GITHUB_OUTPUT
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.3.1
uses: LouisBrunner/checks-action@v1.6.0
if: needs.update.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
@@ -322,6 +320,7 @@ jobs:
shell: bash
permissions:
deployments: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -338,7 +337,7 @@ jobs:
- name: Publish
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
run: npm publish
run: npm publish --provenance

post-release-integration:
needs: [ release, release-integration ]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@
!/bin/
!/CHANGELOG*
!/CODE_OF_CONDUCT.md
!/CONTRIBUTING.md
!/docs/
!/lib/
!/LICENSE*
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "14.0.4"
".": "15.0.0"
}
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## [15.0.0](https://github.com/npm/npm-registry-fetch/compare/v14.0.5...v15.0.0) (2023-07-28)

### ⚠️ BREAKING CHANGES

* the underlying fetch module now uses `@npmcli/agent`. Backwards compatibility should be fully implemented but due to the scope of this change it was made a breaking change out of an abundance of caution.
* support for node 14 has been removed

### Bug Fixes

* [`b875c26`](https://github.com/npm/npm-registry-fetch/commit/b875c269f35da1a878c3dc353d622a07c3257c7c) [#193](https://github.com/npm/npm-registry-fetch/pull/193) drop node14 support (#193) (@wraithgar)

### Dependencies

* [`a97564f`](https://github.com/npm/npm-registry-fetch/commit/a97564fac4fc1f8ff76b325906583c8d4d207eb3) [#195](https://github.com/npm/npm-registry-fetch/pull/195) bump make-fetch-happen from 11.1.1 to 12.0.0 (#195)
* [`e154d49`](https://github.com/npm/npm-registry-fetch/commit/e154d4918aa16495d01bdd7232221d2ae87d3c3d) [#191](https://github.com/npm/npm-registry-fetch/pull/191) bump minipass from 5.0.0 to 7.0.2

## [14.0.5](https://github.com/npm/npm-registry-fetch/compare/v14.0.4...v14.0.5) (2023-04-27)

### Dependencies

* [`a2d5880`](https://github.com/npm/npm-registry-fetch/commit/a2d5880ba09bfdf1ec67aed0bca1a68e5db9786c) [#177](https://github.com/npm/npm-registry-fetch/pull/177) bump minipass from 4.2.7 to 5.0.0 (#177)

## [14.0.4](https://github.com/npm/npm-registry-fetch/compare/v14.0.3...v14.0.4) (2023-04-13)

### Bug Fixes
50 changes: 50 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->

# Contributing

## Code of Conduct

All interactions in the **npm** organization on GitHub are considered to be covered by our standard [Code of Conduct](https://docs.npmjs.com/policies/conduct).

## Reporting Bugs

Before submitting a new bug report please search for an existing or similar report.

Use one of our existing issue templates if you believe you've come across a unique problem.

Duplicate issues, or issues that don't use one of our templates may get closed without a response.

## Pull Request Conventions

### Commits

We use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).

When opening a pull request please be sure that either the pull request title, or each commit in the pull request, has one of the following prefixes:

- `feat`: For when introducing a new feature. The result will be a new semver minor version of the package when it is next published.
- `fix`: For bug fixes. The result will be a new semver patch version of the package when it is next published.
- `docs`: For documentation updates. The result will be a new semver patch version of the package when it is next published.
- `chore`: For changes that do not affect the published module. Often these are changes to tests. The result will be *no* change to the version of the package when it is next published (as the commit does not affect the published version).

### Test Coverage

Pull requests made against this repo will run `npm test` automatically. Please make sure tests pass locally before submitting a PR.

Every new feature or bug fix should come with a corresponding test or tests that validate the solutions. Testing also reports on code coverage and will fail if code coverage drops.

### Linting

Linting is also done automatically once tests pass. `npm run lintfix` will fix most linting errors automatically.

Please make sure linting passes before submitting a PR.

## What _not_ to contribute?

### Dependencies

It should be noted that our team does not accept third-party dependency updates/PRs. If you submit a PR trying to update our dependencies we will close it with or without a reference to these contribution guidelines.

### Tools/Automation

Our core team is responsible for the maintenance of the tooling/automation in this project and we ask contributors to not make changes to these when contributing (e.g. `.github/*`, `.eslintrc.json`, `.licensee.json`). Most of those files also have a header at the top to remind folks they are automatically generated. Pull requests that alter these will not be accepted.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ const npa = require('npm-package-arg')
const qs = require('querystring')
const url = require('url')
const zlib = require('minizlib')
const Minipass = require('minipass')
const { Minipass } = require('minipass')

const defaultOpts = require('./default-opts.js')

18 changes: 12 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-registry-fetch",
"version": "14.0.4",
"version": "15.0.0",
"description": "Fetch-based http client for use with npm registry APIs",
"main": "lib",
"files": [
@@ -31,8 +31,8 @@
"author": "GitHub Inc.",
"license": "ISC",
"dependencies": {
"make-fetch-happen": "^11.0.0",
"minipass": "^4.0.0",
"make-fetch-happen": "^12.0.0",
"minipass": "^7.0.2",
"minipass-fetch": "^3.0.0",
"minipass-json-stream": "^1.0.1",
"minizlib": "^2.1.2",
@@ -41,7 +41,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.13.0",
"@npmcli/template-oss": "4.18.0",
"cacache": "^17.0.0",
"nock": "^13.2.4",
"require-inject": "^1.4.4",
@@ -57,11 +57,17 @@
]
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
"node": "^16.13.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.13.0",
"ciVersions": [
"16.13.0",
"16.x",
"18.0.0",
"18.x"
],
"version": "4.18.0",
"publish": "true"
}
}
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const Minipass = require('minipass')
const { Minipass } = require('minipass')
const ssri = require('ssri')
const t = require('tap')
const zlib = require('zlib')