@angular/core 20.1.7 → 20.1.8

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 (68) hide show
  1. package/api.d.d.ts +1 -1
  2. package/chrome_dev_tools_performance.d.d.ts +1 -1
  3. package/discovery.d.d.ts +1 -1
  4. package/event_dispatcher.d.d.ts +1 -1
  5. package/fesm2022/attribute.mjs +1 -1
  6. package/fesm2022/attribute.mjs.map +1 -1
  7. package/fesm2022/core.mjs +4 -4
  8. package/fesm2022/core.mjs.map +1 -1
  9. package/fesm2022/debug_node.mjs +3 -3
  10. package/fesm2022/debug_node.mjs.map +1 -1
  11. package/fesm2022/not_found.mjs +1 -1
  12. package/fesm2022/not_found.mjs.map +1 -1
  13. package/fesm2022/primitives/di.mjs +1 -1
  14. package/fesm2022/primitives/di.mjs.map +1 -1
  15. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  16. package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
  17. package/fesm2022/primitives/signals.mjs +1 -1
  18. package/fesm2022/primitives/signals.mjs.map +1 -1
  19. package/fesm2022/resource.mjs +1 -1
  20. package/fesm2022/resource.mjs.map +1 -1
  21. package/fesm2022/root_effect_scheduler.mjs +1 -1
  22. package/fesm2022/root_effect_scheduler.mjs.map +1 -1
  23. package/fesm2022/rxjs-interop.mjs +1 -1
  24. package/fesm2022/rxjs-interop.mjs.map +1 -1
  25. package/fesm2022/signal.mjs +1 -1
  26. package/fesm2022/signal.mjs.map +1 -1
  27. package/fesm2022/testing.mjs +1 -1
  28. package/fesm2022/testing.mjs.map +1 -1
  29. package/fesm2022/untracked.mjs +1 -1
  30. package/fesm2022/untracked.mjs.map +1 -1
  31. package/fesm2022/weak_ref.mjs +1 -1
  32. package/fesm2022/weak_ref.mjs.map +1 -1
  33. package/graph.d.d.ts +1 -1
  34. package/index.d.ts +3 -3
  35. package/package.json +2 -2
  36. package/primitives/di/index.d.ts +1 -1
  37. package/primitives/event-dispatch/index.d.ts +1 -1
  38. package/primitives/signals/index.d.ts +1 -1
  39. package/rxjs-interop/index.d.ts +1 -1
  40. package/schematics/bundles/{apply_import_manager-LuQ0x-40.cjs → apply_import_manager-DbWKRreC.cjs} +3 -3
  41. package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
  42. package/schematics/bundles/{compiler_host-CmiZULie.cjs → compiler_host-uPs48yL7.cjs} +2 -2
  43. package/schematics/bundles/control-flow-migration.cjs +3 -3
  44. package/schematics/bundles/document-core.cjs +5 -5
  45. package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
  46. package/schematics/bundles/{index-CJL_rwo1.cjs → index-6RPyzEO_.cjs} +15 -14
  47. package/schematics/bundles/{index-BLwEHOBa.cjs → index-CP1LXbHD.cjs} +4 -4
  48. package/schematics/bundles/inject-flags.cjs +5 -5
  49. package/schematics/bundles/inject-migration.cjs +3 -3
  50. package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
  51. package/schematics/bundles/{migrate_ts_type_references-Dambxe__.cjs → migrate_ts_type_references-DNOTglBM.cjs} +5 -5
  52. package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
  53. package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
  54. package/schematics/bundles/output-migration.cjs +6 -6
  55. package/schematics/bundles/{project_paths-BRD3Cpsf.cjs → project_paths-B9MUfgrr.cjs} +3 -3
  56. package/schematics/bundles/{project_tsconfig_paths-CyFT0Qtu.cjs → project_tsconfig_paths-f3zDmoYh.cjs} +25 -5
  57. package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
  58. package/schematics/bundles/route-lazy-loading.cjs +3 -3
  59. package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
  60. package/schematics/bundles/signal-input-migration.cjs +7 -7
  61. package/schematics/bundles/signal-queries-migration.cjs +7 -7
  62. package/schematics/bundles/signals.cjs +7 -7
  63. package/schematics/bundles/standalone-migration.cjs +4 -4
  64. package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
  65. package/schematics/bundles/test-bed-get.cjs +4 -4
  66. package/signal.d.d.ts +1 -1
  67. package/testing/index.d.ts +1 -1
  68. package/weak_ref.d.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -22834,6 +22834,11 @@ function propagateI18nBlocksToTemplates(unit, subTemplateIndex) {
22834
22834
  subTemplateIndex = propagateI18nBlocksForView(unit.job.views.get(op.emptyView), i18nBlock, op.emptyI18nPlaceholder, subTemplateIndex);
22835
22835
  }
