typescript 4.3.3 → 4.3.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/lib/tsc.js CHANGED
@@ -65,7 +65,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
65
65
  var ts;
66
66
  (function (ts) {
67
67
  ts.versionMajorMinor = "4.3";
68
- ts.version = "4.3.3";
68
+ ts.version = "4.3.4";
69
69
  var NativeCollections;
70
70
  (function (NativeCollections) {
71
71
  function tryGetNativeMap() {
@@ -96292,7 +96292,7 @@ var ts;
96292
96292
  },
96293
96293
  emit: function (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) {
96294
96294
  if (targetSourceFile || emitOnlyDtsFiles) {
96295
- return withProgramOrUndefined(function (program) { return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers); });
96295
+ return withProgramOrUndefined(function (program) { var _a, _b; return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project))); });
96296
96296
  }
96297
96297
  executeSteps(BuildStep.SemanticDiagnostics, cancellationToken);
96298
96298
  if (step === BuildStep.EmitBuildInfo) {
@@ -96374,13 +96374,14 @@ var ts;
96374
96374
  }
96375
96375
  function emit(writeFileCallback, cancellationToken, customTransformers) {
96376
96376
  var _a;
96377
+ var _b, _c;
96377
96378
  ts.Debug.assertIsDefined(program);
96378
96379
  ts.Debug.assert(step === BuildStep.Emit);
96379
96380
  program.backupState();
96380
96381
  var declDiagnostics;
96381
96382
  var reportDeclarationDiagnostics = function (d) { return (declDiagnostics || (declDiagnostics = [])).push(d); };
96382
96383
  var outputFiles = [];
96383
- var emitResult = ts.emitFilesAndReportErrors(program, reportDeclarationDiagnostics, undefined, undefined, function (name, text, writeByteOrderMark) { return outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark }); }, cancellationToken, false, customTransformers).emitResult;
96384
+ var emitResult = ts.emitFilesAndReportErrors(program, reportDeclarationDiagnostics, undefined, undefined, function (name, text, writeByteOrderMark) { return outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark }); }, cancellationToken, false, customTransformers || ((_c = (_b = state.host).getCustomTransformers) === null || _c === void 0 ? void 0 : _c.call(_b, project))).emitResult;
96384
96385
  if (declDiagnostics) {
96385
96386
  program.restoreState();
96386
96387
  (_a = buildErrors(state, projectPath, program, config, declDiagnostics, BuildResultFlags.DeclarationEmitErrors, "Declaration file"), buildResult = _a.buildResult, step = _a.step);
@@ -96457,6 +96458,7 @@ var ts;
96457
96458
  return emitDiagnostics;
96458
96459
  }
96459
96460
  function emitBundle(writeFileCallback, customTransformers) {
96461
+ var _a, _b;
96460
96462
  ts.Debug.assert(kind === InvalidatedProjectKind.UpdateBundle);
96461
96463
  if (state.options.dry) {
96462
96464
  reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);
@@ -96471,7 +96473,7 @@ var ts;
96471
96473
  var outputFiles = ts.emitUsingBuildInfo(config, compilerHost, function (ref) {
96472
96474
  var refName = resolveProjectName(state, ref.path);
96473
96475
  return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));
96474
- }, customTransformers);
96476
+ }, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project)));
96475
96477
  if (ts.isString(outputFiles)) {
96476
96478
  reportStatus(state, ts.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));
96477
96479
  step = BuildStep.BuildInvalidatedProjectOfBundle;
package/lib/tsserver.js CHANGED
@@ -96,7 +96,7 @@ var ts;
96
96
  // The following is baselined as a literal template type without intervention
97
97
  /** The version of the TypeScript compiler release */
98
98
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
99
- ts.version = "4.3.3";
99
+ ts.version = "4.3.4";
100
100
  /* @internal */
101
101
  var Comparison;
102
102
  (function (Comparison) {
@@ -116643,7 +116643,7 @@ var ts;
116643
116643
  },
116644
116644
  emit: function (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) {
116645
116645
  if (targetSourceFile || emitOnlyDtsFiles) {
116646
- return withProgramOrUndefined(function (program) { return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers); });
116646
+ return withProgramOrUndefined(function (program) { var _a, _b; return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project))); });
116647
116647
  }
116648
116648
  executeSteps(BuildStep.SemanticDiagnostics, cancellationToken);
116649
116649
  if (step === BuildStep.EmitBuildInfo) {
@@ -116728,6 +116728,7 @@ var ts;
116728
116728
  }
116729
116729
  function emit(writeFileCallback, cancellationToken, customTransformers) {
116730
116730
  var _a;
116731
+ var _b, _c;
116731
116732
  ts.Debug.assertIsDefined(program);
116732
116733
  ts.Debug.assert(step === BuildStep.Emit);
116733
116734
  // Before emitting lets backup state, so we can revert it back if there are declaration errors to handle emit and declaration errors correctly
@@ -116738,7 +116739,7 @@ var ts;
116738
116739
  var emitResult = ts.emitFilesAndReportErrors(program, reportDeclarationDiagnostics,
116739
116740
  /*write*/ undefined,
116740
116741
  /*reportSummary*/ undefined, function (name, text, writeByteOrderMark) { return outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark }); }, cancellationToken,
116741
- /*emitOnlyDts*/ false, customTransformers).emitResult;
116742
+ /*emitOnlyDts*/ false, customTransformers || ((_c = (_b = state.host).getCustomTransformers) === null || _c === void 0 ? void 0 : _c.call(_b, project))).emitResult;
116742
116743
  // Don't emit .d.ts if there are decl file errors
116743
116744
  if (declDiagnostics) {
116744
116745
  program.restoreState();
@@ -116820,6 +116821,7 @@ var ts;
116820
116821
  return emitDiagnostics;
116821
116822
  }
116822
116823
  function emitBundle(writeFileCallback, customTransformers) {
116824
+ var _a, _b;
116823
116825
  ts.Debug.assert(kind === InvalidatedProjectKind.UpdateBundle);
116824
116826
  if (state.options.dry) {
116825
116827
  reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);
@@ -116835,7 +116837,7 @@ var ts;
116835
116837
  var outputFiles = ts.emitUsingBuildInfo(config, compilerHost, function (ref) {
116836
116838
  var refName = resolveProjectName(state, ref.path);
116837
116839
  return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));
116838
- }, customTransformers);
116840
+ }, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project)));
116839
116841
  if (ts.isString(outputFiles)) {
116840
116842
  reportStatus(state, ts.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));
116841
116843
  step = BuildStep.BuildInvalidatedProjectOfBundle;
@@ -5205,6 +5205,7 @@ declare namespace ts {
5205
5205
  * writeFileCallback
5206
5206
  */
5207
5207
  writeFile?(path: string, data: string, writeByteOrderMark?: boolean): void;
5208
+ getCustomTransformers?: (project: string) => CustomTransformers | undefined;
5208
5209
  getModifiedTime(fileName: string): Date | undefined;
5209
5210
  setModifiedTime(fileName: string, date: Date): void;
5210
5211
  deleteFile(fileName: string): void;
@@ -290,7 +290,7 @@ var ts;
290
290
  // The following is baselined as a literal template type without intervention
291
291
  /** The version of the TypeScript compiler release */
292
292
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
293
- ts.version = "4.3.3";
293
+ ts.version = "4.3.4";
294
294
  /* @internal */
295
295
  var Comparison;
296
296
  (function (Comparison) {
@@ -116837,7 +116837,7 @@ var ts;
116837
116837
  },
116838
116838
  emit: function (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) {
116839
116839
  if (targetSourceFile || emitOnlyDtsFiles) {
116840
- return withProgramOrUndefined(function (program) { return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers); });
116840
+ return withProgramOrUndefined(function (program) { var _a, _b; return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project))); });
116841
116841
  }
116842
116842
  executeSteps(BuildStep.SemanticDiagnostics, cancellationToken);
116843
116843
  if (step === BuildStep.EmitBuildInfo) {
@@ -116922,6 +116922,7 @@ var ts;
116922
116922
  }
116923
116923
  function emit(writeFileCallback, cancellationToken, customTransformers) {
116924
116924
  var _a;
116925
+ var _b, _c;
116925
116926
  ts.Debug.assertIsDefined(program);
116926
116927
  ts.Debug.assert(step === BuildStep.Emit);
116927
116928
  // Before emitting lets backup state, so we can revert it back if there are declaration errors to handle emit and declaration errors correctly
@@ -116932,7 +116933,7 @@ var ts;
116932
116933
  var emitResult = ts.emitFilesAndReportErrors(program, reportDeclarationDiagnostics,
116933
116934
  /*write*/ undefined,
116934
116935
  /*reportSummary*/ undefined, function (name, text, writeByteOrderMark) { return outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark }); }, cancellationToken,
116935
- /*emitOnlyDts*/ false, customTransformers).emitResult;
116936
+ /*emitOnlyDts*/ false, customTransformers || ((_c = (_b = state.host).getCustomTransformers) === null || _c === void 0 ? void 0 : _c.call(_b, project))).emitResult;
116936
116937
  // Don't emit .d.ts if there are decl file errors
116937
116938
  if (declDiagnostics) {
116938
116939
  program.restoreState();
@@ -117014,6 +117015,7 @@ var ts;
117014
117015
  return emitDiagnostics;
117015
117016
  }
117016
117017
  function emitBundle(writeFileCallback, customTransformers) {
117018
+ var _a, _b;
117017
117019
  ts.Debug.assert(kind === InvalidatedProjectKind.UpdateBundle);
117018
117020
  if (state.options.dry) {
117019
117021
  reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);
@@ -117029,7 +117031,7 @@ var ts;
117029
117031
  var outputFiles = ts.emitUsingBuildInfo(config, compilerHost, function (ref) {
117030
117032
  var refName = resolveProjectName(state, ref.path);
117031
117033
  return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));
117032
- }, customTransformers);
117034
+ }, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project)));
117033
117035
  if (ts.isString(outputFiles)) {
117034
117036
  reportStatus(state, ts.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));
117035
117037
  step = BuildStep.BuildInvalidatedProjectOfBundle;
@@ -5205,6 +5205,7 @@ declare namespace ts {
5205
5205
  * writeFileCallback
5206
5206
  */
5207
5207
  writeFile?(path: string, data: string, writeByteOrderMark?: boolean): void;
5208
+ getCustomTransformers?: (project: string) => CustomTransformers | undefined;
5208
5209
  getModifiedTime(fileName: string): Date | undefined;
5209
5210
  setModifiedTime(fileName: string, date: Date): void;
5210
5211
  deleteFile(fileName: string): void;
package/lib/typescript.js CHANGED
@@ -290,7 +290,7 @@ var ts;
290
290
  // The following is baselined as a literal template type without intervention
291
291
  /** The version of the TypeScript compiler release */
292
292
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
293
- ts.version = "4.3.3";
293
+ ts.version = "4.3.4";
294
294
  /* @internal */
295
295
  var Comparison;
296
296
  (function (Comparison) {
@@ -116837,7 +116837,7 @@ var ts;
116837
116837
  },
116838
116838
  emit: function (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) {
116839
116839
  if (targetSourceFile || emitOnlyDtsFiles) {
116840
- return withProgramOrUndefined(function (program) { return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers); });
116840
+ return withProgramOrUndefined(function (program) { var _a, _b; return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project))); });
116841
116841
  }
116842
116842
  executeSteps(BuildStep.SemanticDiagnostics, cancellationToken);
116843
116843
  if (step === BuildStep.EmitBuildInfo) {
@@ -116922,6 +116922,7 @@ var ts;
116922
116922
  }
116923
116923
  function emit(writeFileCallback, cancellationToken, customTransformers) {
116924
116924
  var _a;
116925
+ var _b, _c;
116925
116926
  ts.Debug.assertIsDefined(program);
116926
116927
  ts.Debug.assert(step === BuildStep.Emit);
116927
116928
  // Before emitting lets backup state, so we can revert it back if there are declaration errors to handle emit and declaration errors correctly
@@ -116932,7 +116933,7 @@ var ts;
116932
116933
  var emitResult = ts.emitFilesAndReportErrors(program, reportDeclarationDiagnostics,
116933
116934
  /*write*/ undefined,
116934
116935
  /*reportSummary*/ undefined, function (name, text, writeByteOrderMark) { return outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark }); }, cancellationToken,
