@lwrjs/lwc-module-provider 0.11.0 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/utils.cjs +1 -1
- package/build/es/utils.js +2 -2
- package/package.json +8 -8
package/build/cjs/utils.cjs
CHANGED
|
@@ -43,7 +43,7 @@ function resolveModuleSpecifier(specifier, importer, modules = [], packageVersio
|
|
|
43
43
|
try {
|
|
44
44
|
resolvedModule = (0, import_module_resolver.resolveModule)(specifier, importer, {modules});
|
|
45
45
|
} catch (error) {
|
|
46
|
-
if (import_diagnostics.logger.
|
|
46
|
+
if (import_diagnostics.logger.isDebugEnabled()) {
|
|
47
47
|
import_diagnostics.logger.debug(`[lwc-module-provider] @lwc/module-resolver/resolveModule ${specifier}`);
|
|
48
48
|
import_diagnostics.logger.error(error);
|
|
49
49
|
}
|
package/build/es/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { logger
|
|
3
|
+
import { logger } from '@lwrjs/diagnostics';
|
|
4
4
|
import { readFile, debounce } from '@lwrjs/shared-utils';
|
|
5
5
|
import { resolveModule } from '@lwc/module-resolver';
|
|
6
6
|
export const EXPLICIT_CONSTANT = '/* _implicit_dependency_ */';
|
|
@@ -12,7 +12,7 @@ export function resolveModuleSpecifier(specifier, importer, modules = [], packag
|
|
|
12
12
|
resolvedModule = resolveModule(specifier, importer, { modules });
|
|
13
13
|
}
|
|
14
14
|
catch (error) {
|
|
15
|
-
if (logger.
|
|
15
|
+
if (logger.isDebugEnabled()) {
|
|
16
16
|
// If log level is debug or greater. Otherwise error will be swalloed and resolved by npm-resolver
|
|
17
17
|
logger.debug(`[lwc-module-provider] @lwc/module-resolver/resolveModule ${specifier}`);
|
|
18
18
|
logger.error(error);
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.2",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/preset-typescript": "^7.23.2",
|
|
34
|
-
"@lwrjs/diagnostics": "0.11.
|
|
35
|
-
"@lwrjs/fs-watch": "0.11.
|
|
36
|
-
"@lwrjs/shared-utils": "0.11.
|
|
34
|
+
"@lwrjs/diagnostics": "0.11.2",
|
|
35
|
+
"@lwrjs/fs-watch": "0.11.2",
|
|
36
|
+
"@lwrjs/shared-utils": "0.11.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@lwrjs/types": "0.11.
|
|
39
|
+
"@lwrjs/types": "0.11.2",
|
|
40
40
|
"typescript": "^4.9.5"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@lwc/compiler": "2.x
|
|
44
|
-
"@lwc/module-resolver": "2.x
|
|
43
|
+
"@lwc/compiler": ">= 2.x",
|
|
44
|
+
"@lwc/module-resolver": ">= 2.x"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=16.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "290a924d5e6610b54566aec8750895772f06d3aa"
|
|
50
50
|
}
|