@angular/compiler-cli 15.2.1 → 15.2.2
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-7GNUPQOI.js → chunk-2PLRZDNU.js} +31 -31
- package/bundles/{chunk-2NLFVEGY.js → chunk-6ZJFIQBG.js} +7 -7
- package/bundles/{chunk-B57SP4JB.js → chunk-7DUI3BSX.js} +2 -2
- package/bundles/{chunk-RMPM4VAI.js → chunk-AYNYESJJ.js} +95 -95
- package/bundles/{chunk-5WBIJMZH.js → chunk-E6XIZDH3.js} +5 -5
- package/bundles/{chunk-TBUSSXUA.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-PKXB2WOZ.js → chunk-EYXJKNSD.js} +40 -40
- package/bundles/{chunk-YZWN2KWE.js → chunk-NJMZRTB6.js} +5 -5
- package/bundles/{chunk-ZF3IVDQ2.js → chunk-O4JLZZWJ.js} +6 -6
- package/bundles/{chunk-TGEKDMUX.js → chunk-PT6IDEJZ.js} +9 -38
- package/bundles/chunk-PT6IDEJZ.js.map +6 -0
- package/bundles/{chunk-IJECERTO.js → chunk-QRHWLC7U.js} +10 -10
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-P5LISIUG.js → chunk-VVIQFUX6.js} +77 -77
- package/bundles/{chunk-K7P4IHT5.js → chunk-YRDMG3GM.js} +4 -4
- package/bundles/{chunk-IYYB2HTK.js → chunk-ZCBRXUPO.js} +21 -21
- package/bundles/{chunk-WN75SNW4.js → chunk-ZEOG7UFV.js} +71 -71
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
- 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 +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/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.d.ts +6 -8
- package/bundles/chunk-TGEKDMUX.js.map +0 -6
- /package/bundles/{chunk-7GNUPQOI.js.map → chunk-2PLRZDNU.js.map} +0 -0
- /package/bundles/{chunk-2NLFVEGY.js.map → chunk-6ZJFIQBG.js.map} +0 -0
- /package/bundles/{chunk-B57SP4JB.js.map → chunk-7DUI3BSX.js.map} +0 -0
- /package/bundles/{chunk-RMPM4VAI.js.map → chunk-AYNYESJJ.js.map} +0 -0
- /package/bundles/{chunk-5WBIJMZH.js.map → chunk-E6XIZDH3.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-PKXB2WOZ.js.map → chunk-EYXJKNSD.js.map} +0 -0
- /package/bundles/{chunk-YZWN2KWE.js.map → chunk-NJMZRTB6.js.map} +0 -0
- /package/bundles/{chunk-ZF3IVDQ2.js.map → chunk-O4JLZZWJ.js.map} +0 -0
- /package/bundles/{chunk-IJECERTO.js.map → chunk-QRHWLC7U.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-P5LISIUG.js.map → chunk-VVIQFUX6.js.map} +0 -0
- /package/bundles/{chunk-K7P4IHT5.js.map → chunk-YRDMG3GM.js.map} +0 -0
- /package/bundles/{chunk-IYYB2HTK.js.map → chunk-ZCBRXUPO.js.map} +0 -0
- /package/bundles/{chunk-WN75SNW4.js.map → chunk-ZEOG7UFV.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";
|
|
@@ -255,7 +255,7 @@ var ErrorCode;
|
|
|
255
255
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
256
256
|
})(ErrorCode || (ErrorCode = {}));
|
|
257
257
|
|
|
258
|
-
// bazel-out/
|
|
258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
259
259
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
260
260
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
261
261
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -267,10 +267,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
267
267
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
268
268
|
]);
|
|
269
269
|
|
|
270
|
-
// bazel-out/
|
|
270
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
271
271
|
import ts2 from "typescript";
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
274
274
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
275
275
|
function replaceTsWithNgInErrors(errors) {
|
|
276
276
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -279,7 +279,7 @@ function ngErrorCode(code) {
|
|
|
279
279
|
return parseInt("-99" + code);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
// bazel-out/
|
|
282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
283
283
|
var FatalDiagnosticError = class {
|
|
284
284
|
constructor(code, node, message, relatedInformation) {
|
|
285
285
|
this.code = code;
|
|
@@ -338,10 +338,10 @@ function isFatalDiagnosticError(err) {
|
|
|
338
338
|
return err._isFatalDiagnosticError === true;
|
|
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";
|
|
@@ -353,7 +353,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
353
353
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
354
354
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
355
355
|
|
|
356
|
-
// bazel-out/
|
|
356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
357
357
|
function findExportedNameOfNode(target, file, reflector) {
|
|
358
358
|
const exports = reflector.getExportsOfModule(file);
|
|
359
359
|
if (exports === null) {
|
|
@@ -373,7 +373,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
373
373
|
return foundExportName;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
// bazel-out/
|
|
376
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
377
377
|
var ImportFlags;
|
|
378
378
|
(function(ImportFlags2) {
|
|
379
379
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -589,7 +589,7 @@ var UnifiedModulesStrategy = class {
|
|
|
589
589
|
}
|
|
590
590
|
};
|
|
591
591
|
|
|
592
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
593
593
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
594
594
|
var UnifiedModulesAliasingHost = class {
|
|
595
595
|
constructor(unifiedModulesHost) {
|
|
@@ -656,7 +656,7 @@ var AliasStrategy = class {
|
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
658
|
|
|
659
|
-
// bazel-out/
|
|
659
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
660
660
|
function relativePathBetween(from, to) {
|
|
661
661
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
662
662
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -665,7 +665,7 @@ function normalizeSeparators(path) {
|
|
|
665
665
|
return path.replace(/\\/g, "/");
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
// bazel-out/
|
|
668
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
669
669
|
var NoopImportRewriter = class {
|
|
670
670
|
shouldImportSymbol(symbol, specifier) {
|
|
671
671
|
return true;
|
|
@@ -723,7 +723,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
723
723
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
724
724
|
}
|
|
725
725
|
|
|
726
|
-
// bazel-out/
|
|
726
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
727
727
|
import ts4 from "typescript";
|
|
728
728
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
729
729
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -758,7 +758,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
758
758
|
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.");
|
|
759
759
|
}
|
|
760
760
|
|
|
761
|
-
// bazel-out/
|
|
761
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
762
762
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
763
763
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
764
764
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -799,7 +799,7 @@ var DefaultImportTracker = class {
|
|
|
799
799
|
}
|
|
800
800
|
};
|
|
801
801
|
|
|
802
|
-
// bazel-out/
|
|
802
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
803
803
|
var ModuleResolver = class {
|
|
804
804
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
805
805
|
this.program = program;
|
|
@@ -874,4 +874,4 @@ export {
|
|
|
874
874
|
* Use of this source code is governed by an MIT-style license that can be
|
|
875
875
|
* found in the LICENSE file at https://angular.io/license
|
|
876
876
|
*/
|
|
877
|
-
//# sourceMappingURL=chunk-
|
|
877
|
+
//# sourceMappingURL=chunk-ZCBRXUPO.js.map
|