react-native-template
react-native-template copied to clipboard
chore(deps): update dependency metro-react-native-babel-preset to ^0.77.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| metro-react-native-babel-preset | ^0.73.9 -> ^0.77.0 |
Release Notes
facebook/metro (metro-react-native-babel-preset)
v0.77.0
- [Breaking]: Increase minimum Node version from 16 to 18. (https://github.com/facebook/metro/commit/ebaf27ab49eb8b9394107bd7a796b24bc342c483 by @arushikesarwani94)
- [Breaking]: Use Terser's default for comments. (https://github.com/facebook/metro/pull/972 by @tido64)
- [Breaking]: Remove
metro-minify-uglifyfrommetrodependencies. (https://github.com/facebook/metro/commit/7a8fcd5ecf5ccbe760c22be7fa924f9cb7c2fe1e by @robhogan) - [Fix]: Fixed a bug in the handling of path separators in
blockListon Windows. (https://github.com/facebook/metro/commit/2eecfc767095f32bbea35a62c2dc85dcc9c4f839 by @motiz88) - [Fix]: Protect against unsafe merging of
blockListpatterns with inconsistent regex flags. (https://github.com/facebook/metro/commit/c80904b64b8fa5d152da176ce668b77fa3e0ba25 by @motiz88) - [Fix]: Incorrect worker resolution when multiple
metroversions are installed. (https://github.com/facebook/metro/commit/6d46078e74ae9a43aa90bed46dbd6610e2696cd0 by @robhogan) - [Performance]: Improve resolution performance for files outside the project root. (https://github.com/facebook/metro/commit/dc3cddf21803eb3addb084627e4d536318e3da0a by @robhogan)
- [Performance]: Improved startup speed via a new file map cache format. (https://github.com/facebook/metro/commit/166477e9154b3aec4d3081a759cc40f8e3d53c4a by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]:
metro-file-map: Normalize root-relative paths for cross-platform cache compatibility. (https://github.com/facebook/metro/commit/d282a0818b840f1d5b0a2086051ec2c7febf1986 by @motiz88) - [Experimental]: Fix crash when
require.contextis used on a directory with infinite path expansions. (https://github.com/facebook/metro/commit/14d652f411fd055c950f820d2de3087e2a791acd by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.7...v0.77.0
v0.76.9
This is a hotfix release on the 0.76.x branch.
- [Fix]: Move
metro-minify-terserdependency to fix resolution under isolated node_modules (pnpm, etc).(https://github.com/facebook/metro/pull/1199 by @robhogan) - [Fix]:
inline-plugin: Don't replace__DEV__in invalid Babel AST locations. (https://github.com/facebook/metro/pull/1195 by @kitten) - [Fix]:
constant-folding-plugin: Don't fold optional function calls (foo.?()). (https://github.com/facebook/metro/pull/1178 by @Gamote) - [Fix]: Incorrect worker resolution when multiple
metroversions are installed. (https://github.com/facebook/metro/commit/6d46078e74ae9a43aa90bed46dbd6610e2696cd0 by @robhogan) - [Fix]: Fix "unexpected null" crash when handling a batch of file changes. (https://github.com/facebook/metro/pull/1083 by @robhogan)
- [Fix]: Fix Fast Refresh edge case where removing an async dependency could incorrectly remove modules from the graph. (https://github.com/facebook/metro/commit/19d328459f910aa222b4599b4b28765fde82aa3d by @robhogan)
- [Fix]: Fix sourceMapUrl when building bundles for windows/macOS (https://github.com/facebook/metro/pull/763 by @acoates-ms)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: When enabled, the
"exports"field is now considered for Haste packages (which could include local monorepo packages) (https://github.com/facebook/metro/pull/1136 by @kraenhansen) - [Experimental]: Fix
sourceMappingUrlin HMR payloads when usingunstable_serverRoot(https://github.com/facebook/metro/pull/1137 by @EvanBacon)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.8...v0.76.9
v0.76.8
v0.76.7
- [Feature]:
metro-babel-transformerandmetro-react-native-babel-transformerwill returnmetadatafrom Babel transform results. (42fdbc2by @robhogan) - [Feature]: Expose
TerminalReporterfor Reporter implementations. (417e6f2by @colinta) - [Feature]: Allow client-side device identifiers in inspector proxy. (
c6a94bcby @byCedric) - [Fix]: EPERM file watching errors on Windows. (
4b22efbby @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.6...v0.76.7
v0.76.6
- [Types] Update config and
Servertypes to use broader types fromconnectpackage (https://github.com/facebook/metro/commit/d20d7c80217ba2319379472fec0e345f58c569c6 by @huntie) - [Types] Fix TypeScript name for
createConnectMiddlewareexport (https://github.com/facebook/metro/commit/06682f8775bb4447583fa1944126b3701da540bc by @huntie) - [Deprecation] Deprecate
server.enhanceMiddlewareoption (https://github.com/facebook/metro/commit/22e85fde85ec454792a1b70eba4253747a2587a9 by @huntie)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Add
unstable_extraMiddlewareoption torunServerAPI (https://github.com/facebook/metro/commit/d0d554381f119bb80ab09dbd6a1d310b54737e52 by @huntie)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.5...v0.76.6
v0.76.5
- [Feature] Support URLs for both bundling and symbolication requests using
//&instead of?as a query string delimiter (https://github.com/facebook/metro/commit/bd357c8206205f70051a7a85a645a9595c650002 by @robhogan) - [Fix] Fix crash on a module added+modified+removed between updates (https://github.com/facebook/metro/commit/5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by @robhogan)
- [Fix] Fix missed modification on module removed+modified+added between updates (https://github.com/facebook/metro/commit/5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by @robhogan)
- [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore (https://github.com/facebook/metro/commit/bce6b27ef8ac7c41e0a3e990eb71747cc0e6f606 by @robhogan)
- [Performance] Prune unmodified modules from delta updates before sending them to the client (https://github.com/facebook/metro/commit/e24c6aefc87842c560c613dcefa8c4ffdc3b91b6 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Fix
babel/runtimeissue when using Package Exports (https://github.com/facebook/metro/commit/905d773454cdff9d7a25403f549b40ba54558792 by @huntie)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.4...v0.76.5
v0.76.4
- [Feature]: Support the
x_google_ignoreListsource map extension. (https://github.com/facebook/metro/pull/973,82bd64aby @motiz88) - [Feature]: Support bundling KTX files as image assets. (https://github.com/facebook/metro/pull/975 by @rshest)
- [Fix]: Fix crash on a module added+modified+removed between updates. (
5d7305eby @robhogan) - [Fix]: Fix missed modification on module removed+modified+added between updates. (
5d7305eby @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.3...v0.76.4
v0.76.3
- [Feature]: Support custom
__loadBundleAsyncimplementations in the defaultasyncRequirefunction. See the lazy bundling RFC for more details. (https://github.com/facebook/metro/commit/ac3adced45a6ca32286dda9e9470eab6eb4218bf, https://github.com/facebook/metro/commit/f07ce5c455a76b63d47c5ccec9611fc8cd66cd0e by @motiz88) - [Feature]: Support
lazyparameter in bundle requests. See the lazy bundling RFC for more details. (https://github.com/facebook/metro/commit/4ef14f9a2f6c0b566df86f9caebb5a98bb7ba52a by @motiz88) - [Feature]: Preserve comments in unminified builds, while continuing to strip all comments from minified builds. (https://github.com/facebook/metro/pull/967 by @tido64)
- [Deprecated]: The
transformer.asyncRequireModulePathconfig option is deprecated. Use__loadBundleAsyncinstead.(https://github.com/facebook/metro/commit/c7b684f0ae90ec22f7cddf82858dcaa8aa4bc64a by @motiz88)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Package Exports unstable_conditionNames now defaults to ['require', 'import'] (https://github.com/facebook/metro/commit/e70ceef126a528c5e18d58c5ed47adb864e8a76b by @huntie)
- [Experimental] Removed
server.experimentalImportBundleSupportconfig option. (https://github.com/facebook/metro/commit/4ef14f9a2f6c0b566df86f9caebb5a98bb7ba52a by @motiz88)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.2...v0.76.3
v0.76.2
- [Feature]: Added customizeStack hook to Metro's
/symbolicateendpoint to allow custom frame skipping logic on a stack level. (https://github.com/facebook/metro/commit/ce266ddafd5eb484168f973f84a203d8b162f842 by @GijsWeterings) - [Feature]: Re-export
metro-core'sTerminalfrommetro. (https://github.com/facebook/metro/commit/86e3f934d4818cf4332a6dc3bed914db46090dd5 by @robhogan) - [Feature]: Re-export
metro-config'sresolveConfigfrommetro. (https://github.com/facebook/metro/commit/cc1666415f8773f799ddda6f4f7f83b8dc6205dd by @robhogan) - [Types]: Remove dependency on
@types/babel__code-frame. (https://github.com/facebook/metro/commit/41cdc034a92c9aed8dd3410bf1d322de8c8e3ebd by @robhogan) - [Types]: Remove dependency on
@types/ws. (https://github.com/facebook/metro/commit/7deb525916e7076a57e48e95a63c20702365246a by @robhogan) - [Types]: Fix TypeScript types entry point for metro-source-map. (https://github.com/facebook/metro/commit/3238bbc9f462081765014a6046fdec03a391005e by @huntie)
- [Deprecated]: Deprecate
ResolutionContext.getPackageForModule. (https://github.com/facebook/metro/commit/2d0a01cd7e244d4dbabc1718aa5c2d43a98b2d48 by @huntie)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Pass full path and query params to
asyncRequirefor lazy bundles. (https://github.com/facebook/metro/commit/61a30b7fc2075cf53f87ae8ad7b7423d204ef670 by @motiz88) - [Experimental]: Fix bug where Package Exports warnings may have been logged for nested
node_modulespath candidates. (https://github.com/facebook/metro/commit/29c77bff31e2475a086bc3f04073f485da8f9ff0 by @huntie) - [Experimental]: Fix
package.jsondiscovery against root package specifiers for Package Exports. (https://github.com/facebook/metro/commit/b99530302415d065a54cf2671bd0cc6c820819ed by @huntie, fixes https://github.com/facebook/metro/issues/965 reported by @shamilovtim)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.1...v0.76.2
v0.76.1
- [Feature]: Support custom transformer/resolver options in
metro buildandrunBuildAPI. (https://github.com/facebook/metro/commit/fcfecc96728848af0f2b49a8a1f7501ff9c1054e by @motiz88) - [Feature]:
metro get-dependencies --entryFile <entryFile>can now be called asmetro get-dependencies <entryFile>. (https://github.com/facebook/metro/commit/6fdce04007af5dfbbb9c1dd23fbc37ffdeb59ccb by @huntie) - [Feature]: Add
Content-TypeandContent-Lengthheaders for assets to Metro server. (https://github.com/facebook/metro/pull/953 by @aleqsio, https://github.com/facebook/metro/pull/961 by @byCedric) - [Feature]: Expose
mergeConfigutil frommetropackage. (https://github.com/facebook/metro/commit/aa8ec904ced59e8bbb22ef4fd71932d5d099baa7 by @huntie) - [Fix]:
metro-file-map: consistently abort crawl whenend()is called. (https://github.com/facebook/metro/commit/51877a8c50b25ce175b097448ef063368aac2009 by @motiz88) - [Fix]:
metro-config: Don't mutate argument toloadConfig. (https://github.com/facebook/metro/commit/38ec62d1a051a5738f17444ba789ad48000ee31d by @motiz88) - [Fix]: Babel transformers: Provide correct absolute source path to plugins when Metro is not run from the project root. (https://github.com/facebook/metro/commit/de19bbd33f239de1b29aac5db290ffffe26ec468 by @robhogan)
- [Fix]:
resolver.assetExtswill now match asset files for extension values that include a dot (.). (https://github.com/facebook/metro/commit/6d65a328e6f5d7c7a5c27cad144b169f6eaad379 by @huntie) - [Fix]: Don't register an
unhandledRejectionlistener, fix spammy EventEmitter leak warning. (https://github.com/facebook/metro/commit/833f2ffc3624d53bea18d46797a24a034e9b264a by @motiz88) - [Types]: Add bundled TypeScript definitions (partial) for all packages previously on DefinitelyTyped. (https://github.com/facebook/metro/commit/c022c361d09870ec5cec92a58feab77c571a4aaf, https://github.com/facebook/metro/commit/07732e778b0587ce7e92571e66243c7546781f7c, https://github.com/facebook/metro/commit/9ee5280bd4e5ce2c45bd3912860c4e70056dd45a by @huntie, with @afoxman and @tido64)
- [Types]: Expose
MetroConfigtype inmetropackage. (https://github.com/facebook/metro/commit/d2f36647e36702ddc1eddef4b0bfcbd5026d4199 by @huntie)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Reorder
asyncRequire's parameters and make module name optional. (https://github.com/facebook/metro/commit/4e5261cca6fd84b7ce75f58b038b397b84a4b038 by @motiz88) - [Experimental]: Remove experimental
metro-hermes-compilerpackage. (https://github.com/facebook/metro/commit/833f2ffc3624d53bea18d46797a24a034e9b264a by @motiz88) - [Experimental]: Package Exports
unstable_conditionNamesnow defaults to['require']. (https://github.com/facebook/metro/pull/955 by @huntie) - [Experimental]: Add compatibility with legacy Node.js "exports" array formats. (https://github.com/facebook/metro/commit/f321cffa73dac3cd407a0865462e62e25aa531f4, https://github.com/facebook/metro/commit/1e47cb5b3cc289530fb18e402891f9d2816611dd by @huntie)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.0...v0.76.1
v0.76.0
- [Breaking]: Increase minimum Node version from 14 to 16. (https://github.com/facebook/metro/commit/e5950aeaf0ddb1bf9776ec98509d56f42db2e95d by @huntie)
- [Breaking]: Remove
isAssetFilefrom custom resolver context, addassetExts. (https://github.com/facebook/metro/commit/c6548f7ccc5b8ad59ea98f4bd7f1f5822deec0cd by @huntie) - [Feature]: Support
require.resolveWeak(). (https://github.com/facebook/metro/commit/354d6e487a068232b740c809e59c737dc7456565 by @motiz88) - [Fix]: Don't over-invalidate on symlink changes if resolution through symlinks is not enabled. (https://github.com/facebook/metro/commit/2303c10b6b71b5bc1194badd997b08f962e8d237 by @robhogan)
- [Fix]: Returning
falsefromcontext.redirectModulePathwill resolve to empty module in all cases. (https://github.com/facebook/metro/commit/0f1846a64d7ec27ad7c42b1aee2a049e0fad9a5a by @huntie) - [Fix]: Respect extensionless entries in
browser,react-nativeetc when resolving subpath package specifiers. (https://github.com/facebook/metro/commit/7e922270de2f710112346e651c0d95a1903086aa by @huntie) - [Fix]: Remove undocumented Meta-only
__jsResourceand__conditionallySplitJsResourcefunctions from module API. (https://github.com/facebook/metro/commit/f1d905bb60227b3390515928fb87c9d524ca5481 and https://github.com/facebook/metro/commit/69c8fc707bda418b4eb7aa646ad2887d83e1d3f1 by @motiz88)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Fixes and improvements for symlink support. (https://github.com/facebook/metro/commit/0e2a70a439c41de8c5f61b426d326b5b32d8129a, https://github.com/facebook/metro/commit/3bef954304cb4b99ab30643c49f0727d917a5306, and https://github.com/facebook/metro/commit/eeb211fdcfdcb9e7f8a51721bd0f48bc7d0d211f by @robhogan)
- [Experimental]: Fix bug where
"exports"field would be used on relative imports within a package. (https://github.com/facebook/metro/commit/cd25c2b5bb6011340d43dd57b8751a102031122a by @huntie)
v0.75.1
- [Feature]:
metro-inspector-proxy: Add a human-readable reference to each inspector entries/pages.(https://github.com/facebook/metro/pull/921 by @byCedric) - [Feature]:
metro-inspector-proxy: Report errors in the console. (https://github.com/facebook/metro/commit/da8b41b279e2618786901daa3d6f25f20e9202db by @mattbfb) - [Fix]: Race condition where a very recently modified file might have missing metadata.(https://github.com/facebook/metro/commit/baf28ab0ee3e2fd965691e57691c5d87b01897b2 by @robhogan)
- [Fix]: Source maps may have invalid entries when using Terser minification. (https://github.com/facebook/metro/pull/928 by @robhogan)
- [Fix]:
metro-inspector-proxy: Fetch source maps from Metro. (https://github.com/facebook/metro/commit/6690b393cc1812af02f8eb20853504f0a6188a83 by @mattbfb) - [Fix]: Mitigate potential source map mismatches with concurrent transformations due to terser#1341. (https://github.com/facebook/metro/pull/929 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Add initial_build annotation to Resolving and Transforming Dependencies (https://github.com/facebook/metro/commit/fc83b521b273f7a29f9f38285d973148bd43c0e3 by @blakef)
- [Experimental]: Implement support for Package Exports (enabled via
resolver.unstable_enablePackageExports) (https://github.com/facebook/metro/commit/4d7ab38ba9f85e7a8d4e2a9f2b26f48c1c070186, https://github.com/facebook/metro/commit/38b96f872a92d0f0650c9af0250c8dc5599a6e62, https://github.com/facebook/metro/commit/216d3e234c14a7c16b9561b2682e60d2e2936114, https://github.com/facebook/metro/commit/6e6f36fd982b9226b7daafd1c942c7be32f9af40 by @huntie) - [Experimental]: Implement support for symlinks (enabled via
resolver.unstable_enableSymlinks) (https://github.com/facebook/metro/pull/925, https://github.com/facebook/metro/pull/926, etc. by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.75.0...v0.75.1
v0.75.0
- [Breaking]: Formalise minimum Node JS requirement at 14.17.0 via
package.json#engines. (https://github.com/facebook/metro/commit/c3e453ede5765a84c006b2c819a0f706218773bf) - [Breaking]: Filter untyped context properties passed to custom resolvers. (https://github.com/facebook/metro/commit/cb01ec09c6a8df51f39d6b1419cbf173fa5abf4a)
- [Breaking]: Change default
context.redirectModulePathimplementation to return absolute path in all cases. (https://github.com/facebook/metro/commit/acbfe63d83a7905e21f6e034a86e5956a5062861) - [Feature]: Add
mainFields,getPackage, andgetPackageForModuleto custom resolver context. (https://github.com/facebook/metro/commit/adfb59329f9ff97151bd33abb7b72433e711eff9)
Full Changelog: https://github.com/facebook/metro/compare/v0.74.1...v0.75.0
v0.74.1
- [Feature]: Add
@babel/plugin-proposal-numeric-separatortometro-react-native-babel-preset(https://github.com/facebook/metro/pull/681 by @SConaway)
Full Changelog: https://github.com/facebook/metro/compare/v0.74.0...v0.74.1
v0.74.0
- [Breaking] Remove @babel/plugin-transform-template-literals from metro-react-native-babel-preset (https://github.com/facebook/metro/commit/322dea8dc700de70aea92cf37614d5fc50e09c6b)
- [Breaking] Remove
postProcessBundleSourcemapfrom config (https://github.com/facebook/metro/commit/339794e43463e004ae36861db17fdfbaf4a9bc67) - [Fix] Don't log ENOENT errors to console for expected URL stack frames (https://github.com/facebook/metro/commit/1031ae6713c72b98673a82c292ecdc47cd7f75ab)
- [Fix] Don't attempt to use the
findcrawler on Windows (https://github.com/facebook/metro/commit/735aa9f5233e4cce78f93e94e80a3be509eea72c) - [Performance] Improve AST processing during transformation (https://github.com/facebook/metro/pull/854 by @EvanBacon)
- [Performance] Improve Fast Refresh responsiveness when watching a large number of files (https://github.com/facebook/metro/commit/b942eca551882aec3b59f1155416ed16be1b066f)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.6...v0.74.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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.