@expo/metro-config
Advanced tools
Comparing version 0.19.0-canary-20240625-2333e70 to 0.19.0-canary-20240627-1402f4b
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
280121
+ Added@expo/config@9.0.3-canary-20240627-1402f4b(transitive)
+ Added@expo/config-plugins@8.0.6-canary-20240627-1402f4b(transitive)
+ Added@expo/config-types@52.0.0-canary-20240627-1402f4b(transitive)
+ Added@expo/env@0.3.1-canary-20240627-1402f4b(transitive)
+ Added@expo/json-file@8.3.4-canary-20240627-1402f4b(transitive)
+ Added@expo/plist@0.1.4-canary-20240627-1402f4b(transitive)
+ Addedcaniuse-lite@1.0.30001686(transitive)
+ Addeddotenv@16.4.6(transitive)
+ Addedelectron-to-chromium@1.5.68(transitive)
- Removed@expo/config@9.0.3-canary-20240625-2333e70(transitive)
- Removed@expo/config-plugins@8.0.6-canary-20240625-2333e70(transitive)
- Removed@expo/config-types@52.0.0-canary-20240625-2333e70(transitive)
- Removed@expo/env@0.3.1-canary-20240625-2333e70(transitive)
- Removed@expo/json-file@8.3.4-canary-20240625-2333e70(transitive)
- Removed@expo/plist@0.1.4-canary-20240625-2333e70(transitive)
- Removedcaniuse-lite@1.0.30001685(transitive)
- Removeddotenv@16.4.5(transitive)
- Removedelectron-to-chromium@1.5.67(transitive)