@angular/core 10.1.0-rc.0 → 10.1.3
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 +6 -1
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +2 -2
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +4483 -4494
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +92 -93
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +1 -8
- package/core.metadata.json +1 -1
- package/esm2015/src/application_ref.js +4 -2
- package/esm2015/src/change_detection/differs/default_iterable_differ.js +2 -4
- package/esm2015/src/core_render3_private_export.js +2 -2
- package/esm2015/src/debug/debug_node.js +1 -1
- package/esm2015/src/di/r3_injector.js +5 -5
- package/esm2015/src/errors.js +1 -1
- package/esm2015/src/render3/index.js +2 -4
- package/esm2015/src/render3/instructions/advance.js +1 -10
- package/esm2015/src/render3/instructions/lview_debug.js +1 -1
- package/esm2015/src/render3/instructions/shared.js +5 -4
- package/esm2015/src/render3/interfaces/type_checks.js +1 -1
- package/esm2015/src/render3/jit/environment.js +1 -2
- package/esm2015/src/render3/jit/module.js +1 -1
- package/esm2015/src/render3/node_manipulation.js +2 -1
- package/esm2015/src/render3/util/change_detection_utils.js +2 -2
- package/esm2015/src/version.js +1 -1
- package/esm2015/testing/src/r3_test_bed_compiler.js +6 -1
- package/fesm2015/core.js +4514 -4524
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +6 -1
- package/fesm2015/testing.js.map +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v10.1.
|
|
2
|
+
* @license Angular v10.1.3
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1680,6 +1680,11 @@
|
|
|
1680
1680
|
var moduleScope = getScopeOfModule(moduleType);
|
|
1681
1681
|
_this.storeFieldOfDefOnType(componentType, core.ɵNG_COMP_DEF, 'directiveDefs');
|
|
1682
1682
|
_this.storeFieldOfDefOnType(componentType, core.ɵNG_COMP_DEF, 'pipeDefs');
|
|
1683
|
+
// `tView` that is stored on component def contains information about directives and pipes
|
|
1684
|
+
// that are in the scope of this component. Patching component scope will cause `tView` to be
|
|
1685
|
+
// changed. Store original `tView` before patching scope, so the `tView` (including scope
|
|
1686
|
+
// information) is restored back to its previous/original state before running next test.
|
|
1687
|
+
_this.storeFieldOfDefOnType(componentType, core.ɵNG_COMP_DEF, 'tView');
|
|
1683
1688
|
core.ɵpatchComponentDefWithScope(componentType.ɵcmp, moduleScope);
|
|
1684
1689
|
});
|
|
1685
1690
|
this.componentToModuleScope.clear();
|