Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metro-resolver

Package Overview
Dependencies
Maintainers
2
Versions
145
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.76.1 to 0.76.2

2

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

@@ -5,0 +5,0 @@ "main": "src",

@@ -9,5 +9,2 @@ "use strict";

var _path = _interopRequireDefault(require("path"));
var _InvalidModuleSpecifierError = _interopRequireDefault(
require("./errors/InvalidModuleSpecifierError")
);
var _InvalidPackageConfigurationError = _interopRequireDefault(

@@ -96,11 +93,2 @@ require("./errors/InvalidPackageConfigurationError")

}
if (patternMatch != null && findInvalidPathSegment(patternMatch) != null) {
throw new _InvalidModuleSpecifierError.default({
importSpecifier: modulePath,
reason:
`The target for "${subpath}" defined in "exports" is "${target}", ` +
"however this expands to an invalid subpath because the pattern " +
`match "${patternMatch}" is invalid.`,
});
}
const filePath = _path.default.join(

@@ -107,0 +95,0 @@ packagePath,

@@ -21,5 +21,2 @@ /**

);
var _InvalidModuleSpecifierError = _interopRequireDefault(
require("./errors/InvalidModuleSpecifierError")
);
var _InvalidPackageConfigurationError = _interopRequireDefault(

@@ -279,6 +276,3 @@ require("./errors/InvalidPackageConfigurationError")

);
} else if (
e instanceof _InvalidModuleSpecifierError.default ||
e instanceof _InvalidPackageConfigurationError.default
) {
} else if (e instanceof _InvalidPackageConfigurationError.default) {
context.unstable_logWarning(

@@ -285,0 +279,0 @@ e.message + " Falling back to file-based resolution."

@@ -100,2 +100,4 @@ /**

* module path, if it is contained within an npm package.
*
* @deprecated
*/

@@ -102,0 +104,0 @@ readonly getPackageForModule: (modulePath: string) => PackageInfo | null;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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