@angular/core 14.0.0-next.6 → 14.0.0-next.7

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 v14.0.0-next.6
2
+ * @license Angular v14.0.0-next.7
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/fesm2020/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.6
2
+ * @license Angular v14.0.0-next.7
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -21286,7 +21286,7 @@ class Version {
21286
21286
  /**
21287
21287
  * @publicApi
21288
21288
  */
21289
- const VERSION = new Version('14.0.0-next.6');
21289
+ const VERSION = new Version('14.0.0-next.7');
21290
21290
 
21291
21291
  /**
21292
21292
  * @license
@@ -25154,16 +25154,16 @@ Console.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Console, factory: C
25154
25154
  /**
25155
25155
  * Work out the locale from the potential global properties.
25156
25156
  *
25157
- * * Closure Compiler: use `goog.getLocale()`.
25157
+ * * Closure Compiler: use `goog.LOCALE`.
25158
25158
  * * Ivy enabled: use `$localize.locale`
25159
25159
  */
25160
25160
  function getGlobalLocale() {
25161
25161
  if (typeof ngI18nClosureMode !== 'undefined' && ngI18nClosureMode &&
25162
- typeof goog !== 'undefined' && goog.getLocale() !== 'en') {
25163
- // * The default `goog.getLocale()` value is `en`, while Angular used `en-US`.
25162
+ typeof goog !== 'undefined' && goog.LOCALE !== 'en') {
25163
+ // * The default `goog.LOCALE` value is `en`, while Angular used `en-US`.
25164
25164
  // * In order to preserve backwards compatibility, we use Angular default value over
25165
25165
  // Closure Compiler's one.
25166
- return goog.getLocale();
25166
+ return goog.LOCALE;
25167
25167
  }
25168
25168
  else {
25169
25169
  // KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE