Socket
Socket
Sign inDemoInstall

metro

Package Overview
Dependencies
Maintainers
2
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro - npm Package Compare versions

Comparing version 0.79.1 to 0.80.0

38

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc