@@ -65,7 +65,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
6565var ts;
6666(function (ts) {
6767 ts.versionMajorMinor = "4.3";
68- ts.version = "4.3.3 ";
68+ ts.version = "4.3.4 ";
6969 var NativeCollections;
7070 (function (NativeCollections) {
7171 function tryGetNativeMap() {
@@ -13497,56 +13497,43 @@ var ts;
1349713497 }
1349813498 return __assign(__assign({}, writer), { writeTrailingSemicolon: function () {
1349913499 pendingTrailingSemicolon = true;
13500- },
13501- writeLiteral: function (s) {
13500+ }, writeLiteral: function (s) {
1350213501 commitPendingTrailingSemicolon();
1350313502 writer.writeLiteral(s);
13504- },
13505- writeStringLiteral: function (s) {
13503+ }, writeStringLiteral: function (s) {
1350613504 commitPendingTrailingSemicolon();
1350713505 writer.writeStringLiteral(s);
13508- },
13509- writeSymbol: function (s, sym) {
13506+ }, writeSymbol: function (s, sym) {
1351013507 commitPendingTrailingSemicolon();
1351113508 writer.writeSymbol(s, sym);
13512- },
13513- writePunctuation: function (s) {
13509+ }, writePunctuation: function (s) {
1351413510 commitPendingTrailingSemicolon();
1351513511 writer.writePunctuation(s);
13516- },
13517- writeKeyword: function (s) {
13512+ }, writeKeyword: function (s) {
1351813513 commitPendingTrailingSemicolon();
1351913514 writer.writeKeyword(s);
13520- },
13521- writeOperator: function (s) {
13515+ }, writeOperator: function (s) {
1352213516 commitPendingTrailingSemicolon();
1352313517 writer.writeOperator(s);
13524- },
13525- writeParameter: function (s) {
13518+ }, writeParameter: function (s) {
1352613519 commitPendingTrailingSemicolon();
1352713520 writer.writeParameter(s);
13528- },
13529- writeSpace: function (s) {
13521+ }, writeSpace: function (s) {
1353013522 commitPendingTrailingSemicolon();
1353113523 writer.writeSpace(s);
13532- },
13533- writeProperty: function (s) {
13524+ }, writeProperty: function (s) {
1353413525 commitPendingTrailingSemicolon();
1353513526 writer.writeProperty(s);
13536- },
13537- writeComment: function (s) {
13527+ }, writeComment: function (s) {
1353813528 commitPendingTrailingSemicolon();
1353913529 writer.writeComment(s);
13540- },
13541- writeLine: function () {
13530+ }, writeLine: function () {
1354213531 commitPendingTrailingSemicolon();
1354313532 writer.writeLine();
13544- },
13545- increaseIndent: function () {
13533+ }, increaseIndent: function () {
1354613534 commitPendingTrailingSemicolon();
1354713535 writer.increaseIndent();
13548- },
13549- decreaseIndent: function () {
13536+ }, decreaseIndent: function () {
1355013537 commitPendingTrailingSemicolon();
1355113538 writer.decreaseIndent();
1355213539 } });
@@ -32857,9 +32844,7 @@ var ts;
3285732844 var preDirectoryResolutionCache = createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, directoryToModuleNameMap || (directoryToModuleNameMap = createCacheWithRedirects(options)));
3285832845 moduleNameToDirectoryMap || (moduleNameToDirectoryMap = createCacheWithRedirects(options));
3285932846 var packageJsonInfoCache = createPackageJsonInfoCache(currentDirectory, getCanonicalFileName);
32860- return __assign(__assign(__assign({}, packageJsonInfoCache), preDirectoryResolutionCache), { getOrCreateCacheForModuleName: getOrCreateCacheForModuleName,
32861- clear: clear,
32862- update: update, getPackageJsonInfoCache: function () { return packageJsonInfoCache; } });
32847+ return __assign(__assign(__assign({}, packageJsonInfoCache), preDirectoryResolutionCache), { getOrCreateCacheForModuleName: getOrCreateCacheForModuleName, clear: clear, update: update, getPackageJsonInfoCache: function () { return packageJsonInfoCache; } });
3286332848 function clear() {
3286432849 preDirectoryResolutionCache.clear();
3286532850 moduleNameToDirectoryMap.clear();
@@ -96307,7 +96292,7 @@ var ts;
9630796292 },
9630896293 emit: function (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) {
9630996294 if (targetSourceFile || emitOnlyDtsFiles) {
96310- 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)) ); });
9631196296 }
9631296297 executeSteps(BuildStep.SemanticDiagnostics, cancellationToken);
9631396298 if (step === BuildStep.EmitBuildInfo) {
@@ -96389,13 +96374,14 @@ var ts;
9638996374 }
9639096375 function emit(writeFileCallback, cancellationToken, customTransformers) {
9639196376 var _a;
96377+ var _b, _c;
9639296378 ts.Debug.assertIsDefined(program);
9639396379 ts.Debug.assert(step === BuildStep.Emit);
9639496380 program.backupState();
9639596381 var declDiagnostics;
9639696382 var reportDeclarationDiagnostics = function (d) { return (declDiagnostics || (declDiagnostics = [])).push(d); };
9639796383 var outputFiles = [];
96398- 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;
9639996385 if (declDiagnostics) {
9640096386 program.restoreState();
9640196387 (_a = buildErrors(state, projectPath, program, config, declDiagnostics, BuildResultFlags.DeclarationEmitErrors, "Declaration file"), buildResult = _a.buildResult, step = _a.step);
@@ -96472,6 +96458,7 @@ var ts;
9647296458 return emitDiagnostics;
9647396459 }
9647496460 function emitBundle(writeFileCallback, customTransformers) {
96461+ var _a, _b;
9647596462 ts.Debug.assert(kind === InvalidatedProjectKind.UpdateBundle);
9647696463 if (state.options.dry) {
9647796464 reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);
@@ -96486,7 +96473,7 @@ var ts;
9648696473 var outputFiles = ts.emitUsingBuildInfo(config, compilerHost, function (ref) {
9648796474 var refName = resolveProjectName(state, ref.path);
9648896475 return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));
96489- }, customTransformers);
96476+ }, customTransformers || ((_b = (_a = state.host).getCustomTransformers) === null || _b === void 0 ? void 0 : _b.call(_a, project)) );
9649096477 if (ts.isString(outputFiles)) {
9649196478 reportStatus(state, ts.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));
9649296479 step = BuildStep.BuildInvalidatedProjectOfBundle;
0 commit comments