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

@lwc/module-resolver

Package Overview
Dependencies
Maintainers
14
Versions
799
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 6.1.1 to 6.2.0

8

dist/index.cjs.js

@@ -89,3 +89,3 @@ /**

}
return isDirModuleRecord(m) ? Object.assign(Object.assign({}, m), { dir: path.resolve(rootDir, m.dir) }) : m;
return isDirModuleRecord(m) ? { ...m, dir: path.resolve(rootDir, m.dir) } : m;
});

@@ -163,3 +163,2 @@ return {

function getLwcConfig(dirname) {
var _a;
const packageJsonPath = path.resolve(dirname, PACKAGE_JSON);

@@ -171,3 +170,4 @@ const lwcConfigPath = path.resolve(dirname, LWC_CONFIG_FILE);

else {
return (_a = require(packageJsonPath).lwc) !== null && _a !== void 0 ? _a : {};
// eslint-disable-next-line @typescript-eslint/no-var-requires
return require(packageJsonPath).lwc ?? {};
}

@@ -329,3 +329,3 @@ }

exports.resolveModule = resolveModule;
/** version: 6.1.1 */
/** version: 6.2.0 */
//# sourceMappingURL=index.cjs.js.map

@@ -85,3 +85,3 @@ /**

}
return isDirModuleRecord(m) ? Object.assign(Object.assign({}, m), { dir: path.resolve(rootDir, m.dir) }) : m;
return isDirModuleRecord(m) ? { ...m, dir: path.resolve(rootDir, m.dir) } : m;
});

@@ -159,3 +159,2 @@ return {

function getLwcConfig(dirname) {
var _a;
const packageJsonPath = path.resolve(dirname, PACKAGE_JSON);

@@ -167,3 +166,4 @@ const lwcConfigPath = path.resolve(dirname, LWC_CONFIG_FILE);

else {
return (_a = require(packageJsonPath).lwc) !== null && _a !== void 0 ? _a : {};
// eslint-disable-next-line @typescript-eslint/no-var-requires
return require(packageJsonPath).lwc ?? {};
}

@@ -325,3 +325,3 @@ }

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

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

"name": "@lwc/module-resolver",
"version": "6.1.1",
"version": "6.2.0",
"description": "Resolves paths for LWC components",

@@ -10,0 +10,0 @@ "keywords": [

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