@lwc/module-resolver
Advanced tools
Comparing version 7.3.0-alpha.3 to 8.0.0-alpha.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69657
791