@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
package/fesm2015/testing.js
CHANGED
|
@@ -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
|
*/
|
|
@@ -1300,6 +1300,11 @@ class R3TestBedCompiler {
|
|
|
1300
1300
|
const moduleScope = getScopeOfModule(moduleType);
|
|
1301
1301
|
this.storeFieldOfDefOnType(componentType, ɵNG_COMP_DEF, 'directiveDefs');
|
|
1302
1302
|
this.storeFieldOfDefOnType(componentType, ɵNG_COMP_DEF, 'pipeDefs');
|
|
1303
|
+
// `tView` that is stored on component def contains information about directives and pipes
|
|
1304
|
+
// that are in the scope of this component. Patching component scope will cause `tView` to be
|
|
1305
|
+
// changed. Store original `tView` before patching scope, so the `tView` (including scope
|
|
1306
|
+
// information) is restored back to its previous/original state before running next test.
|
|
1307
|
+
this.storeFieldOfDefOnType(componentType, ɵNG_COMP_DEF, 'tView');
|
|
1303
1308
|
ɵpatchComponentDefWithScope(componentType.ɵcmp, moduleScope);
|
|
1304
1309
|
});
|
|
1305
1310
|
this.componentToModuleScope.clear();
|