@angular/compiler-cli 13.3.7 → 13.3.10
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-HTCAZIYK.js → chunk-3DRIVG26.js} +6 -6
- package/bundles/{chunk-HTCAZIYK.js.map → chunk-3DRIVG26.js.map} +0 -0
- package/bundles/{chunk-KAJ5EOEG.js → chunk-3URTMUFW.js} +50 -50
- package/bundles/{chunk-KAJ5EOEG.js.map → chunk-3URTMUFW.js.map} +0 -0
- package/bundles/{chunk-Q5GIQ3RV.js → chunk-4DFV4CTF.js} +6 -6
- package/bundles/{chunk-Q5GIQ3RV.js.map → chunk-4DFV4CTF.js.map} +0 -0
- package/bundles/{chunk-ZPZWKMTE.js → chunk-4MML3U2F.js} +93 -93
- package/bundles/{chunk-ZPZWKMTE.js.map → chunk-4MML3U2F.js.map} +0 -0
- package/bundles/{chunk-EIFOOEXQ.js → chunk-5YNM7UVV.js} +7 -7
- package/bundles/{chunk-EIFOOEXQ.js.map → chunk-5YNM7UVV.js.map} +0 -0
- package/bundles/{chunk-D5CHHDFQ.js → chunk-6XCV2P22.js} +70 -70
- package/bundles/{chunk-D5CHHDFQ.js.map → chunk-6XCV2P22.js.map} +0 -0
- package/bundles/{chunk-LX5Q27EF.js → chunk-7J66ZDC5.js} +3 -3
- package/bundles/{chunk-LX5Q27EF.js.map → chunk-7J66ZDC5.js.map} +0 -0
- package/bundles/{chunk-WXB5AWIG.js → chunk-HJ5BXSPS.js} +26 -26
- package/bundles/{chunk-WXB5AWIG.js.map → chunk-HJ5BXSPS.js.map} +0 -0
- package/bundles/{chunk-R3C7RFJ4.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-R3C7RFJ4.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-ZZF2R6KZ.js → chunk-I7KXATBQ.js} +31 -31
- package/bundles/{chunk-ZZF2R6KZ.js.map → chunk-I7KXATBQ.js.map} +0 -0
- package/bundles/{chunk-NALI3EFD.js → chunk-JW2HPJCH.js} +40 -40
- package/bundles/{chunk-NALI3EFD.js.map → chunk-JW2HPJCH.js.map} +0 -0
- package/bundles/{chunk-CLV7JFJQ.js → chunk-MMRSE3VM.js} +7 -7
- package/bundles/{chunk-CLV7JFJQ.js.map → chunk-MMRSE3VM.js.map} +0 -0
- package/bundles/{chunk-O4P7N4CX.js → chunk-OOLAVRKX.js} +5 -5
- package/bundles/{chunk-O4P7N4CX.js.map → chunk-OOLAVRKX.js.map} +0 -0
- package/bundles/{chunk-R4NY3TJC.js → chunk-QK4SXRQA.js} +5 -5
- package/bundles/{chunk-R4NY3TJC.js.map → chunk-QK4SXRQA.js.map} +0 -0
- package/bundles/{chunk-45NS77NQ.js → chunk-XNIBZD5U.js} +4 -4
- package/bundles/{chunk-45NS77NQ.js.map → chunk-XNIBZD5U.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-MMRSE3VM.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;
|
|
@@ -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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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";
|
|
@@ -556,7 +556,7 @@ var UnifiedModulesStrategy = class {
|
|
|
556
556
|
}
|
|
557
557
|
};
|
|
558
558
|
|
|
559
|
-
// bazel-out/
|
|
559
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
560
560
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
561
561
|
var UnifiedModulesAliasingHost = class {
|
|
562
562
|
constructor(unifiedModulesHost) {
|
|
@@ -623,7 +623,7 @@ var AliasStrategy = class {
|
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
625
|
|
|
626
|
-
// bazel-out/
|
|
626
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
627
627
|
function relativePathBetween(from, to) {
|
|
628
628
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
629
629
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -632,7 +632,7 @@ function normalizeSeparators(path) {
|
|
|
632
632
|
return path.replace(/\\/g, "/");
|
|
633
633
|
}
|
|
634
634
|
|
|
635
|
-
// bazel-out/
|
|
635
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
636
636
|
var NoopImportRewriter = class {
|
|
637
637
|
shouldImportSymbol(symbol, specifier) {
|
|
638
638
|
return true;
|
|
@@ -690,7 +690,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
690
690
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
// bazel-out/
|
|
693
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
694
694
|
import ts4 from "typescript";
|
|
695
695
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
696
696
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -735,7 +735,7 @@ var DefaultImportTracker = class {
|
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
737
|
|
|
738
|
-
// bazel-out/
|
|
738
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
739
739
|
var ModuleResolver = class {
|
|
740
740
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
741
741
|
this.program = program;
|
|
@@ -752,7 +752,7 @@ var ModuleResolver = class {
|
|
|
752
752
|
}
|
|
753
753
|
};
|
|
754
754
|
|
|
755
|
-
// bazel-out/
|
|
755
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
756
756
|
var Context = class {
|
|
757
757
|
constructor(isStatement) {
|
|
758
758
|
this.isStatement = isStatement;
|
|
@@ -765,7 +765,7 @@ var Context = class {
|
|
|
765
765
|
}
|
|
766
766
|
};
|
|
767
767
|
|
|
768
|
-
// bazel-out/
|
|
768
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
769
769
|
import * as o from "@angular/compiler";
|
|
770
770
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
771
771
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -989,7 +989,7 @@ function createRange(span) {
|
|
|
989
989
|
};
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
-
// bazel-out/
|
|
992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
993
993
|
import ts5 from "typescript";
|
|
994
994
|
var ImportManager = class {
|
|
995
995
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1025,7 +1025,7 @@ var ImportManager = class {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
};
|
|
1027
1027
|
|
|
1028
|
-
// bazel-out/
|
|
1028
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1029
1029
|
import * as o2 from "@angular/compiler";
|
|
1030
1030
|
import ts6 from "typescript";
|
|
1031
1031
|
function translateType(type, imports) {
|
|
@@ -1196,7 +1196,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
};
|
|
1198
1198
|
|
|
1199
|
-
// bazel-out/
|
|
1199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1200
1200
|
import ts7 from "typescript";
|
|
1201
1201
|
var PureAnnotation;
|
|
1202
1202
|
(function(PureAnnotation2) {
|
|
@@ -1368,7 +1368,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
|
-
// bazel-out/
|
|
1371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1372
1372
|
function translateExpression(expression, imports, options = {}) {
|
|
1373
1373
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1374
1374
|
}
|
|
@@ -1437,4 +1437,4 @@ export {
|
|
|
1437
1437
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1438
1438
|
* found in the LICENSE file at https://angular.io/license
|
|
1439
1439
|
*/
|
|
1440
|
-
//# sourceMappingURL=chunk-
|
|
1440
|
+
//# sourceMappingURL=chunk-HJ5BXSPS.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/darwin_arm64-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-HMWNYAAE.js.map
|
|
File without changes
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5YNM7UVV.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HJ5BXSPS.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues
|
|
16
16
|
} from "./chunk-GMSUYBZP.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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.3.
|
|
788
|
+
const LATEST_VERSION_RANGE = getRange("<=", "13.3.10");
|
|
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.3.
|
|
835
|
+
if (version === "13.3.10") {
|
|
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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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-I7KXATBQ.js.map
|
|
File without changes
|