116935
- /*emitOnlyDts*/ false, customTransformers).emitResult;
116936
+ /*emitOnlyDts*/ false, customTransformers || ((_c = (_b = state.host).getCustomTransformers) === null || _c === void 0 ? void 0 : _c.call(_b, project))).emitResult;
116936
116937
  // Don't emit .d.ts if there are decl file errors
116937
116938
  if (declDiagnostics) {
116938
116939
  program.restoreState();
@@ -117014,6 +117015,7 @@ var ts;
117014
117015
  return emitDiagnostics;
117015
117016
  }
117016
117017
  function emitBundle(writeFileCallback, customTransformers) {
117018
+ var _a, _b;
117017
117019
  ts.Debug.assert(kind === InvalidatedProjectKind.UpdateBundle);
117018
117020
  if (state.options.dry) {
117019
117021
  reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);
@@ -117029,7 +117031,7 @@ var ts;
117029
117031
  var outputFiles = ts.emitUsingBuildInfo(config, compilerHost, function (ref) {
117030
117032
  var refName = resolveProjectName(state, ref.path);
117031
117033
  return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));
117032
- }, customTransformers);
117034
+ }, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project)));
117033
117035
  if (ts.isString(outputFiles)) {
117034
117036
  reportStatus(state, ts.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));
117035
117037
  step = BuildStep.BuildInvalidatedProjectOfBundle;
@@ -5205,6 +5205,7 @@ declare namespace ts {
5205
5205
  * writeFileCallback
5206
5206
  */
5207
5207
  writeFile?(path: string, data: string, writeByteOrderMark?: boolean): void;
5208
+ getCustomTransformers?: (project: string) => CustomTransformers | undefined;
5208
5209
  getModifiedTime(fileName: string): Date | undefined;
5209
5210
  setModifiedTime(fileName: string, date: Date): void;
5210
5211
  deleteFile(fileName: string): void;
@@ -290,7 +290,7 @@ var ts;
290
290
  // The following is baselined as a literal template type without intervention
291
291
  /** The version of the TypeScript compiler release */
292
292
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
293
- ts.version = "4.3.3";
293
+ ts.version = "4.3.4";
294
294
  /* @internal */
295
295
  var Comparison;
296
296
  (function (Comparison) {
@@ -116837,7 +116837,7 @@ var ts;
116837
116837
  },
116838
116838
  emit: function (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) {
116839
116839
  if (targetSourceFile || emitOnlyDtsFiles) {
116840
- return withProgramOrUndefined(function (program) { return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers); });
116840
+ return withProgramOrUndefined(function (program) { var _a, _b; return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project))); });
116841
116841
  }
116842
116842
  executeSteps(BuildStep.SemanticDiagnostics, cancellationToken);
116843
116843
  if (step === BuildStep.EmitBuildInfo) {
@@ -116922,6 +116922,7 @@ var ts;
116922
116922
  }
116923
116923
  function emit(writeFileCallback, cancellationToken, customTransformers) {
116924
116924
  var _a;
116925
+ var _b, _c;
116925
116926
  ts.Debug.assertIsDefined(program);
116926
116927
  ts.Debug.assert(step === BuildStep.Emit);
116927
116928
  // Before emitting lets backup state, so we can revert it back if there are declaration errors to handle emit and declaration errors correctly
@@ -116932,7 +116933,7 @@ var ts;
116932
116933
  var emitResult = ts.emitFilesAndReportErrors(program, reportDeclarationDiagnostics,
116933
116934
  /*write*/ undefined,
116934
116935
  /*reportSummary*/ undefined, function (name, text, writeByteOrderMark) { return outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark }); }, cancellationToken,
116935
- /*emitOnlyDts*/ false, customTransformers).emitResult;
116936
+ /*emitOnlyDts*/ false, customTransformers || ((_c = (_b = state.host).getCustomTransformers) === null || _c === void 0 ? void 0 : _c.call(_b, project))).emitResult;
116936
116937
  // Don't emit .d.ts if there are decl file errors
