@angular/compiler-cli 16.1.0-next.2 → 16.1.0-next.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-OGRHCPOV.js → chunk-2LWEHGUD.js} +93 -93
- package/bundles/{chunk-WF3L5COT.js → chunk-2PV6GDIB.js} +21 -21
- package/bundles/{chunk-LOZJLM26.js → chunk-4KV4DPNH.js} +8 -8
- package/bundles/{chunk-KKMOMQGE.js → chunk-7ECYCAFM.js} +81 -78
- package/bundles/chunk-7ECYCAFM.js.map +6 -0
- package/bundles/{chunk-FHTU2HTQ.js → chunk-C5JIFUTE.js} +5 -5
- package/bundles/{chunk-LYJKWJUC.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-TBUSSXUA.js → chunk-K2U2VZ7S.js} +7 -7
- package/bundles/{chunk-ADNHTL54.js → chunk-OPZ2XHZS.js} +31 -31
- package/bundles/{chunk-EKTJ7622.js → chunk-OULZQUKT.js} +7 -7
- package/bundles/{chunk-7PCPPTTO.js → chunk-URH5LEAG.js} +5 -5
- package/bundles/{chunk-SJLWUYXS.js → chunk-UZO5WCWI.js} +5 -5
- package/bundles/{chunk-NIK4FIWB.js → chunk-ZE33XMQ7.js} +6 -6
- 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 +1 -1
- 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/package.json +2 -2
- package/bundles/chunk-KKMOMQGE.js.map +0 -6
- /package/bundles/{chunk-OGRHCPOV.js.map → chunk-2LWEHGUD.js.map} +0 -0
- /package/bundles/{chunk-WF3L5COT.js.map → chunk-2PV6GDIB.js.map} +0 -0
- /package/bundles/{chunk-LOZJLM26.js.map → chunk-4KV4DPNH.js.map} +0 -0
- /package/bundles/{chunk-FHTU2HTQ.js.map → chunk-C5JIFUTE.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-K2U2VZ7S.js.map} +0 -0
- /package/bundles/{chunk-ADNHTL54.js.map → chunk-OPZ2XHZS.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-OULZQUKT.js.map} +0 -0
- /package/bundles/{chunk-7PCPPTTO.js.map → chunk-URH5LEAG.js.map} +0 -0
- /package/bundles/{chunk-SJLWUYXS.js.map → chunk-UZO5WCWI.js.map} +0 -0
- /package/bundles/{chunk-NIK4FIWB.js.map → chunk-ZE33XMQ7.js.map} +0 -0
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K2U2VZ7S.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin-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-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-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-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-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";
|
|
@@ -259,7 +259,7 @@ var ErrorCode;
|
|
|
259
259
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
260
260
|
})(ErrorCode || (ErrorCode = {}));
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
263
263
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
264
264
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
265
265
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -271,10 +271,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
271
271
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
272
272
|
]);
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
275
275
|
import ts2 from "typescript";
|
|
276
276
|
|
|
277
|
-
// bazel-out/
|
|
277
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
278
278
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
279
279
|
function replaceTsWithNgInErrors(errors) {
|
|
280
280
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -283,7 +283,7 @@ function ngErrorCode(code) {
|
|
|
283
283
|
return parseInt("-99" + code);
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
// bazel-out/
|
|
286
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
287
287
|
var FatalDiagnosticError = class {
|
|
288
288
|
constructor(code, node, message, relatedInformation) {
|
|
289
289
|
this.code = code;
|
|
@@ -339,10 +339,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
339
339
|
return messageText;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
// bazel-out/
|
|
342
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
343
343
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
344
344
|
|
|
345
|
-
// bazel-out/
|
|
345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
346
346
|
var ExtendedTemplateDiagnosticName;
|
|
347
347
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
348
348
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -355,7 +355,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
355
355
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
356
356
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
357
357
|
|
|
358
|
-
// bazel-out/
|
|
358
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
359
359
|
function findExportedNameOfNode(target, file, reflector) {
|
|
360
360
|
const exports = reflector.getExportsOfModule(file);
|
|
361
361
|
if (exports === null) {
|
|
@@ -375,7 +375,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
375
375
|
return foundExportName;
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
// bazel-out/
|
|
378
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
379
379
|
var ImportFlags;
|
|
380
380
|
(function(ImportFlags2) {
|
|
381
381
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -591,7 +591,7 @@ var UnifiedModulesStrategy = class {
|
|
|
591
591
|
}
|
|
592
592
|
};
|
|
593
593
|
|
|
594
|
-
// bazel-out/
|
|
594
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
595
595
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
596
596
|
var UnifiedModulesAliasingHost = class {
|
|
597
597
|
constructor(unifiedModulesHost) {
|
|
@@ -658,7 +658,7 @@ var AliasStrategy = class {
|
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
662
662
|
function relativePathBetween(from, to) {
|
|
663
663
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
664
664
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -667,7 +667,7 @@ function normalizeSeparators(path) {
|
|
|
667
667
|
return path.replace(/\\/g, "/");
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
// bazel-out/
|
|
670
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
671
671
|
var NoopImportRewriter = class {
|
|
672
672
|
shouldImportSymbol(symbol, specifier) {
|
|
673
673
|
return true;
|
|
@@ -725,7 +725,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
725
725
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
726
726
|
}
|
|
727
727
|
|
|
728
|
-
// bazel-out/
|
|
728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
729
729
|
import ts4 from "typescript";
|
|
730
730
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
731
731
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -760,7 +760,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
760
760
|
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.");
|
|
761
761
|
}
|
|
762
762
|
|
|
763
|
-
// bazel-out/
|
|
763
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
764
764
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
765
765
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
766
766
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -801,7 +801,7 @@ var DefaultImportTracker = class {
|
|
|
801
801
|
}
|
|
802
802
|
};
|
|
803
803
|
|
|
804
|
-
// bazel-out/
|
|
804
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
805
805
|
var ModuleResolver = class {
|
|
806
806
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
807
807
|
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-2PV6GDIB.js.map
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
NoopImportRewriter,
|
|
8
8
|
Reference,
|
|
9
9
|
assertSuccessfulReferenceEmit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2PV6GDIB.js";
|
|
11
11
|
|
|
12
|
-
// bazel-out/
|
|
12
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
13
13
|
var Context = class {
|
|
14
14
|
constructor(isStatement) {
|
|
15
15
|
this.isStatement = isStatement;
|
|
@@ -22,7 +22,7 @@ var Context = class {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
26
26
|
import * as o from "@angular/compiler";
|
|
27
27
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
28
28
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -254,7 +254,7 @@ function createRange(span) {
|
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
258
258
|
import ts from "typescript";
|
|
259
259
|
var ImportManager = class {
|
|
260
260
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -290,7 +290,7 @@ var ImportManager = class {
|
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
|
|
293
|
-
// bazel-out/
|
|
293
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
294
294
|
import * as o2 from "@angular/compiler";
|
|
295
295
|
import ts2 from "typescript";
|
|
296
296
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
@@ -507,7 +507,7 @@ var TypeTranslatorVisitor = class {
|
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
509
|
|
|
510
|
-
// bazel-out/
|
|
510
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
511
511
|
import ts3 from "typescript";
|
|
512
512
|
var PureAnnotation;
|
|
513
513
|
(function(PureAnnotation2) {
|
|
@@ -690,7 +690,7 @@ function attachComments(statement, leadingComments) {
|
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
// bazel-out/
|
|
693
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
694
694
|
function translateExpression(expression, imports, options = {}) {
|
|
695
695
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
696
696
|
}
|
|
@@ -713,4 +713,4 @@ export {
|
|
|
713
713
|
* Use of this source code is governed by an MIT-style license that can be
|
|
714
714
|
* found in the LICENSE file at https://angular.io/license
|
|
715
715
|
*/
|
|
716
|
-
//# sourceMappingURL=chunk-
|
|
716
|
+
//# sourceMappingURL=chunk-4KV4DPNH.js.map
|