[Snyk] Upgrade metro from 0.76.9 to 0.81.0 #5
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.
Snyk has created this PR to upgrade metro from 0.76.9 to 0.81.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 22 versions ahead of your current version.
The recommended version was released 4 months ago.
Release notes
Package name: metro
context.redirectModulePath
from default resolver, use a fixed browser field spec implementation. (5e96d17 by @ robhogan)ResolutionContext.fileSystemLookup
for performing file and directory existence checks and resolving real paths. (3b3e0aa by @ robhogan)onClose
option toMetro.runServer
configuration to provide a callback called when Metro is fully torn down. (b3f141f by @ vzaidman)metro-memory-fs
: Respectforce
inrmSync
. (a792d85 by @ robhogan)getDefaultConfig
. (bfd9473 by @ robhogan)unstable_enableSymlinks
- symlink support is stable and always-on. (e52b5ff by @ robhogan)transformer.unstable_memoizeInlineRequires
to optimise inlined access. (#1346 by @ robhogan).unstable_server_log
,unstable_server_menu_updated
, andunstable_server_menu_cleared
reporter events (616f437 by @ huntie)Full Changelog: v0.80.11...v0.81.0
This is a hotfix on the
0.80.x
branch.Full Changelog: v0.80.11...v0.80.12
/
(1e1dfe1 by @ robhogan)[Experimental]: Resolution: Replace
context.unstable_getRealPath
withcontext.unstable_fileSystemLookup
(9fc9bf0 by @ robhogan)Full Changelog: v0.80.10...v0.80.11
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 (#1274 by @ robhogan)message
,stack
,cause
, anderrors
(where present) undererror
when a reportable event has anerror
property (95a6063 by @ robhogan)[Experimental]: Fix subtrees of the project root missed from
require.context
when using an ancestor of the project root as context root (#1281 by @ robhogan)[Experimental]: Add
require.unstable_importMaybeSync
(#1296 by @ rubennorte)Full Changelog: v0.80.9...v0.80.10
HttpStore
's read and write paths separately. (3e647a6 by @ GijsWeterings)additionalSuccessStatuses
option toHttpStore
. (f8f7d55 by @ motiz88)reporter
instead. (15815d0 by @ motiz88)unstable_renameRequire
transformer option. (#1230 by @ EvanBacon)Full Changelog: v0.80.8...v0.80.9
Full Changelog: v0.80.7...v0.80.8
Full Changelog: v0.80.6...v0.80.7
projectRoot
(#1210 by @ robhogan)Full Changelog: v0.80.5...v0.80.6
server.forwardClientLogs
config option, to allow suppressing client console logs in Metro output. (#1192 by @ huntie)constant-folding-plugin
: Don't fold optional function calls (foo.?()
). (#1178 by @ Gamote)inline-plugin
: Don't replace__DEV__
in invalid Babel AST locations. (#1195 by @ kitten)metro-minify-terser
dependency to fix resolution under isolated node_modules (pnpm, etc). (#1199 by @ robhogan)unstable_enablePackageExports
andunstable_enableSymlinks
. (#1198 by @ robhogan)Full Changelog: v0.80.4...v0.80.5
This is a hotfix release on the
0.76.x
branch.metro-minify-terser
dependency to fix resolution under isolated node_modules (pnpm, etc).(#1199 by @ robhogan)inline-plugin
: Don't replace__DEV__
in invalid Babel AST locations. (#1195 by @ kitten)constant-folding-plugin
: Don't fold optional function calls (foo.?()
). (#1178 by @ Gamote)metro
versions are installed. (6d46078 by @ robhogan)"exports"
field is now considered for Haste packages (which could include local monorepo packages) (#1136 by @ kraenhansen)sourceMappingUrl
in HMR payloads when usingunstable_serverRoot
(#1137 by @ EvanBacon)Full Changelog: v0.76.8...v0.76.9
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: