@angular/compiler-cli 15.2.2 → 15.2.4
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-6ZJFIQBG.js → chunk-2NLFVEGY.js} +7 -7
- package/bundles/{chunk-E6XIZDH3.js → chunk-5WBIJMZH.js} +5 -5
- package/bundles/{chunk-2PLRZDNU.js → chunk-7GNUPQOI.js} +31 -31
- package/bundles/{chunk-7DUI3BSX.js → chunk-B57SP4JB.js} +2 -2
- package/bundles/{chunk-QRHWLC7U.js → chunk-IJECERTO.js} +10 -10
- package/bundles/{chunk-ZCBRXUPO.js → chunk-IYYB2HTK.js} +21 -21
- package/bundles/{chunk-YRDMG3GM.js → chunk-K7P4IHT5.js} +4 -4
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-VVIQFUX6.js → chunk-P5LISIUG.js} +77 -77
- package/bundles/{chunk-EYXJKNSD.js → chunk-PKXB2WOZ.js} +40 -40
- package/bundles/{chunk-AYNYESJJ.js → chunk-RMPM4VAI.js} +95 -95
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-ZEOG7UFV.js → chunk-WN75SNW4.js} +71 -71
- package/bundles/{chunk-NJMZRTB6.js → chunk-YZWN2KWE.js} +5 -5
- package/bundles/{chunk-O4JLZZWJ.js → chunk-ZF3IVDQ2.js} +6 -6
- package/bundles/{chunk-PT6IDEJZ.js → chunk-ZV3QKZR5.js} +5 -5
- 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 +4 -4
- 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/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- /package/bundles/{chunk-6ZJFIQBG.js.map → chunk-2NLFVEGY.js.map} +0 -0
- /package/bundles/{chunk-E6XIZDH3.js.map → chunk-5WBIJMZH.js.map} +0 -0
- /package/bundles/{chunk-2PLRZDNU.js.map → chunk-7GNUPQOI.js.map} +0 -0
- /package/bundles/{chunk-7DUI3BSX.js.map → chunk-B57SP4JB.js.map} +0 -0
- /package/bundles/{chunk-QRHWLC7U.js.map → chunk-IJECERTO.js.map} +0 -0
- /package/bundles/{chunk-ZCBRXUPO.js.map → chunk-IYYB2HTK.js.map} +0 -0
- /package/bundles/{chunk-YRDMG3GM.js.map → chunk-K7P4IHT5.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-VVIQFUX6.js.map → chunk-P5LISIUG.js.map} +0 -0
- /package/bundles/{chunk-EYXJKNSD.js.map → chunk-PKXB2WOZ.js.map} +0 -0
- /package/bundles/{chunk-AYNYESJJ.js.map → chunk-RMPM4VAI.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-ZEOG7UFV.js.map → chunk-WN75SNW4.js.map} +0 -0
- /package/bundles/{chunk-NJMZRTB6.js.map → chunk-YZWN2KWE.js.map} +0 -0
- /package/bundles/{chunk-O4JLZZWJ.js.map → chunk-ZF3IVDQ2.js.map} +0 -0
- /package/bundles/{chunk-PT6IDEJZ.js.map → chunk-ZV3QKZR5.js.map} +0 -0
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
7
7
|
import { decode, encode } from "@jridgewell/sourcemap-codec";
|
|
8
8
|
import mapHelpers from "convert-source-map";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
11
11
|
function compareSegments(a, b) {
|
|
12
12
|
return a.position - b.position;
|
|
13
13
|
}
|
|
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
27
27
|
return { line, column, position, next: void 0 };
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
31
31
|
function removeSourceMapComments(contents) {
|
|
32
32
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
33
33
|
}
|
|
@@ -278,10 +278,10 @@ var Cache = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
282
282
|
import mapHelpers2 from "convert-source-map";
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
285
285
|
var ContentOrigin;
|
|
286
286
|
(function(ContentOrigin2) {
|
|
287
287
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -289,7 +289,7 @@ var ContentOrigin;
|
|
|
289
289
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
290
290
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
291
291
|
|
|
292
|
-
// bazel-out/
|
|
292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
293
293
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
294
294
|
var SourceFileLoader = class {
|
|
295
295
|
constructor(fs, logger, schemeMap) {
|
|
@@ -417,4 +417,4 @@ export {
|
|
|
417
417
|
* Use of this source code is governed by an MIT-style license that can be
|
|
418
418
|
* found in the LICENSE file at https://angular.io/license
|
|
419
419
|
*/
|
|
420
|
-
//# sourceMappingURL=chunk-
|
|
420
|
+
//# sourceMappingURL=chunk-2NLFVEGY.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RMPM4VAI.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
18
18
|
import ts2 from "typescript";
|
|
19
19
|
import yargs from "yargs";
|
|
20
20
|
|
|
21
|
-
// bazel-out/
|
|
21
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
22
22
|
import * as chokidar from "chokidar";
|
|
23
23
|
import * as path from "path";
|
|
24
24
|
import ts from "typescript";
|
|
@@ -234,7 +234,7 @@ function performWatchCompilation(host) {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
238
238
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
239
239
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
240
240
|
if (configErrors.length) {
|
|
@@ -375,4 +375,4 @@ export {
|
|
|
375
375
|
* Use of this source code is governed by an MIT-style license that can be
|
|
376
376
|
* found in the LICENSE file at https://angular.io/license
|
|
377
377
|
*/
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
378
|
+
//# sourceMappingURL=chunk-5WBIJMZH.js.map
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
SourceFileLoader
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2NLFVEGY.js";
|
|
8
8
|
import {
|
|
9
9
|
Context,
|
|
10
10
|
ExpressionTranslatorVisitor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IJECERTO.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -155,10 +155,10 @@ var AstValue = class {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
159
159
|
import { ConstantPool } from "@angular/compiler";
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
162
162
|
var LinkerImportGenerator = class {
|
|
163
163
|
constructor(ngImport) {
|
|
164
164
|
this.ngImport = ngImport;
|
|
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
182
182
|
var EmitScope = class {
|
|
183
183
|
constructor(ngImport, translator, factory) {
|
|
184
184
|
this.ngImport = ngImport;
|
|
@@ -207,7 +207,7 @@ var EmitScope = class {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
211
211
|
var LocalEmitScope = class extends EmitScope {
|
|
212
212
|
translateDefinition(definition) {
|
|
213
213
|
return super.translateDefinition({
|
|
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
224
224
|
import semver from "semver";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
227
227
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
228
228
|
if (loader === null) {
|
|
229
229
|
return () => null;
|
|
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
242
242
|
import { compileClassMetadata } from "@angular/compiler";
|
|
243
243
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
244
244
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -258,13 +258,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
262
262
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
265
265
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
268
268
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
269
269
|
function wrapReference(wrapped) {
|
|
270
270
|
return { value: wrapped, type: wrapped };
|
|
@@ -312,7 +312,7 @@ function extractForwardRef(expr) {
|
|
|
312
312
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
// bazel-out/
|
|
315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
316
316
|
var PartialDirectiveLinkerVersion1 = class {
|
|
317
317
|
constructor(sourceUrl, code) {
|
|
318
318
|
this.sourceUrl = sourceUrl;
|
|
@@ -432,7 +432,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
432
432
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
// bazel-out/
|
|
435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
436
436
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
437
437
|
return {
|
|
438
438
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -625,7 +625,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
625
625
|
return enumValue;
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
// bazel-out/
|
|
628
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
629
629
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
630
630
|
var PartialFactoryLinkerVersion1 = class {
|
|
631
631
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -662,7 +662,7 @@ function getDependencies(metaObj, propName) {
|
|
|
662
662
|
return null;
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
// bazel-out/
|
|
665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
666
666
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
667
667
|
var PartialInjectableLinkerVersion1 = class {
|
|
668
668
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -701,7 +701,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
701
701
|
return meta;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
// bazel-out/
|
|
704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
705
705
|
import { compileInjector } from "@angular/compiler";
|
|
706
706
|
var PartialInjectorLinkerVersion1 = class {
|
|
707
707
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -724,7 +724,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
724
724
|
};
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
// bazel-out/
|
|
727
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
728
728
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
729
729
|
var PartialNgModuleLinkerVersion1 = class {
|
|
730
730
|
constructor(emitInline) {
|
|
@@ -797,7 +797,7 @@ function wrapReferences(values) {
|
|
|
797
797
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
798
798
|
}
|
|
799
799
|
|
|
800
|
-
// bazel-out/
|
|
800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
801
801
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
802
802
|
var PartialPipeLinkerVersion1 = class {
|
|
803
803
|
constructor() {
|
|
@@ -827,7 +827,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
829
|
|
|
830
|
-
// bazel-out/
|
|
830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
831
831
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
832
832
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
833
833
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -848,7 +848,7 @@ var declarationFunctions = [
|
|
|
848
848
|
];
|
|
849
849
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
850
850
|
const linkers = /* @__PURE__ */ new Map();
|
|
851
|
-
const LATEST_VERSION_RANGE = getRange("<=", "15.2.
|
|
851
|
+
const LATEST_VERSION_RANGE = getRange("<=", "15.2.4");
|
|
852
852
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
853
853
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
854
854
|
]);
|
|
@@ -895,7 +895,7 @@ var PartialLinkerSelector = class {
|
|
|
895
895
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
896
896
|
}
|
|
897
897
|
const linkerRanges = this.linkers.get(functionName);
|
|
898
|
-
if (version === "15.2.
|
|
898
|
+
if (version === "15.2.4") {
|
|
899
899
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
900
900
|
}
|
|
901
901
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -921,7 +921,7 @@ function getRange(comparator, versionStr) {
|
|
|
921
921
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
925
925
|
var FileLinker = class {
|
|
926
926
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
927
927
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -964,14 +964,14 @@ var FileLinker = class {
|
|
|
964
964
|
}
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
// bazel-out/
|
|
967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
968
968
|
var DEFAULT_LINKER_OPTIONS = {
|
|
969
969
|
sourceMapping: true,
|
|
970
970
|
linkerJitMode: false,
|
|
971
971
|
unknownDeclarationVersionHandling: "error"
|
|
972
972
|
};
|
|
973
973
|
|
|
974
|
-
// bazel-out/
|
|
974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
975
975
|
var Translator = class {
|
|
976
976
|
constructor(factory) {
|
|
977
977
|
this.factory = factory;
|
|
@@ -984,7 +984,7 @@ var Translator = class {
|
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
|
|
987
|
-
// bazel-out/
|
|
987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
988
988
|
var LinkerEnvironment = class {
|
|
989
989
|
constructor(fileSystem, logger, host, factory, options) {
|
|
990
990
|
this.fileSystem = fileSystem;
|
|
@@ -1005,7 +1005,7 @@ var LinkerEnvironment = class {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
|
-
// bazel-out/
|
|
1008
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1009
1009
|
function needsLinking(path, source) {
|
|
1010
1010
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1011
1011
|
}
|
|
@@ -1026,4 +1026,4 @@ export {
|
|
|
1026
1026
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1027
1027
|
* found in the LICENSE file at https://angular.io/license
|
|
1028
1028
|
*/
|
|
1029
|
-
//# sourceMappingURL=chunk-
|
|
1029
|
+
//# sourceMappingURL=chunk-7GNUPQOI.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
7
7
|
function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
8
8
|
try {
|
|
9
9
|
logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
|
|
@@ -26,4 +26,4 @@ function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
|
26
26
|
export {
|
|
27
27
|
removeLockFile
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-B57SP4JB.js.map
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
NoopImportRewriter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IYYB2HTK.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
10
10
|
var Context = class {
|
|
11
11
|
constructor(isStatement) {
|
|
12
12
|
this.isStatement = isStatement;
|
|
@@ -19,7 +19,7 @@ var Context = class {
|
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
// bazel-out/
|
|
22
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
23
23
|
import * as o from "@angular/compiler";
|
|
24
24
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
25
25
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -251,7 +251,7 @@ function createRange(span) {
|
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
// bazel-out/
|
|
254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
255
255
|
import ts from "typescript";
|
|
256
256
|
var ImportManager = class {
|
|
257
257
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -287,11 +287,11 @@ var ImportManager = class {
|
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
289
|
|
|
290
|
-
// bazel-out/
|
|
290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
291
291
|
import * as o2 from "@angular/compiler";
|
|
292
292
|
import ts3 from "typescript";
|
|
293
293
|
|
|
294
|
-
// bazel-out/
|
|
294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
|
|
295
295
|
import ts2 from "typescript";
|
|
296
296
|
var IS_AFTER_TS_49 = isAfterVersion(4, 9);
|
|
297
297
|
var createParameterDeclaration = IS_AFTER_TS_49 ? ts2.factory.createParameterDeclaration : (modifiers, dotDotDotToken, name, questionToken, type, initializer) => ts2.factory.createParameterDeclaration(...splitModifiers(modifiers), dotDotDotToken, name, questionToken, type, initializer);
|
|
@@ -321,7 +321,7 @@ function isAfterVersion(targetMajor, targetMinor) {
|
|
|
321
321
|
return major === targetMajor ? minor >= targetMinor : true;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
// bazel-out/
|
|
324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
325
325
|
function translateType(type, imports) {
|
|
326
326
|
return type.visitType(new TypeTranslatorVisitor(imports), new Context(false));
|
|
327
327
|
}
|
|
@@ -495,7 +495,7 @@ var TypeTranslatorVisitor = class {
|
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
497
|
|
|
498
|
-
// bazel-out/
|
|
498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
499
499
|
import ts4 from "typescript";
|
|
500
500
|
var PureAnnotation;
|
|
501
501
|
(function(PureAnnotation2) {
|
|
@@ -678,7 +678,7 @@ function attachComments(statement, leadingComments) {
|
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
// bazel-out/
|
|
681
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
682
682
|
function translateExpression(expression, imports, options = {}) {
|
|
683
683
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
684
684
|
}
|
|
@@ -711,4 +711,4 @@ export {
|
|
|
711
711
|
* Use of this source code is governed by an MIT-style license that can be
|
|
712
712
|
* found in the LICENSE file at https://angular.io/license
|
|
713
713
|
*/
|
|
714
|
-
//# sourceMappingURL=chunk-
|
|
714
|
+
//# sourceMappingURL=chunk-IJECERTO.js.map
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TBUSSXUA.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
var TS = /\.tsx?$/i;
|
|
20
20
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -115,7 +115,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
115
115
|
return redirectInfo.unredirected;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
119
119
|
var Reference = class {
|
|
120
120
|
constructor(node, bestGuessOwningModule = null) {
|
|
121
121
|
this.node = node;
|
|
@@ -178,14 +178,14 @@ var Reference = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
182
182
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
185
185
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
186
186
|
import ts3 from "typescript";
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
189
189
|
var ErrorCode;
|
|
190
190
|
(function(ErrorCode2) {
|
|
191
191
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -255,7 +255,7 @@ var ErrorCode;
|
|
|
255
255
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
256
256
|
})(ErrorCode || (ErrorCode = {}));
|
|
257
257
|
|
|
258
|
-
// bazel-out/
|
|
258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
259
259
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
260
260
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
261
261
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -267,10 +267,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
267
267
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
268
268
|
]);
|
|
269
269
|
|
|
270
|
-
// bazel-out/
|
|
270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
271
271
|
import ts2 from "typescript";
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
274
274
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
275
275
|
function replaceTsWithNgInErrors(errors) {
|
|
276
276
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -279,7 +279,7 @@ function ngErrorCode(code) {
|
|
|
279
279
|
return parseInt("-99" + code);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
// bazel-out/
|
|
282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
283
283
|
var FatalDiagnosticError = class {
|
|
284
284
|
constructor(code, node, message, relatedInformation) {
|
|
285
285
|
this.code = code;
|
|
@@ -338,10 +338,10 @@ function isFatalDiagnosticError(err) {
|
|
|
338
338
|
return err._isFatalDiagnosticError === true;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
// bazel-out/
|
|
341
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
342
342
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
343
343
|
|
|
344
|
-
// bazel-out/
|
|
344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
345
345
|
var ExtendedTemplateDiagnosticName;
|
|
346
346
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
347
347
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -353,7 +353,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
353
353
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
354
354
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
355
355
|
|
|
356
|
-
// bazel-out/
|
|
356
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
357
357
|
function findExportedNameOfNode(target, file, reflector) {
|
|
358
358
|
const exports = reflector.getExportsOfModule(file);
|
|
359
359
|
if (exports === null) {
|
|
@@ -373,7 +373,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
373
373
|
return foundExportName;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
// bazel-out/
|
|
376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
377
377
|
var ImportFlags;
|
|
378
378
|
(function(ImportFlags2) {
|
|
379
379
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -589,7 +589,7 @@ var UnifiedModulesStrategy = class {
|
|
|
589
589
|
}
|
|
590
590
|
};
|
|
591
591
|
|
|
592
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
593
593
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
594
594
|
var UnifiedModulesAliasingHost = class {
|
|
595
595
|
constructor(unifiedModulesHost) {
|
|
@@ -656,7 +656,7 @@ var AliasStrategy = class {
|
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
658
|
|
|
659
|
-
// bazel-out/
|
|
659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
660
660
|
function relativePathBetween(from, to) {
|
|
661
661
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
662
662
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -665,7 +665,7 @@ function normalizeSeparators(path) {
|
|
|
665
665
|
return path.replace(/\\/g, "/");
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
// bazel-out/
|
|
668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
669
669
|
var NoopImportRewriter = class {
|
|
670
670
|
shouldImportSymbol(symbol, specifier) {
|
|
671
671
|
return true;
|
|
@@ -723,7 +723,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
723
723
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
724
724
|
}
|
|
725
725
|
|
|
726
|
-
// bazel-out/
|
|
726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
727
727
|
import ts4 from "typescript";
|
|
728
728
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
729
729
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -758,7 +758,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
758
758
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
759
759
|
}
|
|
760
760
|
|
|
761
|
-
// bazel-out/
|
|
761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
762
762
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
763
763
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
764
764
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -799,7 +799,7 @@ var DefaultImportTracker = class {
|
|
|
799
799
|
}
|
|
800
800
|
};
|
|
801
801
|
|
|
802
|
-
// bazel-out/
|
|
802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
803
803
|
var ModuleResolver = class {
|
|
804
804
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
805
805
|
this.program = program;
|
|
@@ -874,4 +874,4 @@ export {
|
|
|
874
874
|
* Use of this source code is governed by an MIT-style license that can be
|
|
875
875
|
* found in the LICENSE file at https://angular.io/license
|
|
876
876
|
*/
|
|
877
|
-
//# sourceMappingURL=chunk-
|
|
877
|
+
//# sourceMappingURL=chunk-IYYB2HTK.js.map
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
import {
|
|
6
6
|
ConsoleLogger,
|
|
7
7
|
LogLevel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LYJKWJUC.js";
|
|
9
9
|
import {
|
|
10
10
|
NodeJSFileSystem,
|
|
11
11
|
setFileSystem
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TBUSSXUA.js";
|
|
13
13
|
|
|
14
|
-
// bazel-out/
|
|
14
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
|
|
15
15
|
import yargs from "yargs";
|
|
16
16
|
function parseCommandLineOptions(args) {
|
|
17
17
|
var _a;
|
|
@@ -112,4 +112,4 @@ export {
|
|
|
112
112
|
* Use of this source code is governed by an MIT-style license that can be
|
|
113
113
|
* found in the LICENSE file at https://angular.io/license
|
|
114
114
|
*/
|
|
115
|
-
//# sourceMappingURL=chunk-
|
|
115
|
+
//# sourceMappingURL=chunk-K7P4IHT5.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-LYJKWJUC.js.map
|