@angular/compiler-cli 15.0.0-next.5 → 15.0.0-rc.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-E7NQQTT7.js → chunk-4SINIALN.js} +3 -3
- package/bundles/{chunk-E7NQQTT7.js.map → chunk-4SINIALN.js.map} +0 -0
- package/bundles/{chunk-FHVSPC32.js → chunk-7YKDVBJ5.js} +31 -31
- package/bundles/{chunk-FHVSPC32.js.map → chunk-7YKDVBJ5.js.map} +0 -0
- package/bundles/{chunk-2HPI44CB.js → chunk-CTEVZGOM.js} +5 -5
- package/bundles/{chunk-2HPI44CB.js.map → chunk-CTEVZGOM.js.map} +0 -0
- package/bundles/{chunk-OZM4WUIW.js → chunk-D55CQOCC.js} +5 -5
- package/bundles/{chunk-OZM4WUIW.js.map → chunk-D55CQOCC.js.map} +0 -0
- package/bundles/{chunk-LBWAABMF.js → chunk-DLWNNV6S.js} +40 -40
- package/bundles/{chunk-LBWAABMF.js.map → chunk-DLWNNV6S.js.map} +0 -0
- package/bundles/{chunk-FM6NPN5V.js → chunk-GGLQGQHV.js} +4 -4
- package/bundles/{chunk-FM6NPN5V.js.map → chunk-GGLQGQHV.js.map} +0 -0
- package/bundles/{chunk-2RROWOZG.js → chunk-GVQAA5D3.js} +75 -75
- package/bundles/{chunk-2RROWOZG.js.map → chunk-GVQAA5D3.js.map} +1 -1
- package/bundles/{chunk-TF2TR2WS.js → chunk-JSLY52ZU.js} +29 -26
- package/bundles/chunk-JSLY52ZU.js.map +6 -0
- package/bundles/{chunk-VSAO3EZ7.js → chunk-KIQI22GZ.js} +1151 -1057
- package/bundles/chunk-KIQI22GZ.js.map +6 -0
- package/bundles/{chunk-7YHMCUJT.js → chunk-MEB4YHNS.js} +2 -5
- package/bundles/chunk-MEB4YHNS.js.map +6 -0
- package/bundles/{chunk-TOKOIIBI.js → chunk-RC2GY3FU.js} +8 -24
- package/bundles/{chunk-TOKOIIBI.js.map → chunk-RC2GY3FU.js.map} +1 -1
- package/bundles/{chunk-YEQI6VDV.js → chunk-RMZB2XBA.js} +137 -112
- package/bundles/chunk-RMZB2XBA.js.map +6 -0
- package/bundles/{chunk-R3C7RFJ4.js → chunk-SJL5HBUW.js} +2 -2
- package/bundles/{chunk-R3C7RFJ4.js.map → chunk-SJL5HBUW.js.map} +0 -0
- package/bundles/{chunk-XDX5RDY5.js → chunk-VZ2Q36OK.js} +7 -7
- package/bundles/{chunk-XDX5RDY5.js.map → chunk-VZ2Q36OK.js.map} +0 -0
- package/bundles/{chunk-UZLFREET.js → chunk-YGJACQGV.js} +7 -7
- package/bundles/{chunk-UZLFREET.js.map → chunk-YGJACQGV.js.map} +0 -0
- package/bundles/{chunk-CYVTLM4Z.js → chunk-Z57D3OKU.js} +7 -7
- package/bundles/{chunk-CYVTLM4Z.js.map → chunk-Z57D3OKU.js.map} +0 -0
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
- 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 +6 -6
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/ngcc/src/analysis/decoration_analyzer.d.ts +2 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +4 -4
- package/src/ngtsc/annotations/common/index.d.ts +1 -0
- package/src/ngtsc/annotations/common/src/diagnostics.d.ts +11 -3
- package/src/ngtsc/annotations/common/src/injectable_registry.d.ts +25 -0
- package/src/ngtsc/annotations/common/src/util.d.ts +1 -0
- package/src/ngtsc/annotations/component/src/handler.d.ts +4 -3
- package/src/ngtsc/annotations/directive/src/handler.d.ts +4 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +2 -2
- package/src/ngtsc/annotations/src/injectable.d.ts +7 -4
- package/src/ngtsc/annotations/src/pipe.d.ts +2 -1
- package/src/ngtsc/diagnostics/src/error_code.d.ts +12 -0
- package/src/ngtsc/file_system/src/node_js_file_system.d.ts +0 -1
- package/src/ngtsc/metadata/index.d.ts +2 -2
- package/src/ngtsc/metadata/src/registry.d.ts +1 -12
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +0 -9
- package/src/ngtsc/typecheck/api/checker.d.ts +5 -1
- package/src/ngtsc/typecheck/api/scope.d.ts +16 -0
- package/src/ngtsc/typecheck/src/checker.d.ts +2 -1
- package/bundles/chunk-7YHMCUJT.js.map +0 -6
- package/bundles/chunk-TF2TR2WS.js.map +0 -6
- package/bundles/chunk-VSAO3EZ7.js.map +0 -6
- package/bundles/chunk-YEQI6VDV.js.map +0 -6
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ImportGraph,
|
|
9
9
|
isShim,
|
|
10
10
|
readConfiguration
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RMZB2XBA.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-KIQI22GZ.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-VZ2Q36OK.js";
|
|
48
48
|
import {
|
|
49
49
|
ConsoleLogger,
|
|
50
50
|
LogLevel
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-4SINIALN.js";
|
|
52
52
|
import {
|
|
53
53
|
ContentOrigin,
|
|
54
54
|
SourceFileLoader
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Z57D3OKU.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-JSLY52ZU.js";
|
|
77
77
|
import {
|
|
78
78
|
getModifiers
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-MEB4YHNS.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-RC2GY3FU.js";
|
|
92
92
|
import {
|
|
93
93
|
NOOP_PERF_RECORDER
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-CTEVZGOM.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,7 +3244,7 @@ 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
3250
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null, { isShim, isResource: () => false });
|
|
@@ -3289,10 +3289,10 @@ var NoIncrementalBuild = class {
|
|
|
3289
3289
|
}
|
|
3290
3290
|
};
|
|
3291
3291
|
|
|
3292
|
-
// bazel-out/
|
|
3292
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
3293
3293
|
var DecorationAnalyses = Map;
|
|
3294
3294
|
|
|
3295
|
-
// bazel-out/
|
|
3295
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
3296
3296
|
var NgccResourceLoader = class {
|
|
3297
3297
|
constructor(fs) {
|
|
3298
3298
|
this.fs = fs;
|
|
@@ -3346,14 +3346,14 @@ var DecorationAnalyzer = class {
|
|
|
3346
3346
|
this.evaluator = new PartialEvaluator(this.reflectionHost, this.typeChecker, null);
|
|
3347
3347
|
this.importGraph = new ImportGraph(this.typeChecker, NOOP_PERF_RECORDER);
|
|
3348
3348
|
this.cycleAnalyzer = new CycleAnalyzer(this.importGraph);
|
|
3349
|
-
this.injectableRegistry = new InjectableClassRegistry(this.reflectionHost);
|
|
3349
|
+
this.injectableRegistry = new InjectableClassRegistry(this.reflectionHost, this.isCore);
|
|
3350
3350
|
this.hostDirectivesResolver = new HostDirectivesResolver(this.fullMetaReader);
|
|
3351
3351
|
this.typeCheckScopeRegistry = new TypeCheckScopeRegistry(this.scopeRegistry, this.fullMetaReader, this.hostDirectivesResolver);
|
|
3352
3352
|
this.handlers = [
|
|
3353
|
-
new ComponentDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.fullMetaReader, this.scopeRegistry, this.dtsModuleScopeResolver, this.scopeRegistry, this.typeCheckScopeRegistry, new ResourceRegistry(), this.isCore, this.resourceManager, this.rootDirs, !!this.compilerOptions.preserveWhitespaces, true, this.bundle.enableI18nLegacyMessageIdFormat, false, false, this.moduleResolver, this.cycleAnalyzer, 0, this.refEmitter, NOOP_DEPENDENCY_TRACKER, this.injectableRegistry, null, !!this.compilerOptions.annotateForClosureCompiler, NOOP_PERF_RECORDER, this.hostDirectivesResolver),
|
|
3354
|
-
new DirectiveDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.scopeRegistry, this.fullMetaReader, this.injectableRegistry, this.refEmitter, this.isCore, null, !!this.compilerOptions.annotateForClosureCompiler, true, NOOP_PERF_RECORDER),
|
|
3353
|
+
new ComponentDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.fullMetaReader, this.scopeRegistry, this.dtsModuleScopeResolver, this.scopeRegistry, this.typeCheckScopeRegistry, new ResourceRegistry(), this.isCore, false, this.resourceManager, this.rootDirs, !!this.compilerOptions.preserveWhitespaces, true, this.bundle.enableI18nLegacyMessageIdFormat, false, false, this.moduleResolver, this.cycleAnalyzer, 0, this.refEmitter, NOOP_DEPENDENCY_TRACKER, this.injectableRegistry, null, !!this.compilerOptions.annotateForClosureCompiler, NOOP_PERF_RECORDER, this.hostDirectivesResolver),
|
|
3354
|
+
new DirectiveDecoratorHandler(this.reflectionHost, this.evaluator, this.fullRegistry, this.scopeRegistry, this.fullMetaReader, this.injectableRegistry, this.refEmitter, this.isCore, false, null, !!this.compilerOptions.annotateForClosureCompiler, true, NOOP_PERF_RECORDER),
|
|
3355
3355
|
new PipeDecoratorHandler(this.reflectionHost, this.evaluator, this.metaRegistry, this.scopeRegistry, this.injectableRegistry, this.isCore, NOOP_PERF_RECORDER),
|
|
3356
|
-
new InjectableDecoratorHandler(this.reflectionHost, this.isCore, false, this.injectableRegistry, NOOP_PERF_RECORDER, false),
|
|
3356
|
+
new InjectableDecoratorHandler(this.reflectionHost, this.evaluator, this.isCore, false, this.injectableRegistry, NOOP_PERF_RECORDER, false),
|
|
3357
3357
|
new NgModuleDecoratorHandler(this.reflectionHost, this.evaluator, this.fullMetaReader, this.fullRegistry, this.scopeRegistry, this.referencesRegistry, this.isCore, this.refEmitter, null, !!this.compilerOptions.annotateForClosureCompiler, false, this.injectableRegistry, NOOP_PERF_RECORDER)
|
|
3358
3358
|
];
|
|
3359
3359
|
this.compiler = new NgccTraitCompiler(this.handlers, this.reflectionHost);
|
|
@@ -3449,7 +3449,7 @@ var DecorationAnalyzer = class {
|
|
|
3449
3449
|
}
|
|
3450
3450
|
};
|
|
3451
3451
|
|
|
3452
|
-
// bazel-out/
|
|
3452
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
3453
3453
|
import ts15 from "typescript";
|
|
3454
3454
|
var ModuleWithProvidersAnalyses = Map;
|
|
3455
3455
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -3588,7 +3588,7 @@ function isAnyKeyword(typeParam) {
|
|
|
3588
3588
|
return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
|
|
3589
3589
|
}
|
|
3590
3590
|
|
|
3591
|
-
// bazel-out/
|
|
3591
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
3592
3592
|
var NgccReferencesRegistry = class {
|
|
3593
3593
|
constructor(host) {
|
|
3594
3594
|
this.host = host;
|
|
@@ -3609,7 +3609,7 @@ var NgccReferencesRegistry = class {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
};
|
|
3611
3611
|
|
|
3612
|
-
// bazel-out/
|
|
3612
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
3613
3613
|
var PrivateDeclarationsAnalyzer = class {
|
|
3614
3614
|
constructor(host, referencesRegistry) {
|
|
3615
3615
|
this.host = host;
|
|
@@ -3650,7 +3650,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
3650
3650
|
}
|
|
3651
3651
|
};
|
|
3652
3652
|
|
|
3653
|
-
// bazel-out/
|
|
3653
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
3654
3654
|
import ts16 from "typescript";
|
|
3655
3655
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
3656
3656
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -3814,7 +3814,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3814
3814
|
}
|
|
3815
3815
|
};
|
|
3816
3816
|
|
|
3817
|
-
// bazel-out/
|
|
3817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
3818
3818
|
var DelegatingReflectionHost = class {
|
|
3819
3819
|
constructor(tsHost, ngccHost) {
|
|
3820
3820
|
this.tsHost = tsHost;
|
|
@@ -3935,16 +3935,16 @@ var DelegatingReflectionHost = class {
|
|
|
3935
3935
|
}
|
|
3936
3936
|
};
|
|
3937
3937
|
|
|
3938
|
-
// bazel-out/
|
|
3938
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
3939
3939
|
import ts19 from "typescript";
|
|
3940
3940
|
|
|
3941
|
-
// bazel-out/
|
|
3941
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
3942
3942
|
import ts18 from "typescript";
|
|
3943
3943
|
|
|
3944
|
-
// bazel-out/
|
|
3944
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3945
3945
|
import ts17 from "typescript";
|
|
3946
3946
|
|
|
3947
|
-
// bazel-out/
|
|
3947
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
3948
3948
|
var NgccFlatImportRewriter = class {
|
|
3949
3949
|
shouldImportSymbol(symbol, specifier) {
|
|
3950
3950
|
if (specifier === "@angular/core") {
|
|
@@ -3965,7 +3965,7 @@ var NgccFlatImportRewriter = class {
|
|
|
3965
3965
|
}
|
|
3966
3966
|
};
|
|
3967
3967
|
|
|
3968
|
-
// bazel-out/
|
|
3968
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
3969
3969
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
3970
3970
|
if (isCore && isFlat) {
|
|
3971
3971
|
return new NgccFlatImportRewriter();
|
|
@@ -3979,7 +3979,7 @@ function stripExtension2(filePath) {
|
|
|
3979
3979
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
3980
3980
|
}
|
|
3981
3981
|
|
|
3982
|
-
// bazel-out/
|
|
3982
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3983
3983
|
var EsmRenderingFormatter = class {
|
|
3984
3984
|
constructor(fs, host, isCore) {
|
|
3985
3985
|
this.fs = fs;
|
|
@@ -4139,7 +4139,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
4139
4139
|
return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
4140
4140
|
}
|
|
4141
4141
|
|
|
4142
|
-
// bazel-out/
|
|
4142
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
4143
4143
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
4144
4144
|
addDefinitions(output, compiledClass, definitions) {
|
|
4145
4145
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -4167,7 +4167,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
4167
4167
|
}
|
|
4168
4168
|
};
|
|
4169
4169
|
|
|
4170
|
-
// bazel-out/
|
|
4170
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
4171
4171
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4172
4172
|
constructor(fs, commonJsHost, isCore) {
|
|
4173
4173
|
super(fs, commonJsHost, isCore);
|
|
@@ -4216,15 +4216,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
4216
4216
|
}
|
|
4217
4217
|
};
|
|
4218
4218
|
|
|
4219
|
-
// bazel-out/
|
|
4219
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4220
4220
|
import MagicString from "magic-string";
|
|
4221
4221
|
import ts20 from "typescript";
|
|
4222
4222
|
|
|
4223
|
-
// bazel-out/
|
|
4223
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
4224
4224
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
4225
4225
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
4226
4226
|
|
|
4227
|
-
// bazel-out/
|
|
4227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
4228
4228
|
import mapHelpers from "convert-source-map";
|
|
4229
4229
|
function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
|
|
4230
4230
|
var _a;
|
|
@@ -4259,7 +4259,7 @@ ${sourceMapComment}` },
|
|
|
4259
4259
|
}
|
|
4260
4260
|
}
|
|
4261
4261
|
|
|
4262
|
-
// bazel-out/
|
|
4262
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4263
4263
|
var DtsRenderInfo = class {
|
|
4264
4264
|
constructor() {
|
|
4265
4265
|
this.classInfo = [];
|
|
@@ -4360,14 +4360,14 @@ function markForEmitAsSingleLine(node) {
|
|
|
4360
4360
|
ts20.forEachChild(node, markForEmitAsSingleLine);
|
|
4361
4361
|
}
|
|
4362
4362
|
|
|
4363
|
-
// bazel-out/
|
|
4363
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4364
4364
|
import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
|
|
4365
4365
|
import MagicString2 from "magic-string";
|
|
4366
4366
|
|
|
4367
|
-
// bazel-out/
|
|
4367
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
4368
4368
|
var RedundantDecoratorMap = Map;
|
|
4369
4369
|
|
|
4370
|
-
// bazel-out/
|
|
4370
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4371
4371
|
var Renderer = class {
|
|
4372
4372
|
constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
|
|
4373
4373
|
this.host = host;
|
|
@@ -4470,7 +4470,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
4470
4470
|
return statement;
|
|
4471
4471
|
}
|
|
4472
4472
|
|
|
4473
|
-
// bazel-out/
|
|
4473
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
4474
4474
|
import ts21 from "typescript";
|
|
4475
4475
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4476
4476
|
constructor(fs, umdHost, isCore) {
|
|
@@ -4586,7 +4586,7 @@ function getGlobalIdentifier(i) {
|
|
|
4586
4586
|
return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
|
|
4587
4587
|
}
|
|
4588
4588
|
|
|
4589
|
-
// bazel-out/
|
|
4589
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
4590
4590
|
var Transformer = class {
|
|
4591
4591
|
constructor(fs, logger, tsConfig = null) {
|
|
4592
4592
|
this.fs = fs;
|
|
@@ -4667,7 +4667,7 @@ function hasErrors(diagnostics) {
|
|
|
4667
4667
|
return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
|
|
4668
4668
|
}
|
|
4669
4669
|
|
|
4670
|
-
// bazel-out/
|
|
4670
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
4671
4671
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
4672
4672
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
4673
4673
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -4706,10 +4706,10 @@ ${errors}`);
|
|
|
4706
4706
|
};
|
|
4707
4707
|
}
|
|
4708
4708
|
|
|
4709
|
-
// bazel-out/
|
|
4709
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4710
4710
|
import * as os from "os";
|
|
4711
4711
|
|
|
4712
|
-
// bazel-out/
|
|
4712
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4713
4713
|
function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
4714
4714
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4715
4715
|
return {
|
|
@@ -4719,7 +4719,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
|
4719
4719
|
}
|
|
4720
4720
|
}
|
|
4721
4721
|
|
|
4722
|
-
// bazel-out/
|
|
4722
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4723
4723
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4724
4724
|
var InPlaceFileWriter = class {
|
|
4725
4725
|
constructor(fs, logger, errorOnFailedEntryPoint) {
|
|
@@ -4768,7 +4768,7 @@ This error may be caused by one of the following:
|
|
|
4768
4768
|
}
|
|
4769
4769
|
};
|
|
4770
4770
|
|
|
4771
|
-
// bazel-out/
|
|
4771
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4772
4772
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4773
4773
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4774
4774
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4876,7 +4876,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4876
4876
|
}
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
-
// bazel-out/
|
|
4879
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4880
4880
|
function getSharedSetup(options) {
|
|
4881
4881
|
const fileSystem = getFileSystem();
|
|
4882
4882
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -4952,7 +4952,7 @@ function getMaxNumberOfWorkers() {
|
|
|
4952
4952
|
return numericMaxWorkers;
|
|
4953
4953
|
}
|
|
4954
4954
|
|
|
4955
|
-
// bazel-out/
|
|
4955
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4956
4956
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4957
4957
|
function computeTaskDependencies(tasks, graph) {
|
|
4958
4958
|
const dependencies = new TaskDependencies();
|
|
@@ -5012,7 +5012,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
5012
5012
|
});
|
|
5013
5013
|
}
|
|
5014
5014
|
|
|
5015
|
-
// bazel-out/
|
|
5015
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
5016
5016
|
import cluster from "cluster";
|
|
5017
5017
|
var Deferred = class {
|
|
5018
5018
|
constructor() {
|
|
@@ -5046,7 +5046,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5046
5046
|
});
|
|
5047
5047
|
};
|
|
5048
5048
|
|
|
5049
|
-
// bazel-out/
|
|
5049
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
5050
5050
|
var PackageJsonUpdate = class {
|
|
5051
5051
|
constructor(writeChangesImpl) {
|
|
5052
5052
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -5188,4 +5188,4 @@ export {
|
|
|
5188
5188
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5189
5189
|
* found in the LICENSE file at https://angular.io/license
|
|
5190
5190
|
*/
|
|
5191
|
-
//# sourceMappingURL=chunk-
|
|
5191
|
+
//# sourceMappingURL=chunk-GVQAA5D3.js.map
|