Skip to content

Commit

Permalink
Update deps, bump minimum VS Code version to 1.51 (microsoft#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Feb 26, 2021
1 parent 98d2ae2 commit 8509808
Show file tree
Hide file tree
Showing 24 changed files with 3,282 additions and 2,760 deletions.
531 changes: 278 additions & 253 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@
"check:lockindent": "node ./packages/pyright/build/checkLockIndent.js"
},
"devDependencies": {
"@types/fs-extra": "^9.0.6",
"@types/node": "^12.19.14",
"@types/fs-extra": "^9.0.7",
"@types/node": "^12.20.4",
"@types/semver": "^7.3.4",
"@types/undertaker": "^1.2.6",
"@types/yargs": "^15.0.12",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"@types/yargs": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"cross-env": "^7.0.3",
"detect-indent": "^6.0.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"fs-extra": "^9.0.1",
"fs-extra": "^9.1.0",
"git-describe": "^4.0.4",
"gulp": "^4.0.2",
"lerna": "^3.22.1",
"prettier": "2.2.1",
"semver": "^7.3.4",
"syncpack": "^5.6.10",
"syncpack": "^5.7.11",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"typescript": "^4.2.2",
"yargs": "^16.2.0"
}
}
374 changes: 197 additions & 177 deletions packages/pylance-client/package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions packages/pylance-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/microsoft/pyrx"
},
"engines": {
"vscode": "^1.48.0"
"vscode": "^1.51.0"
},
"keywords": [
"python"
Expand Down Expand Up @@ -274,17 +274,17 @@
"webpack-dev": "npm run clean && webpack --mode development --watch --progress"
},
"devDependencies": {
"@types/node": "^12.19.14",
"@types/vscode": "~1.48.0",
"@types/node": "^12.20.4",
"@types/vscode": "~1.51.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^7.0.0",
"native-ext-loader": "^2.3.0",
"shx": "^0.3.3",
"ts-loader": "^8.0.14",
"ts-loader": "^8.0.17",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"typescript": "^4.1.3",
"webpack": "^5.15.0",
"webpack-cli": "^4.3.1"
"typescript": "^4.2.2",
"webpack": "^5.24.2",
"webpack-cli": "^4.5.0"
},
"dependencies": {
"vscode-jsonrpc": "6.0.0-next.7",
Expand Down
527 changes: 303 additions & 224 deletions packages/pylance-internal/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/pylance-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/node": "^12.19.14",
"@types/node": "^12.20.4",
"@types/tmp": "^0.2.0",
"@types/uuid": "^8.3.0",
"@types/yauzl": "^2.9.1",
Expand All @@ -47,10 +47,10 @@
"shx": "^0.3.3",
"tar": "^6.1.0",
"tmp": "^0.2.1",
"ts-jest": "^26.4.4",
"ts-jest": "^26.5.2",
"ts-mockito": "^2.6.1",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.1.3"
"typescript": "^4.2.2"
}
}
4 changes: 2 additions & 2 deletions packages/pylance-internal/src/intelliCode/nativeInit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function prepareNativesForCurrentPlatform(fs: FileSystem, platform: Platf
// Other platforms may not have 'dll' extension.
const onnxFiles = fs
.readdirEntriesSync(targetFolder)
.filter((f) => f.isFile && f.name.startsWith(onnxruntime) && path.extname(f.name) !== '.node');
.filter((f) => f.isFile() && f.name.startsWith(onnxruntime) && path.extname(f.name) !== '.node');
if (onnxFiles.length > 0) {
return; // File already copied;
}
Expand All @@ -48,7 +48,7 @@ export function prepareNativesForCurrentPlatform(fs: FileSystem, platform: Platf
function copyFiles(srcFolder: string, dstFolder: string, fs: FileSystem): void {
const files = fs
.readdirEntriesSync(srcFolder)
.filter((f) => f.isFile)
.filter((f) => f.isFile())
.map((f) => f.name);
for (const f of files) {
fs.copyFileSync(path.join(srcFolder, f), path.join(dstFolder, f));
Expand Down
633 changes: 323 additions & 310 deletions packages/pylance-pythia/package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions packages/pylance-pythia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/node": "^12.19.14",
"@types/node": "^12.20.4",
"clean-webpack-plugin": "^3.0.0",
"jest": "^26.6.3",
"jest-extended": "^0.11.5",
"jest-junit": "^12.0.0",
"shx": "^0.3.3",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.14",
"ts-jest": "^26.5.2",
"ts-loader": "^8.0.17",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"typescript": "^4.1.3",
"webpack": "^5.15.0",
"webpack-cli": "^4.3.1"
"typescript": "^4.2.2",
"webpack": "^5.24.2",
"webpack-cli": "^4.5.0"
},
"files": [
"/dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/pylance-pythia/src/pythia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function getSolutionsAlreadyParsed(prevOutputPrefix: string): string[] {

const outputPaths = fs
.readdirSync(prevOutputPrefix, { withFileTypes: true })
.filter((f) => f.isFile && path.extname(f.name) === '*.json');
.filter((f) => f.isFile() && path.extname(f.name) === '*.json');
for (const op of outputPaths) {
const fileName = path.basename(op.name);
const parts = fileName.split('_');
Expand Down
Loading

0 comments on commit 8509808

Please sign in to comment.