@angular/compiler-cli 16.0.0-rc.3 → 16.0.0
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/bundles/{chunk-N7X4GSO5.js → chunk-53CCHRBH.js} +104 -97
- package/bundles/{chunk-N7X4GSO5.js.map → chunk-53CCHRBH.js.map} +1 -1
- package/bundles/{chunk-2G3UVWBI.js → chunk-ABPMSM4T.js} +8 -8
- package/bundles/{chunk-QJ5WULBE.js → chunk-AHPF5263.js} +76 -76
- package/bundles/{chunk-BC53B7EF.js → chunk-BZAIS6C3.js} +5 -5
- package/bundles/{chunk-OKYKHPES.js → chunk-DZ2JDFLR.js} +33 -33
- package/bundles/{chunk-K2U2VZ7S.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-OULZQUKT.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-URH5LEAG.js → chunk-HJOPJLIM.js} +5 -5
- package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-SQZL4JZ2.js → chunk-SL3W33EA.js} +5 -5
- package/bundles/{chunk-TCPBYER2.js → chunk-UNR3CTVT.js} +6 -6
- package/bundles/{chunk-7RPZKH3B.js → chunk-WL4F4VQG.js} +21 -21
- package/bundles/index.js +16 -16
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +52 -0
- package/bundles/ngcc/index.js.map +6 -0
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/ngcc/index.d.ts +11 -0
- package/package.json +3 -2
- /package/bundles/{chunk-2G3UVWBI.js.map → chunk-ABPMSM4T.js.map} +0 -0
- /package/bundles/{chunk-QJ5WULBE.js.map → chunk-AHPF5263.js.map} +0 -0
- /package/bundles/{chunk-BC53B7EF.js.map → chunk-BZAIS6C3.js.map} +0 -0
- /package/bundles/{chunk-OKYKHPES.js.map → chunk-DZ2JDFLR.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-HJOPJLIM.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-SQZL4JZ2.js.map → chunk-SL3W33EA.js.map} +0 -0
- /package/bundles/{chunk-TCPBYER2.js.map → chunk-UNR3CTVT.js.map} +0 -0
- /package/bundles/{chunk-7RPZKH3B.js.map → chunk-WL4F4VQG.js.map} +0 -0
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EC5K6QPP.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
var TS = /\.tsx?$/i;
|
|
20
20
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -115,7 +115,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
115
115
|
return redirectInfo.unredirected;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
119
119
|
var Reference = class {
|
|
120
120
|
constructor(node, bestGuessOwningModule = null) {
|
|
121
121
|
this.node = node;
|
|
@@ -178,14 +178,14 @@ var Reference = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
182
182
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
185
185
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
186
186
|
import ts3 from "typescript";
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
189
189
|
var ErrorCode;
|
|
190
190
|
(function(ErrorCode2) {
|
|
191
191
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -258,7 +258,7 @@ var ErrorCode;
|
|
|
258
258
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
259
259
|
})(ErrorCode || (ErrorCode = {}));
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
262
262
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
263
263
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
264
264
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -270,10 +270,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
270
270
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
271
271
|
]);
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
274
274
|
import ts2 from "typescript";
|
|
275
275
|
|
|
276
|
-
// bazel-out/
|
|
276
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
277
277
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
278
278
|
function replaceTsWithNgInErrors(errors) {
|
|
279
279
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -282,7 +282,7 @@ function ngErrorCode(code) {
|
|
|
282
282
|
return parseInt("-99" + code);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
286
286
|
var FatalDiagnosticError = class {
|
|
287
287
|
constructor(code, node, message, relatedInformation) {
|
|
288
288
|
this.code = code;
|
|
@@ -338,10 +338,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
338
338
|
return messageText;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
// bazel-out/
|
|
341
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
342
342
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
343
343
|
|
|
344
|
-
// bazel-out/
|
|
344
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
345
345
|
var ExtendedTemplateDiagnosticName;
|
|
346
346
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
347
347
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -354,7 +354,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
354
354
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
355
355
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
356
356
|
|
|
357
|
-
// bazel-out/
|
|
357
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
358
358
|
function findExportedNameOfNode(target, file, reflector) {
|
|
359
359
|
const exports = reflector.getExportsOfModule(file);
|
|
360
360
|
if (exports === null) {
|
|
@@ -374,7 +374,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
374
374
|
return foundExportName;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
// bazel-out/
|
|
377
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
378
378
|
var ImportFlags;
|
|
379
379
|
(function(ImportFlags2) {
|
|
380
380
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -590,7 +590,7 @@ var UnifiedModulesStrategy = class {
|
|
|
590
590
|
}
|
|
591
591
|
};
|
|
592
592
|
|
|
593
|
-
// bazel-out/
|
|
593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
594
594
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
595
595
|
var UnifiedModulesAliasingHost = class {
|
|
596
596
|
constructor(unifiedModulesHost) {
|
|
@@ -657,7 +657,7 @@ var AliasStrategy = class {
|
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
659
|
|
|
660
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
661
661
|
function relativePathBetween(from, to) {
|
|
662
662
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
663
663
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -666,7 +666,7 @@ function normalizeSeparators(path) {
|
|
|
666
666
|
return path.replace(/\\/g, "/");
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
-
// bazel-out/
|
|
669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
670
670
|
var NoopImportRewriter = class {
|
|
671
671
|
shouldImportSymbol(symbol, specifier) {
|
|
672
672
|
return true;
|
|
@@ -724,7 +724,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
724
724
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
// bazel-out/
|
|
727
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
728
728
|
import ts4 from "typescript";
|
|
729
729
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
730
730
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -759,7 +759,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
759
759
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
-
// bazel-out/
|
|
762
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
763
763
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
764
764
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
765
765
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -800,7 +800,7 @@ var DefaultImportTracker = class {
|
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
802
|
|
|
803
|
-
// bazel-out/
|
|
803
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
804
804
|
var ModuleResolver = class {
|
|
805
805
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
806
806
|
this.program = program;
|
|
@@ -873,4 +873,4 @@ export {
|
|
|
873
873
|
* Use of this source code is governed by an MIT-style license that can be
|
|
874
874
|
* found in the LICENSE file at https://angular.io/license
|
|
875
875
|
*/
|
|
876
|
-
//# sourceMappingURL=chunk-
|
|
876
|
+
//# sourceMappingURL=chunk-WL4F4VQG.js.map
|
package/bundles/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BZAIS6C3.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_ERROR_CODE,
|
|
12
12
|
EmitFlags,
|
|
@@ -29,21 +29,21 @@ import {
|
|
|
29
29
|
performCompilation,
|
|
30
30
|
readConfiguration,
|
|
31
31
|
untagAllTsFiles
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
ConsoleLogger,
|
|
35
|
-
LogLevel
|
|
36
|
-
} from "./chunk-CF2CT7RQ.js";
|
|
32
|
+
} from "./chunk-53CCHRBH.js";
|
|
37
33
|
import {
|
|
38
34
|
OptimizeFor
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-AHPF5263.js";
|
|
36
|
+
import "./chunk-UNR3CTVT.js";
|
|
37
|
+
import "./chunk-ABPMSM4T.js";
|
|
38
|
+
import "./chunk-WL4F4VQG.js";
|
|
43
39
|
import {
|
|
44
40
|
ActivePerfRecorder,
|
|
45
41
|
PerfPhase
|
|
46
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-HJOPJLIM.js";
|
|
43
|
+
import {
|
|
44
|
+
ConsoleLogger,
|
|
45
|
+
LogLevel
|
|
46
|
+
} from "./chunk-SBDNBITT.js";
|
|
47
47
|
import {
|
|
48
48
|
LogicalFileSystem,
|
|
49
49
|
LogicalProjectPath,
|
|
@@ -64,14 +64,14 @@ import {
|
|
|
64
64
|
resolve,
|
|
65
65
|
setFileSystem,
|
|
66
66
|
toRelativeImport
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-EC5K6QPP.js";
|
|
68
68
|
import "./chunk-SRFZMXHZ.js";
|
|
69
69
|
|
|
70
|
-
// bazel-out/
|
|
70
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
71
71
|
import { Version } from "@angular/compiler";
|
|
72
|
-
var VERSION = new Version("16.0.0
|
|
72
|
+
var VERSION = new Version("16.0.0");
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
75
75
|
var NgTscPlugin = class {
|
|
76
76
|
get compiler() {
|
|
77
77
|
if (this._compiler === null) {
|
|
@@ -148,7 +148,7 @@ var NgTscPlugin = class {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
-
// bazel-out/
|
|
151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
152
152
|
setFileSystem(new NodeJSFileSystem());
|
|
153
153
|
export {
|
|
154
154
|
ConsoleLogger,
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-DZ2JDFLR.js";
|
|
12
|
+
import "../../chunk-ABPMSM4T.js";
|
|
13
|
+
import "../../chunk-WL4F4VQG.js";
|
|
12
14
|
import {
|
|
13
15
|
ConsoleLogger,
|
|
14
16
|
LogLevel
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-2G3UVWBI.js";
|
|
18
|
-
import "../../chunk-7RPZKH3B.js";
|
|
17
|
+
} from "../../chunk-SBDNBITT.js";
|
|
18
|
+
import "../../chunk-GYHDNUIK.js";
|
|
19
19
|
import {
|
|
20
20
|
NodeJSFileSystem
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-EC5K6QPP.js";
|
|
22
22
|
import "../../chunk-SRFZMXHZ.js";
|
|
23
23
|
|
|
24
|
-
// bazel-out/
|
|
24
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
25
25
|
import { types as t4 } from "@babel/core";
|
|
26
26
|
|
|
27
|
-
// bazel-out/
|
|
27
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs
|
|
28
28
|
import { types as t } from "@babel/core";
|
|
29
29
|
var BabelAstFactory = class {
|
|
30
30
|
constructor(sourceUrl) {
|
|
@@ -138,7 +138,7 @@ function isLExpression(expr) {
|
|
|
138
138
|
return t.isLVal(expr);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
// bazel-out/
|
|
141
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
|
|
142
142
|
import { types as t2 } from "@babel/core";
|
|
143
143
|
var BabelAstHost = class {
|
|
144
144
|
constructor() {
|
|
@@ -256,7 +256,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
256
256
|
return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
// bazel-out/
|
|
259
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
|
|
260
260
|
import { types as t3 } from "@babel/core";
|
|
261
261
|
var BabelDeclarationScope = class {
|
|
262
262
|
constructor(declarationScope) {
|
|
@@ -282,7 +282,7 @@ var BabelDeclarationScope = class {
|
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
286
286
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
287
287
|
let fileLinker = null;
|
|
288
288
|
return {
|
|
@@ -383,7 +383,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
383
383
|
return `${filename}: ${error.message}`;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
// bazel-out/
|
|
386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
387
387
|
function defaultLinkerPlugin(api, options) {
|
|
388
388
|
api.assertVersion(7);
|
|
389
389
|
return createEs2015LinkerPlugin({
|
|
@@ -393,7 +393,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
// bazel-out/
|
|
396
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
397
397
|
var babel_default = defaultLinkerPlugin;
|
|
398
398
|
export {
|
|
399
399
|
createEs2015LinkerPlugin,
|
package/bundles/linker/index.js
CHANGED
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
assert,
|
|
11
11
|
isFatalLinkerError,
|
|
12
12
|
needsLinking
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-DZ2JDFLR.js";
|
|
14
|
+
import "../chunk-ABPMSM4T.js";
|
|
15
|
+
import "../chunk-WL4F4VQG.js";
|
|
16
|
+
import "../chunk-GYHDNUIK.js";
|
|
17
|
+
import "../chunk-EC5K6QPP.js";
|
|
18
18
|
import "../chunk-SRFZMXHZ.js";
|
|
19
19
|
export {
|
|
20
20
|
DEFAULT_LINKER_OPTIONS,
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import {createRequire as __cjsCompatRequire} from 'module';
|
|
4
|
+
const require = __cjsCompatRequire(import.meta.url);
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
|
|
8
|
+
function stringEncaseCRLFWithFirstIndex(value, prefix, postfix, index) {
|
|
9
|
+
let endIndex = 0;
|
|
10
|
+
let returnValue = "";
|
|
11
|
+
do {
|
|
12
|
+
const gotCR = value[index - 1] === "\r";
|
|
13
|
+
returnValue += value.substring(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
|
|
14
|
+
endIndex = index + 1;
|
|
15
|
+
index = value.indexOf("\n", endIndex);
|
|
16
|
+
} while (index !== -1);
|
|
17
|
+
returnValue += value.substring(endIndex);
|
|
18
|
+
return returnValue;
|
|
19
|
+
}
|
|
20
|
+
function styleMessage(message) {
|
|
21
|
+
const open = "\x1B[31m\x1B[1m";
|
|
22
|
+
const close = "\x1B[22m\x1B[39m";
|
|
23
|
+
let styledMessage = message;
|
|
24
|
+
const lfIndex = styledMessage.indexOf("\n");
|
|
25
|
+
if (lfIndex !== -1) {
|
|
26
|
+
styledMessage = stringEncaseCRLFWithFirstIndex(styledMessage, close, open, lfIndex);
|
|
27
|
+
}
|
|
28
|
+
return open + styledMessage + close;
|
|
29
|
+
}
|
|
30
|
+
var warningMsg = `
|
|
31
|
+
|
|
32
|
+
==========================================
|
|
33
|
+
|
|
34
|
+
ALERT: As of Angular 16, "ngcc" is no longer required and not invoked during CLI builds. You are seeing this message because the current operation invoked the "ngcc" command directly. This "ngcc" invocation can be safely removed.
|
|
35
|
+
|
|
36
|
+
A common reason for this is invoking "ngcc" from a "postinstall" hook in package.json.
|
|
37
|
+
|
|
38
|
+
In Angular 17, this command will be removed. Remove this and any other invocations to prevent errors in later versions.
|
|
39
|
+
|
|
40
|
+
==========================================
|
|
41
|
+
|
|
42
|
+
`;
|
|
43
|
+
console.warn(styleMessage(warningMsg));
|
|
44
|
+
process.exit(0);
|
|
45
|
+
/**
|
|
46
|
+
* @license
|
|
47
|
+
* Copyright Google LLC All Rights Reserved.
|
|
48
|
+
*
|
|
49
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
50
|
+
* found in the LICENSE file at https://angular.io/license
|
|
51
|
+
*/
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../packages/compiler-cli/ngcc/index.ts"],
|
|
4
|
+
"mappings": ";;;;;;;AAUA,SAAS,+BACL,OAAe,QAAgB,SAAiB,OAAa;AAC/D,MAAI,WAAW;AACf,MAAI,cAAc;AAElB,KAAG;AACD,UAAM,QAAQ,MAAM,QAAQ,OAAO;AACnC,mBAAe,MAAM,UAAU,UAAU,QAAQ,QAAQ,IAAI,KAAK,IAAI,UACjE,QAAQ,SAAS,QAAQ;AAC9B,eAAW,QAAQ;AACnB,YAAQ,MAAM,QAAQ,MAAM,QAAQ;WAC7B,UAAU;AAEnB,iBAAe,MAAM,UAAU,QAAQ;AACvC,SAAO;AACT;AAIA,SAAS,aAAa,SAAe;AAEnC,QAAM,OAAO;AACb,QAAM,QAAQ;AAEd,MAAI,gBAAgB;AACpB,QAAM,UAAU,cAAc,QAAQ,IAAI;AAC1C,MAAI,YAAY,IAAI;AAClB,oBAAgB,+BAA+B,eAAe,OAAO,MAAM,OAAO;;AAGpF,SAAO,OAAO,gBAAgB;AAChC;AAEA,IAAM,aAAa;;;;;;;;;;;;;AAcnB,QAAQ,KAAK,aAAa,UAAU,CAAC;AACrC,QAAQ,KAAK,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
package/bundles/private/bazel.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import {
|
|
6
6
|
ConsoleLogger,
|
|
7
7
|
LogLevel
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SBDNBITT.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-GYHDNUIK.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-
|
|
33
|
+
} from "../chunk-EC5K6QPP.js";
|
|
34
34
|
import "../chunk-SRFZMXHZ.js";
|
|
35
35
|
export {
|
|
36
36
|
ConsoleLogger,
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
StaticInterpreter,
|
|
11
11
|
forwardRefResolver
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-AHPF5263.js";
|
|
13
13
|
import {
|
|
14
14
|
TypeScriptReflectionHost,
|
|
15
15
|
reflectObjectLiteral
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-UNR3CTVT.js";
|
|
17
|
+
import "../chunk-ABPMSM4T.js";
|
|
18
18
|
import {
|
|
19
19
|
Reference
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-WL4F4VQG.js";
|
|
21
|
+
import "../chunk-HJOPJLIM.js";
|
|
22
|
+
import "../chunk-EC5K6QPP.js";
|
|
23
23
|
import "../chunk-SRFZMXHZ.js";
|
|
24
24
|
export {
|
|
25
25
|
DynamicValue,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-BZAIS6C3.js";
|
|
10
|
+
import "../chunk-UNR3CTVT.js";
|
|
11
|
+
import "../chunk-WL4F4VQG.js";
|
|
12
|
+
import "../chunk-EC5K6QPP.js";
|
|
13
13
|
import "../chunk-SRFZMXHZ.js";
|
|
14
14
|
export {
|
|
15
15
|
GLOBAL_DEFS_FOR_TERSER,
|
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
import {
|
|
7
7
|
main,
|
|
8
8
|
readCommandLineAndConfiguration
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-SL3W33EA.js";
|
|
10
10
|
import {
|
|
11
11
|
EmitFlags
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-53CCHRBH.js";
|
|
13
|
+
import "../../chunk-AHPF5263.js";
|
|
14
|
+
import "../../chunk-UNR3CTVT.js";
|
|
15
|
+
import "../../chunk-ABPMSM4T.js";
|
|
16
|
+
import "../../chunk-WL4F4VQG.js";
|
|
17
|
+
import "../../chunk-HJOPJLIM.js";
|
|
18
18
|
import {
|
|
19
19
|
NodeJSFileSystem,
|
|
20
20
|
setFileSystem
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-EC5K6QPP.js";
|
|
22
22
|
import "../../chunk-SRFZMXHZ.js";
|
|
23
23
|
|
|
24
|
-
// bazel-out/
|
|
24
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
25
25
|
import "reflect-metadata";
|
|
26
26
|
|
|
27
|
-
// bazel-out/
|
|
27
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
|
|
28
28
|
import yargs from "yargs";
|
|
29
29
|
function mainXi18n(args2, consoleError = console.error) {
|
|
30
30
|
const config = readXi18nCommandLineAndConfiguration(args2);
|
|
@@ -47,7 +47,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
|
|
|
47
47
|
return { ...config, emitFlags: EmitFlags.I18nBundle };
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
// bazel-out/
|
|
50
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
51
51
|
process.title = "Angular i18n Message Extractor (ng-xi18n)";
|
|
52
52
|
var args = process.argv.slice(2);
|
|
53
53
|
setFileSystem(new NodeJSFileSystem());
|
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
main
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-SL3W33EA.js";
|
|
9
|
+
import "../../chunk-53CCHRBH.js";
|
|
10
|
+
import "../../chunk-AHPF5263.js";
|
|
11
|
+
import "../../chunk-UNR3CTVT.js";
|
|
12
|
+
import "../../chunk-ABPMSM4T.js";
|
|
13
|
+
import "../../chunk-WL4F4VQG.js";
|
|
14
|
+
import "../../chunk-HJOPJLIM.js";
|
|
15
15
|
import {
|
|
16
16
|
NodeJSFileSystem,
|
|
17
17
|
setFileSystem
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-EC5K6QPP.js";
|
|
19
19
|
import {
|
|
20
20
|
__require,
|
|
21
21
|
__toESM
|
|
22
22
|
} from "../../chunk-SRFZMXHZ.js";
|
|
23
23
|
|
|
24
|
-
// bazel-out/
|
|
24
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
25
25
|
import "reflect-metadata";
|
|
26
26
|
async function runNgcComamnd() {
|
|
27
27
|
process.title = "Angular Compiler (ngc)";
|