@angular/core 19.2.5 → 19.2.6

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.
Files changed (48) hide show
  1. package/{event_dispatcher.d-PWnbqZDx.d.ts → event_dispatcher.d-DlbccpYq.d.ts} +3 -3
  2. package/fesm2022/core.mjs +9 -6
  3. package/fesm2022/core.mjs.map +1 -1
  4. package/fesm2022/primitives/di.mjs +1 -1
  5. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  6. package/fesm2022/primitives/signals.mjs +3 -3
  7. package/fesm2022/rxjs-interop.mjs +2 -2
  8. package/fesm2022/rxjs-interop.mjs.map +1 -1
  9. package/fesm2022/testing.mjs +148 -97
  10. package/fesm2022/testing.mjs.map +1 -1
  11. package/fesm2022/{untracked-CS7WUAzb.mjs → untracked-BKcld_ew.mjs} +3 -3
  12. package/fesm2022/{untracked-CS7WUAzb.mjs.map → untracked-BKcld_ew.mjs.map} +1 -1
  13. package/index.d.ts +6 -5
  14. package/{navigation_types.d-Lh6SmhKv.d.ts → navigation_types.d-fAxd92YV.d.ts} +3 -3
  15. package/package.json +1 -1
  16. package/primitives/di/index.d.ts +1 -1
  17. package/primitives/event-dispatch/index.d.ts +3 -3
  18. package/primitives/signals/index.d.ts +3 -3
  19. package/rxjs-interop/index.d.ts +2 -2
  20. package/schematics/bundles/{apply_import_manager-CTrezOPF.js → apply_import_manager-DFADpdFu.js} +3 -3
  21. package/schematics/bundles/{checker-CQvNmpT3.js → checker-DoX_7XCa.js} +7 -8
  22. package/schematics/bundles/cleanup-unused-imports.js +42 -64
  23. package/schematics/bundles/{compiler_host-IULKT7OF.js → compiler_host-BUKEE1cA.js} +2 -2
  24. package/schematics/bundles/control-flow-migration.js +3 -3
  25. package/schematics/bundles/explicit-standalone-flag.js +3 -3
  26. package/schematics/bundles/imports-CIX-JgAN.js +1 -1
  27. package/schematics/bundles/{program-XYcLSXb1.js → index-B4b0V0Vo.js} +36 -12
  28. package/schematics/bundles/{index-BKWl7N44.js → index-CpZKzrqM.js} +6 -6
  29. package/schematics/bundles/inject-migration.js +3 -3
  30. package/schematics/bundles/leading_space-D9nQ8UQC.js +1 -1
  31. package/schematics/bundles/{migrate_ts_type_references-CHRyhQvi.js → migrate_ts_type_references-DQVDid4G.js} +5 -5
  32. package/schematics/bundles/ng_decorators-DznZ5jMl.js +1 -1
  33. package/schematics/bundles/nodes-B16H9JUd.js +1 -1
  34. package/schematics/bundles/output-migration.js +108 -78
  35. package/schematics/bundles/pending-tasks.js +3 -3
  36. package/schematics/bundles/{project_paths-CTgTxqrW.js → project_paths-C3etOlgT.js} +88 -13
  37. package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.js +1 -1
  38. package/schematics/bundles/property_name-BBwFuqMe.js +1 -1
  39. package/schematics/bundles/provide-initializer.js +3 -3
  40. package/schematics/bundles/route-lazy-loading.js +3 -3
  41. package/schematics/bundles/self-closing-tags-migration.js +39 -64
  42. package/schematics/bundles/signal-input-migration.js +64 -87
  43. package/schematics/bundles/signal-queries-migration.js +69 -92
  44. package/schematics/bundles/signals.js +11 -11
  45. package/schematics/bundles/standalone-migration.js +5 -6
  46. package/testing/index.d.ts +5 -21
  47. package/{weak_ref.d-DOjz-6fK.d.ts → weak_ref.d-DWHPG08n.d.ts} +3 -3
  48. package/schematics/bundles/index-CH_G_p3D.js +0 -30
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.2.5
3
+ * @license Angular v19.2.6
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var schematics = require('@angular-devkit/schematics');
10
- var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js');
11
- var project_paths = require('./project_paths-CTgTxqrW.js');
12
- require('os');
9
+ var checker = require('./checker-DoX_7XCa.js');
13
10
  var ts = require('typescript');
