@rushstack/webpack4-localization-plugin 0.17.15 → 0.17.17
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/dist/tsdoc-metadata.json
CHANGED
|
@@ -6,7 +6,6 @@ exports.Constants = void 0;
|
|
|
6
6
|
const node_core_library_1 = require("@rushstack/node-core-library");
|
|
7
7
|
class Constants {
|
|
8
8
|
}
|
|
9
|
-
exports.Constants = Constants;
|
|
10
9
|
Constants.LOCALE_FILENAME_TOKEN = '[locale]';
|
|
11
10
|
Constants.LOCALE_FILENAME_TOKEN_REGEX = new RegExp(node_core_library_1.Text.escapeRegExp(Constants.LOCALE_FILENAME_TOKEN), 'gi');
|
|
12
11
|
Constants.NO_LOCALE_SOURCE_MAP_FILENAME_TOKEN = '[no-locale-file]';
|
|
@@ -18,4 +17,5 @@ Constants.LOCALE_NAME_PLACEHOLDER_LABEL = 'B';
|
|
|
18
17
|
Constants.JSONP_PLACEHOLDER_LABEL = 'C';
|
|
19
18
|
Constants.LOCALE_NAME_PLACEHOLDER = `${Constants.STRING_PLACEHOLDER_PREFIX}__${Constants.LOCALE_NAME_PLACEHOLDER_LABEL}_0`;
|
|
20
19
|
Constants.JSONP_PLACEHOLDER = `${Constants.STRING_PLACEHOLDER_PREFIX}__${Constants.JSONP_PLACEHOLDER_LABEL}+chunkId+_0`;
|
|
20
|
+
exports.Constants = Constants;
|
|
21
21
|
//# sourceMappingURL=Constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../src/utilities/Constants.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D,oEAAoD;AAEpD,MAAa,SAAS;;
|
|
1
|
+
{"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../src/utilities/Constants.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D,oEAAoD;AAEpD,MAAa,SAAS;;AACN,+BAAqB,GAAW,UAAU,CAAC;AAC3C,qCAA2B,GAAW,IAAI,MAAM,CAC5D,wBAAI,CAAC,YAAY,CAAC,SAAS,CAAC,qBAAqB,CAAC,EAClD,IAAI,CACL,CAAC;AACY,6CAAmC,GAAW,kBAAkB,CAAC;AACjE,mDAAyC,GAAW,IAAI,MAAM,CAC1E,wBAAI,CAAC,YAAY,CAAC,SAAS,CAAC,mCAAmC,CAAC,EAChE,IAAI,CACL,CAAC;AACY,mCAAyB,GAAW,wDAAwD,CAAC;AAE7F,mCAAyB,GAAW,yCAAyC,CAAC;AAE9E,kCAAwB,GAAW,GAAG,CAAC;AACvC,uCAA6B,GAAW,GAAG,CAAC;AAC5C,iCAAuB,GAAW,GAAG,CAAC;AAEtC,iCAAuB,GAAW,GAAG,SAAS,CAAC,yBAAyB,KAAK,SAAS,CAAC,6BAA6B,IAAI,CAAC;AACzH,2BAAiB,GAAW,GAAG,SAAS,CAAC,yBAAyB,KAAK,SAAS,CAAC,uBAAuB,aAAa,CAAC;AApBzH,8BAAS","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport { Text } from '@rushstack/node-core-library';\n\nexport class Constants {\n public static LOCALE_FILENAME_TOKEN: string = '[locale]';\n public static LOCALE_FILENAME_TOKEN_REGEX: RegExp = new RegExp(\n Text.escapeRegExp(Constants.LOCALE_FILENAME_TOKEN),\n 'gi'\n );\n public static NO_LOCALE_SOURCE_MAP_FILENAME_TOKEN: string = '[no-locale-file]';\n public static NO_LOCALE_SOURCE_MAP_FILENAME_TOKEN_REGEX: RegExp = new RegExp(\n Text.escapeRegExp(Constants.NO_LOCALE_SOURCE_MAP_FILENAME_TOKEN),\n 'gi'\n );\n public static STRING_PLACEHOLDER_PREFIX: string = '_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9';\n\n public static RESOURCE_FILE_NAME_REGEXP: RegExp = /\\.(resx|resx\\.json|loc\\.json|resjson)$/i;\n\n public static STRING_PLACEHOLDER_LABEL: string = 'A';\n public static LOCALE_NAME_PLACEHOLDER_LABEL: string = 'B';\n public static JSONP_PLACEHOLDER_LABEL: string = 'C';\n\n public static LOCALE_NAME_PLACEHOLDER: string = `${Constants.STRING_PLACEHOLDER_PREFIX}__${Constants.LOCALE_NAME_PLACEHOLDER_LABEL}_0`;\n public static JSONP_PLACEHOLDER: string = `${Constants.STRING_PLACEHOLDER_PREFIX}__${Constants.JSONP_PLACEHOLDER_LABEL}+chunkId+_0`;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/webpack4-localization-plugin",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.17",
|
|
4
4
|
"description": "This plugin facilitates localization with Webpack.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "dist/webpack4-localization-plugin.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "webpack/webpack4-localization-plugin"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@rushstack/set-webpack-public-path-plugin": "^3.3.
|
|
14
|
+
"@rushstack/set-webpack-public-path-plugin": "^3.3.106",
|
|
15
15
|
"@types/webpack": "^4.39.0",
|
|
16
16
|
"webpack": "^4.31.0",
|
|
17
17
|
"@types/node": "*"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@types/tapable": "1.0.6",
|
|
32
32
|
"loader-utils": "1.4.2",
|
|
33
33
|
"minimatch": "~3.0.3",
|
|
34
|
-
"@rushstack/localization-utilities": "0.8.
|
|
35
|
-
"@rushstack/node-core-library": "3.59.
|
|
34
|
+
"@rushstack/localization-utilities": "0.8.55",
|
|
35
|
+
"@rushstack/node-core-library": "3.59.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/loader-utils": "1.1.3",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"@types/node": "14.18.36",
|
|
41
41
|
"@types/webpack": "4.41.32",
|
|
42
42
|
"webpack": "~4.44.2",
|
|
43
|
-
"@rushstack/eslint-config": "3.
|
|
44
|
-
"@rushstack/heft": "0.50.
|
|
45
|
-
"@rushstack/heft-node-rig": "1.
|
|
46
|
-
"@rushstack/set-webpack-public-path-plugin": "3.3.
|
|
43
|
+
"@rushstack/eslint-config": "3.3.0",
|
|
44
|
+
"@rushstack/heft": "0.50.7",
|
|
45
|
+
"@rushstack/heft-node-rig": "1.13.1",
|
|
46
|
+
"@rushstack/set-webpack-public-path-plugin": "3.3.106"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "heft build --clean",
|