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

@gasket/resolve

Package Overview
Dependencies
Maintainers
6
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gasket/resolve - npm Package Compare versions

Comparing version 6.14.0 to 6.15.2

5

CHANGELOG.md
# `@gasket/resolve`
### 6.15.2
- Handle missing package exports ([#333])
### 6.0.0

@@ -67,3 +71,4 @@

[#247]: https://github.com/godaddy/gasket/pull/247
[#333]: https://github.com/godaddy/gasket/pull/333
[Loader]:/packages/gasket-resolve/docs/api.md#loader

14

lib/resolver.js

@@ -59,6 +59,7 @@ const debug = require('diagnostics')('gasket:resolver');

} catch (err) {
if (err.code === 'MODULE_NOT_FOUND'
&& err.message.includes(moduleName)) return null;
debug('try-resolve error', err.message);
if (err.code === 'MODULE_NOT_FOUND' && err.message.includes(moduleName) ||
err.code === 'ERR_PACKAGE_PATH_NOT_EXPORTED'
) return null;
debug('try-resolve error', err.message);
throw err;

@@ -79,6 +80,7 @@ }

} catch (err) {
if (err.code === 'MODULE_NOT_FOUND'
&& err.message.includes(moduleName)) return null;
debug('try-require error', err.message);
if (err.code === 'MODULE_NOT_FOUND' && err.message.includes(moduleName) ||
err.code === 'ERR_PACKAGE_PATH_NOT_EXPORTED'
) return null;
debug('try-require error', err.message);
throw err;

@@ -85,0 +87,0 @@ }

{
"name": "@gasket/resolve",
"version": "6.14.0",
"version": "6.15.2",
"description": "Essential module resolution & configuration management for gasket plugins & presets.",

@@ -68,3 +68,3 @@ "main": "lib",

},
"gitHead": "b13c1b3ab1c25dff4f7efc67e9685e790c88e38b"
"gitHead": "6b4a3ad6b1f2e3a4b9085fb6b1090d7a9add1b38"
}
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