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

@lwc/module-resolver

Package Overview
Dependencies
Maintainers
13
Versions
797
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/module-resolver - npm Package Compare versions

Comparing version 7.3.0-alpha.3 to 8.0.0-alpha.0

7

dist/index.cjs.js

@@ -171,6 +171,9 @@ /**

if (fs.existsSync(lwcConfigPath)) {
// Using require() to read JSON, rather than load a module
// eslint-disable-next-line @typescript-eslint/no-require-imports
return require(lwcConfigPath);
}
else {
// eslint-disable-next-line @typescript-eslint/no-var-requires
// Using require() to read JSON, rather than load a module
// eslint-disable-next-line @typescript-eslint/no-require-imports
return require(packageJsonPath).lwc ?? {};

@@ -352,3 +355,3 @@ }

exports.resolveModule = resolveModule;
/** version: 7.2.0 */
/** version: 7.2.4 */
//# sourceMappingURL=index.cjs.js.map

@@ -167,6 +167,9 @@ /**

if (fs.existsSync(lwcConfigPath)) {
// Using require() to read JSON, rather than load a module
// eslint-disable-next-line @typescript-eslint/no-require-imports
return require(lwcConfigPath);
}
else {
// eslint-disable-next-line @typescript-eslint/no-var-requires
// Using require() to read JSON, rather than load a module
// eslint-disable-next-line @typescript-eslint/no-require-imports
return require(packageJsonPath).lwc ?? {};

@@ -348,3 +351,3 @@ }

export { RegistryType, resolveModule };
/** version: 7.2.0 */
/** version: 7.2.4 */
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ {

"name": "@lwc/module-resolver",
"version": "7.3.0-alpha.3",
"version": "8.0.0-alpha.0",
"description": "Resolves paths for LWC components",

@@ -26,2 +26,5 @@ "keywords": [

},
"engines": {
"node": ">=20.9.0"
},
"main": "dist/index.cjs.js",

@@ -28,0 +31,0 @@ "module": "dist/index.js",

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