@angular/compiler-cli 14.0.0-next.2 → 14.0.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-JL6TC6CB.js → chunk-2N3G5KYJ.js} +85 -85
- package/bundles/{chunk-JL6TC6CB.js.map → chunk-2N3G5KYJ.js.map} +0 -0
- package/bundles/{chunk-N4EP6MZR.js → chunk-7C3Q5ZSV.js} +66 -66
- package/bundles/{chunk-N4EP6MZR.js.map → chunk-7C3Q5ZSV.js.map} +0 -0
- package/bundles/{chunk-XXMNTCYN.js → chunk-7PY7XEFH.js} +6 -6
- package/bundles/{chunk-XXMNTCYN.js.map → chunk-7PY7XEFH.js.map} +0 -0
- package/bundles/{chunk-RNVIUKDY.js → chunk-A5PL3TE6.js} +6 -6
- package/bundles/{chunk-RNVIUKDY.js.map → chunk-A5PL3TE6.js.map} +0 -0
- package/bundles/{chunk-QZBA4KSX.js → chunk-FXU7FMZC.js} +7 -7
- package/bundles/{chunk-QZBA4KSX.js.map → chunk-FXU7FMZC.js.map} +0 -0
- package/bundles/{chunk-J6CW3T62.js → chunk-GLCRIILX.js} +5 -5
- package/bundles/{chunk-J6CW3T62.js.map → chunk-GLCRIILX.js.map} +0 -0
- package/bundles/{chunk-VOXD467J.js → chunk-JKIKUGPN.js} +5 -5
- package/bundles/{chunk-VOXD467J.js.map → chunk-JKIKUGPN.js.map} +0 -0
- package/bundles/{chunk-3WNAIXKA.js → chunk-K2Z44JHH.js} +7 -7
- package/bundles/{chunk-3WNAIXKA.js.map → chunk-K2Z44JHH.js.map} +0 -0
- package/bundles/{chunk-BPCUCINV.js → chunk-QDWL7SZJ.js} +2 -2
- package/bundles/{chunk-BPCUCINV.js.map → chunk-QDWL7SZJ.js.map} +0 -0
- package/bundles/{chunk-2XJJHADR.js → chunk-QMGQEVL2.js} +26 -26
- package/bundles/{chunk-2XJJHADR.js.map → chunk-QMGQEVL2.js.map} +0 -0
- package/bundles/{chunk-4EUDG74G.js → chunk-QYWK7GNC.js} +70 -70
- package/bundles/{chunk-4EUDG74G.js.map → chunk-QYWK7GNC.js.map} +0 -0
- package/bundles/{chunk-JTYUTYS2.js → chunk-SKBLJA43.js} +3 -3
- package/bundles/{chunk-JTYUTYS2.js.map → chunk-SKBLJA43.js.map} +0 -0
- package/bundles/{chunk-4N4Y5TPT.js → chunk-TYUIAZWZ.js} +31 -31
- package/bundles/{chunk-4N4Y5TPT.js.map → chunk-TYUIAZWZ.js.map} +0 -0
- package/bundles/{chunk-JR2JHPEZ.js → chunk-YG7H35RB.js} +40 -40
- package/bundles/{chunk-JR2JHPEZ.js.map → chunk-YG7H35RB.js.map} +0 -0
- package/bundles/{chunk-LL4S3DRM.js → chunk-Z2HS4HDG.js} +4 -4
- package/bundles/{chunk-LL4S3DRM.js.map → chunk-Z2HS4HDG.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__require
|
|
8
8
|
} from "./chunk-WQ3TNYTD.js";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
11
11
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
12
12
|
function normalizeSeparators(path) {
|
|
13
13
|
return path.replace(/\\/g, "/");
|
|
@@ -23,7 +23,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
23
23
|
return sf;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
27
27
|
var InvalidFileSystem = class {
|
|
28
28
|
exists(path) {
|
|
29
29
|
throw makeError();
|
|
@@ -111,7 +111,7 @@ function makeError() {
|
|
|
111
111
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
// bazel-out/
|
|
114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
115
115
|
var fs = new InvalidFileSystem();
|
|
116
116
|
function getFileSystem() {
|
|
117
117
|
return fs;
|
|
@@ -168,7 +168,7 @@ function toRelativeImport(relativePath) {
|
|
|
168
168
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
// bazel-out/
|
|
171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
172
172
|
import * as os from "os";
|
|
173
173
|
import ts from "typescript";
|
|
174
174
|
var NgtscCompilerHost = class {
|
|
@@ -226,7 +226,7 @@ var NgtscCompilerHost = class {
|
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
-
// bazel-out/
|
|
229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
230
230
|
var LogicalProjectPath = {
|
|
231
231
|
relativePathBetween: function(from, to) {
|
|
232
232
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -272,7 +272,7 @@ function isWithinBasePath(base, path) {
|
|
|
272
272
|
return isLocalRelativePath(relative(base, path));
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
// bazel-out/
|
|
275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
276
276
|
import * as fs2 from "fs";
|
|
277
277
|
import module from "module";
|
|
278
278
|
import * as p from "path";
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
* Use of this source code is governed by an MIT-style license that can be
|
|
425
425
|
* found in the LICENSE file at https://angular.io/license
|
|
426
426
|
*/
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-FXU7FMZC.js.map
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
7
7
|
var PerfPhase;
|
|
8
8
|
(function(PerfPhase2) {
|
|
9
9
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -68,7 +68,7 @@ var PerfCheckpoint;
|
|
|
68
68
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
69
69
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
70
70
|
|
|
71
|
-
// bazel-out/
|
|
71
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
72
72
|
var NoopPerfRecorder = class {
|
|
73
73
|
eventCount() {
|
|
74
74
|
}
|
|
@@ -85,7 +85,7 @@ var NoopPerfRecorder = class {
|
|
|
85
85
|
};
|
|
86
86
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
87
87
|
|
|
88
|
-
// bazel-out/
|
|
88
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
89
89
|
function mark() {
|
|
90
90
|
return process.hrtime();
|
|
91
91
|
}
|
|
@@ -94,7 +94,7 @@ function timeSinceInMicros(mark2) {
|
|
|
94
94
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
// bazel-out/
|
|
97
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
98
98
|
var ActivePerfRecorder = class {
|
|
99
99
|
constructor(zeroTime) {
|
|
100
100
|
this.zeroTime = zeroTime;
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
* Use of this source code is governed by an MIT-style license that can be
|
|
204
204
|
* found in the LICENSE file at https://angular.io/license
|
|
205
205
|
*/
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-GLCRIILX.js.map
|
|
File without changes
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
formatDiagnostics,
|
|
15
15
|
performCompilation,
|
|
16
16
|
readConfiguration
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2N3G5KYJ.js";
|
|
18
18
|
import {
|
|
19
19
|
__spreadProps,
|
|
20
20
|
__spreadValues
|
|
21
21
|
} from "./chunk-WQ3TNYTD.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
24
24
|
import ts2 from "typescript";
|
|
25
25
|
import yargs from "yargs";
|
|
26
26
|
|
|
27
|
-
// bazel-out/
|
|
27
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
28
28
|
import * as chokidar from "chokidar";
|
|
29
29
|
import * as path from "path";
|
|
30
30
|
import ts from "typescript";
|
|
@@ -240,7 +240,7 @@ function performWatchCompilation(host) {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
244
244
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
245
245
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
246
246
|
if (configErrors.length) {
|
|
@@ -379,4 +379,4 @@ export {
|
|
|
379
379
|
* Use of this source code is governed by an MIT-style license that can be
|
|
380
380
|
* found in the LICENSE file at https://angular.io/license
|
|
381
381
|
*/
|
|
382
|
-
//# sourceMappingURL=chunk-
|
|
382
|
+
//# sourceMappingURL=chunk-JKIKUGPN.js.map
|
|
File without changes
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
__spreadValues
|
|
8
8
|
} from "./chunk-WQ3TNYTD.js";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
11
11
|
import mapHelpers from "convert-source-map";
|
|
12
12
|
import { decode, encode } from "sourcemap-codec";
|
|
13
13
|
|
|
14
|
-
// bazel-out/
|
|
14
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
15
15
|
function compareSegments(a, b) {
|
|
16
16
|
return a.position - b.position;
|
|
17
17
|
}
|
|
@@ -31,7 +31,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
31
31
|
return { line, column, position, next: void 0 };
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
35
35
|
function removeSourceMapComments(contents) {
|
|
36
36
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
37
37
|
}
|
|
@@ -282,10 +282,10 @@ var Cache = class {
|
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
286
286
|
import mapHelpers2 from "convert-source-map";
|
|
287
287
|
|
|
288
|
-
// bazel-out/
|
|
288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
289
289
|
var ContentOrigin;
|
|
290
290
|
(function(ContentOrigin2) {
|
|
291
291
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -293,7 +293,7 @@ var ContentOrigin;
|
|
|
293
293
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
294
294
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
297
297
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
298
298
|
var SourceFileLoader = class {
|
|
299
299
|
constructor(fs, logger, schemeMap) {
|
|
@@ -421,4 +421,4 @@ export {
|
|
|
421
421
|
* Use of this source code is governed by an MIT-style license that can be
|
|
422
422
|
* found in the LICENSE file at https://angular.io/license
|
|
423
423
|
*/
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
424
|
+
//# sourceMappingURL=chunk-K2Z44JHH.js.map
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/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-QDWL7SZJ.js.map
|
|
File without changes
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
resolve,
|
|
14
14
|
stripExtension,
|
|
15
15
|
toRelativeImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FXU7FMZC.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
19
19
|
import ts from "typescript";
|
|
20
20
|
var TS = /\.tsx?$/i;
|
|
21
21
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -114,7 +114,7 @@ function createExportSpecifier(propertyName, name, isTypeOnly = false) {
|
|
|
114
114
|
return PARSED_TS_VERSION > 4.4 ? ts.createExportSpecifier(isTypeOnly, propertyName, name) : ts.createExportSpecifier(propertyName, name);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
// bazel-out/
|
|
117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
118
118
|
var Reference = class {
|
|
119
119
|
constructor(node, bestGuessOwningModule = null) {
|
|
120
120
|
this.node = node;
|
|
@@ -177,14 +177,14 @@ var Reference = class {
|
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
|
|
180
|
-
// bazel-out/
|
|
180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
181
181
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
184
184
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
185
185
|
import ts3 from "typescript";
|
|
186
186
|
|
|
187
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
188
188
|
var ErrorCode;
|
|
189
189
|
(function(ErrorCode2) {
|
|
190
190
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -243,7 +243,7 @@ var ErrorCode;
|
|
|
243
243
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
244
244
|
})(ErrorCode || (ErrorCode = {}));
|
|
245
245
|
|
|
246
|
-
// bazel-out/
|
|
246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
247
247
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
248
248
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
249
249
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -254,10 +254,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
254
254
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
255
255
|
]);
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
258
258
|
import ts2 from "typescript";
|
|
259
259
|
|
|
260
|
-
// bazel-out/
|
|
260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
261
261
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
262
262
|
function replaceTsWithNgInErrors(errors) {
|
|
263
263
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -266,7 +266,7 @@ function ngErrorCode(code) {
|
|
|
266
266
|
return parseInt("-99" + code);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
270
270
|
var FatalDiagnosticError = class {
|
|
271
271
|
constructor(code, node, message, relatedInformation) {
|
|
272
272
|
this.code = code;
|
|
@@ -314,17 +314,17 @@ function isFatalDiagnosticError(err) {
|
|
|
314
314
|
return err._isFatalDiagnosticError === true;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
// bazel-out/
|
|
317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
318
318
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
321
321
|
var ExtendedTemplateDiagnosticName;
|
|
322
322
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
323
323
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
324
324
|
ExtendedTemplateDiagnosticName2["NULLISH_COALESCING_NOT_NULLABLE"] = "nullishCoalescingNotNullable";
|
|
325
325
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
326
326
|
|
|
327
|
-
// bazel-out/
|
|
327
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
328
328
|
function findExportedNameOfNode(target, file, reflector) {
|
|
329
329
|
const exports = reflector.getExportsOfModule(file);
|
|
330
330
|
if (exports === null) {
|
|
@@ -344,7 +344,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
344
344
|
return foundExportName;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
// bazel-out/
|
|
347
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
348
348
|
var ImportFlags;
|
|
349
349
|
(function(ImportFlags2) {
|
|
350
350
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -560,7 +560,7 @@ var UnifiedModulesStrategy = class {
|
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
|
|
563
|
-
// bazel-out/
|
|
563
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
564
564
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
565
565
|
var UnifiedModulesAliasingHost = class {
|
|
566
566
|
constructor(unifiedModulesHost) {
|
|
@@ -627,7 +627,7 @@ var AliasStrategy = class {
|
|
|
627
627
|
}
|
|
628
628
|
};
|
|
629
629
|
|
|
630
|
-
// bazel-out/
|
|
630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
631
631
|
function relativePathBetween(from, to) {
|
|
632
632
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
633
633
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -636,7 +636,7 @@ function normalizeSeparators(path) {
|
|
|
636
636
|
return path.replace(/\\/g, "/");
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
-
// bazel-out/
|
|
639
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
640
640
|
var NoopImportRewriter = class {
|
|
641
641
|
shouldImportSymbol(symbol, specifier) {
|
|
642
642
|
return true;
|
|
@@ -694,7 +694,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
694
694
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
// bazel-out/
|
|
697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
698
698
|
import ts4 from "typescript";
|
|
699
699
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
700
700
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -739,7 +739,7 @@ var DefaultImportTracker = class {
|
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
|
|
742
|
-
// bazel-out/
|
|
742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
743
743
|
var ModuleResolver = class {
|
|
744
744
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
745
745
|
this.program = program;
|
|
@@ -756,7 +756,7 @@ var ModuleResolver = class {
|
|
|
756
756
|
}
|
|
757
757
|
};
|
|
758
758
|
|
|
759
|
-
// bazel-out/
|
|
759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
760
760
|
var Context = class {
|
|
761
761
|
constructor(isStatement) {
|
|
762
762
|
this.isStatement = isStatement;
|
|
@@ -769,7 +769,7 @@ var Context = class {
|
|
|
769
769
|
}
|
|
770
770
|
};
|
|
771
771
|
|
|
772
|
-
// bazel-out/
|
|
772
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
773
773
|
import * as o from "@angular/compiler";
|
|
774
774
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
775
775
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -993,7 +993,7 @@ function createRange(span) {
|
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
995
|
|
|
996
|
-
// bazel-out/
|
|
996
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
997
997
|
import ts5 from "typescript";
|
|
998
998
|
var ImportManager = class {
|
|
999
999
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1029,7 +1029,7 @@ var ImportManager = class {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
};
|
|
1031
1031
|
|
|
1032
|
-
// bazel-out/
|
|
1032
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1033
1033
|
import * as o2 from "@angular/compiler";
|
|
1034
1034
|
import ts6 from "typescript";
|
|
1035
1035
|
function translateType(type, imports) {
|
|
@@ -1200,7 +1200,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
};
|
|
1202
1202
|
|
|
1203
|
-
// bazel-out/
|
|
1203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1204
1204
|
import ts7 from "typescript";
|
|
1205
1205
|
var PureAnnotation;
|
|
1206
1206
|
(function(PureAnnotation2) {
|
|
@@ -1372,7 +1372,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
|
-
// bazel-out/
|
|
1375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1376
1376
|
function translateExpression(expression, imports, options = {}) {
|
|
1377
1377
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1378
1378
|
}
|
|
@@ -1441,4 +1441,4 @@ export {
|
|
|
1441
1441
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1442
1442
|
* found in the LICENSE file at https://angular.io/license
|
|
1443
1443
|
*/
|
|
1444
|
-
//# sourceMappingURL=chunk-
|
|
1444
|
+
//# sourceMappingURL=chunk-QMGQEVL2.js.map
|
|
File without changes
|