22836
22836
  break;
22837
+ case OpKind.Projection:
22838
+ if (op.fallbackView !== null) {
22839
+ subTemplateIndex = propagateI18nBlocksForView(unit.job.views.get(op.fallbackView), i18nBlock, op.fallbackViewI18nPlaceholder, subTemplateIndex);
22840
+ }
22841
+ break;
22837
22842
  }
22838
22843
  }
22839
22844
  return subTemplateIndex;
@@ -24309,6 +24314,21 @@ function resolvePlaceholdersForView(job, unit, i18nContexts, elements, pendingSt
24309
24314
  // Clear out the pending structural directive now that its been accounted for.
24310
24315
  pendingStructuralDirective = undefined;
24311
24316
  }
24317
+ if (op.fallbackView !== null) {
24318
+ const view = job.views.get(op.fallbackView);
24319
+ if (op.fallbackViewI18nPlaceholder === undefined) {
24320
+ resolvePlaceholdersForView(job, view, i18nContexts, elements);
24321
+ }
24322
+ else {
24323
+ if (currentOps === null) {
24324
+ throw Error('i18n tag placeholder should only occur inside an i18n block');
24325
+ }
24326
+ recordTemplateStart(job, view, op.handle.slot, op.fallbackViewI18nPlaceholder, currentOps.i18nContext, currentOps.i18nBlock, pendingStructuralDirective);
24327
+ resolvePlaceholdersForView(job, view, i18nContexts, elements);
24328
+ recordTemplateClose(job, view, op.handle.slot, op.fallbackViewI18nPlaceholder, currentOps.i18nContext, currentOps.i18nBlock, pendingStructuralDirective);
24329
+ pendingStructuralDirective = undefined;
24330
+ }
24331
+ }
24312
24332
  break;
24313
24333
  case OpKind.ConditionalCreate:
24314
24334
  case OpKind.ConditionalBranchCreate:
@@ -29164,11 +29184,11 @@ class HtmlAstToIvyAst {
29164
29184
  const templateKey = normalizedName.substring(TEMPLATE_ATTR_PREFIX.length);
29165
29185
  const parsedVariables = [];
29166
29186
  const absoluteValueOffset = attribute.valueSpan
29167
- ? attribute.valueSpan.start.offset
29187
+ ? attribute.valueSpan.fullStart.offset
29168
29188
  : // If there is no value span the attribute does not have a value, like `attr` in
29169
29189
  //`<div attr></div>`. In this case, point to one character beyond the last character of
29170
29190
  // the attribute name.
29171
- attribute.sourceSpan.start.offset + attribute.name.length;
29191
+ attribute.sourceSpan.fullStart.offset + attribute.name.length;
29172
29192
  this.bindingParser.parseInlineTemplateBinding(templateKey, templateValue, attribute.sourceSpan, absoluteValueOffset, [], templateParsedProperties, parsedVariables, true /* isIvyAst */);
29173
29193
  templateVariables.push(...parsedVariables.map((v) => new Variable(v.name, v.value, v.sourceSpan, v.keySpan, v.valueSpan)));
29174
29194
  }
