Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump form-data-encoder from 1.7.2 to 2.0.1 #2550

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 23, 2022

Bumps form-data-encoder from 1.7.2 to 2.0.1.

Release notes

Sourced from form-data-encoder's releases.

2.0.1

Update

  • Adjust minimal required Node.js version to 14.17

All changes: octet-stream/form-data-encoder@v2.0.0...v2.0.1

2.0.0

Breaking

  • Drop CommonJS support. The package is now ESM only;
  • Remove Encoder from exports;
  • Remove deprecated isFormDataLike helper. Use isFormData instead.

Update

  • Minimal required Node.js version is 14.18;
  • Headers in FormDataEncoder.headers property can be accessed in case-insensitive manner. TypeScript users still have correct TS typings, but only for original and lowercased keys (for example Content-Type and content-type);
  • FormData instance will be preserved in array inside of FormDataEncoder instance (previously it held a reference to given FormData instance);
  • Deprecate isFileLike helper. Use isFile instead;
  • Deprecate FormDataEncoder.getContentLength() method. The content-length is now static value, so this method makes no sense. Use FormDataEncoder.contentLength or FormDataEncoder.headers["content-length"] instead.

Add

  • Expose FormDataEncoderHeaders type.

All changes: octet-stream/form-data-encoder@v1.7.2...v2.0.0

Commits
  • 87655b8 Bump version: 2.0.0 -> 2.0.1
  • 7fee5a0 Adjust minimal Node.js version to 14.17
  • 4975e93 Remove unnecessary type casting
  • 9f477ef Remove unnecessary tsconfig for AVA
  • f376d3a Re-enable postinstall script
  • 48ff598 Bump version: 1.7.2 -> 2.0.0
  • c265a11 Add a note about lookbehind in RegExp
  • 212e7be Use named exports for consistency across the project.
  • 139a6cc Deduplicate readonly props declarations in constructor
  • b2e6a94 Fixes for documentation
  • 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 23, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch 8 times, most recently from 05ce29f to 1dabfdc Compare May 31, 2022 23:06
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch 9 times, most recently from 2120bc6 to 0b48cb6 Compare June 7, 2022 23:17
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch 7 times, most recently from b65ee58 to 84d90ba Compare June 16, 2022 23:07
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch 5 times, most recently from 2ee3a2a to 2a778ec Compare June 27, 2022 23:26
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch 9 times, most recently from 812b531 to fcfa969 Compare July 19, 2022 23:07
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch from fcfa969 to 0abee70 Compare July 25, 2022 23:07
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch 5 times, most recently from b3ee951 to 0a296e3 Compare August 3, 2022 19:07
Bumps [form-data-encoder](https://github.com/octet-stream/form-data-encoder) from 1.7.2 to 2.0.1.
- [Release notes](https://github.com/octet-stream/form-data-encoder/releases)
- [Commits](octet-stream/form-data-encoder@v1.7.2...v2.0.1)

---
updated-dependencies:
- dependency-name: form-data-encoder
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch from 0a296e3 to 64e4dcc Compare August 3, 2022 19:24
@char0n
Copy link
Member

char0n commented Aug 5, 2022

lquixada/cross-fetch#111

@char0n char0n self-requested a review August 5, 2022 07:28
@char0n char0n self-assigned this Aug 5, 2022
@char0n
Copy link
Member

char0n commented Aug 5, 2022

@octet-stream any suggestions how to incorporate this version into swagger-js without converting swagger-js to type=module?

@octet-stream
Copy link

Hi! Tanks for asking. There's nothing much changed between 1.7.2 and 2.0.1, so you can keep using 1.x until you convert your package to ESM. I will keep support for this, for sometime if that would be necessary and if npm gives me ability to do so.

@octet-stream
Copy link

Alternatively, you can import module using dynamic import syntax, if that is applicable.

@char0n
Copy link
Member

char0n commented Aug 5, 2022

Hi! Tanks for asking. There's nothing much changed between 1.7.2 and 2.0.1, so you can keep using 1.x until you convert your package to ESM. I will keep support for this, for sometime if that would be necessary and if npm gives me ability to do so.

All right, thanks, that's what I thought. There is not much we can do except to convert to ESM. We'll stick with 1.* release branch for some time, and then we'll see.

Alternatively, you can import module using dynamic import syntax, if that is applicable.

Unfortunately it does not. It would introduce synchronicity to synchronous code and part of the library would need to be rewritten.

Thanks for a quick answer!

@char0n
Copy link
Member

char0n commented Aug 8, 2022

Closing for now.

@char0n char0n closed this Aug 8, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 8, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/form-data-encoder-2.0.1 branch August 8, 2022 08:49
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.

2 participants