chore(deps): update dependency extract-files to v13 #390
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.
This PR contains the following updates:
^11.0.0
->^13.0.0
Release Notes
jaydenseric/extract-files (extract-files)
v13.0.0
Compare Source
Major
^14.17.0 || ^16.0.0 || >= 18.0.0
.node:
URL scheme for Node.js builtin module imports in tests.Patch
actions/checkout
to v3.actions/setup-node
to v3.jsconfig.json
:compilerOptions.maxNodeModuleJsDepth
to10
.compilerOptions.module
tonodenext
.not IE > 0
from the Browserslist query.Record
types with index signatures.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
andexports
fields.Removed
./package
from the packageexports
field; the fullpackage.json
filename must be used in arequire
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 viaimport
but notrequire
.Implemented TypeScript types via JSDoc and
@deno-types
comments, fixing #7.Changed the function
extractFiles
parameters. The previously thirdisExtractableFile
parameter has been renamedisExtractable
, is now the second parameter, and no longer defaults to the functionisExtractableFile
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’tObject
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 functionisExtractableFile
.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
, andFormData
globals in the React Native environment.In the meantime, React Native projects can manually implement a class
ReactNativeFile
and match it with a custom functionisReactNativeFile
for use with the functionextractFiles
.Patch
types
script.jsdoc-md
dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.assertBundleSize
function to assert module bundle size in tests:extractFiles
function test bug.extractFiles
function test clarifying that object properties withSymbol
keys don’t get cloned.singleQuote
to the default,false
.license.md
MIT License file, fixing #19 via #20.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 was generated by Mend Renovate. View the repository job log.