@angular/compiler-cli 15.0.0-rc.4 → 15.1.0-next.0
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-ZXBCBXWY.js → chunk-22N3RTKA.js} +7 -7
- package/bundles/chunk-22N3RTKA.js.map +6 -0
- package/bundles/{chunk-3KIUHCHT.js → chunk-6TLW4724.js} +41 -41
- package/bundles/chunk-6TLW4724.js.map +6 -0
- package/bundles/{chunk-KGXXQYFO.js → chunk-A6MA5NDQ.js} +384 -169
- package/bundles/chunk-A6MA5NDQ.js.map +6 -0
- package/bundles/{chunk-E7NQQTT7.js → chunk-FPQZA7NP.js} +4 -3
- package/bundles/chunk-FPQZA7NP.js.map +6 -0
- package/bundles/{chunk-GQT3DC2W.js → chunk-GIA6ASYG.js} +19 -9
- package/bundles/chunk-GIA6ASYG.js.map +6 -0
- package/bundles/{chunk-PKFN6ZKR.js → chunk-JY5KP5YT.js} +4 -4
- package/bundles/chunk-JY5KP5YT.js.map +6 -0
- package/bundles/{chunk-SHFEZGDP.js → chunk-JZDWEOSI.js} +151 -76
- package/bundles/chunk-JZDWEOSI.js.map +6 -0
- package/bundles/{chunk-5QCN26YI.js → chunk-KGTNU2UU.js} +5 -5
- package/bundles/chunk-KGTNU2UU.js.map +6 -0
- package/bundles/{chunk-24QFMHYM.js → chunk-LHZD6YT2.js} +31 -31
- package/bundles/chunk-LHZD6YT2.js.map +6 -0
- package/bundles/{chunk-XYNRD7NE.js → chunk-NDREJTCS.js} +5 -2
- package/bundles/{chunk-XYNRD7NE.js.map → chunk-NDREJTCS.js.map} +0 -0
- package/bundles/{chunk-WEEZR5JR.js → chunk-NXGWYLNC.js} +8 -8
- package/bundles/chunk-NXGWYLNC.js.map +6 -0
- package/bundles/{chunk-CYVTLM4Z.js → chunk-OKDR75TI.js} +8 -7
- package/bundles/chunk-OKDR75TI.js.map +6 -0
- package/bundles/{chunk-RSZNB3FD.js → chunk-QKS2XPFG.js} +150 -85
- package/bundles/chunk-QKS2XPFG.js.map +6 -0
- package/bundles/{chunk-JBW3LNWN.js → chunk-TZNP5L2W.js} +55 -31
- package/bundles/chunk-TZNP5L2W.js.map +6 -0
- package/bundles/{chunk-F526PAOI.js → chunk-UUIUKASM.js} +3 -2
- package/bundles/chunk-UUIUKASM.js.map +6 -0
- package/bundles/{chunk-R3C7RFJ4.js → chunk-VOEFUUJH.js} +3 -2
- package/bundles/chunk-VOEFUUJH.js.map +6 -0
- package/bundles/{chunk-2HPI44CB.js → chunk-XVHC4VAO.js} +6 -5
- package/bundles/chunk-XVHC4VAO.js.map +6 -0
- package/bundles/index.js +23 -15
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +14 -14
- package/bundles/linker/babel/index.js.map +2 -2
- package/bundles/linker/index.js +6 -6
- package/bundles/ngcc/index.js +14 -14
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +15 -15
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +15 -15
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +1 -1
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/bazel.js.map +2 -2
- package/bundles/private/localize.js +4 -4
- package/bundles/private/localize.js.map +2 -2
- package/bundles/private/migrations.js +7 -7
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +12 -12
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +10 -10
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/metadata/src/api.d.ts +1 -1
- package/src/ngtsc/metadata/src/registry.d.ts +2 -2
- package/src/ngtsc/typecheck/api/api.d.ts +2 -1
- package/src/ngtsc/typecheck/api/checker.d.ts +2 -2
- package/src/ngtsc/typecheck/api/scope.d.ts +2 -1
- package/src/ngtsc/typecheck/api/symbols.d.ts +14 -5
- package/src/ngtsc/typecheck/src/checker.d.ts +2 -1
- package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +1 -0
- package/bundles/chunk-24QFMHYM.js.map +0 -6
- package/bundles/chunk-2HPI44CB.js.map +0 -6
- package/bundles/chunk-3KIUHCHT.js.map +0 -6
- package/bundles/chunk-5QCN26YI.js.map +0 -6
- package/bundles/chunk-CYVTLM4Z.js.map +0 -6
- package/bundles/chunk-E7NQQTT7.js.map +0 -6
- package/bundles/chunk-F526PAOI.js.map +0 -6
- package/bundles/chunk-GQT3DC2W.js.map +0 -6
- package/bundles/chunk-JBW3LNWN.js.map +0 -6
- package/bundles/chunk-KGXXQYFO.js.map +0 -6
- package/bundles/chunk-PKFN6ZKR.js.map +0 -6
- package/bundles/chunk-R3C7RFJ4.js.map +0 -6
- package/bundles/chunk-RSZNB3FD.js.map +0 -6
- package/bundles/chunk-SHFEZGDP.js.map +0 -6
- package/bundles/chunk-WEEZR5JR.js.map +0 -6
- package/bundles/chunk-ZXBCBXWY.js.map +0 -6
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ImportGraph,
|
|
9
9
|
isShim,
|
|
10
10
|
readConfiguration
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A6MA5NDQ.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
TypeCheckScopeRegistry,
|
|
34
34
|
forwardRefResolver,
|
|
35
35
|
readBaseClass
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QKS2XPFG.js";
|
|
37
37
|
import {
|
|
38
38
|
ClassMemberKind,
|
|
39
39
|
KnownDeclaration,
|
|
@@ -44,15 +44,15 @@ import {
|
|
|
44
44
|
isNamedFunctionDeclaration,
|
|
45
45
|
isNamedVariableDeclaration,
|
|
46
46
|
reflectObjectLiteral
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-22N3RTKA.js";
|
|
48
48
|
import {
|
|
49
49
|
ConsoleLogger,
|
|
50
50
|
LogLevel
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-FPQZA7NP.js";
|
|
52
52
|
import {
|
|
53
53
|
ContentOrigin,
|
|
54
54
|
SourceFileLoader
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-OKDR75TI.js";
|
|
56
56
|
import {
|
|
57
57
|
AbsoluteModuleStrategy,
|
|
58
58
|
ImportManager,
|
|
@@ -73,10 +73,10 @@ import {
|
|
|
73
73
|
translateStatement,
|
|
74
74
|
translateType,
|
|
75
75
|
validateAndRewriteCoreSymbol
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-TZNP5L2W.js";
|
|
77
77
|
import {
|
|
78
78
|
getModifiers
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-UUIUKASM.js";
|
|
80
80
|
import {
|
|
81
81
|
LogicalFileSystem,
|
|
82
82
|
NgtscCompilerHost,
|
|
@@ -88,21 +88,21 @@ import {
|
|
|
88
88
|
isRooted,
|
|
89
89
|
relative,
|
|
90
90
|
toRelativeImport
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NXGWYLNC.js";
|
|
92
92
|
import {
|
|
93
93
|
NOOP_PERF_RECORDER
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-XVHC4VAO.js";
|
|
95
95
|
|
|
96
|
-
// bazel-out/
|
|
96
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
97
97
|
import ts23 from "typescript";
|
|
98
98
|
|
|
99
|
-
// bazel-out/
|
|
99
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
100
100
|
import ts7 from "typescript";
|
|
101
101
|
|
|
102
|
-
// bazel-out/
|
|
102
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
103
103
|
import ts6 from "typescript";
|
|
104
104
|
|
|
105
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
106
106
|
import ts from "typescript";
|
|
107
107
|
function isDefined(value) {
|
|
108
108
|
return value !== void 0 && value !== null;
|
|
@@ -193,7 +193,7 @@ function isExportObject(thing) {
|
|
|
193
193
|
return typeof thing === "object" && thing !== null && !Array.isArray(thing);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// bazel-out/
|
|
196
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
197
197
|
import ts2 from "typescript";
|
|
198
198
|
function findNamespaceOfIdentifier(id) {
|
|
199
199
|
return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -279,10 +279,10 @@ function skipAliases(node) {
|
|
|
279
279
|
return node;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
// bazel-out/
|
|
282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
283
283
|
import ts4 from "typescript";
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
286
286
|
function isWithinPackage(packagePath, filePath) {
|
|
287
287
|
const relativePath = relative(packagePath, filePath);
|
|
288
288
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -297,13 +297,13 @@ var NoopDependencyTracker = class {
|
|
|
297
297
|
};
|
|
298
298
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
299
299
|
|
|
300
|
-
// bazel-out/
|
|
300
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
301
301
|
import ts3 from "typescript";
|
|
302
302
|
function stripParentheses(node) {
|
|
303
303
|
return ts3.isParenthesizedExpression(node) ? node.expression : node;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
// bazel-out/
|
|
306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
307
307
|
var DECORATORS = "decorators";
|
|
308
308
|
var PROP_DECORATORS = "propDecorators";
|
|
309
309
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -1532,7 +1532,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
1532
1532
|
return outerNode;
|
|
1533
1533
|
}
|
|
1534
1534
|
|
|
1535
|
-
// bazel-out/
|
|
1535
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
1536
1536
|
import ts5 from "typescript";
|
|
1537
1537
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
1538
1538
|
getBaseClassExpression(clazz) {
|
|
@@ -1866,7 +1866,7 @@ function getIifeFn(classSymbol) {
|
|
|
1866
1866
|
return iifeWrapper && ts5.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
1867
1867
|
}
|
|
1868
1868
|
|
|
1869
|
-
// bazel-out/
|
|
1869
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1870
1870
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
1871
1871
|
constructor(logger, isCore, src, dts = null) {
|
|
1872
1872
|
super(logger, isCore, src, dts);
|
|
@@ -2366,7 +2366,7 @@ function isExportsIdentifier(node) {
|
|
|
2366
2366
|
return ts6.isIdentifier(node) && node.text === "exports";
|
|
2367
2367
|
}
|
|
2368
2368
|
|
|
2369
|
-
// bazel-out/
|
|
2369
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
2370
2370
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
2371
2371
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
2372
2372
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -2541,7 +2541,7 @@ function getRepositoryUrl(packageJson) {
|
|
|
2541
2541
|
return packageJson.repository.url;
|
|
2542
2542
|
}
|
|
2543
2543
|
|
|
2544
|
-
// bazel-out/
|
|
2544
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
2545
2545
|
var DtsProcessing;
|
|
2546
2546
|
(function(DtsProcessing2) {
|
|
2547
2547
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -2550,7 +2550,7 @@ var DtsProcessing;
|
|
|
2550
2550
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
2551
2551
|
var TaskDependencies = Map;
|
|
2552
2552
|
|
|
2553
|
-
// bazel-out/
|
|
2553
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
|
|
2554
2554
|
import ts8 from "typescript";
|
|
2555
2555
|
function adjustElementAccessExports(sourceText) {
|
|
2556
2556
|
if (!/exports\[["']/.test(sourceText)) {
|
|
@@ -2587,10 +2587,10 @@ function isJsIdentifier(text) {
|
|
|
2587
2587
|
return identifierPattern.test(text);
|
|
2588
2588
|
}
|
|
2589
2589
|
|
|
2590
|
-
// bazel-out/
|
|
2590
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2591
2591
|
import ts10 from "typescript";
|
|
2592
2592
|
|
|
2593
|
-
// bazel-out/
|
|
2593
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
2594
2594
|
import ts9 from "typescript";
|
|
2595
2595
|
function patchTsGetExpandoInitializer() {
|
|
2596
2596
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -2695,7 +2695,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
2695
2695
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
2696
2696
|
}
|
|
2697
2697
|
|
|
2698
|
-
// bazel-out/
|
|
2698
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2699
2699
|
function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
|
|
2700
2700
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
|
|
2701
2701
|
let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
|
|
@@ -2725,7 +2725,7 @@ function findR3SymbolsPath(fs, directory, filename) {
|
|
|
2725
2725
|
return null;
|
|
2726
2726
|
}
|
|
2727
2727
|
|
|
2728
|
-
// bazel-out/
|
|
2728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
2729
2729
|
import ts11 from "typescript";
|
|
2730
2730
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
2731
2731
|
constructor(fs, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -2770,7 +2770,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
2770
2770
|
}
|
|
2771
2771
|
};
|
|
2772
2772
|
|
|
2773
|
-
// bazel-out/
|
|
2773
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
2774
2774
|
import ts12 from "typescript";
|
|
2775
2775
|
var SharedFileCache = class {
|
|
2776
2776
|
constructor(fs) {
|
|
@@ -2873,7 +2873,7 @@ function createModuleResolutionCache(fs) {
|
|
|
2873
2873
|
});
|
|
2874
2874
|
}
|
|
2875
2875
|
|
|
2876
|
-
// bazel-out/
|
|
2876
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
2877
2877
|
function createSourceTextProcessor(format) {
|
|
2878
2878
|
if (format === "umd" || format === "commonjs") {
|
|
2879
2879
|
return adjustElementAccessExports;
|
|
@@ -2922,13 +2922,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
|
|
|
2922
2922
|
return additionalFiles;
|
|
2923
2923
|
}
|
|
2924
2924
|
|
|
2925
|
-
// bazel-out/
|
|
2925
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
2926
2926
|
import ts22 from "typescript";
|
|
2927
2927
|
|
|
2928
|
-
// bazel-out/
|
|
2928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
2929
2929
|
import { ConstantPool } from "@angular/compiler";
|
|
2930
2930
|
|
|
2931
|
-
// bazel-out/
|
|
2931
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
2932
2932
|
import ts13 from "typescript";
|
|
2933
2933
|
function isClassDeclaration(clazz) {
|
|
2934
2934
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -3011,7 +3011,7 @@ function reifySourceFile(expr) {
|
|
|
3011
3011
|
return stmt.declarationList.declarations[0].initializer;
|
|
3012
3012
|
}
|
|
3013
3013
|
|
|
3014
|
-
// bazel-out/
|
|
3014
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
3015
3015
|
var MissingInjectableMigration = class {
|
|
3016
3016
|
apply(clazz, host) {
|
|
3017
3017
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -3116,7 +3116,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
3116
3116
|
return decorator.import.name;
|
|
3117
3117
|
}
|
|
3118
3118
|
|
|
3119
|
-
// bazel-out/
|
|
3119
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
3120
3120
|
var UndecoratedChildMigration = class {
|
|
3121
3121
|
apply(clazz, host) {
|
|
3122
3122
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -3151,7 +3151,7 @@ var UndecoratedChildMigration = class {
|
|
|
3151
3151
|
}
|
|
3152
3152
|
};
|
|
3153
3153
|
|
|
3154
|
-
// bazel-out/
|
|
3154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
3155
3155
|
var UndecoratedParentMigration = class {
|
|
3156
3156
|
apply(clazz, host) {
|
|
3157
3157
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -3184,7 +3184,7 @@ function determineBaseClass(clazz, host) {
|
|
|
3184
3184
|
return baseClass;
|
|
3185
3185
|
}
|
|
3186
3186
|
|
|
3187
|
-
// bazel-out/
|
|
3187
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
3188
3188
|
import ts14 from "typescript";
|
|
3189
3189
|
var DefaultMigrationHost = class {
|
|
3190
3190
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -3244,10 +3244,20 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
3244
3244
|
return clone;
|
|
3245
3245
|
}
|
|
3246
3246
|
|
|
3247
|
-
// bazel-out/
|
|
3247
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
3248
3248
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
3249
3249
|
constructor(handlers, ngccReflector) {
|
|
3250
|
-
super(
|
|
3250
|
+
super(
|
|
3251
|
+
handlers,
|
|
3252
|
+
ngccReflector,
|
|
3253
|
+
NOOP_PERF_RECORDER,
|
|
3254
|
+
new NoIncrementalBuild(),
|
|
3255
|
+
true,
|
|
3256
|
+
CompilationMode.FULL,
|
|
3257
|
+
new DtsTransformRegistry(),
|
|
3258
|
+
null,
|
|
3259
|
+
{ isShim, isResource: () => false }
|
|
3260
|
+
);
|
|
3251
3261
|
this.ngccReflector = ngccReflector;
|
|
3252
3262
|
}
|
|
3253
3263
|
get analyzedFiles() {
|
|
@@ -3289,10 +3299,10 @@ var NoIncrementalBuild = class {
|
|
|
3289
3299
|
}
|
|
3290
3300
|
};
|
|
3291
3301
|
|
|
3292
|
-
// bazel-out/
|
|
3302
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
3293
3303
|
var DecorationAnalyses = Map;
|
|
3294
3304
|
|
|
3295
|
-
// bazel-out/
|
|
3305
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
3296
3306
|
var NgccResourceLoader = class {
|
|
3297
3307
|
constructor(fs) {
|
|
3298
3308
|
this.fs = fs;
|
|
@@ -3350,11 +3360,76 @@ var DecorationAnalyzer = class {
|
|
|
3350
3360
|
this.hostDirectivesResolver = new HostDirectivesResolver(this.fullMetaReader);
|
|
3351
3361
|
this.typeCheckScopeRegistry = new TypeCheckScopeRegistry(this.scopeRegistry, this.fullMetaReader, this.hostDirectivesResolver);
|
|
3352
3362
|
this.handlers = [
|
|
3353
|
-
new ComponentDecoratorHandler(
|
|
3354
|
-
|
|
3363
|
+
new ComponentDecoratorHandler(
|
|
3364
|
+
this.reflectionHost,
|
|
3365
|
+
this.evaluator,
|
|
3366
|
+
this.fullRegistry,
|
|
3367
|
+
this.fullMetaReader,
|
|
3368
|
+
this.scopeRegistry,
|
|
3369
|
+
this.dtsModuleScopeResolver,
|
|
3370
|
+
this.scopeRegistry,
|
|
3371
|
+
this.typeCheckScopeRegistry,
|
|
3372
|
+
new ResourceRegistry(),
|
|
3373
|
+
this.isCore,
|
|
3374
|
+
false,
|
|
3375
|
+
this.resourceManager,
|
|
3376
|
+
this.rootDirs,
|
|
3377
|
+
!!this.compilerOptions.preserveWhitespaces,
|
|
3378
|
+
true,
|
|
3379
|
+
this.bundle.enableI18nLegacyMessageIdFormat,
|
|
3380
|
+
false,
|
|
3381
|
+
false,
|
|
3382
|
+
this.moduleResolver,
|
|
3383
|
+
this.cycleAnalyzer,
|
|
3384
|
+
0,
|
|
3385
|
+
this.refEmitter,
|
|
3386
|
+
NOOP_DEPENDENCY_TRACKER,
|
|
3387
|
+
this.injectableRegistry,
|
|
3388
|
+
null,
|
|
3389
|
+
!!this.compilerOptions.annotateForClosureCompiler,
|
|
3390
|
+
NOOP_PERF_RECORDER,
|
|
3391
|
+
this.hostDirectivesResolver
|
|
3392
|
+
),
|
|
3393
|
+
new DirectiveDecoratorHandler(
|
|
3394
|
+
this.reflectionHost,
|
|
3395
|
+
this.evaluator,
|
|
3396
|
+
this.fullRegistry,
|
|
3397
|
+
this.scopeRegistry,
|
|
3398
|
+
this.fullMetaReader,
|
|
3399
|
+
this.injectableRegistry,
|
|
3400
|
+
this.refEmitter,
|
|
3401
|
+
this.isCore,
|
|
3402
|
+
false,
|
|
3403
|
+
null,
|
|
3404
|
+
!!this.compilerOptions.annotateForClosureCompiler,
|
|
3405
|
+
true,
|
|
3406
|
+
NOOP_PERF_RECORDER
|
|
3407
|
+
),
|
|
3355
3408
|
new PipeDecoratorHandler(this.reflectionHost, this.evaluator, this.metaRegistry, this.scopeRegistry, this.injectableRegistry, this.isCore, NOOP_PERF_RECORDER),
|
|
3356
|
-
new InjectableDecoratorHandler(
|
|
3357
|
-
|
|
3409
|
+
new InjectableDecoratorHandler(
|
|
3410
|
+
this.reflectionHost,
|
|
3411
|
+
this.evaluator,
|
|
3412
|
+
this.isCore,
|
|
3413
|
+
false,
|
|
3414
|
+
this.injectableRegistry,
|
|
3415
|
+
NOOP_PERF_RECORDER,
|
|
3416
|
+
false
|
|
3417
|
+
),
|
|
3418
|
+
new NgModuleDecoratorHandler(
|
|
3419
|
+
this.reflectionHost,
|
|
3420
|
+
this.evaluator,
|
|
3421
|
+
this.fullMetaReader,
|
|
3422
|
+
this.fullRegistry,
|
|
3423
|
+
this.scopeRegistry,
|
|
3424
|
+
this.referencesRegistry,
|
|
3425
|
+
this.isCore,
|
|
3426
|
+
this.refEmitter,
|
|
3427
|
+
null,
|
|
3428
|
+
!!this.compilerOptions.annotateForClosureCompiler,
|
|
3429
|
+
false,
|
|
3430
|
+
this.injectableRegistry,
|
|
3431
|
+
NOOP_PERF_RECORDER
|
|
3432
|
+
)
|
|
3358
3433
|
];
|
|
3359
3434
|
this.compiler = new NgccTraitCompiler(this.handlers, this.reflectionHost);
|
|
3360
3435
|
this.migrations = [
|
|
@@ -3449,7 +3524,7 @@ var DecorationAnalyzer = class {
|
|
|
3449
3524
|
}
|
|
3450
3525
|
};
|
|
3451
3526
|
|
|
3452
|
-
// bazel-out/
|
|
3527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
3453
3528
|
import ts15 from "typescript";
|
|
3454
3529
|
var ModuleWithProvidersAnalyses = Map;
|
|
3455
3530
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -3588,7 +3663,7 @@ function isAnyKeyword(typeParam) {
|
|
|
3588
3663
|
return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
|
|
3589
3664
|
}
|
|
3590
3665
|
|
|
3591
|
-
// bazel-out/
|
|
3666
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
3592
3667
|
var NgccReferencesRegistry = class {
|
|
3593
3668
|
constructor(host) {
|
|
3594
3669
|
this.host = host;
|
|
@@ -3609,7 +3684,7 @@ var NgccReferencesRegistry = class {
|
|
|
3609
3684
|
}
|
|
3610
3685
|
};
|
|
3611
3686
|
|
|
3612
|
-
// bazel-out/
|
|
3687
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
3613
3688
|
var PrivateDeclarationsAnalyzer = class {
|
|
3614
3689
|
constructor(host, referencesRegistry) {
|
|
3615
3690
|
this.host = host;
|
|
@@ -3650,7 +3725,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
3650
3725
|
}
|
|
3651
3726
|
};
|
|
3652
3727
|
|
|
3653
|
-
// bazel-out/
|
|
3728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
3654
3729
|
import ts16 from "typescript";
|
|
3655
3730
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
3656
3731
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -3814,7 +3889,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3814
3889
|
}
|
|
3815
3890
|
};
|
|
3816
3891
|
|
|
3817
|
-
// bazel-out/
|
|
3892
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
3818
3893
|
var DelegatingReflectionHost = class {
|
|
3819
3894
|
constructor(tsHost, ngccHost) {
|
|
3820
3895
|
this.tsHost = tsHost;
|
|
@@ -3935,16 +4010,16 @@ var DelegatingReflectionHost = class {
|
|
|
3935
4010
|
}
|
|
3936
4011
|
};
|
|
3937
4012
|
|
|
3938
|
-
// bazel-out/
|
|
4013
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
3939
4014
|
import ts19 from "typescript";
|
|
3940
4015
|
|
|
3941
|
-
// bazel-out/
|
|
4016
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
3942
4017
|
import ts18 from "typescript";
|
|
3943
4018
|
|
|
3944
|
-
// bazel-out/
|
|
4019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3945
4020
|
import ts17 from "typescript";
|
|
3946
4021
|
|
|
3947
|
-
// bazel-out/
|
|
4022
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
3948
4023
|
var NgccFlatImportRewriter = class {
|
|
3949
4024
|
shouldImportSymbol(symbol, specifier) {
|
|
3950
4025
|
if (specifier === "@angular/core") {
|
|
@@ -3965,7 +4040,7 @@ var NgccFlatImportRewriter = class {
|
|
|
3965
4040
|
}
|
|
3966
4041
|
};
|
|
3967
4042
|
|
|
3968
|
-
// bazel-out/
|
|
4043
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
3969
4044
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
3970
4045
|
if (isCore && isFlat) {
|
|
3971
4046
|
return new NgccFlatImportRewriter();
|
|
@@ -3979,7 +4054,7 @@ function stripExtension2(filePath) {
|
|
|
3979
4054
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
3980
4055
|
}
|
|
3981
4056
|
|
|
3982
|
-
// bazel-out/
|
|
4057
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3983
4058
|
var EsmRenderingFormatter = class {
|
|
3984
4059
|
constructor(fs, host, isCore) {
|
|
3985
4060
|
this.fs = fs;
|
|
@@ -4139,7 +4214,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
4139
4214
|
return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
4140
4215
|
}
|
|
4141
4216
|
|
|
4142
|
-
// bazel-out/
|
|
4217
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
4143
4218
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
4144
4219
|
addDefinitions(output, compiledClass, definitions) {
|
|
4145
4220
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -4167,7 +4242,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
4167
4242
|
}
|
|
4168
4243
|
};
|
|
4169
4244
|
|
|
4170
|
-
// bazel-out/
|
|
4245
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
4171
4246
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4172
4247
|
constructor(fs, commonJsHost, isCore) {
|
|
4173
4248
|
super(fs, commonJsHost, isCore);
|
|
@@ -4216,15 +4291,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
4216
4291
|
}
|
|
4217
4292
|
};
|
|
4218
4293
|
|
|
4219
|
-
// bazel-out/
|
|
4294
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4220
4295
|
import MagicString from "magic-string";
|
|
4221
4296
|
import ts20 from "typescript";
|
|
4222
4297
|
|
|
4223
|
-
// bazel-out/
|
|
4298
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
4224
4299
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
4225
4300
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
4226
4301
|
|
|
4227
|
-
// bazel-out/
|
|
4302
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
4228
4303
|
import mapHelpers from "convert-source-map";
|
|
4229
4304
|
function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
|
|
4230
4305
|
var _a;
|
|
@@ -4259,7 +4334,7 @@ ${sourceMapComment}` },
|
|
|
4259
4334
|
}
|
|
4260
4335
|
}
|
|
4261
4336
|
|
|
4262
|
-
// bazel-out/
|
|
4337
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4263
4338
|
var DtsRenderInfo = class {
|
|
4264
4339
|
constructor() {
|
|
4265
4340
|
this.classInfo = [];
|
|
@@ -4360,14 +4435,14 @@ function markForEmitAsSingleLine(node) {
|
|
|
4360
4435
|
ts20.forEachChild(node, markForEmitAsSingleLine);
|
|
4361
4436
|
}
|
|
4362
4437
|
|
|
4363
|
-
// bazel-out/
|
|
4438
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4364
4439
|
import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
|
|
4365
4440
|
import MagicString2 from "magic-string";
|
|
4366
4441
|
|
|
4367
|
-
// bazel-out/
|
|
4442
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
4368
4443
|
var RedundantDecoratorMap = Map;
|
|
4369
4444
|
|
|
4370
|
-
// bazel-out/
|
|
4445
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4371
4446
|
var Renderer = class {
|
|
4372
4447
|
constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
|
|
4373
4448
|
this.host = host;
|
|
@@ -4470,7 +4545,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
4470
4545
|
return statement;
|
|
4471
4546
|
}
|
|
4472
4547
|
|
|
4473
|
-
// bazel-out/
|
|
4548
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
4474
4549
|
import ts21 from "typescript";
|
|
4475
4550
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4476
4551
|
constructor(fs, umdHost, isCore) {
|
|
@@ -4586,7 +4661,7 @@ function getGlobalIdentifier(i) {
|
|
|
4586
4661
|
return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
|
|
4587
4662
|
}
|
|
4588
4663
|
|
|
4589
|
-
// bazel-out/
|
|
4664
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
4590
4665
|
var Transformer = class {
|
|
4591
4666
|
constructor(fs, logger, tsConfig = null) {
|
|
4592
4667
|
this.fs = fs;
|
|
@@ -4667,7 +4742,7 @@ function hasErrors(diagnostics) {
|
|
|
4667
4742
|
return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
|
|
4668
4743
|
}
|
|
4669
4744
|
|
|
4670
|
-
// bazel-out/
|
|
4745
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
4671
4746
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
4672
4747
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
4673
4748
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -4706,10 +4781,10 @@ ${errors}`);
|
|
|
4706
4781
|
};
|
|
4707
4782
|
}
|
|
4708
4783
|
|
|
4709
|
-
// bazel-out/
|
|
4784
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4710
4785
|
import * as os from "os";
|
|
4711
4786
|
|
|
4712
|
-
// bazel-out/
|
|
4787
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4713
4788
|
function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
4714
4789
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4715
4790
|
return {
|
|
@@ -4719,7 +4794,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
|
4719
4794
|
}
|
|
4720
4795
|
}
|
|
4721
4796
|
|
|
4722
|
-
// bazel-out/
|
|
4797
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4723
4798
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4724
4799
|
var InPlaceFileWriter = class {
|
|
4725
4800
|
constructor(fs, logger, errorOnFailedEntryPoint) {
|
|
@@ -4768,7 +4843,7 @@ This error may be caused by one of the following:
|
|
|
4768
4843
|
}
|
|
4769
4844
|
};
|
|
4770
4845
|
|
|
4771
|
-
// bazel-out/
|
|
4846
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4772
4847
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4773
4848
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4774
4849
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4876,7 +4951,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4876
4951
|
}
|
|
4877
4952
|
};
|
|
4878
4953
|
|
|
4879
|
-
// bazel-out/
|
|
4954
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4880
4955
|
function getSharedSetup(options) {
|
|
4881
4956
|
const fileSystem = getFileSystem();
|
|
4882
4957
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -4952,7 +5027,7 @@ function getMaxNumberOfWorkers() {
|
|
|
4952
5027
|
return numericMaxWorkers;
|
|
4953
5028
|
}
|
|
4954
5029
|
|
|
4955
|
-
// bazel-out/
|
|
5030
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4956
5031
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4957
5032
|
function computeTaskDependencies(tasks, graph) {
|
|
4958
5033
|
const dependencies = new TaskDependencies();
|
|
@@ -5012,7 +5087,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
5012
5087
|
});
|
|
5013
5088
|
}
|
|
5014
5089
|
|
|
5015
|
-
// bazel-out/
|
|
5090
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
5016
5091
|
import cluster from "cluster";
|
|
5017
5092
|
var Deferred = class {
|
|
5018
5093
|
constructor() {
|
|
@@ -5046,7 +5121,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5046
5121
|
});
|
|
5047
5122
|
};
|
|
5048
5123
|
|
|
5049
|
-
// bazel-out/
|
|
5124
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
5050
5125
|
var PackageJsonUpdate = class {
|
|
5051
5126
|
constructor(writeChangesImpl) {
|
|
5052
5127
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -5188,4 +5263,4 @@ export {
|
|
|
5188
5263
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5189
5264
|
* found in the LICENSE file at https://angular.io/license
|
|
5190
5265
|
*/
|
|
5191
|
-
//# sourceMappingURL=chunk-
|
|
5266
|
+
//# sourceMappingURL=chunk-JZDWEOSI.js.map
|