diff --git a/package-lock.json b/package-lock.json index 76af36ca6b..50bf9ac136 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "name": "pyright-root", "hasInstallScript": true, "devDependencies": { + "@detachhead/ts-helpers": "^16.2.0", "@types/glob": "^7.2.0", "@types/node": "^17.0.45", "@types/yargs": "^16.0.9", @@ -25,6 +26,7 @@ "p-queue": "^6.6.2", "prettier": "2.8.8", "syncpack": "~10.9.3", + "throw-expression": "^2.0.1", "typescript": "~5.2", "word-wrap": "1.2.5", "yargs": "^16.2.0" @@ -143,6 +145,51 @@ "node": ">=0.1.90" } }, + "node_modules/@detachhead/ts-helpers": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/@detachhead/ts-helpers/-/ts-helpers-16.2.0.tgz", + "integrity": "sha512-1kwJ1AgXWK9goECjtyRh6SMVf7YYkMt0yvUccxqo7qpDRYs3uDC0ot5MhIbDTbhyoQQio3wTTmA2m5ijdUehdA==", + "dev": true, + "dependencies": { + "@types/lodash": "4.14.195", + "date-fns": "2.21.1", + "is-ci": "2.0.0", + "lodash": "^4.17.21", + "ordinal": "1.0.3", + "throw-expression": "1.0.2", + "ts-is-present": "1.2.1", + "ts-toolbelt": "9.6.0", + "tsdef": "0.0.14", + "utility-types": "3.10.0" + }, + "engines": { + "node": ">=16.6.0" + } + }, + "node_modules/@detachhead/ts-helpers/node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, + "node_modules/@detachhead/ts-helpers/node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/@detachhead/ts-helpers/node_modules/throw-expression": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/throw-expression/-/throw-expression-1.0.2.tgz", + "integrity": "sha512-y8cHYZgp0Vj8bRMQSWAA7pfHj1JPift81tZM9i/rHQuJoYEv9kewjEpRu2wRRuXRaClFWWzWQFTG3Q9rDysyNQ==", + "dev": true + }, "node_modules/@effect/data": { "version": "0.17.1", "resolved": "https://registry.npmjs.org/@effect/data/-/data-0.17.1.tgz", @@ -1640,6 +1687,12 @@ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true }, + "node_modules/@types/lodash": { + "version": "4.14.195", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", + "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==", + "dev": true + }, "node_modules/@types/minimatch": { "version": "5.1.2", "dev": true, @@ -3088,6 +3141,19 @@ "node": ">=8" } }, + "node_modules/date-fns": { + "version": "2.21.1", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.21.1.tgz", + "integrity": "sha512-m1WR0xGiC6j6jNFAyW4Nvh4WxAi4JF4w9jRJwSI8nBmNcyZXPcP9VUQG+6gHQXAmqaGEKDKhOqAtENDC941UkA==", + "dev": true, + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, "node_modules/dateformat": { "version": "3.0.3", "dev": true, @@ -7442,6 +7508,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ordinal": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/ordinal/-/ordinal-1.0.3.tgz", + "integrity": "sha512-cMddMgb2QElm8G7vdaa02jhUNbTSrhsgAGUz1OokD83uJTwSUn+nKoNoKVVaRa08yF6sgfO7Maou1+bgLd9rdQ==", + "dev": true + }, "node_modules/os-tmpdir": { "version": "1.0.2", "dev": true, @@ -9577,6 +9649,12 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/throw-expression": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/throw-expression/-/throw-expression-2.1.0.tgz", + "integrity": "sha512-ZVP9rT4wC596AkWEyYprufvUV+ppfz0xK7H9Ka3WeTKufn5pnfESxicIDnaJyf88pGHaIx2GkwNC4Qjh0OdEwA==", + "dev": true + }, "node_modules/tightrope": { "version": "0.1.0", "dev": true, @@ -9631,6 +9709,12 @@ "typescript": ">=4.2.0" } }, + "node_modules/ts-is-present": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ts-is-present/-/ts-is-present-1.2.1.tgz", + "integrity": "sha512-EYHn58qVRd/VHGkHSNGQJAxPXhF9wRiphYXl04VznngqqKjcT2jfHvAMPuzh8sRKdvifXw+dq6/Q3hG+nr3DRA==", + "dev": true + }, "node_modules/ts-toolbelt": { "version": "9.6.0", "resolved": "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz", @@ -9658,6 +9742,12 @@ "node": ">=4" } }, + "node_modules/tsdef": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/tsdef/-/tsdef-0.0.14.tgz", + "integrity": "sha512-UjMD4XKRWWFlFBfwKVQmGFT5YzW/ZaF8x6KpCDf92u9wgKeha/go3FU0e5WqDjXsCOdfiavCkfwfVHNDxRDGMA==", + "dev": true + }, "node_modules/tslib": { "version": "2.5.0", "dev": true, @@ -10023,6 +10113,15 @@ "dev": true, "license": "MIT" }, + "node_modules/utility-types": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", + "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, "node_modules/uuid": { "version": "9.0.0", "dev": true, @@ -10461,6 +10560,47 @@ "dev": true, "optional": true }, + "@detachhead/ts-helpers": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/@detachhead/ts-helpers/-/ts-helpers-16.2.0.tgz", + "integrity": "sha512-1kwJ1AgXWK9goECjtyRh6SMVf7YYkMt0yvUccxqo7qpDRYs3uDC0ot5MhIbDTbhyoQQio3wTTmA2m5ijdUehdA==", + "dev": true, + "requires": { + "@types/lodash": "4.14.195", + "date-fns": "2.21.1", + "is-ci": "2.0.0", + "lodash": "^4.17.21", + "ordinal": "1.0.3", + "throw-expression": "1.0.2", + "ts-is-present": "1.2.1", + "ts-toolbelt": "9.6.0", + "tsdef": "0.0.14", + "utility-types": "3.10.0" + }, + "dependencies": { + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, + "is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "requires": { + "ci-info": "^2.0.0" + } + }, + "throw-expression": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/throw-expression/-/throw-expression-1.0.2.tgz", + "integrity": "sha512-y8cHYZgp0Vj8bRMQSWAA7pfHj1JPift81tZM9i/rHQuJoYEv9kewjEpRu2wRRuXRaClFWWzWQFTG3Q9rDysyNQ==", + "dev": true + } + } + }, "@effect/data": { "version": "0.17.1", "resolved": "https://registry.npmjs.org/@effect/data/-/data-0.17.1.tgz", @@ -11441,6 +11581,12 @@ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true }, + "@types/lodash": { + "version": "4.14.195", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.195.tgz", + "integrity": "sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==", + "dev": true + }, "@types/minimatch": { "version": "5.1.2", "dev": true @@ -12360,6 +12506,12 @@ "version": "7.0.0", "dev": true }, + "date-fns": { + "version": "2.21.1", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.21.1.tgz", + "integrity": "sha512-m1WR0xGiC6j6jNFAyW4Nvh4WxAi4JF4w9jRJwSI8nBmNcyZXPcP9VUQG+6gHQXAmqaGEKDKhOqAtENDC941UkA==", + "dev": true + }, "dateformat": { "version": "3.0.3", "dev": true @@ -15223,6 +15375,12 @@ "wcwidth": "^1.0.1" } }, + "ordinal": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/ordinal/-/ordinal-1.0.3.tgz", + "integrity": "sha512-cMddMgb2QElm8G7vdaa02jhUNbTSrhsgAGUz1OokD83uJTwSUn+nKoNoKVVaRa08yF6sgfO7Maou1+bgLd9rdQ==", + "dev": true + }, "os-tmpdir": { "version": "1.0.2", "dev": true @@ -16581,6 +16739,12 @@ } } }, + "throw-expression": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/throw-expression/-/throw-expression-2.1.0.tgz", + "integrity": "sha512-ZVP9rT4wC596AkWEyYprufvUV+ppfz0xK7H9Ka3WeTKufn5pnfESxicIDnaJyf88pGHaIx2GkwNC4Qjh0OdEwA==", + "dev": true + }, "tightrope": { "version": "0.1.0", "dev": true @@ -16612,6 +16776,12 @@ "dev": true, "requires": {} }, + "ts-is-present": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ts-is-present/-/ts-is-present-1.2.1.tgz", + "integrity": "sha512-EYHn58qVRd/VHGkHSNGQJAxPXhF9wRiphYXl04VznngqqKjcT2jfHvAMPuzh8sRKdvifXw+dq6/Q3hG+nr3DRA==", + "dev": true + }, "ts-toolbelt": { "version": "9.6.0", "resolved": "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz", @@ -16633,6 +16803,12 @@ } } }, + "tsdef": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/tsdef/-/tsdef-0.0.14.tgz", + "integrity": "sha512-UjMD4XKRWWFlFBfwKVQmGFT5YzW/ZaF8x6KpCDf92u9wgKeha/go3FU0e5WqDjXsCOdfiavCkfwfVHNDxRDGMA==", + "dev": true + }, "tslib": { "version": "2.5.0", "dev": true @@ -16871,6 +17047,12 @@ "version": "1.0.2", "dev": true }, + "utility-types": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", + "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==", + "dev": true + }, "uuid": { "version": "9.0.0", "dev": true diff --git a/packages/pyright-internal/package-lock.json b/packages/pyright-internal/package-lock.json index 1e2ea7e5ac..acd051e2ff 100644 --- a/packages/pyright-internal/package-lock.json +++ b/packages/pyright-internal/package-lock.json @@ -1,12 +1,12 @@ { "name": "pyright-internal", - "version": "1.1.350", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pyright-internal", - "version": "1.1.350", + "version": "1.1.0", "license": "MIT", "dependencies": { "@iarna/toml": "2.2.5", diff --git a/packages/pyright/package-lock.json b/packages/pyright/package-lock.json index dddf0efb37..00cb3801e7 100644 --- a/packages/pyright/package-lock.json +++ b/packages/pyright/package-lock.json @@ -1,12 +1,12 @@ { "name": "pyright", - "version": "1.1.350", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pyright", - "version": "1.1.350", + "version": "1.1.0", "license": "MIT", "bin": { "pyright": "index.js", diff --git a/packages/vscode-pyright/package-lock.json b/packages/vscode-pyright/package-lock.json index e7ca1d6872..bc83f388cc 100644 --- a/packages/vscode-pyright/package-lock.json +++ b/packages/vscode-pyright/package-lock.json @@ -1,14 +1,15 @@ { "name": "vscode-pyright", - "version": "1.1.350", + "version": "1.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-pyright", - "version": "1.1.350", + "version": "1.1.0", "license": "MIT", "dependencies": { + "@vscode/python-extension": "^1.0.5", "vscode-jsonrpc": "8.1.0", "vscode-languageclient": "8.1.0", "vscode-languageserver": "8.1.0", @@ -545,6 +546,15 @@ "integrity": "sha512-wEA+54axejHu7DhcUfnFBan1IqFD1gBDxAFz8LoX06NbNDMRJv/T6OGthOs52yZccasKfN588EyffHWABkR0fg==", "dev": true }, + "node_modules/@vscode/python-extension": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@vscode/python-extension/-/python-extension-1.0.5.tgz", + "integrity": "sha512-uYhXUrL/gn92mfqhjAwH2+yGOpjloBxj9ekoL4BhUsKcyJMpEg6WlNf3S3si+5x9zlbHHe7FYQNjZEbz1ymI9Q==", + "engines": { + "node": ">=16.17.1", + "vscode": "^1.78.0" + } + }, "node_modules/@webassemblyjs/ast": { "version": "1.11.6", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", @@ -4030,6 +4040,11 @@ "integrity": "sha512-wEA+54axejHu7DhcUfnFBan1IqFD1gBDxAFz8LoX06NbNDMRJv/T6OGthOs52yZccasKfN588EyffHWABkR0fg==", "dev": true }, + "@vscode/python-extension": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@vscode/python-extension/-/python-extension-1.0.5.tgz", + "integrity": "sha512-uYhXUrL/gn92mfqhjAwH2+yGOpjloBxj9ekoL4BhUsKcyJMpEg6WlNf3S3si+5x9zlbHHe7FYQNjZEbz1ymI9Q==" + }, "@webassemblyjs/ast": { "version": "1.11.6", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz",