@angular/core 21.1.4 → 21.1.6

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 (67) hide show
  1. package/fesm2022/_attribute-chunk.mjs +1 -1
  2. package/fesm2022/_debug_node-chunk.mjs +17 -6
  3. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  4. package/fesm2022/_effect-chunk.mjs +1 -1
  5. package/fesm2022/_effect-chunk.mjs.map +1 -1
  6. package/fesm2022/_linked_signal-chunk.mjs +1 -1
  7. package/fesm2022/_linked_signal-chunk.mjs.map +1 -1
  8. package/fesm2022/_not_found-chunk.mjs +1 -1
  9. package/fesm2022/_resource-chunk.mjs +1 -1
  10. package/fesm2022/_untracked-chunk.mjs +8 -8
  11. package/fesm2022/_untracked-chunk.mjs.map +1 -1
  12. package/fesm2022/_weak_ref-chunk.mjs +1 -1
  13. package/fesm2022/core.mjs +5 -3
  14. package/fesm2022/core.mjs.map +1 -1
  15. package/fesm2022/primitives-di.mjs +1 -1
  16. package/fesm2022/primitives-event-dispatch.mjs +1 -1
  17. package/fesm2022/primitives-signals.mjs +1 -1
  18. package/fesm2022/primitives-signals.mjs.map +1 -1
  19. package/fesm2022/rxjs-interop.mjs +1 -1
  20. package/fesm2022/testing.mjs +1 -1
  21. package/package.json +2 -2
  22. package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
  23. package/schematics/bundles/application-config-core.cjs +1 -1
  24. package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
  25. package/schematics/bundles/bootstrap-options-migration.cjs +1 -1
  26. package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
  27. package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
  28. package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
  29. package/schematics/bundles/control-flow-migration.cjs +1 -1
  30. package/schematics/bundles/imports-CVmcbVA9.cjs +1 -1
  31. package/schematics/bundles/index-BtLcQH8g.cjs +1 -1
  32. package/schematics/bundles/inject-migration.cjs +1 -1
  33. package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
  34. package/schematics/bundles/migrate_ts_type_references-CV7qdt5t.cjs +1 -1
  35. package/schematics/bundles/ng_component_template-BOuKAnQd.cjs +1 -1
  36. package/schematics/bundles/ng_decorators-DYy6II6x.cjs +1 -1
  37. package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
  38. package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
  39. package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
  40. package/schematics/bundles/output-migration.cjs +1 -1
  41. package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
  42. package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
  43. package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
  44. package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
  45. package/schematics/bundles/route-lazy-loading.cjs +1 -1
  46. package/schematics/bundles/router-current-navigation.cjs +1 -1
  47. package/schematics/bundles/router-last-successful-navigation.cjs +1 -1
  48. package/schematics/bundles/router-testing-module-migration.cjs +1 -1
  49. package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
  50. package/schematics/bundles/signal-input-migration.cjs +1 -1
  51. package/schematics/bundles/signal-queries-migration.cjs +1 -1
  52. package/schematics/bundles/signals.cjs +1 -1
  53. package/schematics/bundles/standalone-migration.cjs +1 -1
  54. package/schematics/bundles/symbol-DZeHSR-V.cjs +1 -1
  55. package/types/_api-chunk.d.ts +1 -1
  56. package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
  57. package/types/_discovery-chunk.d.ts +1 -1
  58. package/types/_effect-chunk.d.ts +1 -1
  59. package/types/_event_dispatcher-chunk.d.ts +1 -1
  60. package/types/_formatter-chunk.d.ts +1 -1
  61. package/types/_weak_ref-chunk.d.ts +1 -1
  62. package/types/core.d.ts +4 -4
  63. package/types/primitives-di.d.ts +1 -1
  64. package/types/primitives-event-dispatch.d.ts +1 -1
  65. package/types/primitives-signals.d.ts +1 -1
  66. package/types/rxjs-interop.d.ts +1 -1
  67. package/types/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.1.4
2
+ * @license Angular v21.1.6
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
package/fesm2022/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.1.4
2
+ * @license Angular v21.1.6
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -103,7 +103,7 @@ const HOST_TAG_NAME = /* @__PURE__ */(() => {
103
103
  HOST_TAG_NAME_TOKEN.__NG_ELEMENT_ID__ = flags => {
104
104
  const tNode = getCurrentTNode();
105
105
  if (tNode === null) {
106
- throw new RuntimeError(204, ngDevMode && 'HOST_TAG_NAME can only be injected in directives and components ' + 'during construction time (in a class constructor or as a class field initializer)');
106
+ throw new RuntimeError(-204, ngDevMode && 'HOST_TAG_NAME can only be injected in directives and components ' + 'during construction time (in a class constructor or as a class field initializer)');
107
107
  }
108
108
  if (tNode.type & 2) {
109
109
  return tNode.value;
@@ -111,7 +111,7 @@ const HOST_TAG_NAME = /* @__PURE__ */(() => {
111
111
  if (flags & 8) {
112
112
  return null;
113
113
  }
114
- throw new RuntimeError(204, ngDevMode && `HOST_TAG_NAME was used on ${getDevModeNodeName(tNode)} which doesn't have an underlying element in the DOM. ` + `This is invalid, and so the dependency should be marked as optional.`);
114
+ throw new RuntimeError(-204, ngDevMode && `HOST_TAG_NAME was used on ${getDevModeNodeName(tNode)} which doesn't have an underlying element in the DOM. ` + `This is invalid, and so the dependency should be marked as optional.`);
115
115
  };
116
116
  return HOST_TAG_NAME_TOKEN;
117
117
  })();
@@ -1182,6 +1182,7 @@ function withDomHydration() {
1182
1182
  }, {
1183
1183
  provide: APP_BOOTSTRAP_LISTENER,
1184
1184
  useFactory: () => {
1185
+ const scheduler = inject(ChangeDetectionScheduler);
1185
1186
  if (inject(IS_HYDRATION_DOM_REUSE_ENABLED)) {
1186
1187
  const appRef = inject(ApplicationRef);
1187
1188
  return () => {
@@ -1194,6 +1195,7 @@ function withDomHydration() {
1194
1195
  countBlocksSkippedByHydration(appRef.injector);
1195
1196
  printHydrationStats(appRef.injector);
1196
1197
  }
1198
+ scheduler.notify(7);
1197
1199
  });
1198
1200
  };
1199
1201
  }