Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 18, 2021

Bumps formdata-node from 3.7.0 to 4.0.0.

Release notes

Sourced from formdata-node's releases.

4.0.0

Remove

  • [BREAKING] Remove builtin multipart/form-data encoder and all related methods. You need check if your HTTP client supports spec-compliant FormData in Node.js and it don't, then you can suggest them to implement multipart/form-data encoding or use form-data-encoder package;
  • [BREAKING] Remove support for Buffer and ReadStream (the one you might create with fs.createReadStream), you can use Blob, fileFromPath and fileFromPathSync to replace them. Other async data sources are still supported - see documentation for more information;
  • Remove polyfill entry points;
  • Remove unused helpers and reduce overall size of the project.

Update

  • [BREAKING] Set minimal required Node.js version to 12.20;
  • [BREAKING] Separate fileFromPath functions from main entry point:
- import {fileFromPath, fileFromPathSync} from "formdata-node"
+ import {fileFromPath, fileFromPathSync} from "formdata-node/file-from-path"

This subpath is NOT available in browsers!

  • [BREAKING] Expose isFile from file-from-path subpath;
- import {isFileLike} from "formdata-node"
+ import {isFile} from "formdata-node/file-from-path"
  • [BREAKING] Rename FormDataFieldValue type to FormDataEntryValue (TypeScript specific);
  • Fix message for the error thrown when filename argument passed with non-File value to set() or append();
  • Improved documentation.

Closes #42 All changes: octet-stream/form-data@v3.7.0...v4.0.0

Commits
  • 14674e9 Bump version: 3.7.0 -> 4.0.0
  • 14b6d94 Update documentation for isFile, fileFromPath and fileFromPathSync. Expose is...
  • c61cc46 Set minimal required Node.js version to 12.20
  • 21db697 Separate fileFromPath functions using conditional exports. They now available...
  • 57eedc2 Fix for 3rd example.
  • adbb76d Update project description.
  • e32dd6c Improvements for documentation.
  • c9b1884 Rename FormDataFieldValue type to FormDataEntryValue.
  • d1d9458 Rename content property to entries.
  • bf95ecf Remove polyfill.js and polyfill.mjs
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [formdata-node](https://github.com/octet-stream/form-data) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/octet-stream/form-data/releases)
- [Commits](octet-stream/form-data@v3.7.0...v4.0.0)

---
updated-dependencies:
- dependency-name: formdata-node
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 18, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 23, 2021

Superseded by #8.

@dependabot dependabot bot closed this Aug 23, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/formdata-node-4.0.0 branch August 23, 2021 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants