Socket
Socket
Sign inDemoInstall

@expo/metro-config

Package Overview
Dependencies
Maintainers
0
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.19.0-canary-20240625-2333e70 to 0.19.0-canary-20240627-1402f4b

2

build/serializer/withExpoSerializers.d.ts

@@ -19,3 +19,3 @@ import { MetroConfig, MixedOutput, Module, ReadOnlyGraph } from 'metro';

};
export type SerializerPlugin = (...props: SerializerParameters) => SerializerParameters;
export type SerializerPlugin = (...props: SerializerParameters) => SerializerParameters | Promise<SerializerParameters>;
export declare function withExpoSerializers(config: InputConfigT, options?: SerializerConfigOptions): InputConfigT;

@@ -22,0 +22,0 @@ export declare function withSerializerPlugins(config: InputConfigT, processors: SerializerPlugin[], options?: SerializerConfigOptions): InputConfigT;

@@ -194,6 +194,6 @@ "use strict";

const finalSerializer = getDefaultSerializer(config, originalSerializer, options);
return (...props) => {
return async (...props) => {
for (const processor of processors) {
if (processor) {
props = processor(...props);
props = await processor(...props);
}

@@ -200,0 +200,0 @@ }

{
"name": "@expo/metro-config",
"version": "0.19.0-canary-20240625-2333e70",
"version": "0.19.0-canary-20240627-1402f4b",
"description": "A Metro config for running React Native projects with the Metro bundler",

@@ -40,5 +40,5 @@ "main": "build/ExpoMetroConfig.js",

"@babel/types": "^7.20.0",
"@expo/config": "9.0.3-canary-20240625-2333e70",
"@expo/env": "0.3.1-canary-20240625-2333e70",
"@expo/json-file": "8.3.4-canary-20240625-2333e70",
"@expo/config": "9.0.3-canary-20240627-1402f4b",
"@expo/env": "0.3.1-canary-20240627-1402f4b",
"@expo/json-file": "8.3.4-canary-20240627-1402f4b",
"@expo/spawn-async": "^1.7.2",

@@ -58,3 +58,3 @@ "chalk": "^4.1.0",

"@jridgewell/trace-mapping": "^0.3.20",
"expo-module-scripts": "3.6.0-canary-20240625-2333e70",
"expo-module-scripts": "3.6.0-canary-20240627-1402f4b",
"sass": "^1.60.0"

@@ -65,3 +65,3 @@ },

},
"gitHead": "2333e70a4bd3ac91895402dac77ae8ae0ed25995"
"gitHead": "1402f4bcfdfcec328fc1e20cf1656bbefe7c3b7b"
}

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