Socket
Socket
Sign inDemoInstall

metro-resolver

Package Overview
Dependencies
Maintainers
2
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-resolver - npm Package Compare versions

Comparing version 0.80.4 to 0.80.5

4

package.json
{
"name": "metro-resolver",
"version": "0.80.4",
"version": "0.80.5",
"description": "🚇 Implementation of Metro's resolution logic.",

@@ -19,4 +19,4 @@ "main": "src",

"devDependencies": {
"metro": "0.80.4"
"metro": "0.80.5"
}
}
# metro-resolver
🚇 [Metro](https://facebook.github.io/metro/) resolution logic
🚇 [Metro](https://metrobundler.dev/) resolution logic

@@ -102,3 +102,11 @@ "use strict";

}
if (context.doesFileExist(filePath)) {
if (context.unstable_getRealPath != null) {
const maybeRealPath = context.unstable_getRealPath(filePath);
if (maybeRealPath != null) {
return {
type: "sourceFile",
filePath: maybeRealPath,
};
}
} else if (context.doesFileExist(filePath)) {
return {

@@ -105,0 +113,0 @@ type: "sourceFile",

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