@angular/compiler-cli 13.2.0-rc.0 → 13.2.0-rc.1
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-PRLCFFMX.js → chunk-3XJZ4ZZZ.js} +92 -89
- package/bundles/{chunk-PRLCFFMX.js.map → chunk-3XJZ4ZZZ.js.map} +1 -1
- package/bundles/{chunk-XDDLTG6N.js → chunk-4QCYPOMC.js} +40 -40
- package/bundles/{chunk-XDDLTG6N.js.map → chunk-4QCYPOMC.js.map} +0 -0
- package/bundles/{chunk-RGGJJ7ZZ.js → chunk-676MI6WZ.js} +7 -7
- package/bundles/{chunk-RGGJJ7ZZ.js.map → chunk-676MI6WZ.js.map} +0 -0
- package/bundles/{chunk-XXMNTCYN.js → chunk-7PY7XEFH.js} +6 -6
- package/bundles/{chunk-XXMNTCYN.js.map → chunk-7PY7XEFH.js.map} +0 -0
- package/bundles/{chunk-RNVIUKDY.js → chunk-A5PL3TE6.js} +6 -6
- package/bundles/{chunk-RNVIUKDY.js.map → chunk-A5PL3TE6.js.map} +0 -0
- package/bundles/{chunk-RDTZZXLZ.js → chunk-ADHVDA4A.js} +7 -7
- package/bundles/{chunk-RDTZZXLZ.js.map → chunk-ADHVDA4A.js.map} +0 -0
- package/bundles/{chunk-N2FK756V.js → chunk-DH7A3OBN.js} +5 -5
- package/bundles/{chunk-N2FK756V.js.map → chunk-DH7A3OBN.js.map} +0 -0
- package/bundles/{chunk-J6CW3T62.js → chunk-GLCRIILX.js} +5 -5
- package/bundles/{chunk-J6CW3T62.js.map → chunk-GLCRIILX.js.map} +0 -0
- package/bundles/{chunk-SJCYXGJE.js → chunk-LMCFGUUV.js} +57 -57
- package/bundles/{chunk-SJCYXGJE.js.map → chunk-LMCFGUUV.js.map} +0 -0
- package/bundles/{chunk-7UHLQOIO.js → chunk-O4XVCXRT.js} +4 -4
- package/bundles/{chunk-7UHLQOIO.js.map → chunk-O4XVCXRT.js.map} +0 -0
- package/bundles/{chunk-XDGHBAZ6.js → chunk-OOEI5KQH.js} +70 -70
- package/bundles/{chunk-XDGHBAZ6.js.map → chunk-OOEI5KQH.js.map} +0 -0
- package/bundles/{chunk-VUEDWBJP.js → chunk-QBU7RUKB.js} +26 -26
- package/bundles/{chunk-VUEDWBJP.js.map → chunk-QBU7RUKB.js.map} +0 -0
- package/bundles/{chunk-BPCUCINV.js → chunk-QDWL7SZJ.js} +2 -2
- package/bundles/{chunk-BPCUCINV.js.map → chunk-QDWL7SZJ.js.map} +0 -0
- package/bundles/{chunk-JTYUTYS2.js → chunk-SKBLJA43.js} +3 -3
- package/bundles/{chunk-JTYUTYS2.js.map → chunk-SKBLJA43.js.map} +0 -0
- package/bundles/{chunk-KU4D2JVX.js → chunk-UESD6FVI.js} +31 -31
- package/bundles/{chunk-KU4D2JVX.js.map → chunk-UESD6FVI.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-676MI6WZ.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-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;
|
|
@@ -114,7 +114,7 @@ function createExportSpecifier(propertyName, name, isTypeOnly = false) {
|
|
|
114
114
|
return PARSED_TS_VERSION > 4.4 ? ts.createExportSpecifier(isTypeOnly, propertyName, name) : ts.createExportSpecifier(propertyName, name);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
// bazel-out/
|
|
117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
118
118
|
var Reference = class {
|
|
119
119
|
constructor(node, bestGuessOwningModule = null) {
|
|
120
120
|
this.node = node;
|
|
@@ -177,14 +177,14 @@ var Reference = class {
|
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
|
|
180
|
-
// bazel-out/
|
|
180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
181
181
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
184
184
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
185
185
|
import ts3 from "typescript";
|
|
186
186
|
|
|
187
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
188
188
|
var ErrorCode;
|
|
189
189
|
(function(ErrorCode2) {
|
|
190
190
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -239,7 +239,7 @@ var ErrorCode;
|
|
|
239
239
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
240
240
|
})(ErrorCode || (ErrorCode = {}));
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
243
243
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
244
244
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
245
245
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -250,10 +250,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
250
250
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
251
251
|
]);
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
254
254
|
import ts2 from "typescript";
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
257
257
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
258
258
|
function replaceTsWithNgInErrors(errors) {
|
|
259
259
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -262,7 +262,7 @@ function ngErrorCode(code) {
|
|
|
262
262
|
return parseInt("-99" + code);
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
266
266
|
var FatalDiagnosticError = class {
|
|
267
267
|
constructor(code, node, message, relatedInformation) {
|
|
268
268
|
this.code = code;
|
|
@@ -310,17 +310,17 @@ function isFatalDiagnosticError(err) {
|
|
|
310
310
|
return err._isFatalDiagnosticError === true;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
// bazel-out/
|
|
313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
314
314
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
317
317
|
var ExtendedTemplateDiagnosticName;
|
|
318
318
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
319
319
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
320
320
|
ExtendedTemplateDiagnosticName2["NULLISH_COALESCING_NOT_NULLABLE"] = "nullishCoalescingNotNullable";
|
|
321
321
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
322
322
|
|
|
323
|
-
// bazel-out/
|
|
323
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
324
324
|
function findExportedNameOfNode(target, file, reflector) {
|
|
325
325
|
const exports = reflector.getExportsOfModule(file);
|
|
326
326
|
if (exports === null) {
|
|
@@ -340,7 +340,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
340
340
|
return foundExportName;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
// bazel-out/
|
|
343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
344
344
|
var ImportFlags;
|
|
345
345
|
(function(ImportFlags2) {
|
|
346
346
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -551,7 +551,7 @@ var UnifiedModulesStrategy = class {
|
|
|
551
551
|
}
|
|
552
552
|
};
|
|
553
553
|
|
|
554
|
-
// bazel-out/
|
|
554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
555
555
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
556
556
|
var UnifiedModulesAliasingHost = class {
|
|
557
557
|
constructor(unifiedModulesHost) {
|
|
@@ -618,7 +618,7 @@ var AliasStrategy = class {
|
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
620
|
|
|
621
|
-
// bazel-out/
|
|
621
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
622
622
|
function relativePathBetween(from, to) {
|
|
623
623
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
624
624
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -627,7 +627,7 @@ function normalizeSeparators(path) {
|
|
|
627
627
|
return path.replace(/\\/g, "/");
|
|
628
628
|
}
|
|
629
629
|
|
|
630
|
-
// bazel-out/
|
|
630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
631
631
|
var NoopImportRewriter = class {
|
|
632
632
|
shouldImportSymbol(symbol, specifier) {
|
|
633
633
|
return true;
|
|
@@ -685,7 +685,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
685
685
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
-
// bazel-out/
|
|
688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
689
689
|
import ts4 from "typescript";
|
|
690
690
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
691
691
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -730,7 +730,7 @@ var DefaultImportTracker = class {
|
|
|
730
730
|
}
|
|
731
731
|
};
|
|
732
732
|
|
|
733
|
-
// bazel-out/
|
|
733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
734
734
|
var ModuleResolver = class {
|
|
735
735
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
736
736
|
this.program = program;
|
|
@@ -747,7 +747,7 @@ var ModuleResolver = class {
|
|
|
747
747
|
}
|
|
748
748
|
};
|
|
749
749
|
|
|
750
|
-
// bazel-out/
|
|
750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
751
751
|
var Context = class {
|
|
752
752
|
constructor(isStatement) {
|
|
753
753
|
this.isStatement = isStatement;
|
|
@@ -760,7 +760,7 @@ var Context = class {
|
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
762
|
|
|
763
|
-
// bazel-out/
|
|
763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
764
764
|
import * as o from "@angular/compiler";
|
|
765
765
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
766
766
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -984,7 +984,7 @@ function createRange(span) {
|
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
// bazel-out/
|
|
987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
988
988
|
import ts5 from "typescript";
|
|
989
989
|
var ImportManager = class {
|
|
990
990
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1020,7 +1020,7 @@ var ImportManager = class {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
-
// bazel-out/
|
|
1023
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1024
1024
|
import * as o2 from "@angular/compiler";
|
|
1025
1025
|
import ts6 from "typescript";
|
|
1026
1026
|
function translateType(type, imports) {
|
|
@@ -1191,7 +1191,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
};
|
|
1193
1193
|
|
|
1194
|
-
// bazel-out/
|
|
1194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1195
1195
|
import ts7 from "typescript";
|
|
1196
1196
|
var PureAnnotation;
|
|
1197
1197
|
(function(PureAnnotation2) {
|
|
@@ -1363,7 +1363,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
-
// bazel-out/
|
|
1366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1367
1367
|
function translateExpression(expression, imports, options = {}) {
|
|
1368
1368
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1369
1369
|
}
|
|
@@ -1432,4 +1432,4 @@ export {
|
|
|
1432
1432
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1433
1433
|
* found in the LICENSE file at https://angular.io/license
|
|
1434
1434
|
*/
|
|
1435
|
-
//# sourceMappingURL=chunk-
|
|
1435
|
+
//# sourceMappingURL=chunk-QBU7RUKB.js.map
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
7
7
|
function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
8
8
|
try {
|
|
9
9
|
logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
|
|
@@ -26,4 +26,4 @@ function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
|
26
26
|
export {
|
|
27
27
|
removeLockFile
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-QDWL7SZJ.js.map
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "[0m";
|
|
17
17
|
var RED = "[31m";
|
|
18
18
|
var YELLOW = "[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-SKBLJA43.js.map
|
|
File without changes
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADHVDA4A.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QBU7RUKB.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues
|
|
16
16
|
} from "./chunk-WQ3TNYTD.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
19
19
|
var FatalLinkerError = class extends Error {
|
|
20
20
|
constructor(node, message) {
|
|
21
21
|
super(message);
|
|
@@ -27,14 +27,14 @@ function isFatalLinkerError(e) {
|
|
|
27
27
|
return e && e.type === "FatalLinkerError";
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
31
31
|
function assert(node, predicate, expected) {
|
|
32
32
|
if (!predicate(node)) {
|
|
33
33
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
38
38
|
import * as o from "@angular/compiler";
|
|
39
39
|
var AstObject = class {
|
|
40
40
|
constructor(expression, obj, host) {
|
|
@@ -160,10 +160,10 @@ var AstValue = class {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
164
164
|
import { ConstantPool } from "@angular/compiler";
|
|
165
165
|
|
|
166
|
-
// bazel-out/
|
|
166
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
167
167
|
var LinkerImportGenerator = class {
|
|
168
168
|
constructor(ngImport) {
|
|
169
169
|
this.ngImport = ngImport;
|
|
@@ -183,7 +183,7 @@ var LinkerImportGenerator = class {
|
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
187
187
|
var EmitScope = class {
|
|
188
188
|
constructor(ngImport, translator) {
|
|
189
189
|
this.ngImport = ngImport;
|
|
@@ -199,7 +199,7 @@ var EmitScope = class {
|
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
-
// bazel-out/
|
|
202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/iife_emit_scope.mjs
|
|
203
203
|
var IifeEmitScope = class extends EmitScope {
|
|
204
204
|
constructor(ngImport, translator, factory) {
|
|
205
205
|
super(ngImport, translator);
|
|
@@ -217,10 +217,10 @@ var IifeEmitScope = class extends EmitScope {
|
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
|
|
220
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
221
221
|
import semver from "semver";
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
224
224
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
225
225
|
if (loader === null) {
|
|
226
226
|
return () => null;
|
|
@@ -235,7 +235,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
// bazel-out/
|
|
238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
239
239
|
import { compileClassMetadata } from "@angular/compiler";
|
|
240
240
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
241
241
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -252,13 +252,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
// bazel-out/
|
|
255
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
256
256
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, ViewEncapsulation } from "@angular/compiler";
|
|
257
257
|
|
|
258
|
-
// bazel-out/
|
|
258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
259
259
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
262
262
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
263
263
|
function wrapReference(wrapped) {
|
|
264
264
|
return { value: wrapped, type: wrapped };
|
|
@@ -306,7 +306,7 @@ function extractForwardRef(expr) {
|
|
|
306
306
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
// bazel-out/
|
|
309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
310
310
|
var PartialDirectiveLinkerVersion1 = class {
|
|
311
311
|
constructor(sourceUrl, code) {
|
|
312
312
|
this.sourceUrl = sourceUrl;
|
|
@@ -404,7 +404,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
404
404
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
// bazel-out/
|
|
407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
408
408
|
var PartialComponentLinkerVersion1 = class {
|
|
409
409
|
constructor(getSourceFile, sourceUrl, code) {
|
|
410
410
|
this.getSourceFile = getSourceFile;
|
|
@@ -561,7 +561,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
561
561
|
return enumValue;
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
// bazel-out/
|
|
564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
565
565
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
566
566
|
var PartialFactoryLinkerVersion1 = class {
|
|
567
567
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -599,7 +599,7 @@ function getDependencies(metaObj, propName) {
|
|
|
599
599
|
return null;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
// bazel-out/
|
|
602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
603
603
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
604
604
|
var PartialInjectableLinkerVersion1 = class {
|
|
605
605
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -639,7 +639,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
639
639
|
return meta;
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
-
// bazel-out/
|
|
642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
643
643
|
import { compileInjector } from "@angular/compiler";
|
|
644
644
|
var PartialInjectorLinkerVersion1 = class {
|
|
645
645
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -663,7 +663,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
// bazel-out/
|
|
666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
667
667
|
import { compileNgModule } from "@angular/compiler";
|
|
668
668
|
var PartialNgModuleLinkerVersion1 = class {
|
|
669
669
|
constructor(emitInline) {
|
|
@@ -735,7 +735,7 @@ function wrapReferences(values) {
|
|
|
735
735
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
// bazel-out/
|
|
738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
739
739
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
740
740
|
var PartialPipeLinkerVersion1 = class {
|
|
741
741
|
constructor() {
|
|
@@ -764,7 +764,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
764
764
|
};
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
-
// bazel-out/
|
|
767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
768
768
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
769
769
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
770
770
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -785,7 +785,7 @@ var declarationFunctions = [
|
|
|
785
785
|
];
|
|
786
786
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
787
787
|
const linkers = /* @__PURE__ */ new Map();
|
|
788
|
-
const LATEST_VERSION_RANGE = getRange("<=", "13.2.0-rc.
|
|
788
|
+
const LATEST_VERSION_RANGE = getRange("<=", "13.2.0-rc.1");
|
|
789
789
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
790
790
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
791
791
|
]);
|
|
@@ -832,7 +832,7 @@ var PartialLinkerSelector = class {
|
|
|
832
832
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
833
833
|
}
|
|
834
834
|
const linkerRanges = this.linkers.get(functionName);
|
|
835
|
-
if (version === "13.2.0-rc.
|
|
835
|
+
if (version === "13.2.0-rc.1") {
|
|
836
836
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
837
837
|
}
|
|
838
838
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -858,7 +858,7 @@ function getRange(comparator, versionStr) {
|
|
|
858
858
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
// bazel-out/
|
|
861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
862
862
|
var FileLinker = class {
|
|
863
863
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
864
864
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -901,14 +901,14 @@ var FileLinker = class {
|
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
|
|
904
|
-
// bazel-out/
|
|
904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
905
905
|
var DEFAULT_LINKER_OPTIONS = {
|
|
906
906
|
sourceMapping: true,
|
|
907
907
|
linkerJitMode: false,
|
|
908
908
|
unknownDeclarationVersionHandling: "error"
|
|
909
909
|
};
|
|
910
910
|
|
|
911
|
-
// bazel-out/
|
|
911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
912
912
|
var Translator = class {
|
|
913
913
|
constructor(factory) {
|
|
914
914
|
this.factory = factory;
|
|
@@ -921,7 +921,7 @@ var Translator = class {
|
|
|
921
921
|
}
|
|
922
922
|
};
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
925
925
|
var LinkerEnvironment = class {
|
|
926
926
|
constructor(fileSystem, logger, host, factory, options) {
|
|
927
927
|
this.fileSystem = fileSystem;
|
|
@@ -942,7 +942,7 @@ var LinkerEnvironment = class {
|
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
944
|
|
|
945
|
-
// bazel-out/
|
|
945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
946
946
|
function needsLinking(path, source) {
|
|
947
947
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
948
948
|
}
|
|
@@ -963,4 +963,4 @@ export {
|
|
|
963
963
|
* Use of this source code is governed by an MIT-style license that can be
|
|
964
964
|
* found in the LICENSE file at https://angular.io/license
|
|
965
965
|
*/
|
|
966
|
-
//# sourceMappingURL=chunk-
|
|
966
|
+
//# sourceMappingURL=chunk-UESD6FVI.js.map
|
|
File without changes
|
package/bundles/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER,
|
|
8
8
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
9
9
|
constructorParametersDownlevelTransform
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A5PL3TE6.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_ERROR_CODE,
|
|
13
13
|
EmitFlags,
|
|
@@ -30,16 +30,16 @@ import {
|
|
|
30
30
|
isTsDiagnostic,
|
|
31
31
|
performCompilation,
|
|
32
32
|
readConfiguration
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3XJZ4ZZZ.js";
|
|
34
34
|
import {
|
|
35
35
|
untagAllTsFiles
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-LMCFGUUV.js";
|
|
37
|
+
import "./chunk-7PY7XEFH.js";
|
|
38
38
|
import {
|
|
39
39
|
ConsoleLogger,
|
|
40
40
|
LogLevel
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-SKBLJA43.js";
|
|
42
|
+
import "./chunk-QBU7RUKB.js";
|
|
43
43
|
import {
|
|
44
44
|
LogicalFileSystem,
|
|
45
45
|
LogicalProjectPath,
|
|
@@ -60,20 +60,20 @@ import {
|
|
|
60
60
|
resolve,
|
|
61
61
|
setFileSystem,
|
|
62
62
|
toRelativeImport
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-676MI6WZ.js";
|
|
64
64
|
import {
|
|
65
65
|
ActivePerfRecorder,
|
|
66
66
|
PerfPhase
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GLCRIILX.js";
|
|
68
68
|
import {
|
|
69
69
|
__spreadValues
|
|
70
70
|
} from "./chunk-WQ3TNYTD.js";
|
|
71
71
|
|
|
72
|
-
// bazel-out/
|
|
72
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
73
73
|
import { Version } from "@angular/compiler";
|
|
74
|
-
var VERSION = new Version("13.2.0-rc.
|
|
74
|
+
var VERSION = new Version("13.2.0-rc.1");
|
|
75
75
|
|
|
76
|
-
// bazel-out/
|
|
76
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
77
77
|
var NgTscPlugin = class {
|
|
78
78
|
constructor(ngOptions) {
|
|
79
79
|
this.ngOptions = ngOptions;
|
|
@@ -142,7 +142,7 @@ var NgTscPlugin = class {
|
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
// bazel-out/
|
|
145
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
146
146
|
setFileSystem(new NodeJSFileSystem());
|
|
147
147
|
export {
|
|
148
148
|
ConsoleLogger,
|
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
import {
|
|
7
7
|
ConsoleLogger,
|
|
8
8
|
LogLevel
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-SKBLJA43.js";
|
|
10
10
|
import {
|
|
11
11
|
FatalLinkerError,
|
|
12
12
|
FileLinker,
|
|
13
13
|
LinkerEnvironment,
|
|
14
14
|
assert,
|
|
15
15
|
isFatalLinkerError
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-UESD6FVI.js";
|
|
17
|
+
import "../../chunk-ADHVDA4A.js";
|
|
18
|
+
import "../../chunk-QBU7RUKB.js";
|
|
19
19
|
import {
|
|
20
20
|
NodeJSFileSystem
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-676MI6WZ.js";
|
|
22
22
|
import {
|
|
23
23
|
__objRest,
|
|
24
24
|
__spreadProps,
|
|
25
25
|
__spreadValues
|
|
26
26
|
} from "../../chunk-WQ3TNYTD.js";
|
|
27
27
|
|
|
28
|
-
// bazel-out/
|
|
28
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_core.mjs
|
|
29
29
|
import * as _babelNamespace from "@babel/core";
|
|
30
30
|
import _babelDefault from "@babel/core";
|
|
31
31
|
var _a;
|
|
@@ -39,7 +39,7 @@ var NodePath = babel.NodePath;
|
|
|
39
39
|
var transformSync = babel.transformSync;
|
|
40
40
|
var parse = babel.parse;
|
|
41
41
|
|
|
42
|
-
// bazel-out/
|
|
42
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs
|
|
43
43
|
var BabelAstFactory = class {
|
|
44
44
|
constructor(sourceUrl) {
|
|
45
45
|
this.sourceUrl = sourceUrl;
|
|
@@ -152,7 +152,7 @@ function isLExpression(expr) {
|
|
|
152
152
|
return types2.isLVal(expr);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
|
|
156
156
|
var BabelAstHost = class {
|
|
157
157
|
constructor() {
|
|
158
158
|
this.isStringLiteral = types2.isStringLiteral;
|
|
@@ -269,7 +269,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
269
269
|
return types2.isUnaryExpression(node) && node.prefix && node.operator === "!" && types2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
|
|
273
273
|
var BabelDeclarationScope = class {
|
|
274
274
|
constructor(declarationScope) {
|
|
275
275
|
this.declarationScope = declarationScope;
|
|
@@ -294,7 +294,7 @@ var BabelDeclarationScope = class {
|
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
|
|
297
|
-
// bazel-out/
|
|
297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
298
298
|
function createEs2015LinkerPlugin(_a2) {
|
|
299
299
|
var _b = _a2, { fileSystem, logger } = _b, options = __objRest(_b, ["fileSystem", "logger"]);
|
|
300
300
|
let fileLinker = null;
|
|
@@ -396,7 +396,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
396
396
|
return `${filename}: ${error.message}`;
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
// bazel-out/
|
|
399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
400
400
|
function defaultLinkerPlugin(api, options) {
|
|
401
401
|
api.assertVersion(7);
|
|
402
402
|
return createEs2015LinkerPlugin(__spreadProps(__spreadValues({}, options), {
|
|
@@ -405,7 +405,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
405
405
|
}));
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
// bazel-out/
|
|
408
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
409
409
|
var babel_default = defaultLinkerPlugin;
|
|
410
410
|
export {
|
|
411
411
|
createEs2015LinkerPlugin,
|