🚨 [security] [js] Update node-fetch: 3.0.0 → 3.2.10 (minor) #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ node-fetch (3.0.0 → 3.2.10) · Repo · Changelog
Security Advisories 🚨
🚨 node-fetch Inefficient Regular Expression Complexity
🚨 node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 68 commits:
fix: ReDoS referrer (#1611)
fix(Headers): don't forward secure headers on protocol change (#1599)
chore: remove triple-slash directives from typings (#1285) (#1287)
fix spelling (#1602)
fix: possibly flaky test (#1523)
fix: always warn Request.data (#1550)
fix: undefined reference to response.body when aborted (#1578)
fix: use space in accept-encoding values (#1572)
docs: fix formdata code example (#1562)
docs(readme): response.clone() is not async (#1560)
Fix leaking listeners (#1295) (#1474)
fix: don't uppercase unknown methods (#1542)
Fix Code of Conduct link in Readme. (#1532)
docs: Fix link markup to Options definition (#1525)
fix: handle bom in text and json (#1482)
fix: add missing formdata export to types (#1518)
fix: cancel request example import (#1513)
Replace changelog with valid url (#1506)
types: support `agent: false` (#1502)
chore: fix typo in credential error message (#1496)
docs(readme): fix typo (#1489)
docs: remove the changelog (#1464)
core: move support and feature to discussion (#1471)
docs: update formdata example (#1465)
feat: export Blob, File and FormData + utilities (#1463)
ci: semantic-release (#1270)
test: Modernize and convert some test in `main.js` to async/await (#1456)
test: Update major busboy version (#1457)
Handle zero-length OK deflate responses (master) (#965)
Simplify check in isDomainOrSubdomain (#1455)
3.1.1 release (#1451)
Don't change relative location header on manual redirect (#1105)
fix(Headers): don't forward secure headers to 3th party (#1449)
Create SECURITY.md (#1445)
core: Warn when using data (#1421)
fix: use more node: protocol imports (#1428)
ci: fix main branch (#1429)
core: Don't use global buffer (#1422)
Chore: Fix logical operator priority (regression) to disallow GET/HEAD with non-empty body (#1369)
update readme for TS @type/node-fetch (#1405)
core: Don't use buffer to make a blob (#1402)
fix(Redirect): Better handle wrong redirect header in a response (#1387)
fix: handle errors from the request body stream (#1392)
fix(http.request): Cast URL to string before sending it to NodeJS core (#1378)
docs: Fix typo around sending a file (#1381)
update fetch-blob (#1371)
release minor change (3.1.0) (#1364)
docs: Update code examples (#1365)
template: Make PR template more task oriented (#1224)
feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData (#1314)
docs: Improve clarity of "Loading and configuring" (#1323)
chore: Correct stuff in README.md (#1361)
Add typing for Response.redirect(url, status) (#1169)
Add support for Referrer and Referrer Policy (#1057)
Bump mocha from 8.4.0 to 9.1.3 (#1339)
Bump data-uri-to-buffer from 3.0.1 to 4.0.0 (#1319)
refactor: use node: prefix for imports (#1346)
chore: fix lint (#1348)
fix(types): declare buffer() deprecated (#1345)
docs: switch url to URL
Update README.md to fix HTTPResponseError (#1135)
Update response.js (#1162)
Update CHANGELOG.md (#1292)
Add default Host request header to README.md file (#1316)
fix(Body.body): Normalize `Body.body` into a `node:stream` (#924)
Fix octocat image link (#1281)
fix: Pass url string to http.request (#1268)
fix(Body): Discurage form-data and buffer() (#1212)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands