@lwrjs/base-view-transformer 0.11.4 → 0.11.6
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/index.cjs +4 -1
- package/build/es/index.js +4 -1
- package/package.json +5 -5
package/build/cjs/index.cjs
CHANGED
|
@@ -54,7 +54,10 @@ function baseViewTransformer(options, lwrGlobalContext) {
|
|
|
54
54
|
}
|
|
55
55
|
} catch (e) {
|
|
56
56
|
if (e instanceof import_diagnostics.LwrUnresolvableError || e.diagnostics) {
|
|
57
|
-
import_diagnostics.logger.warn(
|
|
57
|
+
import_diagnostics.logger.warn({
|
|
58
|
+
label: `${this.name}`,
|
|
59
|
+
message: "Asset was not found for " + (ref.url || "empty url")
|
|
60
|
+
});
|
|
58
61
|
return ref;
|
|
59
62
|
}
|
|
60
63
|
throw e;
|
package/build/es/index.js
CHANGED
|
@@ -28,7 +28,10 @@ export default function baseViewTransformer(options, lwrGlobalContext) {
|
|
|
28
28
|
if (e instanceof LwrUnresolvableError || e.diagnostics) {
|
|
29
29
|
// the asset may not exist, in which case the URL is not overwritten. Log a warning so
|
|
30
30
|
// the developer can see the bad asset URL, and be able to correct it
|
|
31
|
-
logger.warn(
|
|
31
|
+
logger.warn({
|
|
32
|
+
label: `${this.name}`,
|
|
33
|
+
message: 'Asset was not found for ' + (ref.url || 'empty url'),
|
|
34
|
+
});
|
|
32
35
|
return ref;
|
|
33
36
|
}
|
|
34
37
|
throw e;
|
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.6",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"build/**/*.d.ts"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lwrjs/diagnostics": "0.11.
|
|
34
|
-
"@lwrjs/shared-utils": "0.11.
|
|
33
|
+
"@lwrjs/diagnostics": "0.11.6",
|
|
34
|
+
"@lwrjs/shared-utils": "0.11.6"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@lwrjs/types": "0.11.
|
|
37
|
+
"@lwrjs/types": "0.11.6"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=16.0.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "415e25c05b4b1a0356fb89801f1242e8f73143e3"
|
|
43
43
|
}
|