@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.
- package/core.d.ts +2 -2
- package/esm2020/src/debug/debug_node.mjs +1 -1
- package/esm2020/src/i18n/tokens.mjs +5 -5
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +6 -6
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/core.mjs +6 -6
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/package.json +1 -1
- package/testing/testing.d.ts +1 -1
package/fesm2015/testing.mjs
CHANGED
package/fesm2020/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.0-next.
|
|
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.
|
|
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.
|
|
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.
|
|
25163
|
-
// * The default `goog.
|
|
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.
|
|
25166
|
+
return goog.LOCALE;
|
|
25167
25167
|
}
|
|
25168
25168
|
else {
|
|
25169
25169
|
// KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE
|