mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update LKG.
This commit is contained in:
+4
-4
@@ -151,7 +151,7 @@ var ts;
|
||||
})(ts || (ts = {}));
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.version = "2.4.1";
|
||||
ts.version = "2.4.2";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
ts.collator = typeof Intl === "object" && typeof Intl.Collator === "function" ? new Intl.Collator(undefined, { usage: "sort", sensitivity: "accent" }) : undefined;
|
||||
@@ -23140,7 +23140,7 @@ var ts;
|
||||
}
|
||||
function getExportsOfModule(moduleSymbol) {
|
||||
var links = getSymbolLinks(moduleSymbol);
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsForModule(moduleSymbol));
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsOfModuleWorker(moduleSymbol));
|
||||
}
|
||||
function extendExportSymbols(target, source, lookupTable, exportNode) {
|
||||
source && source.forEach(function (sourceSymbol, id) {
|
||||
@@ -23166,10 +23166,10 @@ var ts;
|
||||
}
|
||||
});
|
||||
}
|
||||
function getExportsForModule(moduleSymbol) {
|
||||
function getExportsOfModuleWorker(moduleSymbol) {
|
||||
var visitedSymbols = [];
|
||||
moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);
|
||||
return visit(moduleSymbol) || moduleSymbol.exports;
|
||||
return visit(moduleSymbol) || emptySymbols;
|
||||
function visit(symbol) {
|
||||
if (!(symbol && symbol.flags & 1952 && !ts.contains(visitedSymbols, symbol))) {
|
||||
return;
|
||||
|
||||
+27
-5
@@ -1145,7 +1145,7 @@ var ts;
|
||||
})(ts || (ts = {}));
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.version = "2.4.1";
|
||||
ts.version = "2.4.2";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
var Ternary;
|
||||
@@ -24334,7 +24334,7 @@ var ts;
|
||||
}
|
||||
function getExportsOfModule(moduleSymbol) {
|
||||
var links = getSymbolLinks(moduleSymbol);
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsForModule(moduleSymbol));
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsOfModuleWorker(moduleSymbol));
|
||||
}
|
||||
function extendExportSymbols(target, source, lookupTable, exportNode) {
|
||||
source && source.forEach(function (sourceSymbol, id) {
|
||||
@@ -24360,10 +24360,10 @@ var ts;
|
||||
}
|
||||
});
|
||||
}
|
||||
function getExportsForModule(moduleSymbol) {
|
||||
function getExportsOfModuleWorker(moduleSymbol) {
|
||||
var visitedSymbols = [];
|
||||
moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);
|
||||
return visit(moduleSymbol) || moduleSymbol.exports;
|
||||
return visit(moduleSymbol) || emptySymbols;
|
||||
function visit(symbol) {
|
||||
if (!(symbol && symbol.flags & 1952 && !ts.contains(visitedSymbols, symbol))) {
|
||||
return;
|
||||
@@ -76539,6 +76539,9 @@ var ts;
|
||||
AbstractBuilder.prototype.getFileInfos = function () {
|
||||
return this.fileInfos_doNotAccessDirectly || (this.fileInfos_doNotAccessDirectly = ts.createFileMap());
|
||||
};
|
||||
AbstractBuilder.prototype.hasFileInfos = function () {
|
||||
return !!this.fileInfos_doNotAccessDirectly;
|
||||
};
|
||||
AbstractBuilder.prototype.clear = function () {
|
||||
this.fileInfos_doNotAccessDirectly = undefined;
|
||||
};
|
||||
@@ -76567,6 +76570,7 @@ var ts;
|
||||
this.getFileInfos().forEachValue(function (_path, value) { return action(value); });
|
||||
};
|
||||
AbstractBuilder.prototype.emitFile = function (scriptInfo, writeFile) {
|
||||
this.ensureFileInfoIfInProject(scriptInfo);
|
||||
var fileInfo = this.getFileInfo(scriptInfo.path);
|
||||
if (!fileInfo) {
|
||||
return false;
|
||||
@@ -76591,7 +76595,20 @@ var ts;
|
||||
_this.project = project;
|
||||
return _this;
|
||||
}
|
||||
NonModuleBuilder.prototype.ensureFileInfoIfInProject = function (scriptInfo) {
|
||||
if (this.project.containsScriptInfo(scriptInfo)) {
|
||||
this.getOrCreateFileInfo(scriptInfo.path);
|
||||
}
|
||||
};
|
||||
NonModuleBuilder.prototype.onProjectUpdateGraph = function () {
|
||||
var _this = this;
|
||||
if (this.hasFileInfos()) {
|
||||
this.forEachFileInfo(function (fileInfo) {
|
||||
if (!_this.project.containsScriptInfo(fileInfo.scriptInfo)) {
|
||||
_this.removeFileInfo(fileInfo.scriptInfo.path);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
NonModuleBuilder.prototype.getFilesAffectedBy = function (scriptInfo) {
|
||||
var info = this.getOrCreateFileInfo(scriptInfo.path);
|
||||
@@ -76680,9 +76697,14 @@ var ts;
|
||||
}
|
||||
return [];
|
||||
};
|
||||
ModuleBuilder.prototype.onProjectUpdateGraph = function () {
|
||||
ModuleBuilder.prototype.ensureFileInfoIfInProject = function (_scriptInfo) {
|
||||
this.ensureProjectDependencyGraphUpToDate();
|
||||
};
|
||||
ModuleBuilder.prototype.onProjectUpdateGraph = function () {
|
||||
if (this.hasFileInfos()) {
|
||||
this.ensureProjectDependencyGraphUpToDate();
|
||||
}
|
||||
};
|
||||
ModuleBuilder.prototype.ensureProjectDependencyGraphUpToDate = function () {
|
||||
var _this = this;
|
||||
if (!this.projectVersionForDependencyGraph || this.project.getProjectVersion() !== this.projectVersionForDependencyGraph) {
|
||||
|
||||
Vendored
+1
-1
@@ -2340,7 +2340,7 @@ declare namespace ts {
|
||||
}
|
||||
}
|
||||
declare namespace ts {
|
||||
const version = "2.4.1";
|
||||
const version = "2.4.2";
|
||||
}
|
||||
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
|
||||
declare function clearTimeout(handle: any): void;
|
||||
|
||||
+27
-5
@@ -1145,7 +1145,7 @@ var ts;
|
||||
})(ts || (ts = {}));
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.version = "2.4.1";
|
||||
ts.version = "2.4.2";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
var Ternary;
|
||||
@@ -25731,7 +25731,7 @@ var ts;
|
||||
}
|
||||
function getExportsOfModule(moduleSymbol) {
|
||||
var links = getSymbolLinks(moduleSymbol);
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsForModule(moduleSymbol));
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsOfModuleWorker(moduleSymbol));
|
||||
}
|
||||
function extendExportSymbols(target, source, lookupTable, exportNode) {
|
||||
source && source.forEach(function (sourceSymbol, id) {
|
||||
@@ -25757,10 +25757,10 @@ var ts;
|
||||
}
|
||||
});
|
||||
}
|
||||
function getExportsForModule(moduleSymbol) {
|
||||
function getExportsOfModuleWorker(moduleSymbol) {
|
||||
var visitedSymbols = [];
|
||||
moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);
|
||||
return visit(moduleSymbol) || moduleSymbol.exports;
|
||||
return visit(moduleSymbol) || emptySymbols;
|
||||
function visit(symbol) {
|
||||
if (!(symbol && symbol.flags & 1952 && !ts.contains(visitedSymbols, symbol))) {
|
||||
return;
|
||||
@@ -78425,6 +78425,9 @@ var ts;
|
||||
AbstractBuilder.prototype.getFileInfos = function () {
|
||||
return this.fileInfos_doNotAccessDirectly || (this.fileInfos_doNotAccessDirectly = ts.createFileMap());
|
||||
};
|
||||
AbstractBuilder.prototype.hasFileInfos = function () {
|
||||
return !!this.fileInfos_doNotAccessDirectly;
|
||||
};
|
||||
AbstractBuilder.prototype.clear = function () {
|
||||
this.fileInfos_doNotAccessDirectly = undefined;
|
||||
};
|
||||
@@ -78453,6 +78456,7 @@ var ts;
|
||||
this.getFileInfos().forEachValue(function (_path, value) { return action(value); });
|
||||
};
|
||||
AbstractBuilder.prototype.emitFile = function (scriptInfo, writeFile) {
|
||||
this.ensureFileInfoIfInProject(scriptInfo);
|
||||
var fileInfo = this.getFileInfo(scriptInfo.path);
|
||||
if (!fileInfo) {
|
||||
return false;
|
||||
@@ -78477,7 +78481,20 @@ var ts;
|
||||
_this.project = project;
|
||||
return _this;
|
||||
}
|
||||
NonModuleBuilder.prototype.ensureFileInfoIfInProject = function (scriptInfo) {
|
||||
if (this.project.containsScriptInfo(scriptInfo)) {
|
||||
this.getOrCreateFileInfo(scriptInfo.path);
|
||||
}
|
||||
};
|
||||
NonModuleBuilder.prototype.onProjectUpdateGraph = function () {
|
||||
var _this = this;
|
||||
if (this.hasFileInfos()) {
|
||||
this.forEachFileInfo(function (fileInfo) {
|
||||
if (!_this.project.containsScriptInfo(fileInfo.scriptInfo)) {
|
||||
_this.removeFileInfo(fileInfo.scriptInfo.path);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
NonModuleBuilder.prototype.getFilesAffectedBy = function (scriptInfo) {
|
||||
var info = this.getOrCreateFileInfo(scriptInfo.path);
|
||||
@@ -78566,9 +78583,14 @@ var ts;
|
||||
}
|
||||
return [];
|
||||
};
|
||||
ModuleBuilder.prototype.onProjectUpdateGraph = function () {
|
||||
ModuleBuilder.prototype.ensureFileInfoIfInProject = function (_scriptInfo) {
|
||||
this.ensureProjectDependencyGraphUpToDate();
|
||||
};
|
||||
ModuleBuilder.prototype.onProjectUpdateGraph = function () {
|
||||
if (this.hasFileInfos()) {
|
||||
this.ensureProjectDependencyGraphUpToDate();
|
||||
}
|
||||
};
|
||||
ModuleBuilder.prototype.ensureProjectDependencyGraphUpToDate = function () {
|
||||
var _this = this;
|
||||
if (!this.projectVersionForDependencyGraph || this.project.getProjectVersion() !== this.projectVersionForDependencyGraph) {
|
||||
|
||||
Vendored
+1
-1
@@ -2594,7 +2594,7 @@ declare namespace ts {
|
||||
}
|
||||
declare namespace ts {
|
||||
/** The version of the TypeScript compiler release */
|
||||
const version = "2.4.1";
|
||||
const version = "2.4.2";
|
||||
}
|
||||
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
|
||||
declare function clearTimeout(handle: any): void;
|
||||
|
||||
+4
-4
@@ -1318,7 +1318,7 @@ var ts;
|
||||
var ts;
|
||||
(function (ts) {
|
||||
/** The version of the TypeScript compiler release */
|
||||
ts.version = "2.4.1";
|
||||
ts.version = "2.4.2";
|
||||
})(ts || (ts = {}));
|
||||
/* @internal */
|
||||
(function (ts) {
|
||||
@@ -28322,7 +28322,7 @@ var ts;
|
||||
}
|
||||
function getExportsOfModule(moduleSymbol) {
|
||||
var links = getSymbolLinks(moduleSymbol);
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsForModule(moduleSymbol));
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsOfModuleWorker(moduleSymbol));
|
||||
}
|
||||
/**
|
||||
* Extends one symbol table with another while collecting information on name collisions for error message generation into the `lookupTable` argument
|
||||
@@ -28352,11 +28352,11 @@ var ts;
|
||||
}
|
||||
});
|
||||
}
|
||||
function getExportsForModule(moduleSymbol) {
|
||||
function getExportsOfModuleWorker(moduleSymbol) {
|
||||
var visitedSymbols = [];
|
||||
// A module defined by an 'export=' consists on one export that needs to be resolved
|
||||
moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);
|
||||
return visit(moduleSymbol) || moduleSymbol.exports;
|
||||
return visit(moduleSymbol) || emptySymbols;
|
||||
// The ES6 spec permits export * declarations in a module to circularly reference the module itself. For example,
|
||||
// module 'a' can 'export * from "b"' and 'b' can 'export * from "a"' without error.
|
||||
function visit(symbol) {
|
||||
|
||||
Vendored
+1
-1
@@ -2594,7 +2594,7 @@ declare namespace ts {
|
||||
}
|
||||
declare namespace ts {
|
||||
/** The version of the TypeScript compiler release */
|
||||
const version = "2.4.1";
|
||||
const version = "2.4.2";
|
||||
}
|
||||
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
|
||||
declare function clearTimeout(handle: any): void;
|
||||
|
||||
@@ -1318,7 +1318,7 @@ var ts;
|
||||
var ts;
|
||||
(function (ts) {
|
||||
/** The version of the TypeScript compiler release */
|
||||
ts.version = "2.4.1";
|
||||
ts.version = "2.4.2";
|
||||
})(ts || (ts = {}));
|
||||
/* @internal */
|
||||
(function (ts) {
|
||||
@@ -28322,7 +28322,7 @@ var ts;
|
||||
}
|
||||
function getExportsOfModule(moduleSymbol) {
|
||||
var links = getSymbolLinks(moduleSymbol);
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsForModule(moduleSymbol));
|
||||
return links.resolvedExports || (links.resolvedExports = getExportsOfModuleWorker(moduleSymbol));
|
||||
}
|
||||
/**
|
||||
* Extends one symbol table with another while collecting information on name collisions for error message generation into the `lookupTable` argument
|
||||
@@ -28352,11 +28352,11 @@ var ts;
|
||||
}
|
||||
});
|
||||
}
|
||||
function getExportsForModule(moduleSymbol) {
|
||||
function getExportsOfModuleWorker(moduleSymbol) {
|
||||
var visitedSymbols = [];
|
||||
// A module defined by an 'export=' consists on one export that needs to be resolved
|
||||
moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);
|
||||
return visit(moduleSymbol) || moduleSymbol.exports;
|
||||
return visit(moduleSymbol) || emptySymbols;
|
||||
// The ES6 spec permits export * declarations in a module to circularly reference the module itself. For example,
|
||||
// module 'a' can 'export * from "b"' and 'b' can 'export * from "a"' without error.
|
||||
function visit(symbol) {
|
||||
|
||||
@@ -161,7 +161,7 @@ var ts;
|
||||
})(ts || (ts = {}));
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.version = "2.4.1";
|
||||
ts.version = "2.4.2";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
ts.collator = typeof Intl === "object" && typeof Intl.Collator === "function" ? new Intl.Collator(undefined, { usage: "sort", sensitivity: "accent" }) : undefined;
|
||||
|
||||
Reference in New Issue
Block a user