Socket
Socket
Sign inDemoInstall

@expo/metro-config

Package Overview
Dependencies
Maintainers
26
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/metro-config - npm Package Compare versions

Comparing version 0.18.10 to 0.18.11

5

build/serializer/serializeChunks.js

@@ -32,2 +32,5 @@ "use strict";

}
const sourceMapString = typeof sourceMapString_1.default !== 'function'
? sourceMapString_1.default.sourceMapString
: sourceMapString_1.default;
async function graphToSerialAssetsAsync(config, serializeChunkOptions, ...props) {

@@ -339,3 +342,3 @@ const [entryFile, preModules, graph, options] = props;

// TODO: We may not need to mutate the original source map with a `debugId` when hermes is enabled since we'll have different source maps.
const sourceMap = mutateSourceMapWithDebugId((0, sourceMapString_1.default)(modules, {
const sourceMap = mutateSourceMapWithDebugId(sourceMapString(modules, {
excludeSource: false,

@@ -342,0 +345,0 @@ ...this.options,

@@ -21,2 +21,5 @@ "use strict";

const env_1 = require("../env");
const sourceMapString = typeof sourceMapString_1.default !== 'function'
? sourceMapString_1.default.sourceMapString
: sourceMapString_1.default;
function withExpoSerializers(config, options = {}) {

@@ -89,3 +92,3 @@ const processors = [];

const getEnsuredMaps = () => {
bundleMap ??= (0, sourceMapString_1.default)([...premodulesToBundle, ...(0, serializeChunks_1.getSortedModules)([...graph.dependencies.values()], options)], {
bundleMap ??= sourceMapString([...premodulesToBundle, ...(0, serializeChunks_1.getSortedModules)([...graph.dependencies.values()], options)], {
// TODO: Surface this somehow.

@@ -92,0 +95,0 @@ excludeSource: false,

4

package.json
{
"name": "@expo/metro-config",
"version": "0.18.10",
"version": "0.18.11",
"description": "A Metro config for running React Native projects with the Metro bundler",

@@ -63,3 +63,3 @@ "main": "build/ExpoMetroConfig.js",

},
"gitHead": "89cb316cd1f16193ae9841d2aec2ae39e0ee00bb"
"gitHead": "5eabe81f73e7c807717ade329e613ecc67033689"
}

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