@@ -32295,7 +32315,7 @@ function isAttrNode(ast) {
32295
32315
  * @description
32296
32316
  * Entry point for all public APIs of the compiler package.
32297
32317
  */
32298
- new Version('20.1.7');
32318
+ new Version('20.1.8');
32299
32319
 
32300
32320
  //////////////////////////////////////
32301
32321
  // THIS FILE HAS GLOBAL SIDE EFFECT //
@@ -33315,7 +33335,7 @@ class NodeJSPathManipulation {
33315
33335
  // G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
33316
33336
  // CommonJS/ESM interop for determining the current file name and containing dir.
33317
33337
  const isCommonJS = typeof __filename !== 'undefined';
33318
- const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-CyFT0Qtu.cjs', document.baseURI).href));
33338
+ const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-f3zDmoYh.cjs', document.baseURI).href));
33319
33339
  // Note, when this code loads in the browser, `url` may be an empty `{}` due to the Closure shims.
33320
33340
  const currentFileName = isCommonJS
33321
33341
  ? __filename
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -9,8 +9,8 @@
9
9
  var schematics = require('@angular-devkit/schematics');
10
10
  var fs = require('fs');
11
11
  var p = require('path');
12
- var compiler_host = require('./compiler_host-CmiZULie.cjs');
13
- var project_tsconfig_paths = require('./project_tsconfig_paths-CyFT0Qtu.cjs');
12
+ var compiler_host = require('./compiler_host-uPs48yL7.cjs');
13
+ var project_tsconfig_paths = require('./project_tsconfig_paths-f3zDmoYh.cjs');
14
14
  var ts = require('typescript');
15
15
  var property_name = require('./property_name-BBwFuqMe.cjs');
16
16
  require('os');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,11 +8,11 @@
8
8
 
9
9
  var ts = require('typescript');
10
10
  require('os');
11
- var project_tsconfig_paths = require('./project_tsconfig_paths-CyFT0Qtu.cjs');
12
- require('./index-CJL_rwo1.cjs');
11
+ var project_tsconfig_paths = require('./project_tsconfig_paths-f3zDmoYh.cjs');
12
+ require('./index-6RPyzEO_.cjs');
13
13
  require('path');
14
14
  require('node:path');
15
- var project_paths = require('./project_paths-BRD3Cpsf.cjs');
15
+ var project_paths = require('./project_paths-B9MUfgrr.cjs');
16
16
  var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
17
17
  var property_name = require('./property_name-BBwFuqMe.cjs');
18
18
  require('@angular-devkit/core');
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var migrate_ts_type_references = require('./migrate_ts_type_references-Dambxe__.cjs');
9
+ var migrate_ts_type_references = require('./migrate_ts_type_references-DNOTglBM.cjs');
10
10
  var ts = require('typescript');
11
11
  require('os');
12
- var project_tsconfig_paths = require('./project_tsconfig_paths-CyFT0Qtu.cjs');
13
- var index$1 = require('./index-CJL_rwo1.cjs');
12
+ var project_tsconfig_paths = require('./project_tsconfig_paths-f3zDmoYh.cjs');
13
+ var index$1 = require('./index-6RPyzEO_.cjs');
14
14
  require('path');
15
15
  require('node:path');
16
- var project_paths = require('./project_paths-BRD3Cpsf.cjs');
17
- var index = require('./index-BLwEHOBa.cjs');
16
+ var project_paths = require('./project_paths-B9MUfgrr.cjs');
17
+ var index = require('./index-CP1LXbHD.cjs');
18
18
  var assert = require('assert');
19
- var apply_import_manager = require('./apply_import_manager-LuQ0x-40.cjs');
19
+ var apply_import_manager = require('./apply_import_manager-DbWKRreC.cjs');
20
20
  require('@angular-devkit/core');
21
21
  require('node:path/posix');
22
22
  require('./leading_space-D9nQ8UQC.cjs');
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var project_tsconfig_paths = require('./project_tsconfig_paths-CyFT0Qtu.cjs');
9
+ var project_tsconfig_paths = require('./project_tsconfig_paths-f3zDmoYh.cjs');
10
10
  var ts = require('typescript');
11
11
  require('os');
12
- var index$1 = require('./index-CJL_rwo1.cjs');
12
+ var index$1 = require('./index-6RPyzEO_.cjs');
13
13
  require('path');
14
14
  require('node:path');
15
- var project_paths = require('./project_paths-BRD3Cpsf.cjs');
16
- var apply_import_manager = require('./apply_import_manager-LuQ0x-40.cjs');
17
- var migrate_ts_type_references = require('./migrate_ts_type_references-Dambxe__.cjs');
15
+ var project_paths = require('./project_paths-B9MUfgrr.cjs');
16
+ var apply_import_manager = require('./apply_import_manager-DbWKRreC.cjs');
17
+ var migrate_ts_type_references = require('./migrate_ts_type_references-DNOTglBM.cjs');
18
18
  var assert = require('assert');
19
- var index = require('./index-BLwEHOBa.cjs');
19
+ var index = require('./index-CP1LXbHD.cjs');
20
20
  require('@angular-devkit/core');
21
21
  require('node:path/posix');
22
22
  require('fs');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,7 +10,7 @@ var schematics = require('@angular-devkit/schematics');
10
10
  var signalQueriesMigration = require('./signal-queries-migration.cjs');
11
11
  var signalInputMigration = require('./signal-input-migration.cjs');
12
12
  var outputMigration = require('./output-migration.cjs');
13
- require('./project_tsconfig_paths-CyFT0Qtu.cjs');
13
+ require('./project_tsconfig_paths-f3zDmoYh.cjs');
14
14
  require('typescript');
15
15
  require('os');
16
16
  require('fs');
@@ -18,14 +18,14 @@ require('module');
18
18
  require('path');
19
19
  require('url');
20
20
  require('@angular-devkit/core');
21
- require('./index-CJL_rwo1.cjs');
21
+ require('./index-6RPyzEO_.cjs');
22
22
  require('node:path');
23
- require('./project_paths-BRD3Cpsf.cjs');
23
+ require('./project_paths-B9MUfgrr.cjs');
24
24
  require('node:path/posix');
25
- require('./apply_import_manager-LuQ0x-40.cjs');
26
- require('./migrate_ts_type_references-Dambxe__.cjs');
25
+ require('./apply_import_manager-DbWKRreC.cjs');
26
+ require('./migrate_ts_type_references-DNOTglBM.cjs');
27
27
  require('assert');
28
- require('./index-BLwEHOBa.cjs');
28
+ require('./index-CP1LXbHD.cjs');
29
29
  require('./leading_space-D9nQ8UQC.cjs');
30
30
 
31
31
  function migrate(options) {
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
9
  var schematics = require('@angular-devkit/schematics');
10
- var index = require('./index-CJL_rwo1.cjs');
10
+ var index = require('./index-6RPyzEO_.cjs');
11
11
  var fs = require('fs');
12
12
  var p = require('path');
13
13
  var ts = require('typescript');
14
- var compiler_host = require('./compiler_host-CmiZULie.cjs');
15
- var project_tsconfig_paths = require('./project_tsconfig_paths-CyFT0Qtu.cjs');
14
+ var compiler_host = require('./compiler_host-uPs48yL7.cjs');
15
+ var project_tsconfig_paths = require('./project_tsconfig_paths-f3zDmoYh.cjs');
16
16
  var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
17
17
  var nodes = require('./nodes-B16H9JUd.cjs');
18
18
  var symbol = require('./symbol-VPWguRxr.cjs');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.1.7
3
+ * @license Angular v20.1.8
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,11 +8,11 @@
8
8
 
9
9
  var ts = require('typescript');
10
10
  require('os');
11
- require('./project_tsconfig_paths-CyFT0Qtu.cjs');
12
- require('./index-CJL_rwo1.cjs');
11
+ require('./project_tsconfig_paths-f3zDmoYh.cjs');
12
+ require('./index-6RPyzEO_.cjs');
13
13
  require('path');
14
14
  require('node:path');
15
- var project_paths = require('./project_paths-BRD3Cpsf.cjs');
15
+ var project_paths = require('./project_paths-B9MUfgrr.cjs');
16
16
  var imports = require('./imports-CIX-JgAN.cjs');
17
17
  var symbol = require('./symbol-VPWguRxr.cjs');
18
18
  require('@angular-devkit/core');
package/signal.d.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.7
2
+ * @license Angular v20.1.8
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.7
2
+ * @license Angular v20.1.8
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/weak_ref.d.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.7
2
+ * @license Angular v20.1.8
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */