@angular/core 12.2.0-rc.0 → 12.2.3

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.2.0-rc.0
2
+ * @license Angular v12.2.3
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.2.0-rc.0
2
+ * @license Angular v12.2.3
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -9934,6 +9934,7 @@
9934
9934
  // an error, mark the view as corrupted so we can try to recover.
9935
9935
  if (tView.firstCreatePass) {
9936
9936
  tView.incompleteFirstPass = true;
9937
+ tView.firstCreatePass = false;
9937
9938
  }
9938
9939
  throw error;
9939
9940
  }
@@ -22032,7 +22033,7 @@
22032
22033
  /**
22033
22034
  * @publicApi
22034
22035
  */
22035
- var VERSION = new Version('12.2.0-rc.0');
22036
+ var VERSION = new Version('12.2.3');
22036
22037
 
22037
22038
  /**
22038
22039
  * @license
@@ -31477,16 +31478,16 @@
31477
31478
  /**
31478
31479
  * Work out the locale from the potential global properties.
31479
31480
  *
31480
- * * Closure Compiler: use `goog.LOCALE`.
31481
+ * * Closure Compiler: use `goog.getLocale()`.
31481
31482
  * * Ivy enabled: use `$localize.locale`
31482
31483
  */
31483
31484
  function getGlobalLocale() {
31484
31485
  if (typeof ngI18nClosureMode !== 'undefined' && ngI18nClosureMode &&
31485
- typeof goog !== 'undefined' && goog.LOCALE !== 'en') {
31486
- // * The default `goog.LOCALE` value is `en`, while Angular used `en-US`.
31486
+ typeof goog !== 'undefined' && goog.getLocale() !== 'en') {
31487
+ // * The default `goog.getLocale()` value is `en`, while Angular used `en-US`.
31487
31488
  // * In order to preserve backwards compatibility, we use Angular default value over
31488
31489
  // Closure Compiler's one.
31489
- return goog.LOCALE;
31490
+ return goog.getLocale();
31490
31491
  }
31491
31492
  else {
31492
31493
  // KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE