@angular/core 22.0.0-next.10 → 22.0.0-next.11

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 (83) hide show
  1. package/fesm2022/_attribute-chunk.mjs +1 -1
  2. package/fesm2022/_attribute-chunk.mjs.map +1 -1
  3. package/fesm2022/_debug_node-chunk.mjs +55 -113
  4. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  5. package/fesm2022/_effect-chunk.mjs +1 -1
  6. package/fesm2022/_effect-chunk.mjs.map +1 -1
  7. package/fesm2022/_not_found-chunk.mjs +1 -1
  8. package/fesm2022/_not_found-chunk.mjs.map +1 -1
  9. package/fesm2022/_pending_tasks-chunk.mjs +101 -3
  10. package/fesm2022/_pending_tasks-chunk.mjs.map +1 -1
  11. package/fesm2022/_resource-chunk.mjs +56 -18
  12. package/fesm2022/_resource-chunk.mjs.map +1 -1
  13. package/fesm2022/_untracked-chunk.mjs +1 -1
  14. package/fesm2022/_untracked-chunk.mjs.map +1 -1
  15. package/fesm2022/_weak_ref-chunk.mjs +1 -1
  16. package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
  17. package/fesm2022/core.mjs +65 -37
  18. package/fesm2022/core.mjs.map +1 -1
  19. package/fesm2022/primitives-di.mjs +1 -1
  20. package/fesm2022/primitives-di.mjs.map +1 -1
  21. package/fesm2022/primitives-event-dispatch.mjs +1 -1
  22. package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
  23. package/fesm2022/primitives-signals.mjs +1 -1
  24. package/fesm2022/primitives-signals.mjs.map +1 -1
  25. package/fesm2022/rxjs-interop.mjs +1 -1
  26. package/fesm2022/rxjs-interop.mjs.map +1 -1
  27. package/fesm2022/testing.mjs +1 -1
  28. package/fesm2022/testing.mjs.map +1 -1
  29. package/package.json +7 -3
  30. package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
  31. package/schematics/bundles/can-match-snapshot-required.cjs +1 -1
  32. package/schematics/bundles/change-detection-eager.cjs +1 -1
  33. package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
  34. package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
  35. package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
  36. package/schematics/bundles/control-flow-migration.cjs +1 -1
  37. package/schematics/bundles/http-xhr-backend.cjs +1 -1
  38. package/schematics/bundles/imports-CKV-ITqD.cjs +1 -1
  39. package/schematics/bundles/incremental-hydration.cjs +10 -7
  40. package/schematics/bundles/{index-DADA7AvC.cjs → index-DcezkXLN.cjs} +4 -1
  41. package/schematics/bundles/inject-migration.cjs +1 -1
  42. package/schematics/bundles/json-file-Drblb4E1.cjs +1 -1
  43. package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
  44. package/schematics/bundles/{migrate_ts_type_references-CdaIOlGY.cjs → migrate_ts_type_references-xRTTASnu.cjs} +2 -2
  45. package/schematics/bundles/model-output.cjs +1 -1
  46. package/schematics/bundles/ng_component_template-DPAF1aEA.cjs +1 -1
  47. package/schematics/bundles/ng_decorators-IVztR9rk.cjs +1 -1
  48. package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
  49. package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
  50. package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
  51. package/schematics/bundles/output-migration.cjs +2 -2
  52. package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
  53. package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
  54. package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
  55. package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
  56. package/schematics/bundles/route-lazy-loading.cjs +1 -1
  57. package/schematics/bundles/router-testing-module-migration.cjs +1 -1
  58. package/schematics/bundles/safe-optional-chaining.cjs +571 -0
  59. package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
  60. package/schematics/bundles/signal-input-migration.cjs +3 -3
  61. package/schematics/bundles/signal-queries-migration.cjs +3 -3
  62. package/schematics/bundles/signals.cjs +3 -3
  63. package/schematics/bundles/standalone-migration.cjs +1 -1
  64. package/schematics/bundles/strict-safe-navigation-narrow.cjs +1 -1
  65. package/schematics/bundles/strict-templates-default.cjs +1 -1
  66. package/schematics/migrations.json +5 -0
  67. package/third_party/@mcp-b/webmcp-types/LICENSE +21 -0
  68. package/third_party/@mcp-b/webmcp-types/dist/common.d.ts +297 -0
  69. package/third_party/@mcp-b/webmcp-types/dist/json-schema.d.ts +196 -0
  70. package/third_party/@mcp-b/webmcp-types/index.d.ts +9 -0
  71. package/types/_api-chunk.d.ts +23 -14
  72. package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
  73. package/types/_debug_node-chunk.d.ts +1 -1
  74. package/types/_effect-chunk.d.ts +1 -1
  75. package/types/_event_dispatcher-chunk.d.ts +1 -1
  76. package/types/_formatter-chunk.d.ts +1 -1
  77. package/types/_weak_ref-chunk.d.ts +1 -1
  78. package/types/core.d.ts +2880 -2735
  79. package/types/primitives-di.d.ts +1 -1
  80. package/types/primitives-event-dispatch.d.ts +1 -1
  81. package/types/primitives-signals.d.ts +1 -1
  82. package/types/rxjs-interop.d.ts +4 -4
  83. package/types/testing.d.ts +1 -1
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "22.0.0-next.10",
3
+ "version": "22.0.0-next.11",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
7
7
  "engines": {
8
- "node": "^22.22.0 || >=24.13.1"
8
+ "node": "^22.22.0 || ^24.13.1 || >=26.0.0"
9
9
  },
10
10
  "exports": {
11
11
  "./schematics/*": {
@@ -45,8 +45,12 @@
45
45
  "dependencies": {
46
46
  "tslib": "^2.3.0"
47
47
  },
48
+ "devDependencies": {
49
+ "@mcp-b/webmcp-polyfill": "^2.2.0",
50
+ "@mcp-b/webmcp-types": "^2.2.0"
51
+ },
48
52
  "peerDependencies": {
49
- "@angular/compiler": "22.0.0-next.10",
53
+ "@angular/compiler": "22.0.0-next.11",
50
54
  "rxjs": "^6.5.3 || ^7.4.0",
51
55
  "zone.js": "~0.15.0 || ~0.16.0"
52
56
  },
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -30,15 +30,18 @@ class IncrementalHydrationMigration extends project_paths.TsurgeFunnelMigration
30
30
  ts.isIdentifier(node.expression) &&
31
31
  node.expression.text === 'provideClientHydration') {
32
32
  let hasIncremental = false;
33
+ let hasNoIncremental = false;
33
34
  for (const arg of node.arguments) {
34
- if (ts.isCallExpression(arg) &&
35
- ts.isIdentifier(arg.expression) &&
36
- arg.expression.text === 'withIncrementalHydration') {
37
- hasIncremental = true;
38
- break;
35
+ if (ts.isCallExpression(arg) && ts.isIdentifier(arg.expression)) {
36
+ if (arg.expression.text === 'withIncrementalHydration') {
37
+ hasIncremental = true;
38
+ }
39
+ else if (arg.expression.text === 'withNoIncrementalHydration') {
40
+ hasNoIncremental = true;
41
+ }
39
42
  }
40
43
  }
41
- if (!hasIncremental) {
44
+ if (!hasIncremental && !hasNoIncremental) {
42
45
  // Add withNoIncrementalHydration()
43
46
  const withNoIncrementalExpr = importManager.addImport({
44
47
  exportModuleSpecifier: '@angular/platform-browser',
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -308,6 +308,9 @@ class TemplateReferenceVisitor extends compiler.TmplAstRecursiveVisitor {
308
308
  this.templateAttributeReferencedFields.push(...referencedFields);
309
309
  }
310
310
  }
311
+ visitLetDeclaration(decl) {
312
+ this.checkExpressionForReferencedFields(decl, decl.value);
313
+ }
311
314
  }
312
315
  /**
313
316
  * Expression AST visitor that checks whether a given expression references
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -9,7 +9,7 @@
9
9
  var assert = require('assert');
10
10
  var ts = require('typescript');
11
11
  var migrations = require('@angular/compiler-cli/private/migrations');
12
- var index = require('./index-DADA7AvC.cjs');
12
+ var index = require('./index-DcezkXLN.cjs');
13
13
  var project_paths = require('./project_paths-D2V-Uh2L.cjs');
14
14
  var leading_space = require('./leading_space-BTPRV0wu.cjs');
15
15
  require('@angular/compiler-cli');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -13,7 +13,7 @@ require('node:path');
13
13
  var project_paths = require('./project_paths-D2V-Uh2L.cjs');
14
14
  var compiler = require('@angular/compiler');
15
15
  var apply_import_manager = require('./apply_import_manager-CxA_YYgB.cjs');
16
- var index = require('./index-DADA7AvC.cjs');
16
+ var index = require('./index-DcezkXLN.cjs');
17
17
  require('@angular-devkit/core');
18
18
  require('node:path/posix');
19
19
  require('@angular-devkit/schematics');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.10
3
+ * @license Angular v22.0.0-next.11
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */