Socket
Socket
Sign inDemoInstall

@react-native/metro-config

Package Overview
Dependencies
Maintainers
10
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/metro-config - npm Package Compare versions

Comparing version 0.72.6 to 0.72.7

13

index.js

@@ -11,5 +11,5 @@ /**

/*:: import type {MetroConfig} from 'metro-config'; */
/*:: import type {ConfigT} from 'metro-config'; */
const {mergeConfig} = require('metro-config');
const {getDefaultConfig: getBaseConfig, mergeConfig} = require('metro-config');

@@ -42,4 +42,4 @@ const INTERNAL_CALLSITES_REGEX = new RegExp(

projectRoot /*: string */
) /*: MetroConfig */ {
return {
) /*: ConfigT */ {
const config = {
resolver: {

@@ -82,4 +82,9 @@ resolverMainFields: ['react-native', 'browser', 'main'],

};
return mergeConfig(
getBaseConfig.getDefaultValues(projectRoot),
config,
);
}
module.exports = {getDefaultConfig, mergeConfig};
{
"name": "@react-native/metro-config",
"version": "0.72.6",
"version": "0.72.7",
"description": "Metro configuration for React Native.",

@@ -5,0 +5,0 @@ "repository": {

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