node-modules / urllib

Request HTTP(s) URLs in a complex world.
MIT License
725 stars 114 forks source link

fix(deps): update dependency form-data-encoder to v4 #502

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
form-data-encoder ^1.7.2 -> ^4.0.0 age adoption passing confidence

Release Notes

octet-stream/form-data-encoder (form-data-encoder) ### [`v4.0.2`](https://togithub.com/octet-stream/form-data-encoder/blob/HEAD/CHANGELOG.md#402) [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v4.0.1...v4.0.2) ##### Patch Changes - [`0cc9cd4`](https://togithub.com/octet-stream/form-data-encoder/commit/0cc9cd4c4ce0dd9cf8d468494be7904577309433) Thanks [@​octet-stream](https://togithub.com/octet-stream)! - Remove changelog from distro ### [`v4.0.1`](https://togithub.com/octet-stream/form-data-encoder/blob/HEAD/CHANGELOG.md#401) [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v4.0.0...v4.0.1) ##### Patch Changes - [`247fb3e`](https://togithub.com/octet-stream/form-data-encoder/commit/247fb3e913e61a15c599e3988747fc993927ca32) Thanks [@​octet-stream](https://togithub.com/octet-stream)! - Remove removeComments from tsconfig.json ### [`v4.0.0`](https://togithub.com/octet-stream/form-data-encoder/blob/HEAD/CHANGELOG.md#400) [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v3.0.1...v4.0.0) ##### Major Changes - [`7f953c7`](https://togithub.com/octet-stream/form-data-encoder/commit/7f953c77cb5f1abe8d26318716b929d2c04b32f3) Thanks [@​octet-stream](https://togithub.com/octet-stream)! - Bring back support for CJS via tsup. This package can be used with both ES and CJS modules - [`5a4cd63`](https://togithub.com/octet-stream/form-data-encoder/commit/5a4cd633e7e68e6d1ba646efba3a914458a431ff) Thanks [@​octet-stream](https://togithub.com/octet-stream)! - Drop Node.js 16 support. Minimal required version now is Node.js 18 - [`7f953c7`](https://togithub.com/octet-stream/form-data-encoder/commit/7f953c77cb5f1abe8d26318716b929d2c04b32f3) Thanks [@​octet-stream](https://togithub.com/octet-stream)! - Make FileLike and FormDataLike types compatible with File and FormData ### [`v3.0.1`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v3.0.1): 3.0.1 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v3.0.0...v3.0.1) ##### Update - Fix `FormDataLike` types compatibility with undici ([#​19](https://togithub.com/octet-stream/form-data-encoder/issues/19)); - Set `compilerOptions.module` value to `node16` to meet TS requirements; *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v3.0.0...v3.0.1 ### [`v3.0.0`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v3.0.0): 3.0.0 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v2.1.4...v3.0.0) ##### Remove - Remove deprecated `isFileLike()` utility, use `isFile()` instead; - Remove deprecated `FormDataEncoder.getContentLength()` method. ##### Update - **BREAKING:** Drop Node `14.x` support. Since 3.x the minimal required version is `16.5.x`; - Implement internal `chunk` utility to split value into chunks, if the value size is greater than 65536 bytes. This applied both to Files and string values, because `FormDataEnocder` supports `AsyncIterable` returned by `File.stream()`; - Expose `package.json` in `esports` field of `package.json`. *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v2.1.4...v3.0.0 ### [`v2.1.4`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v2.1.4): 2.1.4 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v2.1.3...v2.1.4) ##### Update - Fix for browser compatibility: Add a fallback for `ReadableStream` that does not implement `Symbol.asyncIterator` method; - Improve documentation for `FormDataEncoder` constructor. *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v2.1.3...v2.1.4 ### [`v2.1.3`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v2.1.3): 2.1.3 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v2.1.2...v2.1.3) ##### Update - Replace `LowercaseObjectKeys` TS utility with two interfaces: `RawHeaders` and `FormDataEncoderHeaders`. This should resolve [#​8](https://togithub.com/octet-stream/form-data-encoder/issues/8); *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v2.1.2...v2.1.3 ### [`v2.1.2`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v2.1.2): 2.1.2 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v2.1.1...v2.1.2) ##### Update - Fix exports order ([#​11](https://togithub.com/octet-stream/form-data-encoder/issues/11)) *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v2.1.1...v2.1.2 ### [`v2.1.1`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v2.1.1): 2.1.1 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v2.1.0...v2.1.1) ##### Update - Fix typings exports in `package.json` *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v2.1.0...v2.1.1 ### [`v2.1.0`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v2.1.0): 2.1.0 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v2.0.1...v2.1.0) ##### Update - Fix a bug with `NaN` returned as `Content-Length` value when `FormDataEncoder` discovers entries without known length. *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v2.0.1...v2.1.0 ### [`v2.0.1`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v2.0.1): 2.0.1 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v2.0.0...v2.0.1) ##### Update - Adjust minimal required Node.js version to `14.17` *** All changes: https://github.com/octet-stream/form-data-encoder/compare/v2.0.0...v2.0.1 ### [`v2.0.0`](https://togithub.com/octet-stream/form-data-encoder/releases/tag/v2.0.0): 2.0.0 [Compare Source](https://togithub.com/octet-stream/form-data-encoder/compare/v1.9.0...v2.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: https://github.com/octet-stream/form-data-encoder/compare/v1.7.2...v2.0.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

socket-security[bot] commented 4 months ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/form-data-encoder@4.0.2 None 0 59.7 kB octetstream

View full report↗︎

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.07%. Comparing base (49039b6) to head (7b900e8). Report is 2 commits behind head on master.

:exclamation: Current head 7b900e8 differs from pull request most recent head 1950b4a. Consider uploading reports for the commit 1950b4a to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #502 +/- ## ========================================== - Coverage 98.81% 98.07% -0.75% ========================================== Files 10 10 Lines 1608 1610 +2 Branches 269 256 -13 ========================================== - Hits 1589 1579 -10 - Misses 19 31 +12 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

coderabbitai[bot] commented 2 months ago

[!IMPORTANT]

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
renovate[bot] commented 2 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.