@angular/compiler-cli 21.2.0 → 21.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.
@@ -455,7 +455,7 @@ import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSo
455
455
  // packages/compiler-cli/linker/src/file_linker/partial_linkers/util.js
456
456
  import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
457
457
  import semver from "semver";
458
- var PLACEHOLDER_VERSION = "21.2.0";
458
+ var PLACEHOLDER_VERSION = "21.2.1";
459
459
  function wrapReference(wrapped) {
460
460
  return { value: wrapped, type: wrapped };
461
461
  }
@@ -229,7 +229,7 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
229
229
  import { VERSION } from "@angular/compiler";
230
230
  var DOC_PAGE_BASE_URL = (() => {
231
231
  const full = VERSION.full;
232
- const isPreRelease = full.includes("-next") || full.includes("-rc") || full === "21.2.0";
232
+ const isPreRelease = full.includes("-next") || full.includes("-rc") || full === "21.2.1";
233
233
  const prefix = isPreRelease ? "next" : `v${VERSION.major}`;
234
234
  return `https://${prefix}.angular.dev`;
235
235
  })();
@@ -4368,7 +4368,7 @@ var NgCompiler = class _NgCompiler {
4368
4368
  return this.addMessageTextDetails(diagnostics);
4369
4369
  }
4370
4370
  /**
4371
- * Add Angular.io error guide links to diagnostics for this compilation.
4371
+ * Add https://angular.dev/errors error guide links to diagnostics for this compilation.
4372
4372
  */
4373
4373
  addMessageTextDetails(diagnostics) {
4374
4374
  return diagnostics.map((diag) => {
@@ -8,7 +8,7 @@ import {
8
8
  TrackedIncrementalBuildStrategy,
9
9
  freshCompilationTicket,
10
10
  incrementalFromCompilerTicket
11
- } from "./chunk-G6DAEDUS.js";
11
+ } from "./chunk-PW54LIP6.js";
12
12
  import {
13
13
  ActivePerfRecorder,
14
14
  OptimizeFor,
@@ -12,7 +12,7 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-J2UUYQZ3.js";
15
+ } from "./chunk-VO3Q626H.js";
16
16
 
17
17
  // packages/compiler-cli/src/main.js
18
18
  import ts2 from "typescript";
package/bundles/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  isTsDiagnostic,
18
18
  performCompilation,
19
19
  readConfiguration
20
- } from "./chunk-J2UUYQZ3.js";
20
+ } from "./chunk-VO3Q626H.js";
21
21
  import {
22
22
  ConsoleLogger,
23
23
  LogLevel
@@ -34,7 +34,7 @@ import {
34
34
  freshCompilationTicket,
35
35
  incrementalFromStateTicket,
36
36
  isDocEntryWithSourceInfo
37
- } from "./chunk-G6DAEDUS.js";
37
+ } from "./chunk-PW54LIP6.js";
38
38
  import {
39
39
  ActivePerfRecorder,
40
40
  ErrorCode,
@@ -77,7 +77,7 @@ import "./chunk-G7GFT6BU.js";
77
77
 
78
78
  // packages/compiler-cli/src/version.js
79
79
  import { Version } from "@angular/compiler";
80
- var VERSION = new Version("21.2.0");
80
+ var VERSION = new Version("21.2.1");
81
81
 
82
82
  // packages/compiler-cli/private/tooling.js
83
83
  var GLOBAL_DEFS_FOR_TERSER = {
@@ -5,7 +5,7 @@
5
5
  import {
6
6
  DiagnosticCategoryLabel,
7
7
  NgCompiler
8
- } from "../chunk-G6DAEDUS.js";
8
+ } from "../chunk-PW54LIP6.js";
9
9
  import {
10
10
  CompilationMode,
11
11
  DtsMetadataReader,
@@ -6,11 +6,11 @@
6
6
  import {
7
7
  main,
8
8
  readCommandLineAndConfiguration
9
- } from "../../chunk-IO4PSCVA.js";
9
+ } from "../../chunk-WBUBKNAO.js";
10
10
  import {
11
11
  EmitFlags
12
- } from "../../chunk-J2UUYQZ3.js";
13
- import "../../chunk-G6DAEDUS.js";
12
+ } from "../../chunk-VO3Q626H.js";
13
+ import "../../chunk-PW54LIP6.js";
14
14
  import "../../chunk-IG22BDVK.js";
15
15
  import "../../chunk-CSUVPNMK.js";
16
16
  import {
@@ -5,9 +5,9 @@
5
5
 
6
6
  import {
7
7
  main
8
- } from "../../chunk-IO4PSCVA.js";
9
- import "../../chunk-J2UUYQZ3.js";
10
- import "../../chunk-G6DAEDUS.js";
8
+ } from "../../chunk-WBUBKNAO.js";
9
+ import "../../chunk-VO3Q626H.js";
10
+ import "../../chunk-PW54LIP6.js";
11
11
  import "../../chunk-IG22BDVK.js";
12
12
  import "../../chunk-CSUVPNMK.js";
13
13
  import {
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
9
9
  import { AstObject, AstValue } from '../../ast/ast_value';
10
- export declare const PLACEHOLDER_VERSION = "21.2.0";
10
+ export declare const PLACEHOLDER_VERSION = "21.2.1";
11
11
  export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
12
12
  /**
13
13
  * Parses the value of an enum from the AST value's symbol name.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler-cli",
3
- "version": "21.2.0",
3
+ "version": "21.2.1",
4
4
  "description": "Angular - the compiler CLI for Node.js",
5
5
  "typings": "index.d.ts",
6
6
  "bin": {
@@ -43,7 +43,7 @@
43
43
  "typescript": "5.9.3"
44
44
  },
45
45
  "peerDependencies": {
46
- "@angular/compiler": "21.2.0",
46
+ "@angular/compiler": "21.2.1",
47
47
  "typescript": ">=5.9 <6.1"
48
48
  },
49
49
  "peerDependenciesMeta": {
@@ -177,7 +177,7 @@ export declare class NgCompiler {
177
177
  */
178
178
  getDiagnosticsForComponent(component: ts.ClassDeclaration): ts.Diagnostic[];
179
179
  /**
180
- * Add Angular.io error guide links to diagnostics for this compilation.
180
+ * Add https://angular.dev/errors error guide links to diagnostics for this compilation.
181
181
  */
182
182
  private addMessageTextDetails;
183
183
  /**
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { ErrorCode } from './error_code';
9
9
  /**
10
- * Contains a set of error messages that have detailed guides at angular.io.
10
+ * Contains a set of error messages that have detailed guides at angular.dev.
11
11
  * Full list of available error guides can be found at https://angular.dev/errors
12
12
  */
13
13
  export declare const COMPILER_ERRORS_WITH_GUIDES: Set<ErrorCode>;