mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-29 11:48:25 -05:00
Accept new LKG
This commit is contained in:
@@ -65494,7 +65494,7 @@ var ts;
|
||||
name: "typescript:assign",
|
||||
scoped: false,
|
||||
priority: 1,
|
||||
text: "\n var __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };"
|
||||
text: "\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"
|
||||
};
|
||||
function createAssignHelper(context, attributesSegments) {
|
||||
if (context.getCompilerOptions().target >= 2 /* ES2015 */) {
|
||||
@@ -69112,7 +69112,7 @@ var ts;
|
||||
name: "typescript:extends",
|
||||
scoped: false,
|
||||
priority: 0,
|
||||
text: "\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"
|
||||
text: "\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"
|
||||
};
|
||||
var templateObjectHelper = {
|
||||
name: "typescript:makeTemplateObject",
|
||||
@@ -76863,15 +76863,19 @@ var ts;
|
||||
var firstLineColumnOffset_1 = writer.getColumn();
|
||||
// First, decode the old component sourcemap
|
||||
var originalMap_1 = parsed;
|
||||
var sourcesDirectoryPath_1 = compilerOptions.sourceRoot ? host.getCommonSourceDirectory() : sourceMapDir;
|
||||
var resolvedPathCache_1 = ts.createMap();
|
||||
ts.sourcemaps.calculateDecodedMappings(originalMap_1, function (raw) {
|
||||
// Apply offsets to each position and fixup source entries
|
||||
var rawPath = originalMap_1.sources[raw.sourceIndex];
|
||||
var relativePath = originalMap_1.sourceRoot ? ts.combinePaths(originalMap_1.sourceRoot, rawPath) : rawPath;
|
||||
var combinedPath = ts.combinePaths(ts.getDirectoryPath(node.sourceMapPath), relativePath);
|
||||
var sourcesDirectoryPath = compilerOptions.sourceRoot ? host.getCommonSourceDirectory() : sourceMapDir;
|
||||
var resolvedPath = ts.getRelativePathToDirectoryOrUrl(sourcesDirectoryPath, combinedPath, host.getCurrentDirectory(), host.getCanonicalFileName,
|
||||
/*isAbsolutePathAnUrl*/ true);
|
||||
var absolutePath = ts.getNormalizedAbsolutePath(resolvedPath, sourcesDirectoryPath);
|
||||
if (!resolvedPathCache_1.has(combinedPath)) {
|
||||
resolvedPathCache_1.set(combinedPath, ts.getRelativePathToDirectoryOrUrl(sourcesDirectoryPath_1, combinedPath, host.getCurrentDirectory(), host.getCanonicalFileName,
|
||||
/*isAbsolutePathAnUrl*/ true));
|
||||
}
|
||||
var resolvedPath = resolvedPathCache_1.get(combinedPath);
|
||||
var absolutePath = ts.getNormalizedAbsolutePath(resolvedPath, sourcesDirectoryPath_1);
|
||||
// tslint:disable-next-line:no-null-keyword
|
||||
setupSourceEntry(absolutePath, originalMap_1.sourcesContent ? originalMap_1.sourcesContent[raw.sourceIndex] : null); // TODO: Lookup content for inlining?
|
||||
var newIndex = sourceMapData.sourceMapSources.indexOf(resolvedPath);
|
||||
@@ -82959,7 +82963,7 @@ var ts;
|
||||
}
|
||||
function parseProjectReferenceConfigFile(ref) {
|
||||
// The actual filename (i.e. add "/tsconfig.json" if necessary)
|
||||
var refPath = resolveProjectReferencePath(host, ref); // TODO: GH#18217
|
||||
var refPath = resolveProjectReferencePath(host, ref);
|
||||
// An absolute path pointing to the containing directory of the config file
|
||||
var basePath = ts.getNormalizedAbsolutePath(ts.getDirectoryPath(refPath), host.getCurrentDirectory());
|
||||
var sourceFile = host.getSourceFile(refPath, 100 /* JSON */);
|
||||
@@ -86542,11 +86546,6 @@ var ts;
|
||||
* Gets the UpToDateStatus for a project
|
||||
*/
|
||||
function getUpToDateStatus(host, project) {
|
||||
if (project === undefined) {
|
||||
return {
|
||||
type: UpToDateStatusType.Unbuildable, reason: "File deleted mid-build"
|
||||
};
|
||||
}
|
||||
if (project === undefined) {
|
||||
return { type: UpToDateStatusType.Unbuildable, reason: "File deleted mid-build" };
|
||||
}
|
||||
@@ -86633,6 +86632,7 @@ var ts;
|
||||
}
|
||||
var pseudoUpToDate = false;
|
||||
var usesPrepend = false;
|
||||
var upstreamChangedProject;
|
||||
if (project.projectReferences && host.parseConfigFile) {
|
||||
for (var _c = 0, _d = project.projectReferences; _c < _d.length; _c++) {
|
||||
var ref = _d[_c];
|
||||
@@ -86662,6 +86662,7 @@ var ts;
|
||||
// *after* those files, then we're "psuedo up to date" and eligible for a fast rebuild
|
||||
if (refStatus.newestDeclarationFileContentChangedTime <= oldestOutputFileTime) {
|
||||
pseudoUpToDate = true;
|
||||
upstreamChangedProject = ref.path;
|
||||
continue;
|
||||
}
|
||||
// We have an output older than an upstream output - we are out of date
|
||||
@@ -86686,8 +86687,12 @@ var ts;
|
||||
newerInputFileName: newestInputFileName
|
||||
};
|
||||
}
|
||||
if (usesPrepend) {
|
||||
pseudoUpToDate = false;
|
||||
if (usesPrepend && pseudoUpToDate) {
|
||||
return {
|
||||
type: UpToDateStatusType.OutOfDateWithUpstream,
|
||||
outOfDateOutputFileName: oldestOutputFileName,
|
||||
newerProjectName: upstreamChangedProject
|
||||
};
|
||||
}
|
||||
// Up to date
|
||||
return {
|
||||
@@ -86745,7 +86750,6 @@ var ts;
|
||||
}
|
||||
ts.formatUpToDateStatus = formatUpToDateStatus;
|
||||
})(ts || (ts = {}));
|
||||
|
||||
//# sourceMappingURL=compiler.js.map
|
||||
"use strict";
|
||||
/* @internal */
|
||||
@@ -87156,7 +87160,6 @@ var ts;
|
||||
}());
|
||||
ts.Semver = Semver;
|
||||
})(ts || (ts = {}));
|
||||
|
||||
//# sourceMappingURL=jsTyping.js.map
|
||||
"use strict";
|
||||
var ts;
|
||||
@@ -87633,7 +87636,6 @@ var ts;
|
||||
})(typingsInstaller = server.typingsInstaller || (server.typingsInstaller = {}));
|
||||
})(server = ts.server || (ts.server = {}));
|
||||
})(ts || (ts = {}));
|
||||
|
||||
//# sourceMappingURL=typingsInstallerCore.js.map
|
||||
var ts;
|
||||
(function (ts) {
|
||||
@@ -87844,5 +87846,4 @@ var ts;
|
||||
})(typingsInstaller = server.typingsInstaller || (server.typingsInstaller = {}));
|
||||
})(server = ts.server || (ts.server = {}));
|
||||
})(ts || (ts = {}));
|
||||
|
||||
//# sourceMappingURL=typingsInstaller.js.map
|
||||
//# sourceMappingURL=typingsInstaller.js.map
|
||||
Reference in New Issue
Block a user