14
- var checker = require('./checker-CQvNmpT3.js');
15
- var program = require('./program-XYcLSXb1.js');
11
+ require('os');
12
+ var index$1 = require('./index-B4b0V0Vo.js');
16
13
  require('path');
17
- var apply_import_manager = require('./apply_import_manager-CTrezOPF.js');
18
- var migrate_ts_type_references = require('./migrate_ts_type_references-CHRyhQvi.js');
14
+ var project_paths = require('./project_paths-C3etOlgT.js');
15
+ var apply_import_manager = require('./apply_import_manager-DFADpdFu.js');
16
+ var migrate_ts_type_references = require('./migrate_ts_type_references-DQVDid4G.js');
19
17
  var assert = require('assert');
20
- var index = require('./index-BKWl7N44.js');
18
+ var index = require('./index-CpZKzrqM.js');
21
19
  require('@angular-devkit/core');
22
20
  require('node:path/posix');
23
21
  require('fs');
24
22
  require('module');
25
23
  require('url');
24
+ require('@angular-devkit/schematics');
25
+ require('./project_tsconfig_paths-CDVxT6Ov.js');
26
26
  require('./leading_space-D9nQ8UQC.js');
27
27
 
28
28
  /**
@@ -738,10 +738,10 @@ class SignalQueriesMigration extends project_paths.TsurgeComplexMigration {
738
738
  if (templateTypeChecker !== null) {
739
739
  templateTypeChecker.generateAllTypeCheckBlocks();
740
740
  }
741
- const { sourceFiles, program: program$1 } = info;
742
- const checker$1 = program$1.getTypeChecker();
741
+ const { sourceFiles, program } = info;
742
+ const checker$1 = program.getTypeChecker();
743
743
  const reflector = new checker.TypeScriptReflectionHost(checker$1);
744
- const evaluator = new program.PartialEvaluator(reflector, checker$1, null);
744
+ const evaluator = new index$1.PartialEvaluator(reflector, checker$1, null);
745
745
  const res = {
746
746
  knownQueryFields: {},
747
747
  potentialProblematicQueries: {},
@@ -926,10 +926,10 @@ class SignalQueriesMigration extends project_paths.TsurgeComplexMigration {
926
926
  metaReader: null,
927
927
  };
928
928
  const resourceLoader = info.ngCompiler?.['resourceManager'] ?? null;
929
- const { program: program$1, sourceFiles } = info;
930
- const checker$1 = program$1.getTypeChecker();
929
+ const { program, sourceFiles } = info;
930
+ const checker$1 = program.getTypeChecker();
931
931
  const reflector = new checker.TypeScriptReflectionHost(checker$1);
932
- const evaluator = new program.PartialEvaluator(reflector, checker$1, null);
932
+ const evaluator = new index$1.PartialEvaluator(reflector, checker$1, null);
933
933
  const replacements = [];
934
934
  const importManager = new checker.ImportManager();
935
935
  const printer = ts.createPrinter();
@@ -1118,84 +1118,61 @@ function updateFileState(stateMap, node, queryType) {
1118
1118
 
1119
1119
  function migrate(options) {
1120
1120
  return async (tree, context) => {
1121
- const { buildPaths, testPaths } = await project_tsconfig_paths.getProjectTsConfigPaths(tree);
1122
- if (!buildPaths.length && !testPaths.length) {
1123
- throw new schematics.SchematicsException('Could not find any tsconfig file. Cannot run signal queries migration.');
1124
- }
1125
- const fs = new project_paths.DevkitMigrationFilesystem(tree);
1126
- checker.setFileSystem(fs);
1127
- const migration = new SignalQueriesMigration({
1128
- bestEffortMode: options.bestEffortMode,
1129
- insertTodosForSkippedFields: options.insertTodos,
1130
- shouldMigrateQuery: (_query, file) => {
1131
- return (file.rootRelativePath.startsWith(fs.normalize(options.path)) &&
1132
- !/(^|\/)node_modules\//.test(file.rootRelativePath));
1121
+ await project_paths.runMigrationInDevkit({
1122
+ tree,
1123
+ getMigration: (fs) => new SignalQueriesMigration({
1124
+ bestEffortMode: options.bestEffortMode,
1125
+ insertTodosForSkippedFields: options.insertTodos,
1126
+ shouldMigrateQuery: (_query, file) => {
1127
+ return (file.rootRelativePath.startsWith(fs.normalize(options.path)) &&
1128
+ !/(^|\/)node_modules\//.test(file.rootRelativePath));
1129
+ },
1130
+ }),
1131
+ beforeProgramCreation: (tsconfigPath, stage) => {
1132
+ if (stage === project_paths.MigrationStage.Analysis) {
1133
+ context.logger.info(`Preparing analysis for: ${tsconfigPath}...`);
1134
+ }
1135
+ else {
1136
+ context.logger.info(`Running migration for: ${tsconfigPath}...`);
1137
+ }
1133
1138
  },
1134
- });
1135
- const analysisPath = fs.resolve(options.analysisDir);
1136
- const unitResults = [];
1137
- const programInfos = [...buildPaths, ...testPaths].map((tsconfigPath) => {
1138
- context.logger.info(`Preparing analysis for: ${tsconfigPath}..`);
1139
- const baseInfo = migration.createProgram(tsconfigPath, fs);
1140
- const info = migration.prepareProgram(baseInfo);
1141
- // Support restricting the analysis to subfolders for larger projects.
1142
- if (analysisPath !== '/') {
1143
- info.sourceFiles = info.sourceFiles.filter((sf) => sf.fileName.startsWith(analysisPath));
1144
- info.fullProgramSourceFiles = info.fullProgramSourceFiles.filter((sf) => sf.fileName.startsWith(analysisPath));
1145
- }
1146
- return { info, tsconfigPath };
1147
- });
1148
- // Analyze phase. Treat all projects as compilation units as
1149
- // this allows us to support references between those.
1150
- for (const { info, tsconfigPath } of programInfos) {
1151
- context.logger.info(`Scanning for queries: ${tsconfigPath}..`);
1152
- unitResults.push(await migration.analyze(info));
1153
- }
1154
- context.logger.info(``);
1155
- context.logger.info(`Processing analysis data between targets..`);
1156
- context.logger.info(``);
1157
- const combined = await project_paths.synchronouslyCombineUnitData(migration, unitResults);
1158
- if (combined === null) {
1159
- context.logger.error('Migration failed unexpectedly with no analysis data');
1160
- return;
1161
- }
1162
- const globalMeta = await migration.globalMeta(combined);
1163
- const replacementsPerFile = new Map();
1164
- for (const { info, tsconfigPath } of programInfos) {
1165
- context.logger.info(`Migrating: ${tsconfigPath}..`);
1166
- const { replacements } = await migration.migrate(globalMeta, info);
1167
- const changesPerFile = project_paths.groupReplacementsByFile(replacements);
1168
- for (const [file, changes] of changesPerFile) {
1169
- if (!replacementsPerFile.has(file)) {
1170
- replacementsPerFile.set(file, changes);
1139
+ afterProgramCreation: (info, fs) => {
1140
+ const analysisPath = fs.resolve(options.analysisDir);
1141
+ // Support restricting the analysis to subfolders for larger projects.
1142
+ if (analysisPath !== '/') {
1143
+ info.sourceFiles = info.sourceFiles.filter((sf) => sf.fileName.startsWith(analysisPath));
1144
+ info.fullProgramSourceFiles = info.fullProgramSourceFiles.filter((sf) => sf.fileName.startsWith(analysisPath));
1171
1145
  }
1172
- }
1173
- }
1174
- context.logger.info(`Applying changes..`);
1175
- for (const [file, changes] of replacementsPerFile) {
1176
- const recorder = tree.beginUpdate(file);
1177
- for (const c of changes) {
1178
- recorder
1179
- .remove(c.data.position, c.data.end - c.data.position)
1180
- .insertLeft(c.data.position, c.data.toInsert);
1181
- }
1182
- tree.commitUpdate(recorder);
1183
- }
1184
- context.logger.info('');
1185
- context.logger.info(`Successfully migrated to signal queries 🎉`);
1186
- const { counters: { queriesCount, incompatibleQueries, multiQueries }, } = await migration.stats(globalMeta);
1187
- const migratedQueries = queriesCount - incompatibleQueries;
1188
- context.logger.info('');
1189
- context.logger.info(`Successfully migrated to signal queries 🎉`);
1190
- context.logger.info(` -> Migrated ${migratedQueries}/${queriesCount} queries.`);
1191
- if (incompatibleQueries > 0 && !options.insertTodos) {
1192
- context.logger.warn(`To see why ${incompatibleQueries} queries couldn't be migrated`);
1193
- context.logger.warn(`consider re-running with "--insert-todos" or "--best-effort-mode".`);
1194
- }
1195
- if (options.bestEffortMode) {
1196
- context.logger.warn(`You ran with best effort mode. Manually verify all code ` +
1197
- `works as intended, and fix where necessary.`);
1198
- }
1146
+ },
1147
+ beforeUnitAnalysis: (tsconfigPath) => {
1148
+ context.logger.info(`Scanning for queries: ${tsconfigPath}...`);
1149
+ },
1150
+ afterAnalysisFailure: () => {
1151
+ context.logger.error('Migration failed unexpectedly with no analysis data');
1152
+ },
1153
+ afterAllAnalyzed: () => {
1154
+ context.logger.info(``);
1155
+ context.logger.info(`Processing analysis data between targets...`);
1156
+ context.logger.info(``);
1157
+ },
1158
+ whenDone: ({ counters }) => {
1159
+ context.logger.info('');
1160
+ context.logger.info(`Successfully migrated to signal queries 🎉`);
1161
+ const { queriesCount, incompatibleQueries } = counters;
1162
+ const migratedQueries = queriesCount - incompatibleQueries;
1163
+ context.logger.info('');
1164
+ context.logger.info(`Successfully migrated to signal queries 🎉`);
1165
+ context.logger.info(` -> Migrated ${migratedQueries}/${queriesCount} queries.`);
1166
+ if (incompatibleQueries > 0 && !options.insertTodos) {
1167
+ context.logger.warn(`To see why ${incompatibleQueries} queries couldn't be migrated`);
1168
+ context.logger.warn(`consider re-running with "--insert-todos" or "--best-effort-mode".`);
1169
+ }
1170
+ if (options.bestEffortMode) {
1171
+ context.logger.warn(`You ran with best effort mode. Manually verify all code ` +
1172
+ `works as intended, and fix where necessary.`);
1173
+ }
1174
+ },
1175
+ });
1199
1176
  };
1200
1177
  }
1201
1178
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.2.5
3
+ * @license Angular v19.2.6
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,22 +10,22 @@ var schematics = require('@angular-devkit/schematics');
10
10
  var signalQueriesMigration = require('./signal-queries-migration.js');
11
11
  var signalInputMigration = require('./signal-input-migration.js');
12
12
  var outputMigration = require('./output-migration.js');
13
- require('./project_tsconfig_paths-CDVxT6Ov.js');
14
- require('@angular-devkit/core');
15
- require('./project_paths-CTgTxqrW.js');
16
- require('node:path/posix');
17
- require('os');
13
+ require('./checker-DoX_7XCa.js');
18
14
  require('typescript');
19
- require('./checker-CQvNmpT3.js');
15
+ require('os');
20
16
  require('fs');
21
17
  require('module');
22
18
  require('path');
23
19
  require('url');
24
- require('./program-XYcLSXb1.js');
25
- require('./apply_import_manager-CTrezOPF.js');
26
- require('./migrate_ts_type_references-CHRyhQvi.js');
20
+ require('./index-B4b0V0Vo.js');
21
+ require('./project_paths-C3etOlgT.js');
22
+ require('@angular-devkit/core');
23
+ require('node:path/posix');
24
+ require('./project_tsconfig_paths-CDVxT6Ov.js');
25
+ require('./apply_import_manager-DFADpdFu.js');
26
+ require('./migrate_ts_type_references-DQVDid4G.js');
27
27
  require('assert');
28
- require('./index-BKWl7N44.js');
28
+ require('./index-CpZKzrqM.js');
29
29
  require('./leading_space-D9nQ8UQC.js');
30
30
 
31
31
  function migrate(options) {
@@ -1,30 +1,29 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.2.5
3
+ * @license Angular v19.2.6
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
9
  var schematics = require('@angular-devkit/schematics');
10
- require('./index-CH_G_p3D.js');
10
+ var index = require('./index-B4b0V0Vo.js');
11
11
  var fs = require('fs');
12
12
  var p = require('path');
13
13
  var ts = require('typescript');
14
- var compiler_host = require('./compiler_host-IULKT7OF.js');
14
+ var compiler_host = require('./compiler_host-BUKEE1cA.js');
15
15
  var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js');
16
16
  var ng_decorators = require('./ng_decorators-DznZ5jMl.js');
17
17
  var nodes = require('./nodes-B16H9JUd.js');
18
18
  var imports = require('./imports-CIX-JgAN.js');
19
- var checker = require('./checker-CQvNmpT3.js');
19
+ var checker = require('./checker-DoX_7XCa.js');
20
20
  require('os');
21
- var program = require('./program-XYcLSXb1.js');
22
21
  require('@angular-devkit/core');
23
22
  require('module');
24
23
  require('url');
25
24
 
26
25
  function createProgram({ rootNames, options, host, oldProgram, }) {
27
- return new program.NgtscProgram(rootNames, options, host, oldProgram);
26
+ return new index.NgtscProgram(rootNames, options, host, oldProgram);
28
27
  }
29
28
 
30
29
  /** Checks whether a node is referring to a specific import specifier. */
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.6
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import { ɵDeferBlockDetails as _DeferBlockDetails, ɵDeferBlockState as _DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, ɵDeferBlockBehavior as _DeferBlockBehavior, InjectionToken, PlatformRef, Type, ProviderToken, InjectOptions, InjectFlags, NgModule, Component, Directive, Pipe } from '@angular/core';
8
8
  export { ɵDeferBlockBehavior as DeferBlockBehavior, ɵDeferBlockState as DeferBlockState } from '@angular/core';
