@angular/core 14.0.5 → 14.0.6
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/application_ref.mjs +2 -2
- package/esm2020/src/render3/index.mjs +2 -2
- package/esm2020/src/render3/instructions/change_detection.mjs +2 -20
- 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 +3 -20
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +4 -21
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +3 -20
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +4 -21
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/testing/index.d.ts +1 -1
package/fesm2015/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.
|
|
2
|
+
* @license Angular v14.0.6
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -366,7 +366,7 @@ function fakeAsync(fn) {
|
|
|
366
366
|
*
|
|
367
367
|
* @publicApi
|
|
368
368
|
*/
|
|
369
|
-
function tick
|
|
369
|
+
function tick(millis = 0, tickOptions = {
|
|
370
370
|
processNewMacroTasksSynchronously: true
|
|
371
371
|
}) {
|
|
372
372
|
if (fakeAsyncTestModule) {
|
|
@@ -14615,23 +14615,6 @@ function markDirty(component) {
|
|
|
14615
14615
|
ngDevMode && assertDefined(rootView[CONTEXT], 'rootContext should be defined');
|
|
14616
14616
|
scheduleTick(rootView[CONTEXT], 1 /* RootContextFlags.DetectChanges */);
|
|
14617
14617
|
}
|
|
14618
|
-
/**
|
|
14619
|
-
* Used to perform change detection on the whole application.
|
|
14620
|
-
*
|
|
14621
|
-
* This is equivalent to `detectChanges`, but invoked on root component. Additionally, `tick`
|
|
14622
|
-
* executes lifecycle hooks and conditionally checks components based on their
|
|
14623
|
-
* `ChangeDetectionStrategy` and dirtiness.
|
|
14624
|
-
*
|
|
14625
|
-
* The preferred way to trigger change detection is to call `markDirty`. `markDirty` internally
|
|
14626
|
-
* schedules `tick` using a scheduler in order to coalesce multiple `markDirty` calls into a
|
|
14627
|
-
* single change detection run. By default, the scheduler is `requestAnimationFrame`, but can
|
|
14628
|
-
* be changed when calling `renderComponent` and providing the `scheduler` option.
|
|
14629
|
-
*/
|
|
14630
|
-
function tick(component) {
|
|
14631
|
-
const rootView = getRootView(component);
|
|
14632
|
-
const rootContext = rootView[CONTEXT];
|
|
14633
|
-
tickRootContext(rootContext);
|
|
14634
|
-
}
|
|
14635
14618
|
|
|
14636
14619
|
/**
|
|
14637
14620
|
* @license
|
|
@@ -21377,7 +21360,7 @@ class Version {
|
|
|
21377
21360
|
/**
|
|
21378
21361
|
* @publicApi
|
|
21379
21362
|
*/
|
|
21380
|
-
const VERSION = new Version('14.0.
|
|
21363
|
+
const VERSION = new Version('14.0.6');
|
|
21381
21364
|
|
|
21382
21365
|
/**
|
|
21383
21366
|
* @license
|
|
@@ -26606,5 +26589,5 @@ const __core_private_testing_placeholder__ = '';
|
|
|
26606
26589
|
* Generated bundle index. Do not edit.
|
|
26607
26590
|
*/
|
|
26608
26591
|
|
|
26609
|
-
export { ComponentFixture, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, InjectSetupWrapper, TestBed, TestComponentRenderer, __core_private_testing_placeholder__, async, discardPeriodicTasks, fakeAsync, flush, flushMicrotasks, getTestBed, inject, resetFakeAsyncZone, tick
|
|
26592
|
+
export { ComponentFixture, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, InjectSetupWrapper, TestBed, TestComponentRenderer, __core_private_testing_placeholder__, async, discardPeriodicTasks, fakeAsync, flush, flushMicrotasks, getTestBed, inject, resetFakeAsyncZone, tick, waitForAsync, withModule, MetadataOverrider as ɵMetadataOverrider };
|
|
26610
26593
|
//# sourceMappingURL=testing.mjs.map
|