@angular/core 12.2.0 → 12.2.1
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/bundles/core-testing.umd.js +1 -1
- package/bundles/core.umd.js +6 -6
- package/bundles/core.umd.js.map +1 -1
- package/core.d.ts +1 -1
- package/core.metadata.json +1 -1
- package/esm2015/src/application_module.js +5 -5
- package/esm2015/src/version.js +1 -1
- package/fesm2015/core.js +6 -6
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/bundles/core.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v12.2.
|
|
2
|
+
* @license Angular v12.2.1
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -22033,7 +22033,7 @@
|
|
|
22033
22033
|
/**
|
|
22034
22034
|
* @publicApi
|
|
22035
22035
|
*/
|
|
22036
|
-
var VERSION = new Version('12.2.
|
|
22036
|
+
var VERSION = new Version('12.2.1');
|
|
22037
22037
|
|
|
22038
22038
|
/**
|
|
22039
22039
|
* @license
|
|
@@ -31478,16 +31478,16 @@
|
|
|
31478
31478
|
/**
|
|
31479
31479
|
* Work out the locale from the potential global properties.
|
|
31480
31480
|
*
|
|
31481
|
-
* * Closure Compiler: use `goog.
|
|
31481
|
+
* * Closure Compiler: use `goog.getLocale()`.
|
|
31482
31482
|
* * Ivy enabled: use `$localize.locale`
|
|
31483
31483
|
*/
|
|
31484
31484
|
function getGlobalLocale() {
|
|
31485
31485
|
if (typeof ngI18nClosureMode !== 'undefined' && ngI18nClosureMode &&
|
|
31486
|
-
typeof goog !== 'undefined' && goog.
|
|
31487
|
-
// * The default `goog.
|
|
31486
|
+
typeof goog !== 'undefined' && goog.getLocale() !== 'en') {
|
|
31487
|
+
// * The default `goog.getLocale()` value is `en`, while Angular used `en-US`.
|
|
31488
31488
|
// * In order to preserve backwards compatibility, we use Angular default value over
|
|
31489
31489
|
// Closure Compiler's one.
|
|
31490
|
-
return goog.
|
|
31490
|
+
return goog.getLocale();
|
|
31491
31491
|
}
|
|
31492
31492
|
else {
|
|
31493
31493
|
// KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE
|