9
- import { N as Navigation, a as NavigationHistoryEntry, b as NavigationNavigateOptions, c as NavigationResult, d as NavigationOptions, e as NavigateEvent, f as NavigationCurrentEntryChangeEvent, g as NavigationTransition, h as NavigationUpdateCurrentEntryOptions, i as NavigationReloadOptions } from '../navigation_types.d-Lh6SmhKv.js';
9
+ import { Navigation, NavigationHistoryEntry, NavigationNavigateOptions, NavigationResult, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions } from '../navigation_types.d-fAxd92YV.js';
10
10
 
11
11
  /**
12
12
  * Wraps a test function in an asynchronous test zone. The test will automatically
@@ -626,27 +626,11 @@ declare class FakeNavigation implements Navigation {
626
626
  dispose(): void;
627
627
  /** Returns whether this fake is disposed. */
628
628
  isDisposed(): boolean;
629
- /** Implementation for all navigations and traversals. */
630
- private userAgentNavigate;
631
629
  /**
632
- * Implementation for a push or replace navigation.
633
- * https://whatpr.org/html/10919/browsing-the-web.html#url-and-history-update-steps
634
- * https://whatpr.org/html/10919/nav-history-apis.html#update-the-navigation-api-entries-for-a-same-document-navigation
630
+ * Implementation for all navigations and traversals.
631
+ * @returns true if the event was intercepted, otherwise false
635
632
  */
