@angular/core 14.0.0-next.10 → 14.0.0-next.13
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 +1 -2
- package/esm2020/src/application_ref.mjs +10 -11
- package/esm2020/src/application_tokens.mjs +5 -2
- package/esm2020/src/change_detection/change_detection.mjs +2 -2
- package/esm2020/src/change_detection/differs/default_iterable_differ.mjs +2 -2
- package/esm2020/src/change_detection/differs/default_keyvalue_differ.mjs +2 -2
- package/esm2020/src/console.mjs +4 -3
- package/esm2020/src/core_private_export.mjs +3 -2
- package/esm2020/src/platform_core_providers.mjs +3 -14
- package/esm2020/src/render3/bindings.mjs +2 -2
- package/esm2020/src/render3/instructions/element.mjs +22 -7
- package/esm2020/src/render3/instructions/shared.mjs +35 -15
- package/esm2020/src/testability/testability.mjs +4 -3
- 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/r3_test_bed.mjs +5 -8
- package/esm2020/testing/src/test_bed.mjs +1 -1
- package/esm2020/testing/src/test_bed_common.mjs +1 -1
- package/fesm2015/core.mjs +103 -59
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +5 -8
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +103 -59
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +5 -8
- package/fesm2020/testing.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/migrations/path-match-type/index.d.ts +11 -0
- package/schematics/migrations/path-match-type/index.js +95 -0
- package/schematics/migrations/path-match-type/transform.d.ts +19 -0
- package/schematics/migrations/path-match-type/transform.js +48 -0
- package/schematics/migrations/path-match-type/update_recorder.d.ts +18 -0
- package/schematics/migrations/path-match-type/update_recorder.js +20 -0
- package/schematics/migrations/path-match-type/util.d.ts +11 -0
- package/schematics/migrations/path-match-type/util.js +106 -0
- package/schematics/migrations.json +8 -3
- package/testing/testing.d.ts +1 -42
- package/esm2020/src/change_detection/change_detection_util.mjs +0 -64
package/fesm2015/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.0-next.
|
|
2
|
+
* @license Angular v14.0.0-next.13
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1539,9 +1539,9 @@ class TestBedRender3 {
|
|
|
1539
1539
|
*
|
|
1540
1540
|
* @publicApi
|
|
1541
1541
|
*/
|
|
1542
|
-
static initTestEnvironment(ngModule, platform,
|
|
1542
|
+
static initTestEnvironment(ngModule, platform, options) {
|
|
1543
1543
|
const testBed = _getTestBedRender3();
|
|
1544
|
-
testBed.initTestEnvironment(ngModule, platform,
|
|
1544
|
+
testBed.initTestEnvironment(ngModule, platform, options);
|
|
1545
1545
|
return testBed;
|
|
1546
1546
|
}
|
|
1547
1547
|
/**
|
|
@@ -1639,14 +1639,11 @@ class TestBedRender3 {
|
|
|
1639
1639
|
*
|
|
1640
1640
|
* @publicApi
|
|
1641
1641
|
*/
|
|
1642
|
-
initTestEnvironment(ngModule, platform,
|
|
1642
|
+
initTestEnvironment(ngModule, platform, options) {
|
|
1643
1643
|
if (this.platform || this.ngModule) {
|
|
1644
1644
|
throw new Error('Cannot set base providers because it has already been called');
|
|
1645
1645
|
}
|
|
1646
|
-
|
|
1647
|
-
// an AOT summaries factory which Ivy doesn't support.
|
|
1648
|
-
TestBedRender3._environmentTeardownOptions =
|
|
1649
|
-
typeof summariesOrOptions === 'function' ? undefined : summariesOrOptions === null || summariesOrOptions === void 0 ? void 0 : summariesOrOptions.teardown;
|
|
1646
|
+
TestBedRender3._environmentTeardownOptions = options === null || options === void 0 ? void 0 : options.teardown;
|
|
1650
1647
|
this.platform = platform;
|
|
1651
1648
|
this.ngModule = ngModule;
|
|
1652
1649
|
this._compiler = new R3TestBedCompiler(this.platform, this.ngModule);
|