Update dependency metro-resolver to ^0.81.0 #8
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:
^0.73.7
->^0.81.0
Release Notes
facebook/metro (metro-resolver)
v0.81.0
Compare Source
context.redirectModulePath
from default resolver, use a fixed browser field spec implementation. (facebook/metro@5e96d17 by @robhogan)ResolutionContext.fileSystemLookup
for performing file and directory existence checks and resolving real paths. (facebook/metro@3b3e0aa by @robhogan)onClose
option toMetro.runServer
configuration to provide a callback called when Metro is fully torn down. (facebook/metro@b3f141f by @vzaidman)metro-memory-fs
: Respectforce
inrmSync
. (facebook/metro@a792d85 by @robhogan)getDefaultConfig
. (facebook/metro@bfd9473 by @robhogan)unstable_enableSymlinks
- symlink support is stable and always-on. (facebook/metro@e52b5ff by @robhogan)transformer.unstable_memoizeInlineRequires
to optimise inlined access. (https://github.com/facebook/metro/pull/1346 by @robhogan).unstable_server_log
,unstable_server_menu_updated
, andunstable_server_menu_cleared
reporter events (facebook/metro@616f437 by @huntie)Full Changelog: facebook/metro@v0.80.11...v0.81.0
v0.80.12
Compare Source
This is a hotfix on the
0.80.x
branch.Full Changelog: facebook/metro@v0.80.11...v0.80.12
v0.80.11
Compare Source
/
(facebook/metro@1e1dfe1 by @robhogan)[Experimental]: Resolution: Replace
context.unstable_getRealPath
withcontext.unstable_fileSystemLookup
(facebook/metro@9fc9bf0 by @robhogan)Full Changelog: facebook/metro@v0.80.10...v0.80.11
v0.80.10
Compare Source
message
andstack
as top-level properties when a reportable event has anerror
property (95a6063
)/[metro-project]/
and/[metro-watchFolders]/{index}/
(273481c
by @motiz88)sourcePaths=url-server
bundle parameter (788ff0d
by @motiz88)server_listening
reporter event, exposing bound port, address and family (https://github.com/facebook/metro/pull/1274 by @robhogan)message
,stack
,cause
, anderrors
(where present) undererror
when a reportable event has anerror
property (95a6063
by @robhogan)6e71699
by @robhogan)e3aaa0b
by @robhogan)34148e6
by @motiz88)[Experimental]: Fix subtrees of the project root missed from
require.context
when using an ancestor of the project root as context root (https://github.com/facebook/metro/pull/1281 by @robhogan)[Experimental]: Add
require.unstable_importMaybeSync
(https://github.com/facebook/metro/pull/1296 by @rubennorte)Full Changelog: facebook/metro@v0.80.9...v0.80.10
v0.80.9
Compare Source
HttpStore
's read and write paths separately. (3e647a6
by @gijsweterings)additionalSuccessStatuses
option toHttpStore
. (f8f7d55
by @motiz88)reporter
instead. (15815d0
by @motiz88)105e222
by @robhogan)unstable_renameRequire
transformer option. (https://github.com/facebook/metro/pull/1230 by @evanbacon)Full Changelog: facebook/metro@v0.80.8...v0.80.9
v0.80.8
Compare Source
96c6b89
by @motiz88)Full Changelog: facebook/metro@v0.80.7...v0.80.8
v0.80.7
Compare Source
Full Changelog: facebook/metro@v0.80.6...v0.80.7
v0.80.6
Compare Source
projectRoot
(https://github.com/facebook/metro/pull/1210 by @robhogan)Full Changelog: facebook/metro@v0.80.5...v0.80.6
v0.80.5
Compare Source
server.forwardClientLogs
config option, to allow suppressing client console logs in Metro output. (https://github.com/facebook/metro/pull/1192 by @huntie)constant-folding-plugin
: Don't fold optional function calls (foo.?()
). (https://github.com/facebook/metro/pull/1178 by @Gamote)inline-plugin
: Don't replace__DEV__
in invalid Babel AST locations. (https://github.com/facebook/metro/pull/1195 by @kitten)metro-minify-terser
dependency to fix resolution under isolated node_modules (pnpm, etc). (https://github.com/facebook/metro/pull/1199 by @robhogan)unstable_enablePackageExports
andunstable_enableSymlinks
. (https://github.com/facebook/metro/pull/1198 by @robhogan)Full Changelog: facebook/metro@v0.80.4...v0.80.5
v0.80.4
Compare Source
.zip/
(facebook/metro@9212156 by @robhogan)Full Changelog: facebook/metro@v0.80.3...v0.80.4
v0.80.3
Compare Source
dev
option to resolver (https://github.com/facebook/metro/pull/1134 by @EvanBacon)Full Changelog: facebook/metro@v0.80.2...v0.80.3
v0.80.2
Compare Source
serverRoot
with HMR serializer chunks (https://github.com/facebook/metro/pull/1137 by @EvanBacon)"exports"
field is now considered for Haste packages (which could include local monorepo packages) (https://github.com/facebook/metro/pull/1136 by @kraenhansen)v0.80.1
Compare Source
windows
/macos
. (https://github.com/facebook/metro/pull/763 by @acoates-ms)unstable_workerThreads
options totransformer
andwatcher
configuration. (facebook/metro@20df4ec by @robhogan)v0.80.0
Compare Source
metro-runtime/src/modules/fast-refresh
andreact-refresh
dependency - now owned by RN's Babel preset. (facebook/metro@8557968 by @robhogan)metro-babel-register
: Switch to Hermes parser, only apply Flow transforms to.js
. (facebook/metro@ca0f89c by @pieterv)metro-babel-register
: Support export-namespace-from and Flow enums. (facebook/metro@ca0f89c by @pieterv)NB:
metro-react-native-interop-tools
has been removed and will receive no further updates. (facebook/metro@c084066 by @GijsWeterings)Full Changelog: facebook/metro@v0.79.1...v0.80.0
v0.79.1
Compare Source
metro-babel-register
: prevent arbitrary transformation of Babel plugins during registration. (facebook/metro@e8f468d by @robhogan)Full Changelog: facebook/metro@v0.79.0...v0.79.1
v0.79.0
Compare Source
resolver.enableGlobalPackages
) by default (facebook/metro@0df1541 by @robhogan)unstable_enableSymlinks
) (facebook/metro@9e7cec1 by @robhogan)customTransformOptions
andcustomResolverOptions
tobundle_build_started log event
so as to refine the bundling message (https://github.com/facebook/metro/pull/1061 by @EvanBacon)v0.78.1
Compare Source
v0.78.0
Compare Source
metro-react-native-babel-transformer
andmetro-react-native-babel-preset
, which will be published as@react-native/metro-babel-transformer
and@react-native/babel-preset
going forward. (facebook/metro@799aa0a by @dmytrorykun)runInspectorProxy
option from server. (facebook/metro@2b0b15d by @huntie)InspectorProxy
instance externally, and provide the relevant handlers toMetro.runServer()
. For reference:inspectorProxy.processRequest
toServerOptions.unstable_extraMiddleware
.inspectorProxy.createWebSocketListeners
toServerOptions.websocketEndpoints
.@react-native/dev-middleware
package, which will provide a batteries-included integration point for the above.DependencyGraph.resolveDependency
now takes a dependency object instead of a string. (facebook/metro@fbdd295 by @motiz88)inlineRequires
andnonInlinedRequires
to Babel transformers. (facebook/metro@e339c8f by @motiz88)metro.config.cjs
. (facebook/metro@6922933 by @huntie)asserted-states
is not iterable when using older Watchman versions. (facebook/metro@3ef5fc8 by @robhogan).native
as a standalone file extension. (https://github.com/facebook/metro/pull/1045 by @EvanBacon)v0.77.0
Compare Source
metro-minify-uglify
frommetro
dependencies. (facebook/metro@7a8fcd5 by @robhogan)blockList
on Windows. (facebook/metro@2eecfc7 by @motiz88)blockList
patterns with inconsistent regex flags. (facebook/metro@c80904b by @motiz88)metro
versions are installed. (facebook/metro@6d46078 by @robhogan)metro-file-map
: Normalize root-relative paths for cross-platform cache compatibility. (facebook/metro@d282a08 by @motiz88)require.context
is used on a directory with infinite path expansions. (facebook/metro@14d652f by @robhogan)Full Changelog: facebook/metro@v0.76.7...v0.77.0
v0.76.9
Compare Source
This is a hotfix release on the
0.76.x
branch.metro-minify-terser
dependency to fix resolution under isolated node_modules (pnpm, etc).(https://github.com/facebook/metro/pull/1199 by @robhogan)inline-plugin
: Don't replace__DEV__
in invalid Babel AST locations. (https://github.com/facebook/metro/pull/1195 by @kitten)constant-folding-plugin
: Don't fold optional function calls (foo.?()
). (https://github.com/facebook/metro/pull/1178 by @Gamote)metro
versions are installed. (facebook/metro@6d46078 by @robhogan)"exports"
field is now considered for Haste packages (which could include local monorepo packages) (https://github.com/facebook/metro/pull/1136 by @kraenhansen)sourceMappingUrl
in HMR payloads when usingunstable_serverRoot
(https://github.com/facebook/metro/pull/1137 by @EvanBacon)Full Changelog: facebook/metro@v0.76.8...v0.76.9
v0.76.8
Compare Source
v0.76.7
Compare Source
metro-babel-transformer
andmetro-react-native-babel-transformer
will returnmetadata
from Babel transform results. (42fdbc2
by @robhogan)TerminalReporter
for Reporter implementations. (417e6f2
by @colinta)c6a94bc
by @byCedric)4b22efb
by @robhogan)Full Changelog: facebook/metro@v0.76.6...v0.76.7
v0.76.6
Compare Source
Server
types to use broader types fromconnect
package (facebook/metro@d20d7c8 by @huntie)createConnectMiddleware
export (facebook/metro@06682f8 by @huntie)server.enhanceMiddleware
option (facebook/metro@22e85fd by @huntie)unstable_extraMiddleware
option torunServer
API (facebook/metro@d0d5543 by @huntie)Full Changelog: facebook/metro@v0.76.5...v0.76.6
v0.76.5
Compare Source
//&
instead of?
as a query string delimiter (facebook/metro@bd357c8 by @robhogan)babel/runtime
issue when using Package Exports (facebook/metro@905d773 by @huntie)Full Changelog: facebook/metro@v0.76.4...v0.76.5
v0.76.4
Compare Source
x_google_ignoreList
source map extension. (https://github.com/facebook/metro/pull/973,82bd64a
by @motiz88)5d7305e
by @robhogan)5d7305e
by @robhogan)Full Changelog: facebook/metro@v0.76.3...v0.76.4
v0.76.3
Compare Source
__loadBundleAsync
implementations in the defaultasyncRequire
function. See the lazy bundling RFC for more details. (facebook/metro@ac3adce, facebook/metro@f07ce5c by @motiz88)lazy
parameter in bundle requests. See the lazy bundling RFC for more details. (facebook/metro@4ef14f9 by @motiz88)transformer.asyncRequireModulePath
config option is deprecated. Use__loadBundleAsync
instead.(facebook/metro@c7b684f by @motiz88)server.experimentalImportBundleSupport
config option. (facebook/metro@4ef14f9 by @motiz88)Full Changelog: facebook/metro@v0.76.2...v0.76.3
v0.76.2
Compare Source
/symbolicate
endpoint to allow custom frame skipping logic on a stack level. (facebook/metro@ce266dd by @GijsWeterings)metro-core
'sTerminal
frommetro
. (facebook/metro@86e3f93 by @robhogan)metro-config
'sresolveConfig
frommetro
. (facebook/metro@cc16664 by @robhogan)@types/babel__code-frame
. (facebook/metro@41cdc03 by @robhogan)@types/ws
. (facebook/metro@7deb525 by @robhogan)ResolutionContext.getPackageForModule
. (facebook/metro@2d0a01c by @huntie)asyncRequire
for lazy bundles. (facebook/metro@61a30b7 by @motiz88)node_modules
path candidates. (facebook/metro@29c77bf by @huntie)package.json
discovery against root package specifiers for Package Exports. (facebook/metro@b995303 by @huntie, fixes https://github.com/facebook/metro/issues/965 reported by @shamilovtim)Full Changelog: facebook/metro@v0.76.1...v0.76.2
v0.76.1
Compare Source
metro build
andrunBuild
API. (facebook/metro@fcfecc9 by @motiz88)metro get-dependencies --entryFile <entryFile>
can now be called asmetro get-dependencies <entryFile>
. (facebook/metro@6fdce04 by @huntie)Content-Type
andContent-Length
headers for assets to Metro server. (https://github.com/facebook/metro/pull/953 by @aleqsio, https://github.com/facebook/metro/pull/961 by @byCedric)mergeConfig
util frommetro
package. (facebook/metro@aa8ec90 by @huntie)metro-file-map
: consistently abort crawl whenend()
is called. (facebook/metro@51877a8 by @motiz88)metro-config
: Don't mutate argument toloadConfig
. (facebook/metro@38ec62d by @motiz88)resolver.assetExts
will now match asset files for extension values that include a dot (.
). (facebook/metro@6d65a32 by @huntie)unhandledRejection
listener, fix spammy EventEmitter leak warning. (facebook/metro@833f2ff by @motiz88)MetroConfig
type inmetro
package. (facebook/metro@d2f3664 by @huntie)asyncRequire
's parameters and make module name optional. (facebook/metro@4e5261c by @motiz88)metro-hermes-compiler
package. (facebook/metro@833f2ff by @motiz88)unstable_conditionNames
now defaults to['require']
. (https://github.com/facebook/metro/pull/955 by @huntie)Full Changelog: facebook/metro@v0.76.0...v0.76.1
v0.76.0
Compare Source
isAssetFile
from custom resolver context, addassetExts
. (facebook/metro@c6548f7 by @huntie)require.resolveWeak()
. (facebook/metro@354d6e4 by @motiz88)false
fromcontext.redirectModulePath
will resolve to empty module in all cases. (facebook/metro@0f1846a by @huntie)browser
,react-native
etc when resolving subpath package specifiers. (facebook/metro@7e92227 by @huntie)__jsResource
and__conditionallySplitJsResource
functions from module API. (facebook/metro@f1d905b and facebook/metro@69c8fc7 by @motiz88)"exports"
field would be used on relative imports within a package. (facebook/metro@cd25c2b by @huntie)v0.75.1
Compare Source
metro-inspector-proxy
: Add a human-readable reference to each inspector entries/pages.(https://github.com/facebook/metro/pull/921 by @byCedric)metro-inspector-proxy
: Report errors in the console. (facebook/metro@da8b41b by @mattbfb)metro-inspector-proxy
: Fetch source maps from Metro. (facebook/metro@6690b39 by @mattbfb)resolver.unstable_enablePackageExports
) (facebook/metro@4d7ab38, facebook/metro@38b96f8, facebook/metro@216d3e2, facebook/metro@6e6f36f by @huntie)resolver.unstable_enableSymlinks
) (https://github.com/facebook/metro/pull/925, https://github.com/facebook/metro/pull/926, etc. by @robhogan)Full Changelog: facebook/metro@v0.75.0...v0.75.1
v0.75.0
Compare Source
package.json#engines
. (facebook/metro@c3e453e)context.redirectModulePath
implementation to return absolute path in all cases. (facebook/metro@acbfe63)mainFields
,getPackage
, andgetPackageForModule
to custom resolver context. (facebook/metro@adfb593)Full Changelog: facebook/metro@v0.74.1...v0.75.0
v0.74.1
Compare Source
@babel/plugin-proposal-numeric-separator
tometro-react-native-babel-preset
(https://github.com/facebook/metro/pull/681 by @SConaway)Full Changelog: facebook/metro@v0.74.0...v0.74.1
v0.74.0
Compare Source
postProcessBundleSourcemap
from config (facebook/metro@339794e)find
crawler on Windows (facebook/metro@735aa9f)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.
This PR was generated by Mend Renovate. View the repository job log.