116937
116938
  if (declDiagnostics) {
116938
116939
  program.restoreState();
@@ -117014,6 +117015,7 @@ var ts;
117014
117015
  return emitDiagnostics;
117015
117016
  }
117016
117017
  function emitBundle(writeFileCallback, customTransformers) {
117018
+ var _a, _b;
117017
117019
  ts.Debug.assert(kind === InvalidatedProjectKind.UpdateBundle);
117018
117020
  if (state.options.dry) {
117019
117021
  reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);
@@ -117029,7 +117031,7 @@ var ts;
117029
117031
  var outputFiles = ts.emitUsingBuildInfo(config, compilerHost, function (ref) {
117030
117032
  var refName = resolveProjectName(state, ref.path);
117031
117033
  return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));
117032
- }, customTransformers);
117034
+ }, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project)));
117033
117035
  if (ts.isString(outputFiles)) {
117034
117036
  reportStatus(state, ts.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));
117035
117037
  step = BuildStep.BuildInvalidatedProjectOfBundle;
@@ -85,7 +85,7 @@ var ts;
85
85
  // The following is baselined as a literal template type without intervention
86
86
  /** The version of the TypeScript compiler release */
87
87
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
88
- ts.version = "4.3.3";
88
+ ts.version = "4.3.4";
89
89
  /* @internal */
90
90
  var Comparison;
91
91
  (function (Comparison) {
@@ -116632,7 +116632,7 @@ var ts;
116632
116632
  },
116633
116633
  emit: function (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) {
116634
116634
  if (targetSourceFile || emitOnlyDtsFiles) {
116635
- return withProgramOrUndefined(function (program) { return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers); });
116635
+ return withProgramOrUndefined(function (program) { var _a, _b; return program.emit(targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project))); });
116636
116636
  }
116637
116637
  executeSteps(BuildStep.SemanticDiagnostics, cancellationToken);
116638
116638
  if (step === BuildStep.EmitBuildInfo) {
@@ -116717,6 +116717,7 @@ var ts;
116717
116717
  }
116718
116718
  function emit(writeFileCallback, cancellationToken, customTransformers) {
116719
116719
  var _a;
116720
+ var _b, _c;
116720
116721
  ts.Debug.assertIsDefined(program);
116721
116722
  ts.Debug.assert(step === BuildStep.Emit);
116722
116723
  // Before emitting lets backup state, so we can revert it back if there are declaration errors to handle emit and declaration errors correctly
@@ -116727,7 +116728,7 @@ var ts;
116727
116728
  var emitResult = ts.emitFilesAndReportErrors(program, reportDeclarationDiagnostics,
116728
116729
  /*write*/ undefined,
116729
116730
  /*reportSummary*/ undefined, function (name, text, writeByteOrderMark) { return outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark }); }, cancellationToken,
116730
- /*emitOnlyDts*/ false, customTransformers).emitResult;
116731
+ /*emitOnlyDts*/ false, customTransformers || ((_c = (_b = state.host).getCustomTransformers) === null || _c === void 0 ? void 0 : _c.call(_b, project))).emitResult;
116731
116732
  // Don't emit .d.ts if there are decl file errors
116732
116733
  if (declDiagnostics) {
116733
116734
  program.restoreState();
@@ -116809,6 +116810,7 @@ var ts;
116809
116810
  return emitDiagnostics;
116810
116811
  }
116811
116812
  function emitBundle(writeFileCallback, customTransformers) {
116813
+ var _a, _b;
116812
116814
  ts.Debug.assert(kind === InvalidatedProjectKind.UpdateBundle);
116813
116815
  if (state.options.dry) {
116814
116816
  reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);
@@ -116824,7 +116826,7 @@ var ts;
116824
116826
  var outputFiles = ts.emitUsingBuildInfo(config, compilerHost, function (ref) {
116825
116827
  var refName = resolveProjectName(state, ref.path);
116826
116828
  return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));
116827
- }, customTransformers);
116829
+ }, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project)));
116828
116830
  if (ts.isString(outputFiles)) {
116829
116831
  reportStatus(state, ts.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));
116830
116832
  step = BuildStep.BuildInvalidatedProjectOfBundle;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "4.3.3",
5
+ "version": "4.3.4",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [