@angular/core 17.3.5 → 17.3.7

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 (30) hide show
  1. package/esm2022/src/change_detection/constants.mjs +2 -2
  2. package/esm2022/src/defer/instructions.mjs +31 -8
  3. package/esm2022/src/render3/after_render_hooks.mjs +2 -4
  4. package/esm2022/src/render3/component_ref.mjs +1 -1
  5. package/esm2022/src/render3/util/global_utils.mjs +5 -2
  6. package/esm2022/src/version.mjs +1 -1
  7. package/esm2022/testing/src/async.mjs +2 -2
  8. package/esm2022/testing/src/defer.mjs +1 -2
  9. package/esm2022/testing/src/logger.mjs +3 -3
  10. package/fesm2022/core.mjs +2132 -2107
  11. package/fesm2022/core.mjs.map +1 -1
  12. package/fesm2022/primitives/signals.mjs +1 -1
  13. package/fesm2022/rxjs-interop.mjs +1 -1
  14. package/fesm2022/testing.mjs +2 -3
  15. package/fesm2022/testing.mjs.map +1 -1
  16. package/index.d.ts +3 -3
  17. package/package.json +1 -1
  18. package/primitives/signals/index.d.ts +1 -1
  19. package/rxjs-interop/index.d.ts +1 -1
  20. package/schematics/migrations/block-template-entities/bundle.js +162 -162
  21. package/schematics/migrations/block-template-entities/bundle.js.map +1 -1
  22. package/schematics/migrations/compiler-options/bundle.js +13 -13
  23. package/schematics/migrations/invalid-two-way-bindings/bundle.js +163 -163
  24. package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +1 -1
  25. package/schematics/migrations/transfer-state/bundle.js +13 -13
  26. package/schematics/ng-generate/control-flow-migration/bundle.js +171 -171
  27. package/schematics/ng-generate/control-flow-migration/bundle.js.map +1 -1
  28. package/schematics/ng-generate/standalone-migration/bundle.js +456 -449
  29. package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
  30. package/testing/index.d.ts +2 -2
@@ -60,7 +60,7 @@ var __async = (__this, __arguments, generator) => {
60
60
  });
61
61
  };
62
62
 
63
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/compiler-options/index.mjs
63
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/compiler-options/index.mjs
64
64
  var compiler_options_exports = {};
65
65
  __export(compiler_options_exports, {
66
66
  default: () => compiler_options_default
@@ -69,7 +69,7 @@ module.exports = __toCommonJS(compiler_options_exports);
69
69
  var import_schematics = require("@angular-devkit/schematics");
70
70
  var import_path3 = require("path");
71
71
 
72
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
72
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
73
73
  var import_core = require("@angular-devkit/core");
74
74
  function getProjectTsConfigPaths(tree) {
75
75
  return __async(this, null, function* () {
@@ -149,11 +149,11 @@ function getWorkspace(tree) {
149
149
  });
150
150
  }
151
151
 
152
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
152
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
153
153
  var import_path = require("path");
154
154
  var import_typescript2 = __toESM(require("typescript"), 1);
155
155
 
156
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
156
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
157
157
  var path = __toESM(require("path"), 1);
158
158
  var import_typescript = __toESM(require("typescript"), 1);
159
159
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -170,7 +170,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
170
170
  return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
171
171
  }
172
172
 
173
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
173
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
174
174
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
175
175
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
176
176
  return import_typescript2.default.createProgram(rootNames, options, host);
@@ -203,13 +203,13 @@ function canMigrateFile(basePath, sourceFile, program) {
203
203
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
204
204
  }
205
205
 
206
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/compiler-options/util.mjs
206
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/compiler-options/util.mjs
207
207
  var import_typescript7 = __toESM(require("typescript"), 1);
208
208
 
209
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
209
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
210
210
  var import_typescript4 = __toESM(require("typescript"), 1);
211
211
 
212
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
212
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
213
213
  var import_path2 = require("path");
214
214
  var import_typescript3 = __toESM(require("typescript"), 1);
215
215
  var ImportManager = class {
@@ -393,7 +393,7 @@ ${text}`;
393
393
  }
394
394
  };
395
395
 
396
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
396
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
397
397
  var ChangeTracker = class {
398
398
  constructor(_printer, _importRemapper) {
399
399
  __publicField(this, "_printer");
@@ -452,7 +452,7 @@ function normalizePath(path2) {
452
452
  return path2.replace(/\\/g, "/");
453
453
  }
454
454
 
455
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
455
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
456
456
  var import_typescript5 = __toESM(require("typescript"), 1);
457
457
  function getImportSpecifier(sourceFile, moduleName, specifierName) {
458
458
  var _a;
@@ -484,7 +484,7 @@ function findImportSpecifier(nodes, specifierName) {
484
484
  });
485
485
  }
486
486
 
487
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
487
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
488
488
  var import_typescript6 = __toESM(require("typescript"), 1);
489
489
  function closestNode(node, predicate) {
490
490
  let current = node.parent;
@@ -497,7 +497,7 @@ function closestNode(node, predicate) {
497
497
  return null;
498
498
  }
499
499
 
500
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/compiler-options/util.mjs
500
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/compiler-options/util.mjs
501
501
  var coreModule = "@angular/core";
502
502
  var compilerOptionsType = "CompilerOptions";
503
503
  var deletedIdentifiers = /* @__PURE__ */ new Set(["useJit", "missingTranslation"]);
@@ -536,7 +536,7 @@ function removeIdentifiers(sourceFile, changeTracker) {
536
536
  import_typescript7.default.forEachChild(sourceFile, visitNode);
537
537
  }
538
538
 
539
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/compiler-options/index.mjs
539
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/compiler-options/index.mjs
540
540
  function compiler_options_default() {
541
541
  return (tree) => __async(this, null, function* () {
542
542
  const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);