@angular/core 12.0.1 → 12.0.2
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/bundles/core-testing.umd.js +42 -25
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core.umd.js +21 -15
- package/bundles/core.umd.js.map +1 -1
- package/core.d.ts +8 -6
- package/core.metadata.json +1 -1
- package/esm2015/src/render3/util/discovery_utils.js +18 -12
- package/esm2015/src/render3/view_ref.js +3 -3
- package/esm2015/src/version.js +1 -1
- package/esm2015/testing/src/fake_async.js +42 -25
- package/fesm2015/core.js +21 -15
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +42 -25
- package/fesm2015/testing.js.map +1 -1
- package/package.json +2 -2
- package/schematics/migrations/deep-shadow-piercing-selector/index.d.ts +10 -0
- package/schematics/migrations/deep-shadow-piercing-selector/index.js +49 -0
- package/schematics/migrations.json +5 -0
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +42 -25
- package/testing.d.ts +1 -1
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v12.0.
|
|
2
|
+
* @license Angular v12.0.2
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8839,7 +8839,7 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8839
8839
|
*
|
|
8840
8840
|
* ```typescript
|
|
8841
8841
|
* @Component({
|
|
8842
|
-
* selector: '
|
|
8842
|
+
* selector: 'app-root',
|
|
8843
8843
|
* template: `Number of ticks: {{numberOfTicks}}`
|
|
8844
8844
|
* changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8845
8845
|
* })
|
|
@@ -8955,7 +8955,7 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8955
8955
|
* }
|
|
8956
8956
|
*
|
|
8957
8957
|
* @Component({
|
|
8958
|
-
* selector: '
|
|
8958
|
+
* selector: 'app-root',
|
|
8959
8959
|
* providers: [DataProvider],
|
|
8960
8960
|
* template: `
|
|
8961
8961
|
* Live Update: <input type="checkbox" [(ngModel)]="live">
|
|
@@ -10520,12 +10520,14 @@ export declare const ɵgetDebugNodeR2: (nativeNode: any) => DebugNode | null;
|
|
|
10520
10520
|
*
|
|
10521
10521
|
* @usageNotes
|
|
10522
10522
|
* Given the following DOM structure:
|
|
10523
|
-
*
|
|
10524
|
-
*
|
|
10523
|
+
*
|
|
10524
|
+
* ```html
|
|
10525
|
+
* <app-root>
|
|
10525
10526
|
* <button my-button></button>
|
|
10526
10527
|
* <my-comp></my-comp>
|
|
10527
|
-
* </
|
|
10528
|
+
* </app-root>
|
|
10528
10529
|
* ```
|
|
10530
|
+
*
|
|
10529
10531
|
* Calling `getDirectives` on `<button>` will return an array with an instance of the `MyButton`
|
|
10530
10532
|
* directive that is associated with the DOM node.
|
|
10531
10533
|
*
|