@angular-devkit/build-angular 14.0.1 → 14.0.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/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.2",
|
|
4
4
|
"description": "Angular Webpack Build Facade",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
7
7
|
"builders": "builders.json",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@ampproject/remapping": "2.2.0",
|
|
10
|
-
"@angular-devkit/architect": "0.1400.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.1400.
|
|
12
|
-
"@angular-devkit/core": "14.0.
|
|
10
|
+
"@angular-devkit/architect": "0.1400.2",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.1400.2",
|
|
12
|
+
"@angular-devkit/core": "14.0.2",
|
|
13
13
|
"@babel/core": "7.17.10",
|
|
14
14
|
"@babel/generator": "7.17.10",
|
|
15
15
|
"@babel/helper-annotate-as-pure": "7.16.7",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@babel/runtime": "7.17.9",
|
|
21
21
|
"@babel/template": "7.16.7",
|
|
22
22
|
"@discoveryjs/json-ext": "0.5.7",
|
|
23
|
-
"@ngtools/webpack": "14.0.
|
|
23
|
+
"@ngtools/webpack": "14.0.2",
|
|
24
24
|
"ansi-colors": "4.1.1",
|
|
25
25
|
"babel-loader": "8.2.5",
|
|
26
26
|
"babel-plugin-istanbul": "6.1.1",
|
|
@@ -146,12 +146,12 @@ async function configureI18nBuild(context, options) {
|
|
|
146
146
|
if (first) {
|
|
147
147
|
localeDataPath = findLocaleDataPath(first.toLowerCase(), localeResolver);
|
|
148
148
|
if (localeDataPath) {
|
|
149
|
-
context.logger.warn(`Locale data for '${locale}' cannot be found.
|
|
149
|
+
context.logger.warn(`Locale data for '${locale}' cannot be found. Using locale data for '${first}'.`);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
if (!localeDataPath) {
|
|
154
|
-
context.logger.warn(`Locale data for '${locale}' cannot be found.
|
|
154
|
+
context.logger.warn(`Locale data for '${locale}' cannot be found. No locale data will be included for this locale.`);
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
157
|
desc.dataPath = localeDataPath;
|
|
@@ -194,11 +194,8 @@ function findLocaleDataPath(locale, resolver) {
|
|
|
194
194
|
return resolver(scrubbedLocale);
|
|
195
195
|
}
|
|
196
196
|
catch {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
return findLocaleDataPath('en-US-POSIX', resolver);
|
|
200
|
-
}
|
|
201
|
-
return null;
|
|
197
|
+
// fallback to known existing en-US locale data as of 14.0
|
|
198
|
+
return scrubbedLocale === 'en-US' ? findLocaleDataPath('en', resolver) : null;
|
|
202
199
|
}
|
|
203
200
|
}
|
|
204
201
|
/** Remove temporary directory used for i18n processing. */
|