mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
update to latest typescript
This commit is contained in:
parent
66f57d0811
commit
d6f84c6e3b
5 changed files with 29 additions and 15 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -461,9 +461,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "4.4.2",
|
"version": "4.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
|
||||||
"integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
|
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"which": {
|
"which": {
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
"pretty-quick": "^3.1.0",
|
"pretty-quick": "^3.1.0",
|
||||||
"requirejs": "^2.3.6",
|
"requirejs": "^2.3.6",
|
||||||
"terser": "^5.6.0",
|
"terser": "^5.6.0",
|
||||||
"typescript": "^4.4.2"
|
"typescript": "^4.4.3"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
|
|
||||||
|
|
@ -297,7 +297,7 @@ var ts;
|
||||||
// The following is baselined as a literal template type without intervention
|
// The following is baselined as a literal template type without intervention
|
||||||
/** The version of the TypeScript compiler release */
|
/** The version of the TypeScript compiler release */
|
||||||
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
||||||
ts.version = "4.4.2";
|
ts.version = "4.4.3";
|
||||||
/* @internal */
|
/* @internal */
|
||||||
var Comparison;
|
var Comparison;
|
||||||
(function (Comparison) {
|
(function (Comparison) {
|
||||||
|
|
@ -117645,6 +117645,10 @@ var ts;
|
||||||
});
|
});
|
||||||
parsedConfigs = undefined;
|
parsedConfigs = undefined;
|
||||||
}
|
}
|
||||||
|
if (packageJsonMap) {
|
||||||
|
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
|
||||||
|
packageJsonMap = undefined;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function getCurrentBuilderProgram() {
|
function getCurrentBuilderProgram() {
|
||||||
return builderProgram;
|
return builderProgram;
|
||||||
|
|
@ -126708,13 +126712,16 @@ var ts;
|
||||||
case 204 /* PropertyAccessExpression */:
|
case 204 /* PropertyAccessExpression */:
|
||||||
propertyAccessToConvert = parent;
|
propertyAccessToConvert = parent;
|
||||||
node = propertyAccessToConvert.expression;
|
node = propertyAccessToConvert.expression;
|
||||||
if ((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
|
var leftmostAccessExpression = ts.getLeftmostAccessExpression(propertyAccessToConvert);
|
||||||
node.end === contextToken.pos &&
|
if (ts.nodeIsMissing(leftmostAccessExpression) ||
|
||||||
node.getChildCount(sourceFile) &&
|
((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
|
||||||
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */) {
|
node.end === contextToken.pos &&
|
||||||
|
node.getChildCount(sourceFile) &&
|
||||||
|
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */)) {
|
||||||
// This is likely dot from incorrectly parsed expression and user is starting to write spread
|
// This is likely dot from incorrectly parsed expression and user is starting to write spread
|
||||||
// eg: Math.min(./**/)
|
// eg: Math.min(./**/)
|
||||||
// const x = function (./**/) {}
|
// const x = function (./**/) {}
|
||||||
|
// ({./**/})
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -297,7 +297,7 @@ var ts;
|
||||||
// The following is baselined as a literal template type without intervention
|
// The following is baselined as a literal template type without intervention
|
||||||
/** The version of the TypeScript compiler release */
|
/** The version of the TypeScript compiler release */
|
||||||
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
||||||
ts.version = "4.4.2";
|
ts.version = "4.4.3";
|
||||||
/* @internal */
|
/* @internal */
|
||||||
var Comparison;
|
var Comparison;
|
||||||
(function (Comparison) {
|
(function (Comparison) {
|
||||||
|
|
@ -117645,6 +117645,10 @@ var ts;
|
||||||
});
|
});
|
||||||
parsedConfigs = undefined;
|
parsedConfigs = undefined;
|
||||||
}
|
}
|
||||||
|
if (packageJsonMap) {
|
||||||
|
ts.clearMap(packageJsonMap, ts.closeFileWatcher);
|
||||||
|
packageJsonMap = undefined;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function getCurrentBuilderProgram() {
|
function getCurrentBuilderProgram() {
|
||||||
return builderProgram;
|
return builderProgram;
|
||||||
|
|
@ -126708,13 +126712,16 @@ var ts;
|
||||||
case 204 /* PropertyAccessExpression */:
|
case 204 /* PropertyAccessExpression */:
|
||||||
propertyAccessToConvert = parent;
|
propertyAccessToConvert = parent;
|
||||||
node = propertyAccessToConvert.expression;
|
node = propertyAccessToConvert.expression;
|
||||||
if ((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
|
var leftmostAccessExpression = ts.getLeftmostAccessExpression(propertyAccessToConvert);
|
||||||
node.end === contextToken.pos &&
|
if (ts.nodeIsMissing(leftmostAccessExpression) ||
|
||||||
node.getChildCount(sourceFile) &&
|
((ts.isCallExpression(node) || ts.isFunctionLike(node)) &&
|
||||||
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */) {
|
node.end === contextToken.pos &&
|
||||||
|
node.getChildCount(sourceFile) &&
|
||||||
|
ts.last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */)) {
|
||||||
// This is likely dot from incorrectly parsed expression and user is starting to write spread
|
// This is likely dot from incorrectly parsed expression and user is starting to write spread
|
||||||
// eg: Math.min(./**/)
|
// eg: Math.min(./**/)
|
||||||
// const x = function (./**/) {}
|
// const x = function (./**/) {}
|
||||||
|
// ({./**/})
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
// **NOTE**: Do not edit directly! This file is generated using `npm run import-typescript`
|
// **NOTE**: Do not edit directly! This file is generated using `npm run import-typescript`
|
||||||
//
|
//
|
||||||
|
|
||||||
export const typescriptVersion = "4.4.2";
|
export const typescriptVersion = "4.4.3";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue