@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
  */
@@ -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();