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.17.7 to 0.17.8

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) {

@@ -328,3 +331,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,

@@ -331,0 +334,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 = {}) {

@@ -99,3 +102,3 @@ const processors = [];

if (!bundleMap) {
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.

@@ -102,0 +105,0 @@ excludeSource: false,

4

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

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

},
"gitHead": "8be4417d2f8566f65b85bc135e145b0234b6a8aa"
"gitHead": "eeaeb00da66634b5a788aa95920fc0cdd3a43332"
}

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