create-npm-package
create-npm-package copied to clipboard
chore(deps): bump node-fetch from 1.7.3 to 2.6.1 in /packages/create-npm-package
Bumps node-fetch from 1.7.3 to 2.6.1.
Release notes
Sourced from node-fetch's releases.
v2.6.1
This is an important security release. It is strongly recommended to update as soon as possible.
See CHANGELOG for details.
v2.6.0
See CHANGELOG.
v2.5.0
See CHANGELOG.
v2.4.1
See CHANGELOG.
v2.4.0
See CHANGELOG.
v2.3.0
See CHANGELOG.
v2.2.1
See CHANGELOG.
Version 2.1.2
- Fix: allow
Bodymethods to work on ArrayBuffer-backedBody` objects- Fix: reject promise returned by
Bodymethods when the accumulatedBufferexceeds the maximum size- Fix: support custom
Hostheaders with any casing- Fix: support importing
fetch()from TypeScript inbrowser.js- Fix: handle the redirect response body properly
See CHANGELOG.
Version 2.1.1
See CHANGELOG.
Fix packaging errors in version 2.1.0.
Version 2.1.0
See CHANGELOG:
- Enhance: allow using ArrayBuffer as the
bodyof afetch()orRequest- Fix: store HTTP headers of a
Headersobject internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive manner- Fix: silently ignore invalid HTTP headers
- Fix: handle HTTP redirect responses without a
Locationheader just like non-redirect responses- Fix: include bodies when following a redirection when appropriate
Version 2.0.0
This is a major release. See upgrade guide on how to upgrade from v1.x, and the changelog for all changes.
v2.0.0-alpha.9
Changelog
Sourced from node-fetch's changelog.
v2.6.1
This is an important security release. It is strongly recommended to update as soon as possible.
- Fix: honor the
sizeoption after following a redirect.v2.6.0
- Enhance:
options.agent, it now accepts a function that returns custom http(s).Agent instance based on current URL, see readme for more information.- Fix: incorrect
Content-Lengthwas returned for stream body in 2.5.0 release; note thatnode-fetchdoesn't calculate content length for stream body.- Fix:
Response.urlshould return empty string instead ofnullby default.v2.5.0
- Enhance:
Responseobject now includesredirectedproperty.- Enhance:
fetch()now accepts third-partyBlobimplementation as body.- Other: disable
package-lock.jsongeneration as we never commit them.- Other: dev dependency update.
- Other: readme update.
v2.4.1
- Fix:
Blobimport rule for node < 10, asReadableisn't a named export.v2.4.0
- Enhance: added
Brotlicompression support (using node's zlib).- Enhance: updated
Blobimplementation per spec.- Fix: set content type automatically for
URLSearchParams.- Fix:
Headersnow reject empty header names.- Fix: test cases, as node 12+ no longer accepts invalid header response.
v2.3.0
- Enhance: added
AbortSignalsupport, with README example.- Enhance: handle invalid
Locationheader during redirect by rejecting them explicitly withFetchError.- Fix: update
browser.jsto support react-native environment, whereselfisn't available globally.v2.2.1
- Fix:
compressflag shouldn't overwrite existingAccept-Encodingheader.- Fix: multiple
importrules, wherePassThroughetc. doesn't have a named export when using node <10 and--experimental-modulesflag.- Other: Better README.
v2.2.0
- Enhance: Support all
ArrayBufferview types- Enhance: Support Web Workers
- Enhance: Support Node.js'
--experimental-modulesmode; deprecate.es.jsfile- Fix: Add
__esModuleproperty to the exports object
Commits
b5e2e41update version number2358a6cHonor thesizeoption after following a redirect and revert data uri support8c197f8docs: Fix typos and grammatical errors in README.md (#686)1e99050fix: Change error message thrown with redirect mode set to error (#653)244e6f6docs: Show backers in README6a5d192fix: Properly parse meta tag when parameters are reversed (#682)47a24a0chore: Add opencollective badge7b13662chore: Add funding link5535c2efix: Check for global.fetch before binding it (#674)1d5778adocs: Add Discord badge- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by akepinski, a new releaser for node-fetch since your current version.
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.