@angular/compiler-cli 16.0.0-next.1 → 16.0.0-next.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-N6MSUQVH.js → chunk-54RHUHYB.js} +5 -5
- package/bundles/{chunk-JEQIMWEA.js → chunk-7Y2QVZL6.js} +31 -31
- package/bundles/{chunk-JKV3J53A.js → chunk-BVXD7IJL.js} +9 -38
- package/bundles/chunk-BVXD7IJL.js.map +6 -0
- package/bundles/{chunk-TBUSSXUA.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-QQGJEWBQ.js → chunk-EDWIBG7R.js} +6 -6
- package/bundles/{chunk-EKTJ7622.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-Q2TY6LB3.js → chunk-JCJ2GTDZ.js} +5 -5
- package/bundles/{chunk-TK3GHMT6.js → chunk-K2A5WD7L.js} +21 -21
- package/bundles/{chunk-IE2WWKOE.js → chunk-KA5NKHL6.js} +101 -100
- package/bundles/{chunk-IE2WWKOE.js.map → chunk-KA5NKHL6.js.map} +1 -1
- package/bundles/{chunk-6PDKXFWN.js → chunk-LLHKY5PL.js} +8 -8
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-XS6XKZQP.js → chunk-W6DWPJBG.js} +77 -77
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- 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/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.d.ts +6 -8
- package/bundles/chunk-JKV3J53A.js.map +0 -6
- /package/bundles/{chunk-N6MSUQVH.js.map → chunk-54RHUHYB.js.map} +0 -0
- /package/bundles/{chunk-JEQIMWEA.js.map → chunk-7Y2QVZL6.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-QQGJEWBQ.js.map → chunk-EDWIBG7R.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-Q2TY6LB3.js.map → chunk-JCJ2GTDZ.js.map} +0 -0
- /package/bundles/{chunk-TK3GHMT6.js.map → chunk-K2A5WD7L.js.map} +0 -0
- /package/bundles/{chunk-6PDKXFWN.js.map → chunk-LLHKY5PL.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-XS6XKZQP.js.map → chunk-W6DWPJBG.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;
|
|
@@ -335,10 +335,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
335
335
|
return messageText;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
// bazel-out/
|
|
338
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
339
339
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
340
340
|
|
|
341
|
-
// bazel-out/
|
|
341
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
342
342
|
var ExtendedTemplateDiagnosticName;
|
|
343
343
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
344
344
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -350,7 +350,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
350
350
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
351
351
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
352
352
|
|
|
353
|
-
// bazel-out/
|
|
353
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
354
354
|
function findExportedNameOfNode(target, file, reflector) {
|
|
355
355
|
const exports = reflector.getExportsOfModule(file);
|
|
356
356
|
if (exports === null) {
|
|
@@ -370,7 +370,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
370
370
|
return foundExportName;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
// bazel-out/
|
|
373
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
374
374
|
var ImportFlags;
|
|
375
375
|
(function(ImportFlags2) {
|
|
376
376
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -586,7 +586,7 @@ var UnifiedModulesStrategy = class {
|
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
|
|
589
|
-
// bazel-out/
|
|
589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
590
590
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
591
591
|
var UnifiedModulesAliasingHost = class {
|
|
592
592
|
constructor(unifiedModulesHost) {
|
|
@@ -653,7 +653,7 @@ var AliasStrategy = class {
|
|
|
653
653
|
}
|
|
654
654
|
};
|
|
655
655
|
|
|
656
|
-
// bazel-out/
|
|
656
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
657
657
|
function relativePathBetween(from, to) {
|
|
658
658
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
659
659
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -662,7 +662,7 @@ function normalizeSeparators(path) {
|
|
|
662
662
|
return path.replace(/\\/g, "/");
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
// bazel-out/
|
|
665
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
666
666
|
var NoopImportRewriter = class {
|
|
667
667
|
shouldImportSymbol(symbol, specifier) {
|
|
668
668
|
return true;
|
|
@@ -720,7 +720,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
720
720
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
// bazel-out/
|
|
723
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
724
724
|
import ts4 from "typescript";
|
|
725
725
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
726
726
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -755,7 +755,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
755
755
|
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.");
|
|
756
756
|
}
|
|
757
757
|
|
|
758
|
-
// bazel-out/
|
|
758
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
759
759
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
760
760
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
761
761
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -796,7 +796,7 @@ var DefaultImportTracker = class {
|
|
|
796
796
|
}
|
|
797
797
|
};
|
|
798
798
|
|
|
799
|
-
// bazel-out/
|
|
799
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
800
800
|
var ModuleResolver = class {
|
|
801
801
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
802
802
|
this.program = program;
|
|
@@ -869,4 +869,4 @@ export {
|
|
|
869
869
|
* Use of this source code is governed by an MIT-style license that can be
|
|
870
870
|
* found in the LICENSE file at https://angular.io/license
|
|
871
871
|
*/
|
|
872
|
-
//# sourceMappingURL=chunk-
|
|
872
|
+
//# sourceMappingURL=chunk-K2A5WD7L.js.map
|