@angular/compiler-cli 13.0.3 → 13.1.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-4EDYFHXN.js +681 -0
- package/bundles/chunk-4EDYFHXN.js.map +6 -0
- package/bundles/chunk-7HBAJSZA.js +5106 -0
- package/bundles/chunk-7HBAJSZA.js.map +6 -0
- package/bundles/chunk-7HVF6UHR.js +380 -0
- package/bundles/chunk-7HVF6UHR.js.map +6 -0
- package/bundles/chunk-COAETSNP.js +7531 -0
- package/bundles/chunk-COAETSNP.js.map +6 -0
- package/bundles/chunk-EP5JHXG2.js +448 -0
- package/bundles/chunk-EP5JHXG2.js.map +6 -0
- package/bundles/chunk-GLCRIILX.js +206 -0
- package/bundles/chunk-GLCRIILX.js.map +6 -0
- package/bundles/chunk-HDZS2JG2.js +1265 -0
- package/bundles/chunk-HDZS2JG2.js.map +6 -0
- package/bundles/chunk-IESRH26X.js +5684 -0
- package/bundles/chunk-IESRH26X.js.map +6 -0
- package/bundles/chunk-JJMLEEKA.js +382 -0
- package/bundles/chunk-JJMLEEKA.js.map +6 -0
- package/bundles/chunk-MFCLQBFK.js +968 -0
- package/bundles/chunk-MFCLQBFK.js.map +6 -0
- package/bundles/chunk-QDWL7SZJ.js +29 -0
- package/bundles/chunk-QDWL7SZJ.js.map +6 -0
- package/bundles/chunk-QL6ZC3U3.js +424 -0
- package/bundles/chunk-QL6ZC3U3.js.map +6 -0
- package/bundles/chunk-SKBLJA43.js +56 -0
- package/bundles/chunk-SKBLJA43.js.map +6 -0
- package/bundles/chunk-UIKTHF6Z.js +2177 -0
- package/bundles/chunk-UIKTHF6Z.js.map +6 -0
- package/bundles/chunk-UMUIU7TE.js +116 -0
- package/bundles/chunk-UMUIU7TE.js.map +6 -0
- package/bundles/chunk-XA5IZLLC.js +68 -0
- package/bundles/chunk-XA5IZLLC.js.map +6 -0
- package/bundles/index.js +67 -20229
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +17 -1980
- package/bundles/linker/babel/index.js.map +2 -2
- package/bundles/linker/index.js +12 -1833
- package/bundles/linker/index.js.map +2 -2
- package/bundles/ngcc/index.js +24 -16040
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +16 -16124
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +27 -13782
- 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 +10 -309
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +2 -2
- package/bundles/private/bazel.js +4 -81
- package/bundles/private/bazel.js.map +2 -2
- package/bundles/private/localize.js +27 -870
- package/bundles/private/localize.js.map +2 -2
- package/bundles/private/migrations.js +13 -2178
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +7 -931
- package/bundles/private/tooling.js.map +2 -2
- package/bundles/src/bin/ng_xi18n.js +20 -20378
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +15 -20392
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/index.d.ts +0 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/core/src/host.d.ts +2 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +2 -1
- package/src/ngtsc/reflection/src/host.d.ts +1 -1
- package/src/ngtsc/util/src/typescript.d.ts +10 -0
- package/src/transformers/compiler_host.d.ts +1 -97
- package/src/transformers/program.d.ts +0 -19
- package/src/transformers/util.d.ts +1 -18
- package/src/{diagnostics/typescript_version.d.ts → version_helpers.d.ts} +1 -1
- package/src/diagnostics/translate_diagnostics.d.ts +0 -18
- package/src/language_services.d.ts +0 -11
- package/src/metadata/bundle_index_host.d.ts +0 -16
- package/src/metadata/bundler.d.ts +0 -66
- package/src/metadata/collector.d.ts +0 -44
- package/src/metadata/evaluator.d.ts +0 -58
- package/src/metadata/index.d.ts +0 -11
- package/src/metadata/index_writer.d.ts +0 -10
- package/src/metadata/schema.d.ts +0 -182
- package/src/metadata/symbols.d.ts +0 -22
- package/src/transformers/inline_resources.d.ts +0 -26
- package/src/transformers/lower_expressions.d.ts +0 -30
- package/src/transformers/metadata_cache.d.ts +0 -27
- package/src/transformers/metadata_reader.d.ts +0 -19
- package/src/transformers/node_emitter.d.ts +0 -105
- package/src/transformers/node_emitter_transform.d.ts +0 -19
- package/src/transformers/r3_metadata_transform.d.ts +0 -16
- package/src/transformers/r3_transform.d.ts +0 -16
|
@@ -3,326 +3,27 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
7
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
8
|
-
}) : x)(function(x) {
|
|
9
|
-
if (typeof require !== "undefined")
|
|
10
|
-
return require.apply(this, arguments);
|
|
11
|
-
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
15
6
|
import {
|
|
16
|
-
|
|
17
|
-
} from "
|
|
18
|
-
import ts from "typescript";
|
|
19
|
-
|
|
20
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
21
|
-
var InvalidFileSystem = class {
|
|
22
|
-
exists(path) {
|
|
23
|
-
throw makeError();
|
|
24
|
-
}
|
|
25
|
-
readFile(path) {
|
|
26
|
-
throw makeError();
|
|
27
|
-
}
|
|
28
|
-
readFileBuffer(path) {
|
|
29
|
-
throw makeError();
|
|
30
|
-
}
|
|
31
|
-
writeFile(path, data, exclusive) {
|
|
32
|
-
throw makeError();
|
|
33
|
-
}
|
|
34
|
-
removeFile(path) {
|
|
35
|
-
throw makeError();
|
|
36
|
-
}
|
|
37
|
-
symlink(target, path) {
|
|
38
|
-
throw makeError();
|
|
39
|
-
}
|
|
40
|
-
readdir(path) {
|
|
41
|
-
throw makeError();
|
|
42
|
-
}
|
|
43
|
-
lstat(path) {
|
|
44
|
-
throw makeError();
|
|
45
|
-
}
|
|
46
|
-
stat(path) {
|
|
47
|
-
throw makeError();
|
|
48
|
-
}
|
|
49
|
-
pwd() {
|
|
50
|
-
throw makeError();
|
|
51
|
-
}
|
|
52
|
-
chdir(path) {
|
|
53
|
-
throw makeError();
|
|
54
|
-
}
|
|
55
|
-
extname(path) {
|
|
56
|
-
throw makeError();
|
|
57
|
-
}
|
|
58
|
-
copyFile(from, to) {
|
|
59
|
-
throw makeError();
|
|
60
|
-
}
|
|
61
|
-
moveFile(from, to) {
|
|
62
|
-
throw makeError();
|
|
63
|
-
}
|
|
64
|
-
ensureDir(path) {
|
|
65
|
-
throw makeError();
|
|
66
|
-
}
|
|
67
|
-
removeDeep(path) {
|
|
68
|
-
throw makeError();
|
|
69
|
-
}
|
|
70
|
-
isCaseSensitive() {
|
|
71
|
-
throw makeError();
|
|
72
|
-
}
|
|
73
|
-
resolve(...paths) {
|
|
74
|
-
throw makeError();
|
|
75
|
-
}
|
|
76
|
-
dirname(file) {
|
|
77
|
-
throw makeError();
|
|
78
|
-
}
|
|
79
|
-
join(basePath, ...paths) {
|
|
80
|
-
throw makeError();
|
|
81
|
-
}
|
|
82
|
-
isRoot(path) {
|
|
83
|
-
throw makeError();
|
|
84
|
-
}
|
|
85
|
-
isRooted(path) {
|
|
86
|
-
throw makeError();
|
|
87
|
-
}
|
|
88
|
-
relative(from, to) {
|
|
89
|
-
throw makeError();
|
|
90
|
-
}
|
|
91
|
-
basename(filePath, extension) {
|
|
92
|
-
throw makeError();
|
|
93
|
-
}
|
|
94
|
-
realpath(filePath) {
|
|
95
|
-
throw makeError();
|
|
96
|
-
}
|
|
97
|
-
getDefaultLibLocation() {
|
|
98
|
-
throw makeError();
|
|
99
|
-
}
|
|
100
|
-
normalize(path) {
|
|
101
|
-
throw makeError();
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
function makeError() {
|
|
105
|
-
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
109
|
-
var fs = new InvalidFileSystem();
|
|
110
|
-
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
111
|
-
|
|
112
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
7
|
+
removeLockFile
|
|
8
|
+
} from "../../../../chunk-QDWL7SZJ.js";
|
|
113
9
|
import {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
lstatSync,
|
|
117
|
-
mkdirSync,
|
|
118
|
-
readFileSync,
|
|
119
|
-
readdirSync,
|
|
120
|
-
realpathSync,
|
|
121
|
-
renameSync,
|
|
122
|
-
rmdirSync,
|
|
123
|
-
statSync,
|
|
124
|
-
symlinkSync,
|
|
125
|
-
unlinkSync,
|
|
126
|
-
writeFileSync
|
|
127
|
-
} from "fs";
|
|
128
|
-
import module from "module";
|
|
10
|
+
ConsoleLogger
|
|
11
|
+
} from "../../../../chunk-SKBLJA43.js";
|
|
129
12
|
import {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
isAbsolute,
|
|
134
|
-
join,
|
|
135
|
-
relative as relative2,
|
|
136
|
-
resolve as resolve2
|
|
137
|
-
} from "path";
|
|
138
|
-
import { fileURLToPath } from "url";
|
|
139
|
-
var NodeJSPathManipulation = class {
|
|
140
|
-
pwd() {
|
|
141
|
-
return this.normalize(process.cwd());
|
|
142
|
-
}
|
|
143
|
-
chdir(dir) {
|
|
144
|
-
process.chdir(dir);
|
|
145
|
-
}
|
|
146
|
-
resolve(...paths) {
|
|
147
|
-
return this.normalize(resolve2(...paths));
|
|
148
|
-
}
|
|
149
|
-
dirname(file) {
|
|
150
|
-
return this.normalize(dirname2(file));
|
|
151
|
-
}
|
|
152
|
-
join(basePath, ...paths) {
|
|
153
|
-
return this.normalize(join(basePath, ...paths));
|
|
154
|
-
}
|
|
155
|
-
isRoot(path) {
|
|
156
|
-
return this.dirname(path) === this.normalize(path);
|
|
157
|
-
}
|
|
158
|
-
isRooted(path) {
|
|
159
|
-
return isAbsolute(path);
|
|
160
|
-
}
|
|
161
|
-
relative(from, to) {
|
|
162
|
-
return this.normalize(relative2(from, to));
|
|
163
|
-
}
|
|
164
|
-
basename(filePath, extension) {
|
|
165
|
-
return basename(filePath, extension);
|
|
166
|
-
}
|
|
167
|
-
extname(path) {
|
|
168
|
-
return extname(path);
|
|
169
|
-
}
|
|
170
|
-
normalize(path) {
|
|
171
|
-
return path.replace(/\\/g, "/");
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
var isCommonJS = typeof __filename !== "undefined";
|
|
175
|
-
var currentFileUrl = isCommonJS ? null : __ESM_IMPORT_META_URL__;
|
|
176
|
-
var currentFileName = isCommonJS ? __filename : fileURLToPath(currentFileUrl);
|
|
177
|
-
var NodeJSReadonlyFileSystem = class extends NodeJSPathManipulation {
|
|
178
|
-
constructor() {
|
|
179
|
-
super(...arguments);
|
|
180
|
-
this._caseSensitive = void 0;
|
|
181
|
-
}
|
|
182
|
-
isCaseSensitive() {
|
|
183
|
-
if (this._caseSensitive === void 0) {
|
|
184
|
-
this._caseSensitive = !existsSync(this.normalize(toggleCase(currentFileName)));
|
|
185
|
-
}
|
|
186
|
-
return this._caseSensitive;
|
|
187
|
-
}
|
|
188
|
-
exists(path) {
|
|
189
|
-
return existsSync(path);
|
|
190
|
-
}
|
|
191
|
-
readFile(path) {
|
|
192
|
-
return readFileSync(path, "utf8");
|
|
193
|
-
}
|
|
194
|
-
readFileBuffer(path) {
|
|
195
|
-
return readFileSync(path);
|
|
196
|
-
}
|
|
197
|
-
readdir(path) {
|
|
198
|
-
return readdirSync(path);
|
|
199
|
-
}
|
|
200
|
-
lstat(path) {
|
|
201
|
-
return lstatSync(path);
|
|
202
|
-
}
|
|
203
|
-
stat(path) {
|
|
204
|
-
return statSync(path);
|
|
205
|
-
}
|
|
206
|
-
realpath(path) {
|
|
207
|
-
return this.resolve(realpathSync(path));
|
|
208
|
-
}
|
|
209
|
-
getDefaultLibLocation() {
|
|
210
|
-
const requireFn = isCommonJS ? __require : module.createRequire(currentFileUrl);
|
|
211
|
-
return this.resolve(requireFn.resolve("typescript"), "..");
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
var NodeJSFileSystem = class extends NodeJSReadonlyFileSystem {
|
|
215
|
-
writeFile(path, data, exclusive = false) {
|
|
216
|
-
writeFileSync(path, data, exclusive ? { flag: "wx" } : void 0);
|
|
217
|
-
}
|
|
218
|
-
removeFile(path) {
|
|
219
|
-
unlinkSync(path);
|
|
220
|
-
}
|
|
221
|
-
symlink(target, path) {
|
|
222
|
-
symlinkSync(target, path);
|
|
223
|
-
}
|
|
224
|
-
copyFile(from, to) {
|
|
225
|
-
copyFileSync(from, to);
|
|
226
|
-
}
|
|
227
|
-
moveFile(from, to) {
|
|
228
|
-
renameSync(from, to);
|
|
229
|
-
}
|
|
230
|
-
ensureDir(path) {
|
|
231
|
-
const parents = [];
|
|
232
|
-
while (!this.isRoot(path) && !this.exists(path)) {
|
|
233
|
-
parents.push(path);
|
|
234
|
-
path = this.dirname(path);
|
|
235
|
-
}
|
|
236
|
-
while (parents.length) {
|
|
237
|
-
this.safeMkdir(parents.pop());
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
removeDeep(path) {
|
|
241
|
-
rmdirSync(path, { recursive: true });
|
|
242
|
-
}
|
|
243
|
-
safeMkdir(path) {
|
|
244
|
-
try {
|
|
245
|
-
mkdirSync(path);
|
|
246
|
-
} catch (err) {
|
|
247
|
-
if (!this.exists(path) || !this.stat(path).isDirectory()) {
|
|
248
|
-
throw err;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
};
|
|
253
|
-
function toggleCase(str) {
|
|
254
|
-
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
258
|
-
var LogLevel;
|
|
259
|
-
(function(LogLevel2) {
|
|
260
|
-
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
261
|
-
LogLevel2[LogLevel2["info"] = 1] = "info";
|
|
262
|
-
LogLevel2[LogLevel2["warn"] = 2] = "warn";
|
|
263
|
-
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
264
|
-
})(LogLevel || (LogLevel = {}));
|
|
265
|
-
|
|
266
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
267
|
-
var RESET = "[0m";
|
|
268
|
-
var RED = "[31m";
|
|
269
|
-
var YELLOW = "[33m";
|
|
270
|
-
var BLUE = "[36m";
|
|
271
|
-
var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
272
|
-
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
273
|
-
var ERROR = `${RED}Error:${RESET}`;
|
|
274
|
-
var ConsoleLogger = class {
|
|
275
|
-
constructor(level) {
|
|
276
|
-
this.level = level;
|
|
277
|
-
}
|
|
278
|
-
debug(...args) {
|
|
279
|
-
if (this.level <= LogLevel.debug)
|
|
280
|
-
console.debug(DEBUG, ...args);
|
|
281
|
-
}
|
|
282
|
-
info(...args) {
|
|
283
|
-
if (this.level <= LogLevel.info)
|
|
284
|
-
console.info(...args);
|
|
285
|
-
}
|
|
286
|
-
warn(...args) {
|
|
287
|
-
if (this.level <= LogLevel.warn)
|
|
288
|
-
console.warn(WARN, ...args);
|
|
289
|
-
}
|
|
290
|
-
error(...args) {
|
|
291
|
-
if (this.level <= LogLevel.error)
|
|
292
|
-
console.error(ERROR, ...args);
|
|
293
|
-
}
|
|
294
|
-
};
|
|
295
|
-
|
|
296
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
297
|
-
function removeLockFile(fs4, logger2, lockFilePath2, pid) {
|
|
298
|
-
try {
|
|
299
|
-
logger2.debug(`Attempting to remove lock-file at ${lockFilePath2}.`);
|
|
300
|
-
const lockFilePid = fs4.readFile(lockFilePath2);
|
|
301
|
-
if (lockFilePid === pid) {
|
|
302
|
-
logger2.debug(`PIDs match (${pid}), so removing ${lockFilePath2}.`);
|
|
303
|
-
fs4.removeFile(lockFilePath2);
|
|
304
|
-
} else {
|
|
305
|
-
logger2.debug(`PIDs do not match (${pid} and ${lockFilePid}), so not removing ${lockFilePath2}.`);
|
|
306
|
-
}
|
|
307
|
-
} catch (e) {
|
|
308
|
-
if (e.code === "ENOENT") {
|
|
309
|
-
logger2.debug(`The lock-file at ${lockFilePath2} was already removed.`);
|
|
310
|
-
} else {
|
|
311
|
-
throw e;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
13
|
+
NodeJSFileSystem
|
|
14
|
+
} from "../../../../chunk-EP5JHXG2.js";
|
|
15
|
+
import "../../../../chunk-XA5IZLLC.js";
|
|
315
16
|
|
|
316
17
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.mjs
|
|
317
|
-
var
|
|
18
|
+
var fs = new NodeJSFileSystem();
|
|
318
19
|
var logLevel = parseInt(process.argv.pop(), 10);
|
|
319
20
|
var logger = new ConsoleLogger(logLevel);
|
|
320
21
|
var ppid = process.ppid.toString();
|
|
321
|
-
var lockFilePath =
|
|
22
|
+
var lockFilePath = fs.resolve(process.argv.pop());
|
|
322
23
|
logger.debug(`Starting unlocker at process ${process.pid} on behalf of process ${ppid}`);
|
|
323
24
|
logger.debug(`The lock-file path is ${lockFilePath}`);
|
|
324
25
|
process.on("disconnect", () => {
|
|
325
|
-
removeLockFile(
|
|
26
|
+
removeLockFile(fs, logger, lockFilePath, ppid);
|
|
326
27
|
});
|
|
327
28
|
/**
|
|
328
29
|
* @license
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../../../../packages/compiler-cli/
|
|
4
|
-
"mappings": "
|
|
3
|
+
"sources": ["../../../../../../../../../../packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA,AAkBA,IAAM,KAAK,IAAI;AAIf,IAAM,WAAW,SAAS,QAAQ,KAAK,OAAQ;AAC/C,IAAM,SAAS,IAAI,cAAc;AAGjC,IAAM,OAAO,QAAQ,KAAK;AAG1B,IAAM,eAAe,GAAG,QAAQ,QAAQ,KAAK;AAE7C,OAAO,MAAM,gCAAgC,QAAQ,4BAA4B;AACjF,OAAO,MAAM,yBAAyB;AAMtC,QAAQ,GAAG,cAAc,MAAK;AAC5B,iBAAe,IAAI,QAAQ,cAAc;;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/bundles/private/bazel.js
CHANGED
|
@@ -3,87 +3,10 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
PerfPhase2[PerfPhase2["Setup"] = 1] = "Setup";
|
|
11
|
-
PerfPhase2[PerfPhase2["TypeScriptProgramCreate"] = 2] = "TypeScriptProgramCreate";
|
|
12
|
-
PerfPhase2[PerfPhase2["Reconciliation"] = 3] = "Reconciliation";
|
|
13
|
-
PerfPhase2[PerfPhase2["ResourceUpdate"] = 4] = "ResourceUpdate";
|
|
14
|
-
PerfPhase2[PerfPhase2["TypeScriptDiagnostics"] = 5] = "TypeScriptDiagnostics";
|
|
15
|
-
PerfPhase2[PerfPhase2["Analysis"] = 6] = "Analysis";
|
|
16
|
-
PerfPhase2[PerfPhase2["Resolve"] = 7] = "Resolve";
|
|
17
|
-
PerfPhase2[PerfPhase2["CycleDetection"] = 8] = "CycleDetection";
|
|
18
|
-
PerfPhase2[PerfPhase2["TcbGeneration"] = 9] = "TcbGeneration";
|
|
19
|
-
PerfPhase2[PerfPhase2["TcbUpdateProgram"] = 10] = "TcbUpdateProgram";
|
|
20
|
-
PerfPhase2[PerfPhase2["TypeScriptEmit"] = 11] = "TypeScriptEmit";
|
|
21
|
-
PerfPhase2[PerfPhase2["Compile"] = 12] = "Compile";
|
|
22
|
-
PerfPhase2[PerfPhase2["TtcAutocompletion"] = 13] = "TtcAutocompletion";
|
|
23
|
-
PerfPhase2[PerfPhase2["TtcDiagnostics"] = 14] = "TtcDiagnostics";
|
|
24
|
-
PerfPhase2[PerfPhase2["TtcSymbol"] = 15] = "TtcSymbol";
|
|
25
|
-
PerfPhase2[PerfPhase2["LsReferencesAndRenames"] = 16] = "LsReferencesAndRenames";
|
|
26
|
-
PerfPhase2[PerfPhase2["LsQuickInfo"] = 17] = "LsQuickInfo";
|
|
27
|
-
PerfPhase2[PerfPhase2["LsDefinition"] = 18] = "LsDefinition";
|
|
28
|
-
PerfPhase2[PerfPhase2["LsCompletions"] = 19] = "LsCompletions";
|
|
29
|
-
PerfPhase2[PerfPhase2["LsTcb"] = 20] = "LsTcb";
|
|
30
|
-
PerfPhase2[PerfPhase2["LsDiagnostics"] = 21] = "LsDiagnostics";
|
|
31
|
-
PerfPhase2[PerfPhase2["LsComponentLocations"] = 22] = "LsComponentLocations";
|
|
32
|
-
PerfPhase2[PerfPhase2["LsSignatureHelp"] = 23] = "LsSignatureHelp";
|
|
33
|
-
PerfPhase2[PerfPhase2["LAST"] = 24] = "LAST";
|
|
34
|
-
})(PerfPhase || (PerfPhase = {}));
|
|
35
|
-
var PerfEvent;
|
|
36
|
-
(function(PerfEvent2) {
|
|
37
|
-
PerfEvent2[PerfEvent2["InputDtsFile"] = 0] = "InputDtsFile";
|
|
38
|
-
PerfEvent2[PerfEvent2["InputTsFile"] = 1] = "InputTsFile";
|
|
39
|
-
PerfEvent2[PerfEvent2["AnalyzeComponent"] = 2] = "AnalyzeComponent";
|
|
40
|
-
PerfEvent2[PerfEvent2["AnalyzeDirective"] = 3] = "AnalyzeDirective";
|
|
41
|
-
PerfEvent2[PerfEvent2["AnalyzeInjectable"] = 4] = "AnalyzeInjectable";
|
|
42
|
-
PerfEvent2[PerfEvent2["AnalyzeNgModule"] = 5] = "AnalyzeNgModule";
|
|
43
|
-
PerfEvent2[PerfEvent2["AnalyzePipe"] = 6] = "AnalyzePipe";
|
|
44
|
-
PerfEvent2[PerfEvent2["TraitAnalyze"] = 7] = "TraitAnalyze";
|
|
45
|
-
PerfEvent2[PerfEvent2["TraitReuseAnalysis"] = 8] = "TraitReuseAnalysis";
|
|
46
|
-
PerfEvent2[PerfEvent2["SourceFilePhysicalChange"] = 9] = "SourceFilePhysicalChange";
|
|
47
|
-
PerfEvent2[PerfEvent2["SourceFileLogicalChange"] = 10] = "SourceFileLogicalChange";
|
|
48
|
-
PerfEvent2[PerfEvent2["SourceFileReuseAnalysis"] = 11] = "SourceFileReuseAnalysis";
|
|
49
|
-
PerfEvent2[PerfEvent2["GenerateTcb"] = 12] = "GenerateTcb";
|
|
50
|
-
PerfEvent2[PerfEvent2["SkipGenerateTcbNoInline"] = 13] = "SkipGenerateTcbNoInline";
|
|
51
|
-
PerfEvent2[PerfEvent2["ReuseTypeCheckFile"] = 14] = "ReuseTypeCheckFile";
|
|
52
|
-
PerfEvent2[PerfEvent2["UpdateTypeCheckProgram"] = 15] = "UpdateTypeCheckProgram";
|
|
53
|
-
PerfEvent2[PerfEvent2["EmitSkipSourceFile"] = 16] = "EmitSkipSourceFile";
|
|
54
|
-
PerfEvent2[PerfEvent2["EmitSourceFile"] = 17] = "EmitSourceFile";
|
|
55
|
-
PerfEvent2[PerfEvent2["LAST"] = 18] = "LAST";
|
|
56
|
-
})(PerfEvent || (PerfEvent = {}));
|
|
57
|
-
var PerfCheckpoint;
|
|
58
|
-
(function(PerfCheckpoint2) {
|
|
59
|
-
PerfCheckpoint2[PerfCheckpoint2["Initial"] = 0] = "Initial";
|
|
60
|
-
PerfCheckpoint2[PerfCheckpoint2["TypeScriptProgramCreate"] = 1] = "TypeScriptProgramCreate";
|
|
61
|
-
PerfCheckpoint2[PerfCheckpoint2["PreAnalysis"] = 2] = "PreAnalysis";
|
|
62
|
-
PerfCheckpoint2[PerfCheckpoint2["Analysis"] = 3] = "Analysis";
|
|
63
|
-
PerfCheckpoint2[PerfCheckpoint2["Resolve"] = 4] = "Resolve";
|
|
64
|
-
PerfCheckpoint2[PerfCheckpoint2["TtcGeneration"] = 5] = "TtcGeneration";
|
|
65
|
-
PerfCheckpoint2[PerfCheckpoint2["TtcUpdateProgram"] = 6] = "TtcUpdateProgram";
|
|
66
|
-
PerfCheckpoint2[PerfCheckpoint2["PreEmit"] = 7] = "PreEmit";
|
|
67
|
-
PerfCheckpoint2[PerfCheckpoint2["Emit"] = 8] = "Emit";
|
|
68
|
-
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
69
|
-
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
70
|
-
|
|
71
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
72
|
-
var NoopPerfRecorder = class {
|
|
73
|
-
eventCount() {
|
|
74
|
-
}
|
|
75
|
-
memory() {
|
|
76
|
-
}
|
|
77
|
-
phase() {
|
|
78
|
-
return PerfPhase.Unaccounted;
|
|
79
|
-
}
|
|
80
|
-
inPhase(phase, fn) {
|
|
81
|
-
return fn();
|
|
82
|
-
}
|
|
83
|
-
reset() {
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6
|
+
import {
|
|
7
|
+
PerfPhase
|
|
8
|
+
} from "../chunk-GLCRIILX.js";
|
|
9
|
+
import "../chunk-XA5IZLLC.js";
|
|
87
10
|
export {
|
|
88
11
|
PerfPhase
|
|
89
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../packages/compiler-cli/
|
|
4
|
-
"mappings": "
|
|
3
|
+
"sources": ["../../../../../../../packages/compiler-cli/private/bazel.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;AAAA",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|