Comparing version 0.79.1 to 0.80.0
{ | ||
"name": "metro", | ||
"version": "0.79.1", | ||
"version": "0.80.0", | ||
"description": "🚇 The JavaScript bundler for React Native.", | ||
@@ -31,21 +31,21 @@ "main": "src/index.js", | ||
"graceful-fs": "^4.2.4", | ||
"hermes-parser": "0.15.0", | ||
"hermes-parser": "0.17.0", | ||
"image-size": "^1.0.2", | ||
"invariant": "^2.2.4", | ||
"jest-worker": "^27.2.0", | ||
"jest-worker": "^29.6.3", | ||
"jsc-safe-url": "^0.2.2", | ||
"lodash.throttle": "^4.1.1", | ||
"metro-babel-transformer": "0.79.1", | ||
"metro-cache": "0.79.1", | ||
"metro-cache-key": "0.79.1", | ||
"metro-config": "0.79.1", | ||
"metro-core": "0.79.1", | ||
"metro-file-map": "0.79.1", | ||
"metro-minify-terser": "0.79.1", | ||
"metro-resolver": "0.79.1", | ||
"metro-runtime": "0.79.1", | ||
"metro-source-map": "0.79.1", | ||
"metro-symbolicate": "0.79.1", | ||
"metro-transform-plugins": "0.79.1", | ||
"metro-transform-worker": "0.79.1", | ||
"metro-babel-transformer": "0.80.0", | ||
"metro-cache": "0.80.0", | ||
"metro-cache-key": "0.80.0", | ||
"metro-config": "0.80.0", | ||
"metro-core": "0.80.0", | ||
"metro-file-map": "0.80.0", | ||
"metro-minify-terser": "0.80.0", | ||
"metro-resolver": "0.80.0", | ||
"metro-runtime": "0.80.0", | ||
"metro-source-map": "0.80.0", | ||
"metro-symbolicate": "0.80.0", | ||
"metro-transform-plugins": "0.80.0", | ||
"metro-transform-worker": "0.80.0", | ||
"mime-types": "^2.1.27", | ||
@@ -69,6 +69,6 @@ "node-fetch": "^2.2.0", | ||
"dedent": "^0.7.0", | ||
"jest-snapshot": "^26.5.2", | ||
"jest-snapshot": "^29.6.3", | ||
"jest-snapshot-serializer-raw": "^1.2.0", | ||
"metro-babel-register": "0.79.1", | ||
"metro-memory-fs": "0.79.1", | ||
"metro-babel-register": "0.80.0", | ||
"metro-memory-fs": "0.80.0", | ||
"mock-req": "^0.2.0", | ||
@@ -75,0 +75,0 @@ "mock-res": "^0.6.0", |
@@ -397,10 +397,13 @@ "use strict"; | ||
} | ||
const module = this.dependencies.get(absolutePath); | ||
if (options.lazy && dependency.data.data.asyncType != null) { | ||
this._decrementImportBundleReference(dependency, parentModule); | ||
} else if (module) { | ||
// Decrement inverseDependencies only if the dependency is not async, | ||
// mirroring the increment conditions in _addDependency. | ||
module.inverseDependencies.delete(parentModule.path); | ||
} | ||
const module = this.dependencies.get(absolutePath); | ||
if (!module) { | ||
return; | ||
} | ||
module.inverseDependencies.delete(parentModule.path); | ||
if ( | ||
@@ -407,0 +410,0 @@ module.inverseDependencies.size > 0 || |
@@ -62,4 +62,5 @@ /** | ||
// when loading the bundle for either Android or iOS. | ||
// TODO(T167298674): Remove when remote debugging is not needed in React Native | ||
protocol: | ||
platform != null && platform.match(/^(android|ios)$/) ? "http" : "", | ||
platform != null && platform.match(/^(android|ios|vr)$/) ? "http" : "", | ||
pathname: pathname.replace(/\.(bundle|delta)$/, ".map"), | ||
@@ -66,0 +67,0 @@ }), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
789439
12390
+ Addedhermes-estree@0.17.0(transitive)
+ Addedhermes-parser@0.17.0(transitive)
+ Addedjest-util@29.7.0(transitive)
+ Addedjest-worker@29.7.0(transitive)
+ Addedmetro-babel-transformer@0.80.0(transitive)
+ Addedmetro-cache@0.80.0(transitive)
+ Addedmetro-cache-key@0.80.0(transitive)
+ Addedmetro-config@0.80.0(transitive)
+ Addedmetro-core@0.80.0(transitive)
+ Addedmetro-file-map@0.80.0(transitive)
+ Addedmetro-minify-terser@0.80.0(transitive)
+ Addedmetro-resolver@0.80.0(transitive)
+ Addedmetro-runtime@0.80.0(transitive)
+ Addedmetro-source-map@0.80.0(transitive)
+ Addedmetro-symbolicate@0.80.0(transitive)
+ Addedmetro-transform-plugins@0.80.0(transitive)
+ Addedmetro-transform-worker@0.80.0(transitive)
+ Addedob1@0.80.0(transitive)
- Removed@jest/types@27.5.1(transitive)
- Removed@types/yargs@16.0.9(transitive)
- Removedhermes-estree@0.15.0(transitive)
- Removedhermes-parser@0.15.0(transitive)
- Removedjest-util@27.5.1(transitive)
- Removedjest-worker@27.5.1(transitive)
- Removedmetro-babel-transformer@0.79.1(transitive)
- Removedmetro-cache@0.79.1(transitive)
- Removedmetro-cache-key@0.79.1(transitive)
- Removedmetro-config@0.79.1(transitive)
- Removedmetro-core@0.79.1(transitive)
- Removedmetro-file-map@0.79.1(transitive)
- Removedmetro-minify-terser@0.79.1(transitive)
- Removedmetro-resolver@0.79.1(transitive)
- Removedmetro-runtime@0.79.1(transitive)
- Removedmetro-source-map@0.79.1(transitive)
- Removedmetro-symbolicate@0.79.1(transitive)
- Removedmetro-transform-plugins@0.79.1(transitive)
- Removedmetro-transform-worker@0.79.1(transitive)
- Removedob1@0.79.1(transitive)
- Removedreact-refresh@0.4.3(transitive)
Updatedhermes-parser@0.17.0
Updatedjest-worker@^29.6.3
Updatedmetro-cache@0.80.0
Updatedmetro-cache-key@0.80.0
Updatedmetro-config@0.80.0
Updatedmetro-core@0.80.0
Updatedmetro-file-map@0.80.0
Updatedmetro-minify-terser@0.80.0
Updatedmetro-resolver@0.80.0
Updatedmetro-runtime@0.80.0
Updatedmetro-source-map@0.80.0
Updatedmetro-symbolicate@0.80.0