@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.
Files changed (35) hide show
  1. package/bundles/core-testing.umd.js +6 -1
  2. package/bundles/core-testing.umd.js.map +1 -1
  3. package/bundles/core-testing.umd.min.js +2 -2
  4. package/bundles/core-testing.umd.min.js.map +1 -1
  5. package/bundles/core.umd.js +4483 -4494
  6. package/bundles/core.umd.js.map +1 -1
  7. package/bundles/core.umd.min.js +92 -93
  8. package/bundles/core.umd.min.js.map +1 -1
  9. package/core.d.ts +1 -8
  10. package/core.metadata.json +1 -1
  11. package/esm2015/src/application_ref.js +4 -2
  12. package/esm2015/src/change_detection/differs/default_iterable_differ.js +2 -4
  13. package/esm2015/src/core_render3_private_export.js +2 -2
  14. package/esm2015/src/debug/debug_node.js +1 -1
  15. package/esm2015/src/di/r3_injector.js +5 -5
  16. package/esm2015/src/errors.js +1 -1
  17. package/esm2015/src/render3/index.js +2 -4
  18. package/esm2015/src/render3/instructions/advance.js +1 -10
  19. package/esm2015/src/render3/instructions/lview_debug.js +1 -1
  20. package/esm2015/src/render3/instructions/shared.js +5 -4
  21. package/esm2015/src/render3/interfaces/type_checks.js +1 -1
  22. package/esm2015/src/render3/jit/environment.js +1 -2
  23. package/esm2015/src/render3/jit/module.js +1 -1
  24. package/esm2015/src/render3/node_manipulation.js +2 -1
  25. package/esm2015/src/render3/util/change_detection_utils.js +2 -2
  26. package/esm2015/src/version.js +1 -1
  27. package/esm2015/testing/src/r3_test_bed_compiler.js +6 -1
  28. package/fesm2015/core.js +4514 -4524
  29. package/fesm2015/core.js.map +1 -1
  30. package/fesm2015/testing.js +6 -1
  31. package/fesm2015/testing.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/r3_symbols.d.ts +1 -1
  34. package/testing/testing.d.ts +1 -1
  35. package/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v10.1.0-rc.0
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();