@angular/core 15.2.7 → 15.2.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.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.2.7
2
+ * @license Angular v15.2.8
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "15.2.7",
3
+ "version": "15.2.8",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -16099,7 +16099,7 @@ function publishFacade(global2) {
16099
16099
  }
16100
16100
 
16101
16101
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
16102
- var VERSION2 = new Version("15.2.7");
16102
+ var VERSION2 = new Version("15.2.8");
16103
16103
 
16104
16104
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
16105
16105
  var _I18N_ATTR = "i18n";
@@ -17414,7 +17414,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
17414
17414
  function compileDeclareClassMetadata(metadata) {
17415
17415
  const definitionMap = new DefinitionMap();
17416
17416
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
17417
- definitionMap.set("version", literal("15.2.7"));
17417
+ definitionMap.set("version", literal("15.2.8"));
17418
17418
  definitionMap.set("ngImport", importExpr(Identifiers.core));
17419
17419
  definitionMap.set("type", metadata.type);
17420
17420
  definitionMap.set("decorators", metadata.decorators);
@@ -17483,7 +17483,7 @@ function createDirectiveDefinitionMap(meta) {
17483
17483
  var _a;
17484
17484
  const definitionMap = new DefinitionMap();
17485
17485
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
17486
- definitionMap.set("version", literal("15.2.7"));
17486
+ definitionMap.set("version", literal("15.2.8"));
17487
17487
  definitionMap.set("type", meta.internalType);
17488
17488
  if (meta.isStandalone) {
17489
17489
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -17665,7 +17665,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
17665
17665
  function compileDeclareFactoryFunction(meta) {
17666
17666
  const definitionMap = new DefinitionMap();
17667
17667
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
17668
- definitionMap.set("version", literal("15.2.7"));
17668
+ definitionMap.set("version", literal("15.2.8"));
17669
17669
  definitionMap.set("ngImport", importExpr(Identifiers.core));
17670
17670
  definitionMap.set("type", meta.internalType);
17671
17671
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -17688,7 +17688,7 @@ function compileDeclareInjectableFromMetadata(meta) {
17688
17688
  function createInjectableDefinitionMap(meta) {
17689
17689
  const definitionMap = new DefinitionMap();
17690
17690
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
17691
- definitionMap.set("version", literal("15.2.7"));
17691
+ definitionMap.set("version", literal("15.2.8"));
17692
17692
  definitionMap.set("ngImport", importExpr(Identifiers.core));
17693
17693
  definitionMap.set("type", meta.internalType);
17694
17694
  if (meta.providedIn !== void 0) {
@@ -17726,7 +17726,7 @@ function compileDeclareInjectorFromMetadata(meta) {
17726
17726
  function createInjectorDefinitionMap(meta) {
17727
17727
  const definitionMap = new DefinitionMap();
17728
17728
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
17729
- definitionMap.set("version", literal("15.2.7"));
17729
+ definitionMap.set("version", literal("15.2.8"));
17730
17730
  definitionMap.set("ngImport", importExpr(Identifiers.core));
17731
17731
  definitionMap.set("type", meta.internalType);
17732
17732
  definitionMap.set("providers", meta.providers);
@@ -17747,7 +17747,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
17747
17747
  function createNgModuleDefinitionMap(meta) {
17748
17748
  const definitionMap = new DefinitionMap();
17749
17749
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
17750
- definitionMap.set("version", literal("15.2.7"));
17750
+ definitionMap.set("version", literal("15.2.8"));
17751
17751
  definitionMap.set("ngImport", importExpr(Identifiers.core));
17752
17752
  definitionMap.set("type", meta.internalType);
17753
17753
  if (meta.bootstrap.length > 0) {
@@ -17782,7 +17782,7 @@ function compileDeclarePipeFromMetadata(meta) {
17782
17782
  function createPipeDefinitionMap(meta) {
17783
17783
  const definitionMap = new DefinitionMap();
17784
17784
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
17785
- definitionMap.set("version", literal("15.2.7"));
17785
+ definitionMap.set("version", literal("15.2.8"));
17786
17786
  definitionMap.set("ngImport", importExpr(Identifiers.core));
17787
17787
  definitionMap.set("type", meta.internalType);
17788
17788
  if (meta.isStandalone) {
@@ -17799,7 +17799,7 @@ function createPipeDefinitionMap(meta) {
17799
17799
  publishFacade(_global);
17800
17800
 
17801
17801
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
17802
- var VERSION3 = new Version("15.2.7");
17802
+ var VERSION3 = new Version("15.2.8");
17803
17803
 
17804
17804
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
17805
17805
  var EmitFlags;
@@ -25681,12 +25681,7 @@ function checkCustomElementSelectorForErrors(selector) {
25681
25681
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
25682
25682
  var import_typescript51 = __toESM(require("typescript"), 1);
25683
25683
  function getTemplateDeclarationNodeForError(declaration) {
25684
- switch (declaration.isInline) {
25685
- case true:
25686
- return declaration.expression;
25687
- case false:
25688
- return declaration.templateUrlExpression;
25689
- }
25684
+ return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
25690
25685
  }
25691
25686
  function extractTemplate(node, template, evaluator, depTracker, resourceLoader, options) {
25692
25687
  if (template.isInline) {