636
- private urlAndHistoryUpdateSteps;
637
- /**
638
- * Implementation for a traverse navigation.
639
- *
640
- * https://whatpr.org/html/10919/browsing-the-web.html#apply-the-traverse-history-step
641
- * ...
642
- * > Let updateDocument be an algorithm step which performs update document for history step application given targetEntry's document, targetEntry, changingNavigableContinuation's update-only, scriptHistoryLength, scriptHistoryIndex, navigationType, entriesForNavigationAPI, and previousEntry.
643
- * > If targetEntry's document is equal to displayedDocument, then perform updateDocument.
644
- * https://whatpr.org/html/10919/browsing-the-web.html#update-document-for-history-step-application
645
- * which then goes to https://whatpr.org/html/10919/nav-history-apis.html#update-the-navigation-api-entries-for-a-same-document-navigation
646
- */
647
- private userAgentTraverse;
648
- /** https://whatpr.org/html/10919/nav-history-apis.html#update-the-navigation-api-entries-for-a-same-document-navigation */
649
- private updateNavigationEntriesForSameDocumentNavigation;
633
+ private userAgentNavigate;
650
634
  /** Utility method for finding entries with the given `key`. */
651
635
  private findEntry;
652
636
  set onnavigate(_handler: ((this: Navigation, ev: NavigateEvent) => any) | null);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.6
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -210,5 +210,5 @@ declare const SIGNAL_NODE: SignalNode<unknown>;
210
210
 
