@angular/compiler-cli 14.1.2 → 14.1.3
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-S4JINNFN.js → chunk-4NRCP3Y6.js} +7 -7
- package/bundles/{chunk-S4JINNFN.js.map → chunk-4NRCP3Y6.js.map} +0 -0
- package/bundles/{chunk-Z57D3OKU.js → chunk-56O2PTWU.js} +7 -7
- package/bundles/{chunk-Z57D3OKU.js.map → chunk-56O2PTWU.js.map} +0 -0
- package/bundles/{chunk-4SINIALN.js → chunk-5FZBUSFV.js} +3 -3
- package/bundles/{chunk-4SINIALN.js.map → chunk-5FZBUSFV.js.map} +0 -0
- package/bundles/{chunk-IN4DCRQU.js → chunk-6CDTGQDE.js} +70 -70
- package/bundles/{chunk-IN4DCRQU.js.map → chunk-6CDTGQDE.js.map} +0 -0
- package/bundles/{chunk-IJA2BQQH.js → chunk-BOVA65EV.js} +6 -6
- package/bundles/{chunk-IJA2BQQH.js.map → chunk-BOVA65EV.js.map} +0 -0
- package/bundles/{chunk-GQHLKW4T.js → chunk-BX6CB3FI.js} +31 -31
- package/bundles/{chunk-GQHLKW4T.js.map → chunk-BX6CB3FI.js.map} +0 -0
- package/bundles/{chunk-SJL5HBUW.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-SJL5HBUW.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-N2MCMY3J.js → chunk-ICPLY7FO.js} +4 -4
- package/bundles/{chunk-N2MCMY3J.js.map → chunk-ICPLY7FO.js.map} +0 -0
- package/bundles/{chunk-SQ4LQVUY.js → chunk-KH76E4BH.js} +40 -40
- package/bundles/{chunk-SQ4LQVUY.js.map → chunk-KH76E4BH.js.map} +0 -0
- package/bundles/{chunk-I6FYVWLO.js → chunk-NESWWMC7.js} +69 -69
- package/bundles/{chunk-I6FYVWLO.js.map → chunk-NESWWMC7.js.map} +0 -0
- package/bundles/{chunk-IOI2BV5O.js → chunk-OLV72TYD.js} +5 -5
- package/bundles/{chunk-IOI2BV5O.js.map → chunk-OLV72TYD.js.map} +0 -0
- package/bundles/{chunk-Z2IQF7UG.js → chunk-R5EILQ65.js} +5 -5
- package/bundles/{chunk-Z2IQF7UG.js.map → chunk-R5EILQ65.js.map} +0 -0
- package/bundles/{chunk-AHYRDQYO.js → chunk-TYIM47SK.js} +26 -26
- package/bundles/{chunk-AHYRDQYO.js.map → chunk-TYIM47SK.js.map} +0 -0
- package/bundles/{chunk-HAEVBCLU.js → chunk-UXC2H2UF.js} +96 -96
- package/bundles/{chunk-HAEVBCLU.js.map → chunk-UXC2H2UF.js.map} +0 -0
- package/bundles/{chunk-AMYIDAXN.js → chunk-V6TOSKSY.js} +6 -6
- package/bundles/{chunk-AMYIDAXN.js.map → chunk-V6TOSKSY.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
resolve,
|
|
14
14
|
stripExtension,
|
|
15
15
|
toRelativeImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4NRCP3Y6.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
19
19
|
import ts from "typescript";
|
|
20
20
|
var TS = /\.tsx?$/i;
|
|
21
21
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -110,7 +110,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
110
110
|
return redirectInfo.unredirected;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
114
114
|
var Reference = class {
|
|
115
115
|
constructor(node, bestGuessOwningModule = null) {
|
|
116
116
|
this.node = node;
|
|
@@ -173,14 +173,14 @@ var Reference = class {
|
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
177
177
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
178
178
|
|
|
179
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
180
180
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
181
181
|
import ts3 from "typescript";
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
184
184
|
var ErrorCode;
|
|
185
185
|
(function(ErrorCode2) {
|
|
186
186
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -244,7 +244,7 @@ var ErrorCode;
|
|
|
244
244
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
245
245
|
})(ErrorCode || (ErrorCode = {}));
|
|
246
246
|
|
|
247
|
-
// bazel-out/
|
|
247
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
248
248
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
249
249
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
250
250
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -256,10 +256,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
256
256
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
257
257
|
]);
|
|
258
258
|
|
|
259
|
-
// bazel-out/
|
|
259
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
260
260
|
import ts2 from "typescript";
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
263
263
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
264
264
|
function replaceTsWithNgInErrors(errors) {
|
|
265
265
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -268,7 +268,7 @@ function ngErrorCode(code) {
|
|
|
268
268
|
return parseInt("-99" + code);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
// bazel-out/
|
|
271
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
272
272
|
var FatalDiagnosticError = class {
|
|
273
273
|
constructor(code, node, message, relatedInformation) {
|
|
274
274
|
this.code = code;
|
|
@@ -316,10 +316,10 @@ function isFatalDiagnosticError(err) {
|
|
|
316
316
|
return err._isFatalDiagnosticError === true;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
// bazel-out/
|
|
319
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
320
320
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
321
321
|
|
|
322
|
-
// bazel-out/
|
|
322
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
323
323
|
var ExtendedTemplateDiagnosticName;
|
|
324
324
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
325
325
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -331,7 +331,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
331
331
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
332
332
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
333
333
|
|
|
334
|
-
// bazel-out/
|
|
334
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
335
335
|
function findExportedNameOfNode(target, file, reflector) {
|
|
336
336
|
const exports = reflector.getExportsOfModule(file);
|
|
337
337
|
if (exports === null) {
|
|
@@ -351,7 +351,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
351
351
|
return foundExportName;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
// bazel-out/
|
|
354
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
355
355
|
var ImportFlags;
|
|
356
356
|
(function(ImportFlags2) {
|
|
357
357
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -567,7 +567,7 @@ var UnifiedModulesStrategy = class {
|
|
|
567
567
|
}
|
|
568
568
|
};
|
|
569
569
|
|
|
570
|
-
// bazel-out/
|
|
570
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
571
571
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
572
572
|
var UnifiedModulesAliasingHost = class {
|
|
573
573
|
constructor(unifiedModulesHost) {
|
|
@@ -634,7 +634,7 @@ var AliasStrategy = class {
|
|
|
634
634
|
}
|
|
635
635
|
};
|
|
636
636
|
|
|
637
|
-
// bazel-out/
|
|
637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
638
638
|
function relativePathBetween(from, to) {
|
|
639
639
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
640
640
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -643,7 +643,7 @@ function normalizeSeparators(path) {
|
|
|
643
643
|
return path.replace(/\\/g, "/");
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
-
// bazel-out/
|
|
646
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
647
647
|
var NoopImportRewriter = class {
|
|
648
648
|
shouldImportSymbol(symbol, specifier) {
|
|
649
649
|
return true;
|
|
@@ -701,7 +701,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
701
701
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
// bazel-out/
|
|
704
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
705
705
|
import ts4 from "typescript";
|
|
706
706
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
707
707
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -746,7 +746,7 @@ var DefaultImportTracker = class {
|
|
|
746
746
|
}
|
|
747
747
|
};
|
|
748
748
|
|
|
749
|
-
// bazel-out/
|
|
749
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
750
750
|
var ModuleResolver = class {
|
|
751
751
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
752
752
|
this.program = program;
|
|
@@ -763,7 +763,7 @@ var ModuleResolver = class {
|
|
|
763
763
|
}
|
|
764
764
|
};
|
|
765
765
|
|
|
766
|
-
// bazel-out/
|
|
766
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
767
767
|
var Context = class {
|
|
768
768
|
constructor(isStatement) {
|
|
769
769
|
this.isStatement = isStatement;
|
|
@@ -776,7 +776,7 @@ var Context = class {
|
|
|
776
776
|
}
|
|
777
777
|
};
|
|
778
778
|
|
|
779
|
-
// bazel-out/
|
|
779
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
780
780
|
import * as o from "@angular/compiler";
|
|
781
781
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
782
782
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -1000,7 +1000,7 @@ function createRange(span) {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
// bazel-out/
|
|
1003
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
1004
1004
|
import ts5 from "typescript";
|
|
1005
1005
|
var ImportManager = class {
|
|
1006
1006
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1036,7 +1036,7 @@ var ImportManager = class {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
};
|
|
1038
1038
|
|
|
1039
|
-
// bazel-out/
|
|
1039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1040
1040
|
import * as o2 from "@angular/compiler";
|
|
1041
1041
|
import ts6 from "typescript";
|
|
1042
1042
|
function translateType(type, imports) {
|
|
@@ -1207,7 +1207,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
};
|
|
1209
1209
|
|
|
1210
|
-
// bazel-out/
|
|
1210
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1211
1211
|
import ts7 from "typescript";
|
|
1212
1212
|
var PureAnnotation;
|
|
1213
1213
|
(function(PureAnnotation2) {
|
|
@@ -1385,7 +1385,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
|
-
// bazel-out/
|
|
1388
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1389
1389
|
function translateExpression(expression, imports, options = {}) {
|
|
1390
1390
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1391
1391
|
}
|
|
@@ -1453,4 +1453,4 @@ export {
|
|
|
1453
1453
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1454
1454
|
* found in the LICENSE file at https://angular.io/license
|
|
1455
1455
|
*/
|
|
1456
|
-
//# sourceMappingURL=chunk-
|
|
1456
|
+
//# sourceMappingURL=chunk-TYIM47SK.js.map
|
|
File without changes
|