@angular/compiler-cli 13.1.2 → 13.1.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-O4XVCXRT.js → chunk-7UHLQOIO.js} +4 -4
- package/bundles/{chunk-O4XVCXRT.js.map → chunk-7UHLQOIO.js.map} +0 -0
- package/bundles/{chunk-QDWL7SZJ.js → chunk-BPCUCINV.js} +2 -2
- package/bundles/{chunk-QDWL7SZJ.js.map → chunk-BPCUCINV.js.map} +0 -0
- package/bundles/{chunk-TUNE6DP3.js → chunk-CKZCKW5B.js} +437 -831
- package/bundles/chunk-CKZCKW5B.js.map +6 -0
- package/bundles/{chunk-GLCRIILX.js → chunk-J6CW3T62.js} +5 -5
- package/bundles/{chunk-GLCRIILX.js.map → chunk-J6CW3T62.js.map} +0 -0
- package/bundles/{chunk-SKBLJA43.js → chunk-JTYUTYS2.js} +3 -3
- package/bundles/{chunk-SKBLJA43.js.map → chunk-JTYUTYS2.js.map} +0 -0
- package/bundles/{chunk-6VRWTEQB.js → chunk-K5FPDA5B.js} +40 -40
- package/bundles/{chunk-6VRWTEQB.js.map → chunk-K5FPDA5B.js.map} +0 -0
- package/bundles/{chunk-UESD6FVI.js → chunk-KU4D2JVX.js} +31 -31
- package/bundles/{chunk-UESD6FVI.js.map → chunk-KU4D2JVX.js.map} +0 -0
- package/bundles/{chunk-JOLPJ2E4.js → chunk-KXVQ4SSM.js} +5 -5
- package/bundles/{chunk-JOLPJ2E4.js.map → chunk-KXVQ4SSM.js.map} +0 -0
- package/bundles/{chunk-FUZ3CSDO.js → chunk-L23I4NJT.js} +577 -163
- package/bundles/chunk-L23I4NJT.js.map +6 -0
- package/bundles/{chunk-ADHVDA4A.js → chunk-RDTZZXLZ.js} +7 -7
- package/bundles/{chunk-ADHVDA4A.js.map → chunk-RDTZZXLZ.js.map} +0 -0
- package/bundles/{chunk-676MI6WZ.js → chunk-RGGJJ7ZZ.js} +7 -7
- package/bundles/{chunk-676MI6WZ.js.map → chunk-RGGJJ7ZZ.js.map} +0 -0
- package/bundles/{chunk-A5PL3TE6.js → chunk-RNVIUKDY.js} +6 -6
- package/bundles/{chunk-A5PL3TE6.js.map → chunk-RNVIUKDY.js.map} +0 -0
- package/bundles/{chunk-QBU7RUKB.js → chunk-VUEDWBJP.js} +26 -26
- package/bundles/{chunk-QBU7RUKB.js.map → chunk-VUEDWBJP.js.map} +0 -0
- package/bundles/{chunk-7PY7XEFH.js → chunk-XXMNTCYN.js} +6 -6
- package/bundles/{chunk-7PY7XEFH.js.map → chunk-XXMNTCYN.js.map} +0 -0
- package/bundles/{chunk-5TY44ZS3.js → chunk-ZLL7BXGD.js} +194 -147
- package/bundles/{chunk-5TY44ZS3.js.map → chunk-ZLL7BXGD.js.map} +2 -2
- package/bundles/index.js +14 -13
- package/bundles/index.js.map +1 -1
- 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/adjust_cjs_umd_exports.d.ts +17 -0
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/source_file_cache.d.ts +2 -1
- package/package.json +2 -2
- package/bundles/chunk-FUZ3CSDO.js.map +0 -6
- package/bundles/chunk-TUNE6DP3.js.map +0 -6
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
resolve,
|
|
14
14
|
stripExtension,
|
|
15
15
|
toRelativeImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RGGJJ7ZZ.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/darwin-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-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-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-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-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-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-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-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-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-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-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-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-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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-VUEDWBJP.js.map
|
|
File without changes
|
|
@@ -3,10 +3,10 @@
|
|
|
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-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
7
7
|
import ts4 from "typescript";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
10
10
|
import ts from "typescript";
|
|
11
11
|
var Decorator = {
|
|
12
12
|
nodeForError: (decorator) => {
|
|
@@ -41,7 +41,7 @@ function isConcreteDeclaration(decl) {
|
|
|
41
41
|
return decl.kind === 0;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// bazel-out/
|
|
44
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
45
45
|
import ts2 from "typescript";
|
|
46
46
|
function typeToValue(typeNode, checker) {
|
|
47
47
|
if (typeNode === null) {
|
|
@@ -205,7 +205,7 @@ function extractModuleName(node) {
|
|
|
205
205
|
return node.moduleSpecifier.text;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
// bazel-out/
|
|
208
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
209
209
|
import ts3 from "typescript";
|
|
210
210
|
function isNamedClassDeclaration(node) {
|
|
211
211
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -220,7 +220,7 @@ function isIdentifier(node) {
|
|
|
220
220
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
224
224
|
var TypeScriptReflectionHost = class {
|
|
225
225
|
constructor(checker) {
|
|
226
226
|
this.checker = checker;
|
|
@@ -678,4 +678,4 @@ export {
|
|
|
678
678
|
* Use of this source code is governed by an MIT-style license that can be
|
|
679
679
|
* found in the LICENSE file at https://angular.io/license
|
|
680
680
|
*/
|
|
681
|
-
//# sourceMappingURL=chunk-
|
|
681
|
+
//# sourceMappingURL=chunk-XXMNTCYN.js.map
|
|
File without changes
|