@angular/core 14.0.6 → 14.0.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/esm2020/src/di/r3_injector.mjs +7 -1
- package/esm2020/src/errors.mjs +1 -1
- 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/esm2020/testing/src/test_bed_common.mjs +1 -1
- package/fesm2015/core.mjs +8 -2
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +8 -2
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +8 -2
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +8 -2
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/package.json +1 -1
- package/testing/index.d.ts +2 -2
package/fesm2020/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.
|
|
2
|
+
* @license Angular v14.0.7
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -9185,6 +9185,12 @@ class R3Injector extends EnvironmentInjector {
|
|
|
9185
9185
|
const previousInjectImplementation = setInjectImplementation(undefined);
|
|
9186
9186
|
try {
|
|
9187
9187
|
const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);
|
|
9188
|
+
if (ngDevMode && !Array.isArray(initializers)) {
|
|
9189
|
+
throw new RuntimeError(209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +
|
|
9190
|
+
`(expected an array, but got ${typeof initializers}). ` +
|
|
9191
|
+
'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' +
|
|
9192
|
+
'`multi: true` provider.');
|
|
9193
|
+
}
|
|
9188
9194
|
for (const initializer of initializers) {
|
|
9189
9195
|
initializer();
|
|
9190
9196
|
}
|
|
@@ -21058,7 +21064,7 @@ class Version {
|
|
|
21058
21064
|
/**
|
|
21059
21065
|
* @publicApi
|
|
21060
21066
|
*/
|
|
21061
|
-
const VERSION = new Version('14.0.
|
|
21067
|
+
const VERSION = new Version('14.0.7');
|
|
21062
21068
|
|
|
21063
21069
|
/**
|
|
21064
21070
|
* @license
|