@angular/core 15.2.0 → 15.2.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.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.2.0
2
+ * @license Angular v15.2.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8000,6 +8000,11 @@ declare interface TNode {
8000
8000
  * to insert them or remove them from the DOM.
8001
8001
  */
8002
8002
  next: TNode | null;
8003
+ /**
8004
+ * The previous sibling node.
8005
+ * This simplifies operations when we need a pointer to the previous node.
8006
+ */
8007
+ prev: TNode | null;
8003
8008
  /**
8004
8009
  * The next projected sibling. Since in Angular content projection works on the node-by-node
8005
8010
  * basis the act of projecting nodes might change nodes relationship at the insertion point
@@ -10293,6 +10298,10 @@ export declare function ɵisInjectable(type: any): boolean;
10293
10298
 
10294
10299
  export declare function ɵisListLikeIterable(obj: any): boolean;
10295
10300
 
10301
+ export declare function ɵisNgModule<T>(value: Type<T>): value is Type<T> & {
10302
+ ɵmod: ɵNgModuleDef<T>;
10303
+ };
10304
+
10296
10305
  /**
10297
10306
  * Determine if the argument is an Observable
10298
10307
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "15.2.0",
3
+ "version": "15.2.1",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "peerDependencies": {
38
38
  "rxjs": "^6.5.3 || ^7.4.0",
39
- "zone.js": "~0.11.4 || ~0.12.0"
39
+ "zone.js": "~0.11.4 || ~0.12.0 || ~0.13.0"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
56
56
  });
57
57
  };
58
58
 
59
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
59
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
60
60
  var relative_link_resolution_exports = {};
61
61
  __export(relative_link_resolution_exports, {
62
62
  default: () => relative_link_resolution_default
@@ -65,7 +65,7 @@ module.exports = __toCommonJS(relative_link_resolution_exports);
65
65
  var import_schematics = require("@angular-devkit/schematics");
66
66
  var import_path2 = require("path");
67
67
 
68
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
68
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
69
69
  var import_core = require("@angular-devkit/core");
70
70
  function getProjectTsConfigPaths(tree) {
71
71
  return __async(this, null, function* () {
@@ -145,11 +145,11 @@ function getWorkspace(tree) {
145
145
  });
146
146
  }
147
147
 
148
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
148
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
149
149
  var import_path = require("path");
150
150
  var import_typescript2 = __toESM(require("typescript"), 1);
151
151
 
152
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
152
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
153
153
  var path = __toESM(require("path"), 1);
154
154
  var import_typescript = __toESM(require("typescript"), 1);
155
155
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -166,7 +166,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
166
166
  return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
167
167
  }
168
168
 
169
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
169
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
170
170
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
171
171
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
172
172
  return import_typescript2.default.createProgram(rootNames, options, host);
@@ -199,7 +199,7 @@ function canMigrateFile(basePath, sourceFile, program) {
199
199
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
200
200
  }
201
201
 
202
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs
202
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs
203
203
  var import_typescript3 = __toESM(require("typescript"), 1);
204
204
  var relativeLinkResolution = "relativeLinkResolution";
205
205
  var knownConfigValues = /* @__PURE__ */ new Set([`'legacy'`, `'corrected'`]);
@@ -239,7 +239,7 @@ function sortByStartPosDescending(rewrites) {
239
239
  return rewrites.sort((entityA, entityB) => entityB.startPos - entityA.startPos);
240
240
  }
241
241
 
242
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
242
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
243
243
  function relative_link_resolution_default() {
244
244
  return (tree) => __async(this, null, function* () {
245
245
  const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
56
56
  });
57
57
  };
58
58
 
59
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
59
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
60
60
  var router_link_with_href_exports = {};
61
61
  __export(router_link_with_href_exports, {
62
62
  default: () => router_link_with_href_default
@@ -65,7 +65,7 @@ module.exports = __toCommonJS(router_link_with_href_exports);
65
65
  var import_schematics = require("@angular-devkit/schematics");
66
66
  var import_path2 = require("path");
67
67
 
68
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
68
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
69
69
  var import_core = require("@angular-devkit/core");
70
70
  function getProjectTsConfigPaths(tree) {
71
71
  return __async(this, null, function* () {
@@ -145,11 +145,11 @@ function getWorkspace(tree) {
145
145
  });
146
146
  }
147
147
 
148
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
148
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
149
149
  var import_path = require("path");
150
150
  var import_typescript2 = __toESM(require("typescript"), 1);
151
151
 
152
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
152
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
153
153
  var path = __toESM(require("path"), 1);
154
154
  var import_typescript = __toESM(require("typescript"), 1);
155
155
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -166,7 +166,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
166
166
  return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
167
167
  }
168
168
 
169
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
169
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
170
170
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
171
171
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
172
172
  return import_typescript2.default.createProgram(rootNames, options, host);
@@ -199,10 +199,10 @@ function canMigrateFile(basePath, sourceFile, program) {
199
199
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
200
200
  }
201
201
 
202
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
202
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
203
203
  var import_typescript5 = __toESM(require("typescript"), 1);
204
204
 
205
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
205
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
206
206
  var import_typescript3 = __toESM(require("typescript"), 1);
207
207
  function getImportOfIdentifier(typeChecker, node) {
208
208
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -251,7 +251,7 @@ function findImportSpecifier(nodes, specifierName) {
251
251
  });
252
252
  }
253
253
 
254
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
254
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
255
255
  var import_typescript4 = __toESM(require("typescript"), 1);
256
256
  function closestNode(node, predicate) {
257
257
  let current = node.parent;
@@ -264,7 +264,7 @@ function closestNode(node, predicate) {
264
264
  return null;
265
265
  }
266
266
 
267
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
267
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
268
268
  var routerLink = "RouterLink";
269
269
  var routerLinkWithHref = "RouterLinkWithHref";
270
270
  var routerModule = "@angular/router";
@@ -323,7 +323,7 @@ function sortByStartPosDescending(rewrites) {
323
323
  return rewrites.sort((entityA, entityB) => entityB.startPos - entityA.startPos);
324
324
  }
325
325
 
326
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
326
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
327
327
  function router_link_with_href_default() {
328
328
  return (tree) => __async(this, null, function* () {
329
329
  const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);