@angular/compiler-cli 18.1.3 → 18.1.5

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 (35) hide show
  1. package/bundles/{chunk-XNL3EK5H.js → chunk-3W345P4E.js} +7 -7
  2. package/bundles/{chunk-TBAJ5CD6.js → chunk-724GY53E.js} +5 -5
  3. package/bundles/{chunk-NJYMXRLX.js → chunk-DIIOELYC.js} +78 -78
  4. package/bundles/{chunk-NJYMXRLX.js.map → chunk-DIIOELYC.js.map} +1 -1
  5. package/bundles/{chunk-BVJL3UL2.js → chunk-GD2SCRZ6.js} +19 -22
  6. package/bundles/{chunk-BVJL3UL2.js.map → chunk-GD2SCRZ6.js.map} +1 -1
  7. package/bundles/{chunk-AQFTVE7F.js → chunk-JZQHA4E7.js} +5 -5
  8. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  9. package/bundles/{chunk-E7DMD7OM.js → chunk-Q72OGISC.js} +128 -128
  10. package/bundles/{chunk-E7DMD7OM.js.map → chunk-Q72OGISC.js.map} +1 -1
  11. package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
  12. package/bundles/{chunk-HXUTQSG7.js → chunk-TNEE4FUS.js} +31 -31
  13. package/bundles/{chunk-AOEZR223.js → chunk-WTQ7UQOL.js} +43 -43
  14. package/bundles/index.js +11 -11
  15. package/bundles/linker/babel/index.js +12 -12
  16. package/bundles/linker/index.js +4 -4
  17. package/bundles/ngcc/index.js +1 -1
  18. package/bundles/private/bazel.js +1 -1
  19. package/bundles/private/localize.js +3 -3
  20. package/bundles/private/migrations.js +4 -4
  21. package/bundles/private/tooling.js +5 -5
  22. package/bundles/src/bin/ng_xi18n.js +9 -9
  23. package/bundles/src/bin/ngc.js +7 -7
  24. package/bundles_metadata.json +1 -1
  25. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  26. package/package.json +3 -3
  27. package/src/ngtsc/typecheck/src/expression.d.ts +12 -1
  28. package/src/transformers/jit_transforms/initializer_api_transforms/transform_api.d.ts +1 -1
  29. /package/bundles/{chunk-XNL3EK5H.js.map → chunk-3W345P4E.js.map} +0 -0
  30. /package/bundles/{chunk-TBAJ5CD6.js.map → chunk-724GY53E.js.map} +0 -0
  31. /package/bundles/{chunk-AQFTVE7F.js.map → chunk-JZQHA4E7.js.map} +0 -0
  32. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  33. /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
  34. /package/bundles/{chunk-HXUTQSG7.js.map → chunk-TNEE4FUS.js.map} +0 -0
  35. /package/bundles/{chunk-AOEZR223.js.map → chunk-WTQ7UQOL.js.map} +0 -0
package/bundles/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  constructorParametersDownlevelTransform,
10
10
  getDownlevelDecoratorsTransform,
11
11
  getInitializerApiJitTransform
12
- } from "./chunk-BVJL3UL2.js";
12
+ } from "./chunk-GD2SCRZ6.js";
13
13
  import {
14
14
  DEFAULT_ERROR_CODE,
15
15
  DecoratorType,
@@ -36,22 +36,22 @@ import {
36
36
  isTsDiagnostic,
37
37
  performCompilation,
38
38
  readConfiguration
39
- } from "./chunk-NJYMXRLX.js";
39
+ } from "./chunk-DIIOELYC.js";
40
40
  import {
41
41
  OptimizeFor,
42
42
  TsCreateProgramDriver
43
- } from "./chunk-E7DMD7OM.js";
43
+ } from "./chunk-Q72OGISC.js";
44
44
  import {
45
45
  isLocalCompilationDiagnostics
46
- } from "./chunk-AOEZR223.js";
46
+ } from "./chunk-WTQ7UQOL.js";
47
47
  import {
48
48
  ActivePerfRecorder,
49
49
  PerfPhase
50
- } from "./chunk-AQFTVE7F.js";
50
+ } from "./chunk-JZQHA4E7.js";
51
51
  import {
52
52
  ConsoleLogger,
53
53
  LogLevel
54
- } from "./chunk-SBDNBITT.js";
54
+ } from "./chunk-LYJKWJUC.js";
55
55
  import {
56
56
  LogicalFileSystem,
57
57
  LogicalProjectPath,
@@ -72,14 +72,14 @@ import {
72
72
  resolve,
73
73
  setFileSystem,
74
74
  toRelativeImport
75
- } from "./chunk-XNL3EK5H.js";
75
+ } from "./chunk-3W345P4E.js";
76
76
  import "./chunk-XI2RTGAL.js";
77
77
 
78
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
78
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
79
79
  import { Version } from "@angular/compiler";
80
- var VERSION = new Version("18.1.3");
80
+ var VERSION = new Version("18.1.5");
81
81
 
