New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@expo/metro-runtime

Package Overview
Dependencies
Maintainers
27
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/metro-runtime - npm Package Compare versions

Comparing version 4.0.1-canary-20250114-804e26d to 4.0.1

4

package.json
{
"name": "@expo/metro-runtime",
"version": "4.0.1-canary-20250114-804e26d",
"version": "4.0.1",
"description": "Tools for making advanced Metro bundler features work",

@@ -40,3 +40,3 @@ "sideEffects": true,

},
"gitHead": "804e26d8545f2b890dfa80eeb8122036f38d4d0c"
"gitHead": "0a0c6d35a691fc59c0d94675d159ac9e3dfd6f26"
}

@@ -22,2 +22,5 @@ /* eslint-env browser */

case 'rsc-reload':
if (data.params.platform && data.params.platform !== process.env.EXPO_OS) {
return;
}
console.log(

@@ -27,3 +30,7 @@ 'HMR(Client): Reload received from server. Sending to listeners:',

);
globalThis.__EXPO_RSC_RELOAD_LISTENERS__?.forEach((l) => l());
if (!globalThis.__EXPO_RSC_RELOAD_LISTENERS__) {
// server function-only mode
} else {
globalThis.__EXPO_RSC_RELOAD_LISTENERS__?.forEach((l) => l());
}
break;

@@ -30,0 +37,0 @@ }

@@ -17,2 +17,5 @@ /* eslint-env browser */

case 'rsc-reload':
if (data.params.platform && data.params.platform !== process.env.EXPO_OS) {
return;
}
globalThis.__EXPO_RSC_RELOAD_LISTENERS__?.forEach((l) => l());

@@ -19,0 +22,0 @@ break;

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