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/make-fetch-happen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 23f5c73ba2878f58030d5bbe962892800cea47c3
Choose a base ref
...
head repository: npm/make-fetch-happen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bb3a5f55e78e4b0ef61a95756b484379a6bcaf7c
Choose a head ref
  • 17 commits
  • 21 files changed
  • 6 contributors

Commits on Apr 27, 2023

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

    * 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 for 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
    Copy the full SHA
    b04e3c2 View commit details
  2. chore: bump @npmcli/template-oss from 4.13.0 to 4.14.1 (#231)

    * 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
    Copy the full SHA
    e399ecc View commit details
  3. chore: release 11.1.1

    github-actions[bot] authored and nlf committed Apr 27, 2023
    Copy the full SHA
    eb4a838 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
    9493980 View commit details
  2. Copy the full SHA
    ca26378 View commit details

Commits on Jul 27, 2023

  1. deps: add @npmcli/agent

    wraithgar committed Jul 27, 2023
    Copy the full SHA
    92c3226 View commit details
  2. Copy the full SHA
    a4089a0 View commit details
  3. Copy the full SHA
    e78fcdf View commit details
  4. deps: remove agentkeepalive

    wraithgar committed Jul 27, 2023
    Copy the full SHA
    fc35622 View commit details
  5. Copy the full SHA
    193b901 View commit details
  6. deps: remove lru-cache

    wraithgar committed Jul 27, 2023
    Copy the full SHA
    5493550 View commit details
  7. feat: move to @npmcli/agent

    BREAKING CHANGE: this changes the underlying http agents to those
    provided by `@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.
    wraithgar committed Jul 27, 2023
    Copy the full SHA
    7c25367 View commit details
  8. docs: update readme

    wraithgar committed Jul 27, 2023
    Copy the full SHA
    efd1e2f View commit details
  9. chore: bump @npmcli/template-oss from 4.15.1 to 4.18.0 (#256)

    Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from
    4.15.1 to 4.18.0.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/npm/template-oss/releases"><code>@​npmcli/template-oss</code>'s
    releases</a>.</em></p>
    <blockquote>
    <h2>v4.18.0</h2>
    <h2><a
    href="https://github.com/npm/template-oss/compare/v4.17.0...v4.18.0">4.18.0</a>
    (2023-07-18)</h2>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/f04a76d48e373fb03249973983e45472b26a9691"><code>f04a76d</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/330">#330</a>
    use git remote for branch related config (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h3>Bug Fixes</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/dd9aadf8d96c31066c84905cad07ac89a68ceead"><code>dd9aadf</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/337">#337</a>
    properly quote PR_TITLE (<a
    href="https://redirect.github.com/npm/template-oss/issues/337">#337</a>)
    (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/4662ec31afc77f0e5fdac13d0bf14e23e0e9cb43"><code>4662ec3</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/331">#331</a>
    block protected branch creations (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h2>v4.17.0</h2>
    <h2><a
    href="https://github.com/npm/template-oss/compare/v4.16.0...v4.17.0">4.17.0</a>
    (2023-07-07)</h2>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/4624d9c17e30b4783ef6bfc28a72603cc076f0e7"><code>4624d9c</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/323">#323</a>
    add overwrite false property to added files (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h3>Bug Fixes</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/710c25e404df0f5be2ef1a487704e7235db3c348"><code>710c25e</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/327">#327</a>
    do not add dependabot files when config is falsy (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/449066e1917b5ff113aba396b12986f5db5d25da"><code>449066e</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/323">#323</a>
    determine parser based on target filename (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/7300da491ec1e596c5ad82434f7975a5e5a70f23"><code>7300da4</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/325">#325</a>
    apply settings to all requested branches (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h3>Dependencies</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/2a5cd532ce26b4fe66a6cb5a8b195c77e2520929"><code>2a5cd53</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/324">#324</a>
    bump <code>@​npmcli/package-json</code> from 3.1.1 to 4.0.0</li>
    </ul>
    <h2>v4.16.0</h2>
    <h2><a
    href="https://github.com/npm/template-oss/compare/v4.15.1...v4.16.0">4.16.0</a>
    (2023-07-05)</h2>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/6e02268f12cc65da2180527a6a18f5d737bab6c3"><code>6e02268</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    allow adding latest to other ci versions (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/b83a19a98ec5db85b96e645916dcb65dbc64fbbd"><code>b83a19a</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    add config option to disable eslint (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/9606606f0163d56b785620881d5b01985f9218e3"><code>9606606</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    add config option to not update npm (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/73d7bf174d34c5d51b87f937daf52b94c9e803c4"><code>73d7bf1</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    add release/v branches to all branch CI (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/npm/template-oss/blob/main/CHANGELOG.md"><code>@​npmcli/template-oss</code>'s
    changelog</a>.</em></p>
    <blockquote>
    <h2><a
    href="https://github.com/npm/template-oss/compare/v4.17.0...v4.18.0">4.18.0</a>
    (2023-07-18)</h2>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/f04a76d48e373fb03249973983e45472b26a9691"><code>f04a76d</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/330">#330</a>
    use git remote for branch related config (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h3>Bug Fixes</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/dd9aadf8d96c31066c84905cad07ac89a68ceead"><code>dd9aadf</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/337">#337</a>
    properly quote PR_TITLE (<a
    href="https://redirect.github.com/npm/template-oss/issues/337">#337</a>)
    (<a
    href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/4662ec31afc77f0e5fdac13d0bf14e23e0e9cb43"><code>4662ec3</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/331">#331</a>
    block protected branch creations (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h2><a
    href="https://github.com/npm/template-oss/compare/v4.16.0...v4.17.0">4.17.0</a>
    (2023-07-07)</h2>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/4624d9c17e30b4783ef6bfc28a72603cc076f0e7"><code>4624d9c</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/323">#323</a>
    add overwrite false property to added files (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h3>Bug Fixes</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/710c25e404df0f5be2ef1a487704e7235db3c348"><code>710c25e</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/327">#327</a>
    do not add dependabot files when config is falsy (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/449066e1917b5ff113aba396b12986f5db5d25da"><code>449066e</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/323">#323</a>
    determine parser based on target filename (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/7300da491ec1e596c5ad82434f7975a5e5a70f23"><code>7300da4</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/325">#325</a>
    apply settings to all requested branches (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    <h3>Dependencies</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/2a5cd532ce26b4fe66a6cb5a8b195c77e2520929"><code>2a5cd53</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/324">#324</a>
    bump <code>@​npmcli/package-json</code> from 3.1.1 to 4.0.0</li>
    </ul>
    <h2><a
    href="https://github.com/npm/template-oss/compare/v4.15.1...v4.16.0">4.16.0</a>
    (2023-07-05)</h2>
    <h3>Features</h3>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/6e02268f12cc65da2180527a6a18f5d737bab6c3"><code>6e02268</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    allow adding latest to other ci versions (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/b83a19a98ec5db85b96e645916dcb65dbc64fbbd"><code>b83a19a</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    add config option to disable eslint (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/9606606f0163d56b785620881d5b01985f9218e3"><code>9606606</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    add config option to not update npm (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/73d7bf174d34c5d51b87f937daf52b94c9e803c4"><code>73d7bf1</code></a>
    <a href="https://redirect.github.com/npm/template-oss/pull/321">#321</a>
    add release/v branches to all branch CI (<a
    href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/npm/template-oss/commit/d67bd699b759c766ddf5fd5aecd5c024f38dcfad"><code>d67bd69</code></a>
    chore: release 4.18.0</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/dd9aadf8d96c31066c84905cad07ac89a68ceead"><code>dd9aadf</code></a>
    fix: properly quote PR_TITLE (<a
    href="https://redirect.github.com/npm/template-oss/issues/337">#337</a>)</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/f04a76d48e373fb03249973983e45472b26a9691"><code>f04a76d</code></a>
    feat: use git remote for branch related config</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/4662ec31afc77f0e5fdac13d0bf14e23e0e9cb43"><code>4662ec3</code></a>
    fix: block protected branch creations</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/102e1ae9d62646e888c71efe6d86dc491e5ca7ca"><code>102e1ae</code></a>
    chore: release 4.17.0</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/710c25e404df0f5be2ef1a487704e7235db3c348"><code>710c25e</code></a>
    fix: do not add dependabot files when config is falsy</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/4624d9c17e30b4783ef6bfc28a72603cc076f0e7"><code>4624d9c</code></a>
    feat: add overwrite false property to added files</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/449066e1917b5ff113aba396b12986f5db5d25da"><code>449066e</code></a>
    fix: determine parser based on target filename</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/7300da491ec1e596c5ad82434f7975a5e5a70f23"><code>7300da4</code></a>
    fix: apply settings to all requested branches</li>
    <li><a
    href="https://github.com/npm/template-oss/commit/2a5cd532ce26b4fe66a6cb5a8b195c77e2520929"><code>2a5cd53</code></a>
    deps: bump <code>@​npmcli/package-json</code> from 3.1.1 to 4.0.0</li>
    <li>Additional commits viewable in <a
    href="https://github.com/npm/template-oss/compare/v4.15.1...v4.18.0">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@npmcli/template-oss&package-manager=npm_and_yarn&previous-version=4.15.1&new-version=4.18.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>
    Co-authored-by: Luke Karrys <luke@lukekarrys.com>
    dependabot[bot] and lukekarrys authored Jul 27, 2023
    Copy the full SHA
    096e2b8 View commit details
  10. fix: drop node14 support (#259)

    BREAKING CHANGE: support for node 14 has been removed
    wraithgar authored Jul 27, 2023
    Copy the full SHA
    3059b28 View commit details
  11. deps: bump minipass from 5.0.0 to 7.0.2 (#253)

    Bumps [minipass](https://github.com/isaacs/minipass) from 5.0.0 to
    7.0.2.
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/isaacs/minipass/blob/main/CHANGELOG.md">minipass's
    changelog</a>.</em></p>
    <blockquote>
    <h1>chernge lerg</h1>
    <h2>7.0</h2>
    <p>This is a big one, please read carefully before upgrading from
    prior versions, especially if you extend Minipass in a subclass.</p>
    <h3>Breaking Changes</h3>
    <ul>
    <li>Rewritten in TypeScript as hybrid esm/cjs build, so a lot of
    types changed in subtle ways, and several behaviors got
    stricter.</li>
    <li>Minipass now inherits from <code>EventEmitter</code> rather than
    <code>Stream</code>.
    Nothing from the <code>Stream</code> class was ever used by Minipass,
    but
    it inherited from <code>Stream</code> to pass checks in some stream
    libraries that checked <code>instanceof Stream</code>. Unfortunately,
    the
    type difference in the <code>pipe()</code> method signature made it
    challenging to continue doing in TypeScript.</li>
    <li>It is no longer possible to change the type of data emitted
    after a Minipass stream is instantiated, as this would thwart
    TypeScript's static checks. As a consequence:
    <ul>
    <li>The <code>setEncoding</code> method and the <code>encoding</code>
    setter are
    deprecated. Encoding may <em>only</em> be set in the constructor
    options object.</li>
    <li><code>objectMode</code> is no longer inferred by writing something
    other
    than a string or Buffer. It may <em>only</em> be set in the
    constructor options object.</li>
    </ul>
    </li>
    <li>If all existing data consumers are removed, via
    <code>stream.unpipe(dest)</code>, <code>stream.removeListener('data',
    handler)</code>,
    <code>stream.removeAllListeners('data')</code>, and/or
    <code>stream.removeAllListeners()</code>, then the data will stop
    flowing.
    Note that it is still possible to explicitly discard a stream's
    data by calling <code>stream.resume()</code> in the absence of any
    consumers.</li>
    </ul>
    <h3>Features and Fixes</h3>
    <ul>
    <li>Removed a very subtle performance issue that made objectMode
    Minipass streams slower in some cases than node core streams.
    Minipass is now faster than node core streams for all data
    types.</li>
    <li>The array returned by <code>stream.collect()</code> for objectMode
    streams
    will have a <code>dataLength</code> property equal to 0, rather than
    undefined.</li>
    <li><code>isStream</code> is moved from a static member on the Minipass
    class
    to a named export.</li>
    <li><code>isWritable()</code> and <code>isReadable()</code> methods
    added.</li>
    </ul>
    <h2>6.0</h2>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/isaacs/minipass/commit/b220db67d918c9717911ac5a05d427d2da6074d3"><code>b220db6</code></a>
    7.0.2</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/a7ba1e31c6eeab5afc2fc97acf7ad9afdece4079"><code>a7ba1e3</code></a>
    declare return type for concat(), promise(), collect()</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/6baaade6726d1cac656426f89f15de631a56b3d1"><code>6baaade</code></a>
    7.0.1</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/9fc5be045a4c76e2b9aa99f0cb3d12d50a1e2fff"><code>9fc5be0</code></a>
    pipe() should always return the dest, even if destroyed</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/d63abffc8734d679177d2382ac1841caa82349f3"><code>d63abff</code></a>
    7.0.0</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/838c8554b1871e239cbb7debfd6c5bdea053ff2d"><code>838c855</code></a>
    Rewrite in TypeScript</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/98531132ad1d2ce38429002171d7fe45ee977396"><code>9853113</code></a>
    fix benchmarks, test against more mp versions</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/15ab07809dab7a278f9c79027cf25a3a150b770a"><code>15ab078</code></a>
    6.0.2</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/0c7b958a800186e63fd87d27e80cc7d93fe60e9e"><code>0c7b958</code></a>
    allow symbol as an event type</li>
    <li><a
    href="https://github.com/isaacs/minipass/commit/6125ceeddb721eb3f69749d4e71953adb48ad37d"><code>6125cee</code></a>
    6.0.1</li>
    <li>Additional commits viewable in <a
    href="https://github.com/isaacs/minipass/compare/v5.0.0...v7.0.2">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=minipass&package-manager=npm_and_yarn&previous-version=5.0.0&new-version=7.0.2)](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 27, 2023
    Copy the full SHA
    5318d23 View commit details
  12. chore: release 12.0.0

    github-actions[bot] authored and wraithgar committed Jul 27, 2023
    Copy the full SHA
    bb3a5f5 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 @@
{
".": "11.1.0"
".": "12.0.0"
}
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## [12.0.0](https://github.com/npm/make-fetch-happen/compare/v11.1.1...v12.0.0) (2023-07-27)

### ⚠️ BREAKING CHANGES

* support for node 14 has been removed
* this changes the underlying http agents to those provided by `@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.

### Features

* [`7c25367`](https://github.com/npm/make-fetch-happen/commit/7c25367d95c5a0853b4b1e93c13456ac1cfc493d) [#255](https://github.com/npm/make-fetch-happen/pull/255) move to @npmcli/agent (@wraithgar)

### Bug Fixes

* [`3059b28`](https://github.com/npm/make-fetch-happen/commit/3059b286be9884f0d2f83f5b57314e924c07c57d) [#259](https://github.com/npm/make-fetch-happen/pull/259) drop node14 support (#259) (@wraithgar)

### Documentation

* [`efd1e2f`](https://github.com/npm/make-fetch-happen/commit/efd1e2f02a38e7f39fe291503546f1be92ad0fa7) [#255](https://github.com/npm/make-fetch-happen/pull/255) update readme (@wraithgar)

### Dependencies

* [`5318d23`](https://github.com/npm/make-fetch-happen/commit/5318d239280b951479877badd81868411d71f19f) [#253](https://github.com/npm/make-fetch-happen/pull/253) bump minipass from 5.0.0 to 7.0.2 (#253)
* [`5493550`](https://github.com/npm/make-fetch-happen/commit/5493550d841cc2b182deae6717c010d9fb445002) [#255](https://github.com/npm/make-fetch-happen/pull/255) remove lru-cache
* [`193b901`](https://github.com/npm/make-fetch-happen/commit/193b901f69adb8497f932beaeb60bff1fe0a94b5) [#255](https://github.com/npm/make-fetch-happen/pull/255) remove socks-proxy-agent
* [`fc35622`](https://github.com/npm/make-fetch-happen/commit/fc356228b1127e65f3c5c27f4e2b1dc26167298a) [#255](https://github.com/npm/make-fetch-happen/pull/255) remove agentkeepalive
* [`e78fcdf`](https://github.com/npm/make-fetch-happen/commit/e78fcdf507938806dffcd4ce82c0f9373e589b29) [#255](https://github.com/npm/make-fetch-happen/pull/255) remove https-proxy-agent
* [`a4089a0`](https://github.com/npm/make-fetch-happen/commit/a4089a0946476d5ea2624130d0fcf6da5b99d730) [#255](https://github.com/npm/make-fetch-happen/pull/255) remove http-proxy-agent
* [`92c3226`](https://github.com/npm/make-fetch-happen/commit/92c32269646e531e86a0b1b7efe96596506ef563) [#255](https://github.com/npm/make-fetch-happen/pull/255) add @npmcli/agent

## [11.1.1](https://github.com/npm/make-fetch-happen/compare/v11.1.0...v11.1.1) (2023-04-27)

### Dependencies

* [`b04e3c2`](https://github.com/npm/make-fetch-happen/commit/b04e3c279e8dc6b090f3e2bfbd854fd0af3e9195) [#220](https://github.com/npm/make-fetch-happen/pull/220) bump minipass from 4.2.7 to 5.0.0 (#220)

## [11.1.0](https://github.com/npm/make-fetch-happen/compare/v11.0.3...v11.1.0) (2023-04-13)

### Features
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.
33 changes: 3 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -62,26 +62,12 @@ fetch('https://registry.npmjs.org/make-fetch-happen').then(res => {
* Quite fast, really
* Automatic HTTP-semantics-aware request retries
* Cache-fallback automatic "offline mode"
* Proxy support (http, https, socks, socks4, socks5)
* Built-in request caching following full HTTP caching rules (`Cache-Control`, `ETag`, `304`s, cache fallback on error, etc).
* Node.js Stream support
* Transparent gzip and deflate support
* [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) support
* Literally punches nazis
* Built in DNS cache
* (PENDING) Range request caching and resuming

### Contributing

The make-fetch-happen team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The [Contributor Guide](https://github.com/npm/cli/blob/latest/CONTRIBUTING.md) outlines the process for community interaction and contribution. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.

All participants and maintainers in this project are expected to follow the [npm Code of Conduct](https://www.npmjs.com/policies/conduct), and just generally be excellent to each other.

Please refer to the [Changelog](CHANGELOG.md) for project history details, too.

Happy hacking!

### API
* Proxy support (http, https, socks, socks4, socks5. via [`@npmcli/agent`](https://npm.im/@npmcli/agent))
* DNS cache (via ([`@npmcli/agent`](https://npm.im/@npmcli/agent))

#### <a name="fetch"></a> `> fetch(uriOrRequest, [opts]) -> Promise<Response>`

@@ -126,11 +112,6 @@ The following options for `minipass-fetch` are used as-is:
These other options are modified or augmented by make-fetch-happen:

* headers - Default `User-Agent` set to make-fetch happen. `Connection` is set to `keep-alive` or `close` automatically depending on `opts.agent`.
* agent
* If agent is null, an http or https Agent will be automatically used. By default, these will be `http.globalAgent` and `https.globalAgent`.
* If [`opts.proxy`](#opts-proxy) is provided and `opts.agent` is null, the agent will be set to an appropriate proxy-handling agent.
* If `opts.agent` is an object, it will be used as the request-pooling agent argument for this request.
* If `opts.agent` is `false`, it will be passed as-is to the underlying request library. This causes a new Agent to be spawned for every request.

For more details, see [the documentation for `minipass-fetch` itself](https://github.com/npm/minipass-fetch#options).

@@ -150,6 +131,7 @@ make-fetch-happen augments the `minipass-fetch` API with additional features ava
* [`opts.onRetry`](#opts-onretry) - a function called whenever a retry is attempted
* [`opts.integrity`](#opts-integrity) - [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) metadata.
* [`opts.dns`](#opts-dns) - DNS cache options
* [`opts.agent`](#opts-agent) - http/https/proxy/socks agent options. See [`@npmcli/agent`](https://npm.im/@npmcli/agent) for more info.

#### <a name="opts-cache-path"></a> `> opts.cachePath`

@@ -380,12 +362,3 @@ fetch('https://malicious-registry.org/make-fetch-happen/-/make-fetch-happen-1.0.
integrity: 'sha1-o47j7zAYnedYFn1dF/fR9OV3z8Q='
}) // Error: EINTEGRITY
```

#### <a name="opts-dns"></a> `> opts.dns`

An object that provides options for the built-in DNS cache. The following options are available:

Note: Due to limitations in the current proxy agent implementation, users of proxies will not benefit from the DNS cache.

* `ttl`: Milliseconds to keep cached DNS responses for. Defaults to `5 * 60 * 1000` (5 minutes)
* `lookup`: A custom lookup function, see [`dns.lookup()`](https://nodejs.org/api/dns.html#dnslookuphostname-options-callback) for implementation details. Defaults to `require('dns').lookup`.
Loading