@lwrjs/label-module-provider 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
|
@@ -46,7 +46,10 @@ var LabelModuleProvider = class {
|
|
|
46
46
|
this.i18n = config.i18n;
|
|
47
47
|
this.useI18nFallbacks = !!this.i18n.locales.find((f) => f.fallback);
|
|
48
48
|
if (!this.useI18nFallbacks && labelDirs.length > 1) {
|
|
49
|
-
import_diagnostics.logger.warn(
|
|
49
|
+
import_diagnostics.logger.warn({
|
|
50
|
+
label: `${this.name}`,
|
|
51
|
+
message: `You are using the label provider with a deprecated fallback strategy. Please migrate to the new i18n app-level configuration.`
|
|
52
|
+
});
|
|
50
53
|
}
|
|
51
54
|
const {rootDir, contentDir, layoutsDir} = config;
|
|
52
55
|
labelDirs.forEach((config2) => {
|
package/build/es/index.js
CHANGED
|
@@ -18,7 +18,10 @@ export default class LabelModuleProvider {
|
|
|
18
18
|
this.i18n = config.i18n;
|
|
19
19
|
this.useI18nFallbacks = !!this.i18n.locales.find((f) => f.fallback);
|
|
20
20
|
if (!this.useI18nFallbacks && labelDirs.length > 1) {
|
|
21
|
-
logger.warn(
|
|
21
|
+
logger.warn({
|
|
22
|
+
label: `${this.name}`,
|
|
23
|
+
message: `You are using the label provider with a deprecated fallback strategy. Please migrate to the new i18n app-level configuration.`,
|
|
24
|
+
});
|
|
22
25
|
}
|
|
23
26
|
// normalize the label directories
|
|
24
27
|
const { rootDir, contentDir, layoutsDir } = config;
|
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,15 +30,15 @@
|
|
|
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
|
"ajv": "6.12.6"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@lwrjs/types": "0.11.
|
|
38
|
+
"@lwrjs/types": "0.11.6"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=16.0.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "415e25c05b4b1a0356fb89801f1242e8f73143e3"
|
|
44
44
|
}
|