82
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
82
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
83
83
  var NgTscPlugin = class {
84
84
  get compiler() {
85
85
  if (this._compiler === null) {
@@ -155,7 +155,7 @@ var NgTscPlugin = class {
155
155
  }
156
156
  };
157
157
 
158
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
158
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
159
159
  setFileSystem(new NodeJSFileSystem());
160
160
  export {
161
161
  ConsoleLogger,
@@ -8,22 +8,22 @@ import {
8
8
  LinkerEnvironment,
9
9
  assert,
10
10
  isFatalLinkerError
11
- } from "../../chunk-HXUTQSG7.js";
12
- import "../../chunk-AOEZR223.js";
11
+ } from "../../chunk-TNEE4FUS.js";
12
+ import "../../chunk-WTQ7UQOL.js";
13
13
  import {
14
14
  ConsoleLogger,
15
15
  LogLevel
16
- } from "../../chunk-SBDNBITT.js";
17
- import "../../chunk-WR7TUJ7M.js";
16
+ } from "../../chunk-LYJKWJUC.js";
17
+ import "../../chunk-QYV344EV.js";
18
18
  import {
19
19
  NodeJSFileSystem
20
- } from "../../chunk-XNL3EK5H.js";
20
+ } from "../../chunk-3W345P4E.js";
21
21
  import "../../chunk-XI2RTGAL.js";
22
22
 
23
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
23
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
24
24
  import { types as t4 } from "@babel/core";
25
25
 
26
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs
26
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs
27
27
  import { types as t } from "@babel/core";
28
28
  var BabelAstFactory = class {
29
29
  constructor(sourceUrl) {
@@ -148,7 +148,7 @@ function isLExpression(expr) {
148
148
  return t.isLVal(expr);
149
149
  }
150
150
 
151
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
151
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
152
152
  import { types as t2 } from "@babel/core";
153
153
  var BabelAstHost = class {
154
154
  constructor() {
@@ -276,7 +276,7 @@ function isMinifiedBooleanLiteral(node) {
276
276
  return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
277
277
  }
278
278
 
279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
279
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
280
280
  import { types as t3 } from "@babel/core";
281
281
  var BabelDeclarationScope = class {
282
282
  constructor(declarationScope) {
@@ -302,7 +302,7 @@ var BabelDeclarationScope = class {
302
302
  }
303
303
  };
304
304
 
305
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
305
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
306
306
  function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
307
307
  let fileLinker = null;
308
308
  return {
@@ -403,7 +403,7 @@ function buildCodeFrameError(file, message, node) {
403
403
  return `${filename}: ${error.message}`;
404
404
  }
405
405
 
406
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
406
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
407
407
  function defaultLinkerPlugin(api, options) {
408
408
  api.assertVersion(7);
409
409
  return createEs2015LinkerPlugin({
@@ -413,7 +413,7 @@ function defaultLinkerPlugin(api, options) {
413
413
  });
414
414
  }
415
415
 
416
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
416
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
417
417
  var babel_default = defaultLinkerPlugin;
418
418
  export {
419
419
  createEs2015LinkerPlugin,
@@ -10,10 +10,10 @@ import {
10
10
  assert,
11
11
  isFatalLinkerError,
12
12
  needsLinking
13
- } from "../chunk-HXUTQSG7.js";
14
- import "../chunk-AOEZR223.js";
15
- import "../chunk-WR7TUJ7M.js";
16
- import "../chunk-XNL3EK5H.js";
13
+ } from "../chunk-TNEE4FUS.js";
14
+ import "../chunk-WTQ7UQOL.js";
15
+ import "../chunk-QYV344EV.js";
16
+ import "../chunk-3W345P4E.js";
17
17
  import "../chunk-XI2RTGAL.js";
18
18
  export {
19
19
  DEFAULT_LINKER_OPTIONS,
@@ -4,7 +4,7 @@
4
4
  const require = __cjsCompatRequire(import.meta.url);
5
5
 
6
6
 
7
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
7
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
8
8
  function stringEncaseCRLFWithFirstIndex(value, prefix, postfix, index) {
9
9
  let endIndex = 0;
10
10
  let returnValue = "";
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  PerfPhase
7
- } from "../chunk-AQFTVE7F.js";
7
+ } from "../chunk-JZQHA4E7.js";
8
8
  import "../chunk-XI2RTGAL.js";
9
9
  export {
10
10
  PerfPhase
@@ -5,11 +5,11 @@
5
5
  import {
6
6
  ConsoleLogger,
7
7
  LogLevel
8
- } from "../chunk-SBDNBITT.js";
8
+ } from "../chunk-LYJKWJUC.js";
9
9
  import {
10
10
  SourceFile,
11
11
  SourceFileLoader
12
- } from "../chunk-WR7TUJ7M.js";
12
+ } from "../chunk-QYV344EV.js";
13
13
  import {
14
14
  LogicalFileSystem,
15
15
  LogicalProjectPath,
@@ -30,7 +30,7 @@ import {
30
30
  resolve,
31
31
  setFileSystem,
32
32
  toRelativeImport
33
- } from "../chunk-XNL3EK5H.js";
33
+ } from "../chunk-3W345P4E.js";
34
34
  import "../chunk-XI2RTGAL.js";
35
35
  export {
36
36
  ConsoleLogger,
@@ -9,14 +9,14 @@ import {
9
9
  PotentialImportMode,
10
10
  StaticInterpreter,
11
11
  forwardRefResolver
12
- } from "../chunk-E7DMD7OM.js";
12
+ } from "../chunk-Q72OGISC.js";
13
13
  import {
14
14
  Reference,
15
15
  TypeScriptReflectionHost,
16
16
  reflectObjectLiteral
17
- } from "../chunk-AOEZR223.js";
18
- import "../chunk-AQFTVE7F.js";
19
- import "../chunk-XNL3EK5H.js";
17
+ } from "../chunk-WTQ7UQOL.js";
18
+ import "../chunk-JZQHA4E7.js";
19
+ import "../chunk-3W345P4E.js";
20
20
  import "../chunk-XI2RTGAL.js";
21
21
  export {
22
22
  DynamicValue,
@@ -6,11 +6,11 @@ import {
6
6
  GLOBAL_DEFS_FOR_TERSER,
7
7
  GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
8
8
  constructorParametersDownlevelTransform
9
- } from "../chunk-BVJL3UL2.js";
10
- import "../chunk-E7DMD7OM.js";
11
- import "../chunk-AOEZR223.js";
12
- import "../chunk-AQFTVE7F.js";
13
- import "../chunk-XNL3EK5H.js";
9
+ } from "../chunk-GD2SCRZ6.js";
10
+ import "../chunk-Q72OGISC.js";
11
+ import "../chunk-WTQ7UQOL.js";
12
+ import "../chunk-JZQHA4E7.js";
13
+ import "../chunk-3W345P4E.js";
14
14
  import "../chunk-XI2RTGAL.js";
15
15
  export {
16
16
  GLOBAL_DEFS_FOR_TERSER,
@@ -6,23 +6,23 @@
6
6
  import {
7
7
  main,
8
8
  readCommandLineAndConfiguration
9
- } from "../../chunk-TBAJ5CD6.js";
9
+ } from "../../chunk-724GY53E.js";
10
10
  import {
11
11
  EmitFlags
12
- } from "../../chunk-NJYMXRLX.js";
13
- import "../../chunk-E7DMD7OM.js";
14
- import "../../chunk-AOEZR223.js";
15
- import "../../chunk-AQFTVE7F.js";
12
+ } from "../../chunk-DIIOELYC.js";
13
+ import "../../chunk-Q72OGISC.js";
14
+ import "../../chunk-WTQ7UQOL.js";
15
+ import "../../chunk-JZQHA4E7.js";
16
16
  import {
17
17
  NodeJSFileSystem,
18
18
  setFileSystem
19
- } from "../../chunk-XNL3EK5H.js";
19
+ } from "../../chunk-3W345P4E.js";
20
20
  import "../../chunk-XI2RTGAL.js";
21
21
 
22
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
22
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
23
23
  import "reflect-metadata";
24
24
 
25
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
25
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
26
26
  import yargs from "yargs";
27
27
  function mainXi18n(args2, consoleError = console.error) {
28
28
  const config = readXi18nCommandLineAndConfiguration(args2);
@@ -45,7 +45,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
45
45
  return { ...config, emitFlags: EmitFlags.I18nBundle };
46
46
  }
47
47
 
48
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
48
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
49
49
  process.title = "Angular i18n Message Extractor (ng-xi18n)";
50
50
  var args = process.argv.slice(2);
51
51
  setFileSystem(new NodeJSFileSystem());
@@ -5,18 +5,18 @@
5
5
 
6
6
  import {
7
7
  main
8
- } from "../../chunk-TBAJ5CD6.js";
9
- import "../../chunk-NJYMXRLX.js";
10
- import "../../chunk-E7DMD7OM.js";
11
- import "../../chunk-AOEZR223.js";
12
- import "../../chunk-AQFTVE7F.js";
8
+ } from "../../chunk-724GY53E.js";
9
+ import "../../chunk-DIIOELYC.js";
10
+ import "../../chunk-Q72OGISC.js";
11
+ import "../../chunk-WTQ7UQOL.js";
12
+ import "../../chunk-JZQHA4E7.js";
13
13
  import {
14
14
  NodeJSFileSystem,
15
15
  setFileSystem
16
- } from "../../chunk-XNL3EK5H.js";
16
+ } from "../../chunk-3W345P4E.js";
17
17
  import "../../chunk-XI2RTGAL.js";
18
18
 
19
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
19
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
20
20
  import "reflect-metadata";
21
21
  async function runNgcComamnd() {
22
22
  process.title = "Angular Compiler (ngc)";