211
211
  declare function setAlternateWeakRefImpl(impl: unknown): void;
212
212
 
213
- export { setAlternateWeakRefImpl as A, SIGNAL as S, REACTIVE_NODE as b, defaultEquals as d, consumerAfterComputation as e, consumerBeforeComputation as f, consumerDestroy as g, consumerMarkDirty as h, consumerPollProducersForChange as i, getActiveConsumer as j, isInNotificationPhase as k, isReactive as l, producerIncrementEpoch as m, producerMarkClean as n, producerNotifyConsumers as o, producerAccessed as p, producerUpdateValueVersion as q, producerUpdatesAllowed as r, setActiveConsumer as s, SIGNAL_NODE as t, createSignal as v, runPostSignalSetFn as w, setPostSignalSetFn as x, signalSetFn as y, signalUpdateFn as z };
214
- export type { ReactiveNode as R, ValueEqualityFn as V, SignalNode as a, Reactive as c, SignalGetter as u };
213
+ export { REACTIVE_NODE, SIGNAL, SIGNAL_NODE, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, createSignal, defaultEquals, getActiveConsumer, isInNotificationPhase, isReactive, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, runPostSignalSetFn, setActiveConsumer, setAlternateWeakRefImpl, setPostSignalSetFn, signalSetFn, signalUpdateFn };
214
+ export type { Reactive, ReactiveNode, SignalGetter, SignalNode, ValueEqualityFn };
@@ -1,30 +0,0 @@
1
- 'use strict';
2
- /**
3
- * @license Angular v19.2.5
4
- * (c) 2010-2025 Google LLC. https://angular.io/
5
- * License: MIT
6
- */
7
- 'use strict';
8
-
9
- require('os');
10
- require('typescript');
11
- var checker = require('./checker-CQvNmpT3.js');
12
- require('./program-XYcLSXb1.js');
13
- require('path');
14
-
15
- /**
16
- * @module
17
- * @description
18
- * Entry point for all public APIs of the compiler-cli package.
19
- */
20
- new checker.Version('19.2.5');
21
-
22
- var LogLevel;
23
- (function (LogLevel) {
24
- LogLevel[LogLevel["debug"] = 0] = "debug";
25
- LogLevel[LogLevel["info"] = 1] = "info";
26
- LogLevel[LogLevel["warn"] = 2] = "warn";
27
- LogLevel[LogLevel["error"] = 3] = "error";
28
- })(LogLevel || (LogLevel = {}));
29
-
30
- checker.setFileSystem(new checker.NodeJSFileSystem());