@angular/core 17.3.0-next.0 → 17.3.0-next.1

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 (33) hide show
  1. package/esm2022/src/application/application_ref.mjs +24 -11
  2. package/esm2022/src/cached_injector_service.mjs +49 -0
  3. package/esm2022/src/core_private_export.mjs +2 -1
  4. package/esm2022/src/defer/instructions.mjs +29 -3
  5. package/esm2022/src/defer/interfaces.mjs +1 -1
  6. package/esm2022/src/di/host_attribute_token.mjs +40 -0
  7. package/esm2022/src/di/index.mjs +2 -1
  8. package/esm2022/src/di/injector_compatibility.mjs +3 -1
  9. package/esm2022/src/is_internal.mjs +15 -0
  10. package/esm2022/src/render3/after_render_hooks.mjs +8 -5
  11. package/esm2022/src/render3/component_ref.mjs +1 -1
  12. package/esm2022/src/render3/queue_state_update.mjs +41 -0
  13. package/esm2022/src/render3/reactivity/computed.mjs +3 -1
  14. package/esm2022/src/render3/reactivity/effect.mjs +3 -1
  15. package/esm2022/src/render3/reactivity/signal.mjs +3 -1
  16. package/esm2022/src/version.mjs +1 -1
  17. package/esm2022/testing/src/logger.mjs +3 -3
  18. package/fesm2022/core.mjs +270 -109
  19. package/fesm2022/core.mjs.map +1 -1
  20. package/fesm2022/primitives/signals.mjs +1 -1
  21. package/fesm2022/rxjs-interop.mjs +1 -1
  22. package/fesm2022/testing.mjs +1 -1
  23. package/index.d.ts +96 -3
  24. package/package.json +1 -1
  25. package/primitives/signals/index.d.ts +1 -1
  26. package/rxjs-interop/index.d.ts +1 -1
  27. package/schematics/migrations/block-template-entities/bundle.js +2 -2
  28. package/schematics/migrations/block-template-entities/bundle.js.map +1 -1
  29. package/schematics/ng-generate/control-flow-migration/bundle.js +4 -4
  30. package/schematics/ng-generate/control-flow-migration/bundle.js.map +1 -1
  31. package/schematics/ng-generate/standalone-migration/bundle.js +5709 -3189
  32. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  33. package/testing/index.d.ts +1 -1
@@ -25420,7 +25420,7 @@ var ResourceLoader = class {
25420
25420
  };
25421
25421
 
25422
25422
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25423
- var SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT = false;
25423
+ var SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT = true;
25424
25424
  var CompilerFacadeImpl = class {
25425
25425
  constructor(jitEvaluator = new JitEvaluator()) {
25426
25426
  this.jitEvaluator = jitEvaluator;
@@ -26001,7 +26001,7 @@ function publishFacade(global) {
26001
26001
  }
26002
26002
 
26003
26003
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
26004
- var VERSION2 = new Version("17.3.0-next.0");
26004
+ var VERSION2 = new Version("17.3.0-next.1");
26005
26005
 
26006
26006
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26007
26007
  var _VisitorMode;
@@ -26813,10 +26813,10 @@ function formatTemplate(tmpl, templateType) {
26813
26813
  const selfClosingRegex = new RegExp(`^\\s*<(${selfClosingList}).+\\/?>`);
26814
26814
  const openSelfClosingRegex = new RegExp(`^\\s*<(${selfClosingList})(?![^>]*\\/>)[^>]*$`);
26815
26815
  const closeBlockRegex = /^\s*\}\s*$|^\s*\}\s\@else/;
26816
- const closeElRegex = /\s*<\/([a-zA-Z0-9\-_]+)*>/;
26816
+ const closeElRegex = /\s*<\/([a-zA-Z0-9\-_]+)\s*>/m;
26817
26817
  const closeMultiLineElRegex = /^\s*([a-zA-Z0-9\-_\[\]]+)?=?"?([^”<]+)?"?\s?\/>$/;
26818
26818
  const closeSelfClosingMultiLineRegex = /^\s*([a-zA-Z0-9\-_\[\]]+)?=?"?([^”\/<]+)?"?\s?>$/;
26819
- const singleLineElRegex = /\s*<([a-zA-Z0-9]+)(?![^>]*\/>)[^>]*>.*<\/([a-zA-Z0-9\-_]+)*>/;
26819
+ const singleLineElRegex = /\s*<([a-zA-Z0-9]+)(?![^>]*\/>)[^>]*>.*<\/([a-zA-Z0-9\-_]+)\s*>/;
26820
26820
  const lines = tmpl.split("\n");
26821
26821
  const formatted = [];
26822
26822
  let indent = "";