@angular/core 15.2.1 → 15.2.2

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.1
2
+ * @license Angular v15.2.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7482,7 +7482,7 @@ declare interface TContainerNode extends TNode {
7482
7482
  * - They are dynamically created
7483
7483
  */
7484
7484
  parent: TElementNode | TElementContainerNode | null;
7485
- tViews: TView | TView[] | null;
7485
+ tView: TView | null;
7486
7486
  projection: null;
7487
7487
  value: null;
7488
7488
  }
@@ -7522,7 +7522,7 @@ declare interface TElementContainerNode extends TNode {
7522
7522
  index: number;
7523
7523
  child: TElementNode | TTextNode | TContainerNode | TElementContainerNode | TProjectionNode | null;
7524
7524
  parent: TElementNode | TElementContainerNode | null;
7525
- tViews: null;
7525
+ tView: null;
7526
7526
  projection: null;
7527
7527
  }
7528
7528
 
@@ -7537,7 +7537,7 @@ declare interface TElementNode extends TNode {
7537
7537
  * retrieved using viewData[HOST_NODE]).
7538
7538
  */
7539
7539
  parent: TElementNode | TElementContainerNode | null;
7540
- tViews: null;
7540
+ tView: null;
7541
7541
  /**
7542
7542
  * If this is a component TNode with projection, this will be an array of projected
7543
7543
  * TNodes or native nodes (see TNode.projection for more info). If it's a regular element node
@@ -7975,26 +7975,14 @@ declare interface TNode {
7975
7975
  */
7976
7976
  outputs: PropertyAliases | null;
7977
7977
  /**
7978
- * The TView or TViews attached to this node.
7979
- *
7980
- * If this TNode corresponds to an LContainer with inline views, the container will
7981
- * need to store separate static data for each of its view blocks (TView[]). Otherwise,
7982
- * nodes in inline views with the same index as nodes in their parent views will overwrite
7983
- * each other, as they are in the same template.
7984
- *
7985
- * Each index in this array corresponds to the static data for a certain
7986
- * view. So if you had V(0) and V(1) in a container, you might have:
7987
- *
7988
- * [
7989
- * [{tagName: 'div', attrs: ...}, null], // V(0) TView
7990
- * [{tagName: 'button', attrs ...}, null] // V(1) TView
7978
+ * The TView attached to this node.
7991
7979
  *
7992
7980
  * If this TNode corresponds to an LContainer with a template (e.g. structural
7993
7981
  * directive), the template's TView will be stored here.
7994
7982
  *
7995
- * If this TNode corresponds to an element, tViews will be null .
7983
+ * If this TNode corresponds to an element, tView will be `null`.
7996
7984
  */
7997
- tViews: TView | TView[] | null;
7985
+ tView: TView | null;
7998
7986
  /**
7999
7987
  * The next sibling node. Necessary so we can propagate through the root nodes of a view
8000
7988
  * to insert them or remove them from the DOM.
@@ -8295,7 +8283,7 @@ declare interface TProjectionNode extends TNode {
8295
8283
  * retrieved using LView.node).
8296
8284
  */
8297
8285
  parent: TElementNode | TElementContainerNode | null;
8298
- tViews: null;
8286
+ tView: null;
8299
8287
  /** Index of the projection node. (See TNode.projection for more info.) */
8300
8288
  projection: number;
8301
8289
  value: null;
@@ -8686,7 +8674,7 @@ declare interface TTextNode extends TNode {
8686
8674
  * retrieved using LView.node).
8687
8675
  */
8688
8676
  parent: TElementNode | TElementContainerNode | null;
8689
- tViews: null;
8677
+ tView: null;
8690
8678
  projection: null;
8691
8679
  }
8692
8680
 
@@ -9712,43 +9700,6 @@ export declare const enum ɵBypassType {
9712
9700
  Style = "Style"
9713
9701
  }
9714
9702
 
9715
- /**
9716
- * Defines the possible states of the default change detector.
9717
- * @see `ChangeDetectorRef`
9718
- */
9719
- export declare enum ɵChangeDetectorStatus {
9720
- /**
9721
- * A state in which, after calling `detectChanges()`, the change detector
9722
- * state becomes `Checked`, and must be explicitly invoked or reactivated.
9723
- */
9724
- CheckOnce = 0,
9725
- /**
9726
- * A state in which change detection is skipped until the change detector mode
9727
- * becomes `CheckOnce`.
9728
- */
9729
- Checked = 1,
9730
- /**
9731
- * A state in which change detection continues automatically until explicitly
9732
- * deactivated.
9733
- */
9734
- CheckAlways = 2,
9735
- /**
9736
- * A state in which a change detector sub tree is not a part of the main tree and
9737
- * should be skipped.
9738
- */
9739
- Detached = 3,
9740
- /**
9741
- * Indicates that the change detector encountered an error checking a binding
9742
- * or calling a directive lifecycle method and is now in an inconsistent state. Change
9743
- * detectors in this state do not detect changes.
9744
- */
9745
- Errored = 4,
9746
- /**
9747
- * Indicates that the change detector has been destroyed.
9748
- */
9749
- Destroyed = 5
9750
- }
9751
-
9752
9703
  export declare function ɵclearResolutionOfComponentResourcesQueue(): Map<Type<any>, Component>;
9753
9704
 
9754
9705
 
@@ -10283,21 +10234,10 @@ export declare interface ɵInternalEnvironmentProviders extends EnvironmentProvi
10283
10234
 
10284
10235
  export declare function ɵisBoundToModule<C>(cf: ComponentFactory<C>): boolean;
10285
10236
 
10286
- /**
10287
- * Reports whether a given strategy is currently the default for change detection.
10288
- * @param changeDetectionStrategy The strategy to check.
10289
- * @returns True if the given strategy is the current default, false otherwise.
10290
- * @see `ChangeDetectorStatus`
10291
- * @see `ChangeDetectorRef`
10292
- */
10293
- export declare function ɵisDefaultChangeDetectionStrategy(changeDetectionStrategy: ChangeDetectionStrategy): boolean;
10294
-
10295
10237
  export declare function ɵisEnvironmentProviders(value: Provider | EnvironmentProviders | ɵInternalEnvironmentProviders): value is ɵInternalEnvironmentProviders;
10296
10238
 
10297
10239
  export declare function ɵisInjectable(type: any): boolean;
10298
10240
 
10299
- export declare function ɵisListLikeIterable(obj: any): boolean;
10300
-
10301
10241
  export declare function ɵisNgModule<T>(value: Type<T>): value is Type<T> & {
10302
10242
  ɵmod: ɵNgModuleDef<T>;
10303
10243
  };
@@ -10323,8 +10263,6 @@ export declare function ɵisPromise<T = any>(obj: any): obj is Promise<T>;
10323
10263
  */
10324
10264
  export declare function ɵisSubscribable(obj: any | Subscribable<any>): obj is Subscribable<any>;
10325
10265
 
10326
- export declare const ɵivyEnabled = true;
10327
-
10328
10266
  /**
10329
10267
  * The internal view context which is specific to a given DOM element, directive or
10330
10268
  * component instance. Each value in here (besides the LView and element node details)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "15.2.1",
3
+ "version": "15.2.2",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
56
56
  });
57
57
  };
58
58
 
59
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
59
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
68
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
148
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
152
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
169
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs
202
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
242
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
59
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
68
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
148
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
152
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
169
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
202
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
205
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
254
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
267
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
326
+ // bazel-out/darwin_arm64-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);