Skip to content

fix(deps): update dependency extract-files to v13#773

Merged
ardatan merged 6 commits intomainfrom
renovate/extract-files-13.x
Mar 5, 2025
Merged

fix(deps): update dependency extract-files to v13#773
ardatan merged 6 commits intomainfrom
renovate/extract-files-13.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
extract-files ^11.0.0 -> ^13.0.0 age adoption passing confidence
@types/extract-files (source) 8.1.3 -> 13.0.1 age adoption passing confidence

Release Notes

jaydenseric/extract-files (extract-files)

v13.0.0

Compare Source

Major
  • Updated Node.js support to ^14.17.0 || ^16.0.0 || >= 18.0.0.
  • Updated dev dependencies, some of which require newer Node.js versions than previously supported.
  • Use the node: URL scheme for Node.js builtin module imports in tests.
Patch
  • Updated dependencies.
  • Simplified dev dependencies and config for ESLint.
  • Updated GitHub Actions CI config:
    • Run tests with Node.js v14, v16, v18.
    • Updated actions/checkout to v3.
    • Updated actions/setup-node to v3.
  • Updated jsconfig.json:
    • Set compilerOptions.maxNodeModuleJsDepth to 10.
    • Set compilerOptions.module to nodenext.
  • Removed the now redundant not IE > 0 from the Browserslist query.
  • Replaced TypeScript Record types with index signatures.
  • Tweaked formatting of a JSDoc comment.
  • Revamped the readme:
    • Removed the badges.
    • Removed the detailed API docs. The JSDoc comments and TypeScript types in the exported modules are now the primary documentation.
    • Added Browserslist links.
    • Added information about Deno, import maps, TypeScript config, and optimal JavaScript module design.

v12.0.0

Compare Source

Major
  • Updated Node.js support to ^12.22.0 || ^14.17.0 || >= 16.0.0.

  • Added a new is-plain-obj dependency that is ESM.

  • Updated dev dependencies, some of which require newer Node.js versions than previously supported.

  • Public modules are now individually listed in the package files and exports fields.

  • Removed ./package from the package exports field; the full package.json filename must be used in a require path.

  • Removed the package main index module; deep imports must be used.

  • Shortened public module deep import paths, removing the /public/.

  • The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require.

  • Implemented TypeScript types via JSDoc and @deno-types comments, fixing #​7.

  • Changed the function extractFiles parameters. The previously third isExtractableFile parameter has been renamed isExtractable, is now the second parameter, and no longer defaults to the function isExtractableFile to avoid a redundant import when a custom function is specified.

  • The function extractFiles now does basic runtime argument type validation.

  • The function extractFiles now also deep clones “plain” objects that aren’t Object instances (e.g. Object.create(null)).

  • Removed out of the box React Native support. The class ReactNativeFile is no longer exported, or matched by the function isExtractableFile.

    This class was bloating non React Native environments with an extra module, increasing bundle sizes when building and adding an extra step to ESM loading waterfalls in browsers.

    It’s the responsibility of Facebook to adhere to web standards and implement spec-complaint File, Glob, and FormData globals in the React Native environment.

    In the meantime, React Native projects can manually implement a class ReactNativeFile and match it with a custom function isReactNativeFile for use with the function extractFiles.

Patch
  • Also run GitHub Actions CI with Node.js v17.
  • Simplified package scripts.
  • Check TypeScript types via a new package types script.
  • Removed the jsdoc-md dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.
  • Reorganized the test file structure.
  • Test the bundle sizes for public modules individually.
  • Use a new assertBundleSize function to assert module bundle size in tests:
    • Failure message contains details about the bundle size and how much the limit was exceeded.
    • Errors when the surplus is greater than 25% of the limit, suggesting the limit should be reduced.
    • Resolves the minified bundle and its gzipped size for debugging in tests.
  • Fixed an extractFiles function test bug.
  • Added an extractFiles function test clarifying that object properties with Symbol keys don’t get cloned.
  • Configured Prettier option singleQuote to the default, false.
  • Updated the package description.
  • Documentation tweaks.
  • Added a license.md MIT License file, fixing #​19 via #​20.
  • Amended the changelog entry for v10.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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Mar 5, 2025
@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-tools/batch-delegate 9.0.32-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/batch-execute 9.0.13-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/delegate 10.2.14-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/executor-graphql-ws 2.0.4-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/executor-http 1.2.9-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/federation 3.1.5-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-runtime 0.11.3-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-hive/gateway 1.11.0-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-hive/logger-winston 1.0.2-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-hive/nestjs 1.0.0-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-hive/plugin-aws-sigv4 1.0.0-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-mesh/hmac-upstream-signature 1.2.22-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-opentelemetry 1.3.45-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 1.3.33-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-runtime 1.5.0-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/stitch 9.4.19-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/stitching-directives 3.1.29-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http 0.6.35-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http-callback 0.5.22-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-ws 1.0.5-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎
@graphql-tools/wrap 10.0.32-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e npm ↗︎ unpkg ↗︎

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for Linux-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for macOS-ARM64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for Linux-ARM64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for macOS-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Bun Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:1.11.0-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e-bun

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Node Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:1.11.0-alpha-3de98da08d7b7f227aea8d4dca02c0ec1286650e

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 5, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for Windows-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@ardatan ardatan force-pushed the renovate/extract-files-13.x branch from 2f9a6a6 to 7040fcc Compare March 5, 2025 15:53
@ardatan ardatan merged commit d949143 into main Mar 5, 2025
37 checks passed
@ardatan ardatan deleted the renovate/extract-files-13.x branch March 5, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants