diff --git a/package-lock.json b/package-lock.json index 728682cf9..155f9f91e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,6 +42,24 @@ } } }, + "@eslint/eslintrc": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.1.3.tgz", + "integrity": "sha512-4YVwPkANLeNtRjMekzux1ci8hIaH5eGKktGqR0d3LWsKNn5B2X/1Z6Trxy7jQXl9EBGE6Yj02O+t09FMeRllaA==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "lodash": "^4.17.19", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + } + }, "@evocateur/libnpmaccess": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz", @@ -1285,12 +1303,6 @@ "@types/node": ">= 8" } }, - "@types/color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", - "dev": true - }, "@types/eslint-visitor-keys": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", @@ -1442,15 +1454,15 @@ "dev": true }, "acorn": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", - "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true }, "acorn-jsx": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz", - "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", + "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", "dev": true }, "agent-base": { @@ -1936,12 +1948,11 @@ }, "dependencies": { "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, @@ -2146,9 +2157,9 @@ } }, "commander": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.0.0.tgz", - "integrity": "sha512-s7EA+hDtTYNhuXkTlhqew4txMZVdszBmKWSPEMxGr8ru8JXR7bLUFIAtPhcSuFdJQ0ILMxnJi8GkQL0yvDy/YA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz", + "integrity": "sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==", "dev": true }, "compare-func": { @@ -2888,22 +2899,23 @@ "dev": true }, "eslint": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.7.0.tgz", - "integrity": "sha512-1KUxLzos0ZVsyL81PnRN335nDtQ8/vZUD6uMtWbF+5zDtjKcsklIi78XoE0MVL93QvWTu+E5y44VyyCsOMBrIg==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.11.0.tgz", + "integrity": "sha512-G9+qtYVCHaDi1ZuWzBsOWo2wSwd70TXnU6UHA3cTYHp7gCTXZcpggWFoUVAMRarg68qtPoNfFbzPh+VdOgmwmw==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", + "@eslint/eslintrc": "^0.1.3", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.0.1", "doctrine": "^3.0.0", "enquirer": "^2.3.5", - "eslint-scope": "^5.1.0", + "eslint-scope": "^5.1.1", "eslint-utils": "^2.1.0", - "eslint-visitor-keys": "^1.3.0", - "espree": "^7.2.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.0", "esquery": "^1.2.0", "esutils": "^2.0.2", "file-entry-cache": "^5.0.1", @@ -2929,12 +2941,47 @@ "table": "^5.2.3", "text-table": "^0.2.0", "v8-compile-cache": "^2.0.3" + }, + "dependencies": { + "eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + } + }, + "eslint-visitor-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", + "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "dev": true + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } + } + } } }, "eslint-config-prettier": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz", - "integrity": "sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.12.0.tgz", + "integrity": "sha512-9jWPlFlgNwRUYVoujvWTQ1aMO8o6648r+K7qU7K5Jmkbyqav1fuEZC0COYpGBxyiAJb65Ra9hrmFx19xRGwXWw==", "dev": true, "requires": { "get-stdin": "^6.0.0" @@ -7076,13 +7123,13 @@ } }, "syncpack": { - "version": "5.5.6", - "resolved": "https://registry.npmjs.org/syncpack/-/syncpack-5.5.6.tgz", - "integrity": "sha512-rTUbzX6iuKz7saOsj8dDMxgApaZ8Y4S6nudW59ikAALIGa1RNMKaVAIi9P5HMjx94y686UkXp6CmsuxNjNXG8Q==", + "version": "5.6.10", + "resolved": "https://registry.npmjs.org/syncpack/-/syncpack-5.6.10.tgz", + "integrity": "sha512-7YjOACc9syvQVZfNSIhgZoZ2foqzQJ/r8tUPDKdfRgnBYNkDbbcjzYz1XH35oOm2vAllNhZYK2R8N5sAITMbqA==", "dev": true, "requires": { "chalk": "4.1.0", - "commander": "6.0.0", + "commander": "6.1.0", "cosmiconfig": "7.0.0", "expect-more": "0.8.0", "fs-extra": "9.0.1", @@ -7387,9 +7434,9 @@ "dev": true }, "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", + "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 6d305ecbe..7e32f9d02 100644 --- a/package.json +++ b/package.json @@ -21,12 +21,12 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "eslint": "^7.7.0", - "eslint-config-prettier": "^6.11.0", + "eslint": "^7.11.0", + "eslint-config-prettier": "^6.12.0", "eslint-plugin-simple-import-sort": "^5.0.3", "lerna": "^3.22.1", "prettier": "2.1.1", - "syncpack": "^5.5.6", - "typescript": "^4.0.2" + "syncpack": "^5.6.10", + "typescript": "^4.0.3" } } diff --git a/packages/pyright-internal/package-lock.json b/packages/pyright-internal/package-lock.json index 4698ee1c0..64b34de67 100644 --- a/packages/pyright-internal/package-lock.json +++ b/packages/pyright-internal/package-lock.json @@ -14,19 +14,19 @@ } }, "@babel/core": { - "version": "7.11.4", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.4.tgz", - "integrity": "sha512-5deljj5HlqRXN+5oJTY7Zs37iH3z3b++KjiKtIsJy1NrjOOVSEaJHEetLBhyu0aQOSNNZ/0IuEAan9GzRuDXHg==", + "version": "7.11.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.6.tgz", + "integrity": "sha512-Wpcv03AGnmkgm6uS6k8iwhIwTrcP0m17TL1n1sy7qD0qelDu4XNeW0dN0mHfa+Gei211yDaLoEe/VlbXQzM4Bg==", "dev": true, "requires": { "@babel/code-frame": "^7.10.4", - "@babel/generator": "^7.11.4", + "@babel/generator": "^7.11.6", "@babel/helper-module-transforms": "^7.11.0", "@babel/helpers": "^7.10.4", - "@babel/parser": "^7.11.4", + "@babel/parser": "^7.11.5", "@babel/template": "^7.10.4", - "@babel/traverse": "^7.11.0", - "@babel/types": "^7.11.0", + "@babel/traverse": "^7.11.5", + "@babel/types": "^7.11.5", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.1", @@ -46,12 +46,12 @@ } }, "@babel/generator": { - "version": "7.11.4", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.4.tgz", - "integrity": "sha512-Rn26vueFx0eOoz7iifCN2UHT6rGtnkSGWSoDRIy8jZN3B91PzeSULbswfLoOWuTuAcNwpG/mxy+uCTDnZ9Mp1g==", + "version": "7.11.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz", + "integrity": "sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA==", "dev": true, "requires": { - "@babel/types": "^7.11.0", + "@babel/types": "^7.11.5", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, @@ -244,9 +244,9 @@ } }, "@babel/parser": { - "version": "7.11.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.4.tgz", - "integrity": "sha512-MggwidiH+E9j5Sh8pbrX5sJvMcsqS5o+7iB42M9/k0CD63MjYbdP4nhSh7uB5wnv2/RVzTZFTxzF/kIa5mrCqA==", + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz", + "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q==", "dev": true }, "@babel/plugin-syntax-async-generators": { @@ -360,26 +360,26 @@ } }, "@babel/traverse": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz", - "integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==", + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz", + "integrity": "sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ==", "dev": true, "requires": { "@babel/code-frame": "^7.10.4", - "@babel/generator": "^7.11.0", + "@babel/generator": "^7.11.5", "@babel/helper-function-name": "^7.10.4", "@babel/helper-split-export-declaration": "^7.11.0", - "@babel/parser": "^7.11.0", - "@babel/types": "^7.11.0", + "@babel/parser": "^7.11.5", + "@babel/types": "^7.11.5", "debug": "^4.1.0", "globals": "^11.1.0", "lodash": "^4.17.19" } }, "@babel/types": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz", - "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==", + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz", + "integrity": "sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==", "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.10.4", @@ -423,23 +423,23 @@ "dev": true }, "@jest/console": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.3.0.tgz", - "integrity": "sha512-/5Pn6sJev0nPUcAdpJHMVIsA8sKizL2ZkcKPE5+dJrCccks7tcM7c9wbgHudBJbxXLoTbqsHkG1Dofoem4F09w==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.5.2.tgz", + "integrity": "sha512-lJELzKINpF1v74DXHbCRIkQ/+nUV1M+ntj+X1J8LxCgpmJZjfLmhFejiMSbjjD66fayxl5Z06tbs3HMyuik6rw==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "@types/node": "*", "chalk": "^4.0.0", - "jest-message-util": "^26.3.0", - "jest-util": "^26.3.0", + "jest-message-util": "^26.5.2", + "jest-util": "^26.5.2", "slash": "^3.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -461,34 +461,34 @@ } }, "@jest/core": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.4.2.tgz", - "integrity": "sha512-sDva7YkeNprxJfepOctzS8cAk9TOekldh+5FhVuXS40+94SHbiicRO1VV2tSoRtgIo+POs/Cdyf8p76vPTd6dg==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-26.5.2.tgz", + "integrity": "sha512-LLTo1LQMg7eJjG/+P1NYqFof2B25EV1EqzD5FonklihG4UJKiK2JBIvWonunws6W7e+DhNLoFD+g05tCY03eyA==", "dev": true, "requires": { - "@jest/console": "^26.3.0", - "@jest/reporters": "^26.4.1", - "@jest/test-result": "^26.3.0", - "@jest/transform": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/console": "^26.5.2", + "@jest/reporters": "^26.5.2", + "@jest/test-result": "^26.5.2", + "@jest/transform": "^26.5.2", + "@jest/types": "^26.5.2", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", "exit": "^0.1.2", "graceful-fs": "^4.2.4", - "jest-changed-files": "^26.3.0", - "jest-config": "^26.4.2", - "jest-haste-map": "^26.3.0", - "jest-message-util": "^26.3.0", + "jest-changed-files": "^26.5.2", + "jest-config": "^26.5.2", + "jest-haste-map": "^26.5.2", + "jest-message-util": "^26.5.2", "jest-regex-util": "^26.0.0", - "jest-resolve": "^26.4.0", - "jest-resolve-dependencies": "^26.4.2", - "jest-runner": "^26.4.2", - "jest-runtime": "^26.4.2", - "jest-snapshot": "^26.4.2", - "jest-util": "^26.3.0", - "jest-validate": "^26.4.2", - "jest-watcher": "^26.3.0", + "jest-resolve": "^26.5.2", + "jest-resolve-dependencies": "^26.5.2", + "jest-runner": "^26.5.2", + "jest-runtime": "^26.5.2", + "jest-snapshot": "^26.5.2", + "jest-util": "^26.5.2", + "jest-validate": "^26.5.2", + "jest-watcher": "^26.5.2", "micromatch": "^4.0.2", "p-each-series": "^2.1.0", "rimraf": "^3.0.0", @@ -497,9 +497,9 @@ }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -521,21 +521,21 @@ } }, "@jest/environment": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.3.0.tgz", - "integrity": "sha512-EW+MFEo0DGHahf83RAaiqQx688qpXgl99wdb8Fy67ybyzHwR1a58LHcO376xQJHfmoXTu89M09dH3J509cx2AA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.5.2.tgz", + "integrity": "sha512-YjhCD/Zhkz0/1vdlS/QN6QmuUdDkpgBdK4SdiVg4Y19e29g4VQYN5Xg8+YuHjdoWGY7wJHMxc79uDTeTOy9Ngw==", "dev": true, "requires": { - "@jest/fake-timers": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/fake-timers": "^26.5.2", + "@jest/types": "^26.5.2", "@types/node": "*", - "jest-mock": "^26.3.0" + "jest-mock": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -557,23 +557,23 @@ } }, "@jest/fake-timers": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.3.0.tgz", - "integrity": "sha512-ZL9ytUiRwVP8ujfRepffokBvD2KbxbqMhrXSBhSdAhISCw3gOkuntisiSFv+A6HN0n0fF4cxzICEKZENLmW+1A==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.5.2.tgz", + "integrity": "sha512-09Hn5Oraqt36V1akxQeWMVL0fR9c6PnEhpgLaYvREXZJAh2H2Y+QLCsl0g7uMoJeoWJAuz4tozk1prbR1Fc1sw==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "@sinonjs/fake-timers": "^6.0.1", "@types/node": "*", - "jest-message-util": "^26.3.0", - "jest-mock": "^26.3.0", - "jest-util": "^26.3.0" + "jest-message-util": "^26.5.2", + "jest-mock": "^26.5.2", + "jest-util": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -595,20 +595,20 @@ } }, "@jest/globals": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.4.2.tgz", - "integrity": "sha512-Ot5ouAlehhHLRhc+sDz2/9bmNv9p5ZWZ9LE1pXGGTCXBasmi5jnYjlgYcYt03FBwLmZXCZ7GrL29c33/XRQiow==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.5.2.tgz", + "integrity": "sha512-9PmnFsAUJxpPt1s/stq02acS1YHliVBDNfAWMe1bwdRr1iTCfhbNt3ERQXrO/ZfZSweftoA26Q/2yhSVSWQ3sw==", "dev": true, "requires": { - "@jest/environment": "^26.3.0", - "@jest/types": "^26.3.0", - "expect": "^26.4.2" + "@jest/environment": "^26.5.2", + "@jest/types": "^26.5.2", + "expect": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -630,16 +630,16 @@ } }, "@jest/reporters": { - "version": "26.4.1", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.4.1.tgz", - "integrity": "sha512-aROTkCLU8++yiRGVxLsuDmZsQEKO6LprlrxtAuzvtpbIFl3eIjgIf3EUxDKgomkS25R9ZzwGEdB5weCcBZlrpQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.5.2.tgz", + "integrity": "sha512-zvq6Wvy6MmJq/0QY0YfOPb49CXKSf42wkJbrBPkeypVa8I+XDxijvFuywo6TJBX/ILPrdrlE/FW9vJZh6Rf9vA==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^26.3.0", - "@jest/test-result": "^26.3.0", - "@jest/transform": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/console": "^26.5.2", + "@jest/test-result": "^26.5.2", + "@jest/transform": "^26.5.2", + "@jest/types": "^26.5.2", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", @@ -650,10 +650,10 @@ "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.0.2", - "jest-haste-map": "^26.3.0", - "jest-resolve": "^26.4.0", - "jest-util": "^26.3.0", - "jest-worker": "^26.3.0", + "jest-haste-map": "^26.5.2", + "jest-resolve": "^26.5.2", + "jest-util": "^26.5.2", + "jest-worker": "^26.5.0", "node-notifier": "^8.0.0", "slash": "^3.0.0", "source-map": "^0.6.0", @@ -663,9 +663,9 @@ }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -687,9 +687,9 @@ } }, "@jest/source-map": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.3.0.tgz", - "integrity": "sha512-hWX5IHmMDWe1kyrKl7IhFwqOuAreIwHhbe44+XH2ZRHjrKIh0LO5eLQ/vxHFeAfRwJapmxuqlGAEYLadDq6ZGQ==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.5.0.tgz", + "integrity": "sha512-jWAw9ZwYHJMe9eZq/WrsHlwF8E3hM9gynlcDpOyCb9bR8wEd9ZNBZCi7/jZyzHxC7t3thZ10gO2IDhu0bPKS5g==", "dev": true, "requires": { "callsites": "^3.0.0", @@ -698,21 +698,21 @@ } }, "@jest/test-result": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.3.0.tgz", - "integrity": "sha512-a8rbLqzW/q7HWheFVMtghXV79Xk+GWwOK1FrtimpI5n1la2SY0qHri3/b0/1F0Ve0/yJmV8pEhxDfVwiUBGtgg==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.5.2.tgz", + "integrity": "sha512-E/Zp6LURJEGSCWpoMGmCFuuEI1OWuI3hmZwmULV0GsgJBh7u0rwqioxhRU95euUuviqBDN8ruX/vP/4bwYolXw==", "dev": true, "requires": { - "@jest/console": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/console": "^26.5.2", + "@jest/types": "^26.5.2", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -734,34 +734,34 @@ } }, "@jest/test-sequencer": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.4.2.tgz", - "integrity": "sha512-83DRD8N3M0tOhz9h0bn6Kl6dSp+US6DazuVF8J9m21WAp5x7CqSMaNycMP0aemC/SH/pDQQddbsfHRTBXVUgog==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.5.2.tgz", + "integrity": "sha512-XmGEh7hh07H2B8mHLFCIgr7gA5Y6Hw1ZATIsbz2fOhpnQ5AnQtZk0gmP0Q5/+mVB2xygO64tVFQxOajzoptkNA==", "dev": true, "requires": { - "@jest/test-result": "^26.3.0", + "@jest/test-result": "^26.5.2", "graceful-fs": "^4.2.4", - "jest-haste-map": "^26.3.0", - "jest-runner": "^26.4.2", - "jest-runtime": "^26.4.2" + "jest-haste-map": "^26.5.2", + "jest-runner": "^26.5.2", + "jest-runtime": "^26.5.2" } }, "@jest/transform": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.3.0.tgz", - "integrity": "sha512-Isj6NB68QorGoFWvcOjlUhpkT56PqNIsXKR7XfvoDlCANn/IANlh8DrKAA2l2JKC3yWSMH5wS0GwuQM20w3b2A==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.5.2.tgz", + "integrity": "sha512-AUNjvexh+APhhmS8S+KboPz+D3pCxPvEAGduffaAJYxIFxGi/ytZQkrqcKDUU0ERBAo5R7087fyOYr2oms1seg==", "dev": true, "requires": { "@babel/core": "^7.1.0", - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "babel-plugin-istanbul": "^6.0.0", "chalk": "^4.0.0", "convert-source-map": "^1.4.0", "fast-json-stable-stringify": "^2.0.0", "graceful-fs": "^4.2.4", - "jest-haste-map": "^26.3.0", + "jest-haste-map": "^26.5.2", "jest-regex-util": "^26.0.0", - "jest-util": "^26.3.0", + "jest-util": "^26.5.2", "micromatch": "^4.0.2", "pirates": "^4.0.1", "slash": "^3.0.0", @@ -770,9 +770,9 @@ }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -836,9 +836,9 @@ } }, "@types/babel__core": { - "version": "7.1.9", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.9.tgz", - "integrity": "sha512-sY2RsIJ5rpER1u3/aQ8OFSI7qGIy8o1NEEbgb2UaJcvOtXOMpd39ko723NBpjQFg9SIX7TXtjejZVGeIMLhoOw==", + "version": "7.1.10", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.10.tgz", + "integrity": "sha512-x8OM8XzITIMyiwl5Vmo2B1cR1S1Ipkyv4mdlbJjMa1lmuKvKY9FrBbEANIaMlnWn5Rf7uO+rC/VgYabNkE17Hw==", "dev": true, "requires": { "@babel/parser": "^7.1.0", @@ -849,18 +849,18 @@ } }, "@types/babel__generator": { - "version": "7.6.1", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.1.tgz", - "integrity": "sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.2.tgz", + "integrity": "sha512-MdSJnBjl+bdwkLskZ3NGFp9YcXGx5ggLpQQPqtgakVhsWK0hTtNYhjpZLlWQTviGTvF8at+Bvli3jV7faPdgeQ==", "dev": true, "requires": { "@babel/types": "^7.0.0" } }, "@types/babel__template": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.0.2.tgz", - "integrity": "sha512-/K6zCpeW7Imzgab2bLkLEbz0+1JlFSrUMdw7KoIIu+IUdu51GWaBZpd3y1VXGVXzynvGa4DaIaxNZHiON3GXUg==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.0.3.tgz", + "integrity": "sha512-uCoznIPDmnickEi6D0v11SBpW0OuVqHJCa7syXqQHy5uktSCreIlt0iglsCnmvz8yCb38hGcWeseA8cWJSwv5Q==", "dev": true, "requires": { "@babel/parser": "^7.1.0", @@ -868,9 +868,9 @@ } }, "@types/babel__traverse": { - "version": "7.0.13", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.13.tgz", - "integrity": "sha512-i+zS7t6/s9cdQvbqKDARrcbrPvtJGlbYsMkazo03nTAK3RX9FNrLllXys22uiTGJapPOTZTQ35nHh4ISph4SLQ==", + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.15.tgz", + "integrity": "sha512-Pzh9O3sTK8V6I1olsXpCfj2k/ygO2q1X0vhhnDrEQyYLHZesWz+zMZMVcwXLCYf0U36EtmyYaFGPfXlTtDHe3A==", "dev": true, "requires": { "@babel/types": "^7.3.0" @@ -931,9 +931,9 @@ } }, "@types/jest": { - "version": "26.0.10", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.10.tgz", - "integrity": "sha512-i2m0oyh8w/Lum7wWK/YOZJakYF8Mx08UaKA1CtbmFeDquVhAEdA7znacsVSf2hJ1OQ/OfVMGN90pw/AtzF8s/Q==", + "version": "26.0.14", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.14.tgz", + "integrity": "sha512-Hz5q8Vu0D288x3iWXePSn53W7hAjP0H7EQ6QvDO9c7t46mR0lNOLlfuwQ+JkVxuhygHzlzPX+0jKdA3ZgSh+Vg==", "dev": true, "requires": { "jest-diff": "^25.2.1", @@ -941,9 +941,9 @@ } }, "@types/node": { - "version": "12.12.54", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.54.tgz", - "integrity": "sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w==", + "version": "12.12.67", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.67.tgz", + "integrity": "sha512-R48tgL2izApf+9rYNH+3RBMbRpPeW3N8f0I9HMhggeq4UXwBDqumJ14SDs4ctTMhG11pIOduZ4z3QWGOiMc9Vg==", "dev": true }, "@types/normalize-package-data": { @@ -953,15 +953,15 @@ "dev": true }, "@types/prettier": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.1.0.tgz", - "integrity": "sha512-hiYA88aHiEIgDmeKlsyVsuQdcFn3Z2VuFd/Xm/HCnGnPD8UFU5BM128uzzRVVGEzKDKYUrRsRH9S2o+NUy/3IA==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.1.2.tgz", + "integrity": "sha512-IiPhNnenzkqdSdQH3ifk9LoX7oQe61ZlDdDO4+MUv6FyWdPGDPr26gCPVs3oguZEMq//nFZZpwUZcVuNJsG+DQ==", "dev": true }, "@types/stack-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", - "integrity": "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.0.tgz", + "integrity": "sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw==", "dev": true }, "@types/tmp": { @@ -971,9 +971,9 @@ "dev": true }, "@types/yargs": { - "version": "15.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.5.tgz", - "integrity": "sha512-Dk/IDOPtOgubt/IaevIUbTgV7doaKkoorvOyYM2CMwuDyP89bekI7H4xLIwunNYiK9jhCkmc6pUrJk3cj2AB9w==", + "version": "15.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.8.tgz", + "integrity": "sha512-b0BYzFUzBpOhPjpl1wtAHU994jBeKF4TKVlT7ssFv44T617XNcPdRoG4AzHLVshLzlrF7i3lTelH7UbuNYV58Q==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -986,15 +986,15 @@ "dev": true }, "abab": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.4.tgz", - "integrity": "sha512-Eu9ELJWCz/c1e9gTiCY+FceWxcqzjYEbqMgtndnuSqZSUCOL73TWNK2mHfIj4Cw2E/ongOp+JISVNCmovt2KYQ==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", + "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", "dev": true }, "acorn": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", - "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true }, "acorn-globals": { @@ -1014,9 +1014,9 @@ "dev": true }, "ajv": { - "version": "6.12.4", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", - "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", + "version": "6.12.5", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.5.tgz", + "integrity": "sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -1180,25 +1180,25 @@ "dev": true }, "babel-jest": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.3.0.tgz", - "integrity": "sha512-sxPnQGEyHAOPF8NcUsD0g7hDCnvLL2XyblRBcgrzTWBB/mAIpWow3n1bEL+VghnnZfreLhFSBsFluRoK2tRK4g==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.5.2.tgz", + "integrity": "sha512-U3KvymF3SczA3vOL/cgiUFOznfMET+XDIXiWnoJV45siAp2pLMG8i2+/MGZlAC3f/F6Q40LR4M4qDrWZ9wkK8A==", "dev": true, "requires": { - "@jest/transform": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/transform": "^26.5.2", + "@jest/types": "^26.5.2", "@types/babel__core": "^7.1.7", "babel-plugin-istanbul": "^6.0.0", - "babel-preset-jest": "^26.3.0", + "babel-preset-jest": "^26.5.0", "chalk": "^4.0.0", "graceful-fs": "^4.2.4", "slash": "^3.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -1233,9 +1233,9 @@ } }, "babel-plugin-jest-hoist": { - "version": "26.2.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.2.0.tgz", - "integrity": "sha512-B/hVMRv8Nh1sQ1a3EY8I0n4Y1Wty3NrR5ebOyVT302op+DOAau+xNEImGMsUWOC3++ZlMooCytKz+NgN8aKGbA==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.5.0.tgz", + "integrity": "sha512-ck17uZFD3CDfuwCLATWZxkkuGGFhMij8quP8CNhwj8ek1mqFgbFzRJ30xwC04LLscj/aKsVFfRST+b5PT7rSuw==", "dev": true, "requires": { "@babel/template": "^7.3.3", @@ -1245,9 +1245,9 @@ } }, "babel-preset-current-node-syntax": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.3.tgz", - "integrity": "sha512-uyexu1sVwcdFnyq9o8UQYsXwXflIh8LvrF5+cKrYam93ned1CStffB3+BEcsxGSgagoA3GEyjDqO4a/58hyPYQ==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.4.tgz", + "integrity": "sha512-5/INNCYhUGqw7VbVjT/hb3ucjgkVHKXY7lX3ZjlN4gm565VyFmJUrJ/h+h16ECVB38R/9SF6aACydpKMLZ/c9w==", "dev": true, "requires": { "@babel/plugin-syntax-async-generators": "^7.8.4", @@ -1264,12 +1264,12 @@ } }, "babel-preset-jest": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.3.0.tgz", - "integrity": "sha512-5WPdf7nyYi2/eRxCbVrE1kKCWxgWY4RsPEbdJWFm7QsesFGqjdkyLeu1zRkwM1cxK6EPIlNd6d2AxLk7J+t4pw==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.5.0.tgz", + "integrity": "sha512-F2vTluljhqkiGSJGBg/jOruA8vIIIL11YrxRcO7nviNTMbbofPSHwnm8mgP7d/wS7wRSexRoI6X1A6T74d4LQA==", "dev": true, "requires": { - "babel-plugin-jest-hoist": "^26.2.0", + "babel-plugin-jest-hoist": "^26.5.0", "babel-preset-current-node-syntax": "^0.1.3" } }, @@ -1660,12 +1660,12 @@ } }, "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, "decamelize": { @@ -1675,9 +1675,9 @@ "dev": true }, "decimal.js": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.0.tgz", - "integrity": "sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw==", + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.1.tgz", + "integrity": "sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==", "dev": true }, "decode-uri-component": { @@ -1970,23 +1970,23 @@ } }, "expect": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-26.4.2.tgz", - "integrity": "sha512-IlJ3X52Z0lDHm7gjEp+m76uX46ldH5VpqmU0006vqDju/285twh7zaWMRhs67VpQhBwjjMchk+p5aA0VkERCAA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.5.2.tgz", + "integrity": "sha512-ccTGrXZd8DZCcvCz4htGXTkd/LOoy6OEtiDS38x3/VVf6E4AQL0QoeksBiw7BtGR5xDNiRYPB8GN6pfbuTOi7w==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-styles": "^4.0.0", "jest-get-type": "^26.3.0", - "jest-matcher-utils": "^26.4.2", - "jest-message-util": "^26.3.0", + "jest-matcher-utils": "^26.5.2", + "jest-message-util": "^26.5.2", "jest-regex-util": "^26.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -2798,20 +2798,20 @@ } }, "jest": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest/-/jest-26.4.2.tgz", - "integrity": "sha512-LLCjPrUh98Ik8CzW8LLVnSCfLaiY+wbK53U7VxnFSX7Q+kWC4noVeDvGWIFw0Amfq1lq2VfGm7YHWSLBV62MJw==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest/-/jest-26.5.2.tgz", + "integrity": "sha512-4HFabJVwsgDwul/7rhXJ3yFAF/aUkVIXiJWmgFxb+WMdZG39fVvOwYAs8/3r4AlFPc4m/n5sTMtuMbOL3kNtrQ==", "dev": true, "requires": { - "@jest/core": "^26.4.2", + "@jest/core": "^26.5.2", "import-local": "^3.0.2", - "jest-cli": "^26.4.2" + "jest-cli": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -2831,43 +2831,43 @@ } }, "jest-cli": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.4.2.tgz", - "integrity": "sha512-zb+lGd/SfrPvoRSC/0LWdaWCnscXc1mGYW//NP4/tmBvRPT3VntZ2jtKUONsRi59zc5JqmsSajA9ewJKFYp8Cw==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.5.2.tgz", + "integrity": "sha512-usm48COuUvRp8YEG5OWOaxbSM0my7eHn3QeBWxiGUuFhvkGVBvl1fic4UjC02EAEQtDv8KrNQUXdQTV6ZZBsoA==", "dev": true, "requires": { - "@jest/core": "^26.4.2", - "@jest/test-result": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/core": "^26.5.2", + "@jest/test-result": "^26.5.2", + "@jest/types": "^26.5.2", "chalk": "^4.0.0", "exit": "^0.1.2", "graceful-fs": "^4.2.4", "import-local": "^3.0.2", "is-ci": "^2.0.0", - "jest-config": "^26.4.2", - "jest-util": "^26.3.0", - "jest-validate": "^26.4.2", + "jest-config": "^26.5.2", + "jest-util": "^26.5.2", + "jest-validate": "^26.5.2", "prompts": "^2.0.1", - "yargs": "^15.3.1" + "yargs": "^15.4.1" } } } }, "jest-changed-files": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.3.0.tgz", - "integrity": "sha512-1C4R4nijgPltX6fugKxM4oQ18zimS7LqQ+zTTY8lMCMFPrxqBFb7KJH0Z2fRQJvw2Slbaipsqq7s1mgX5Iot+g==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.5.2.tgz", + "integrity": "sha512-qSmssmiIdvM5BWVtyK/nqVpN3spR5YyvkvPqz1x3BR1bwIxsWmU/MGwLoCrPNLbkG2ASAKfvmJpOduEApBPh2w==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "execa": "^4.0.0", "throat": "^5.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -2971,35 +2971,35 @@ } }, "jest-config": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.4.2.tgz", - "integrity": "sha512-QBf7YGLuToiM8PmTnJEdRxyYy3mHWLh24LJZKVdXZ2PNdizSe1B/E8bVm+HYcjbEzGuVXDv/di+EzdO/6Gq80A==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.5.2.tgz", + "integrity": "sha512-dqJOnSegNdE5yDiuGHsjTM5gec7Z4AcAMHiW+YscbOYJAlb3LEtDSobXCq0or9EmGQI5SFmKy4T7P1FxetJOfg==", "dev": true, "requires": { "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^26.4.2", - "@jest/types": "^26.3.0", - "babel-jest": "^26.3.0", + "@jest/test-sequencer": "^26.5.2", + "@jest/types": "^26.5.2", + "babel-jest": "^26.5.2", "chalk": "^4.0.0", "deepmerge": "^4.2.2", "glob": "^7.1.1", "graceful-fs": "^4.2.4", - "jest-environment-jsdom": "^26.3.0", - "jest-environment-node": "^26.3.0", + "jest-environment-jsdom": "^26.5.2", + "jest-environment-node": "^26.5.2", "jest-get-type": "^26.3.0", - "jest-jasmine2": "^26.4.2", + "jest-jasmine2": "^26.5.2", "jest-regex-util": "^26.0.0", - "jest-resolve": "^26.4.0", - "jest-util": "^26.3.0", - "jest-validate": "^26.4.2", + "jest-resolve": "^26.5.2", + "jest-util": "^26.5.2", + "jest-validate": "^26.5.2", "micromatch": "^4.0.2", - "pretty-format": "^26.4.2" + "pretty-format": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3025,12 +3025,12 @@ "dev": true }, "pretty-format": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.4.2.tgz", - "integrity": "sha512-zK6Gd8zDsEiVydOCGLkoBoZuqv8VTiHyAbKznXe/gaph/DAeZOmit9yMfgIz5adIgAMMs5XfoYSwAX3jcCO1tA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.5.2.tgz", + "integrity": "sha512-VizyV669eqESlkOikKJI8Ryxl/kPpbdLwNdPs2GrbQs18MpySB5S0Yo0N7zkg2xTRiFq4CFw8ct5Vg4a0xP0og==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -3072,22 +3072,22 @@ } }, "jest-each": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.4.2.tgz", - "integrity": "sha512-p15rt8r8cUcRY0Mvo1fpkOGYm7iI8S6ySxgIdfh3oOIv+gHwrHTy5VWCGOecWUhDsit4Nz8avJWdT07WLpbwDA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.5.2.tgz", + "integrity": "sha512-w7D9FNe0m2D3yZ0Drj9CLkyF/mGhmBSULMQTypzAKR746xXnjUrK8GUJdlLTWUF6dd0ks3MtvGP7/xNFr9Aphg==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "chalk": "^4.0.0", "jest-get-type": "^26.3.0", - "jest-util": "^26.3.0", - "pretty-format": "^26.4.2" + "jest-util": "^26.5.2", + "pretty-format": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3113,12 +3113,12 @@ "dev": true }, "pretty-format": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.4.2.tgz", - "integrity": "sha512-zK6Gd8zDsEiVydOCGLkoBoZuqv8VTiHyAbKznXe/gaph/DAeZOmit9yMfgIz5adIgAMMs5XfoYSwAX3jcCO1tA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.5.2.tgz", + "integrity": "sha512-VizyV669eqESlkOikKJI8Ryxl/kPpbdLwNdPs2GrbQs18MpySB5S0Yo0N7zkg2xTRiFq4CFw8ct5Vg4a0xP0og==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -3127,24 +3127,24 @@ } }, "jest-environment-jsdom": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.3.0.tgz", - "integrity": "sha512-zra8He2btIMJkAzvLaiZ9QwEPGEetbxqmjEBQwhH3CA+Hhhu0jSiEJxnJMbX28TGUvPLxBt/zyaTLrOPF4yMJA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.5.2.tgz", + "integrity": "sha512-fWZPx0bluJaTQ36+PmRpvUtUlUFlGGBNyGX1SN3dLUHHMcQ4WseNEzcGGKOw4U5towXgxI4qDoI3vwR18H0RTw==", "dev": true, "requires": { - "@jest/environment": "^26.3.0", - "@jest/fake-timers": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/environment": "^26.5.2", + "@jest/fake-timers": "^26.5.2", + "@jest/types": "^26.5.2", "@types/node": "*", - "jest-mock": "^26.3.0", - "jest-util": "^26.3.0", - "jsdom": "^16.2.2" + "jest-mock": "^26.5.2", + "jest-util": "^26.5.2", + "jsdom": "^16.4.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3166,23 +3166,23 @@ } }, "jest-environment-node": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.3.0.tgz", - "integrity": "sha512-c9BvYoo+FGcMj5FunbBgtBnbR5qk3uky8PKyRVpSfe2/8+LrNQMiXX53z6q2kY+j15SkjQCOSL/6LHnCPLVHNw==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.5.2.tgz", + "integrity": "sha512-YHjnDsf/GKFCYMGF1V+6HF7jhY1fcLfLNBDjhAOvFGvt6d8vXvNdJGVM7uTZ2VO/TuIyEFhPGaXMX5j3h7fsrA==", "dev": true, "requires": { - "@jest/environment": "^26.3.0", - "@jest/fake-timers": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/environment": "^26.5.2", + "@jest/fake-timers": "^26.5.2", + "@jest/types": "^26.5.2", "@types/node": "*", - "jest-mock": "^26.3.0", - "jest-util": "^26.3.0" + "jest-mock": "^26.5.2", + "jest-util": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3210,12 +3210,12 @@ "dev": true }, "jest-haste-map": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.3.0.tgz", - "integrity": "sha512-DHWBpTJgJhLLGwE5Z1ZaqLTYqeODQIZpby0zMBsCU9iRFHYyhklYqP4EiG73j5dkbaAdSZhgB938mL51Q5LeZA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.5.2.tgz", + "integrity": "sha512-lJIAVJN3gtO3k4xy+7i2Xjtwh8CfPcH08WYjZpe9xzveDaqGw9fVNCpkYu6M525wKFVkLmyi7ku+DxCAP1lyMA==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "@types/graceful-fs": "^4.1.2", "@types/node": "*", "anymatch": "^3.0.3", @@ -3223,18 +3223,18 @@ "fsevents": "^2.1.2", "graceful-fs": "^4.2.4", "jest-regex-util": "^26.0.0", - "jest-serializer": "^26.3.0", - "jest-util": "^26.3.0", - "jest-worker": "^26.3.0", + "jest-serializer": "^26.5.0", + "jest-util": "^26.5.2", + "jest-worker": "^26.5.0", "micromatch": "^4.0.2", "sane": "^4.0.3", "walker": "^1.0.7" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3256,35 +3256,35 @@ } }, "jest-jasmine2": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.4.2.tgz", - "integrity": "sha512-z7H4EpCldHN1J8fNgsja58QftxBSL+JcwZmaXIvV9WKIM+x49F4GLHu/+BQh2kzRKHAgaN/E82od+8rTOBPyPA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.5.2.tgz", + "integrity": "sha512-2J+GYcgLVPTkpmvHEj0/IDTIAuyblGNGlyGe4fLfDT2aktEPBYvoxUwFiOmDDxxzuuEAD2uxcYXr0+1Yw4tjFA==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", - "@jest/environment": "^26.3.0", - "@jest/source-map": "^26.3.0", - "@jest/test-result": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/environment": "^26.5.2", + "@jest/source-map": "^26.5.0", + "@jest/test-result": "^26.5.2", + "@jest/types": "^26.5.2", "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", - "expect": "^26.4.2", + "expect": "^26.5.2", "is-generator-fn": "^2.0.0", - "jest-each": "^26.4.2", - "jest-matcher-utils": "^26.4.2", - "jest-message-util": "^26.3.0", - "jest-runtime": "^26.4.2", - "jest-snapshot": "^26.4.2", - "jest-util": "^26.3.0", - "pretty-format": "^26.4.2", + "jest-each": "^26.5.2", + "jest-matcher-utils": "^26.5.2", + "jest-message-util": "^26.5.2", + "jest-runtime": "^26.5.2", + "jest-snapshot": "^26.5.2", + "jest-util": "^26.5.2", + "pretty-format": "^26.5.2", "throat": "^5.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3304,12 +3304,12 @@ } }, "pretty-format": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.4.2.tgz", - "integrity": "sha512-zK6Gd8zDsEiVydOCGLkoBoZuqv8VTiHyAbKznXe/gaph/DAeZOmit9yMfgIz5adIgAMMs5XfoYSwAX3jcCO1tA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.5.2.tgz", + "integrity": "sha512-VizyV669eqESlkOikKJI8Ryxl/kPpbdLwNdPs2GrbQs18MpySB5S0Yo0N7zkg2xTRiFq4CFw8ct5Vg4a0xP0og==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -3353,19 +3353,19 @@ } }, "jest-leak-detector": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.4.2.tgz", - "integrity": "sha512-akzGcxwxtE+9ZJZRW+M2o+nTNnmQZxrHJxX/HjgDaU5+PLmY1qnQPnMjgADPGCRPhB+Yawe1iij0REe+k/aHoA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.5.2.tgz", + "integrity": "sha512-h7ia3dLzBFItmYERaLPEtEKxy3YlcbcRSjj0XRNJgBEyODuu+3DM2o62kvIFvs3PsaYoIIv+e+nLRI61Dj1CNw==", "dev": true, "requires": { "jest-get-type": "^26.3.0", - "pretty-format": "^26.4.2" + "pretty-format": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3391,12 +3391,12 @@ "dev": true }, "pretty-format": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.4.2.tgz", - "integrity": "sha512-zK6Gd8zDsEiVydOCGLkoBoZuqv8VTiHyAbKznXe/gaph/DAeZOmit9yMfgIz5adIgAMMs5XfoYSwAX3jcCO1tA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.5.2.tgz", + "integrity": "sha512-VizyV669eqESlkOikKJI8Ryxl/kPpbdLwNdPs2GrbQs18MpySB5S0Yo0N7zkg2xTRiFq4CFw8ct5Vg4a0xP0og==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -3405,21 +3405,21 @@ } }, "jest-matcher-utils": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.4.2.tgz", - "integrity": "sha512-KcbNqWfWUG24R7tu9WcAOKKdiXiXCbMvQYT6iodZ9k1f7065k0keUOW6XpJMMvah+hTfqkhJhRXmA3r3zMAg0Q==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.5.2.tgz", + "integrity": "sha512-W9GO9KBIC4gIArsNqDUKsLnhivaqf8MSs6ujO/JDcPIQrmY+aasewweXVET8KdrJ6ADQaUne5UzysvF/RR7JYA==", "dev": true, "requires": { "chalk": "^4.0.0", - "jest-diff": "^26.4.2", + "jest-diff": "^26.5.2", "jest-get-type": "^26.3.0", - "pretty-format": "^26.4.2" + "pretty-format": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3439,21 +3439,21 @@ } }, "diff-sequences": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.3.0.tgz", - "integrity": "sha512-5j5vdRcw3CNctePNYN0Wy2e/JbWT6cAYnXv5OuqPhDpyCGc0uLu2TK0zOCJWNB9kOIfYMSpIulRaDgIi4HJ6Ig==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.5.0.tgz", + "integrity": "sha512-ZXx86srb/iYy6jG71k++wBN9P9J05UNQ5hQHQd9MtMPvcqXPx/vKU69jfHV637D00Q2gSgPk2D+jSx3l1lDW/Q==", "dev": true }, "jest-diff": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.4.2.tgz", - "integrity": "sha512-6T1XQY8U28WH0Z5rGpQ+VqZSZz8EN8rZcBtfvXaOkbwxIEeRre6qnuZQlbY1AJ4MKDxQF8EkrCvK+hL/VkyYLQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.5.2.tgz", + "integrity": "sha512-HCSWDUGwsov5oTlGzrRM+UPJI/Dpqi9jzeV0fdRNi3Ch5bnoXhnyJMmVg2juv9081zLIy3HGPI5mcuGgXM2xRA==", "dev": true, "requires": { "chalk": "^4.0.0", - "diff-sequences": "^26.3.0", + "diff-sequences": "^26.5.0", "jest-get-type": "^26.3.0", - "pretty-format": "^26.4.2" + "pretty-format": "^26.5.2" } }, "jest-get-type": { @@ -3463,12 +3463,12 @@ "dev": true }, "pretty-format": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.4.2.tgz", - "integrity": "sha512-zK6Gd8zDsEiVydOCGLkoBoZuqv8VTiHyAbKznXe/gaph/DAeZOmit9yMfgIz5adIgAMMs5XfoYSwAX3jcCO1tA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.5.2.tgz", + "integrity": "sha512-VizyV669eqESlkOikKJI8Ryxl/kPpbdLwNdPs2GrbQs18MpySB5S0Yo0N7zkg2xTRiFq4CFw8ct5Vg4a0xP0og==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -3477,14 +3477,14 @@ } }, "jest-message-util": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.3.0.tgz", - "integrity": "sha512-xIavRYqr4/otGOiLxLZGj3ieMmjcNE73Ui+LdSW/Y790j5acqCsAdDiLIbzHCZMpN07JOENRWX5DcU+OQ+TjTA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.5.2.tgz", + "integrity": "sha512-Ocp9UYZ5Jl15C5PNsoDiGEk14A4NG0zZKknpWdZGoMzJuGAkVt10e97tnEVMYpk7LnQHZOfuK2j/izLBMcuCZw==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "@jest/types": "^26.3.0", - "@types/stack-utils": "^1.0.1", + "@jest/types": "^26.5.2", + "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", "graceful-fs": "^4.2.4", "micromatch": "^4.0.2", @@ -3493,9 +3493,9 @@ }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3517,19 +3517,19 @@ } }, "jest-mock": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.3.0.tgz", - "integrity": "sha512-PeaRrg8Dc6mnS35gOo/CbZovoDPKAeB1FICZiuagAgGvbWdNNyjQjkOaGUa/3N3JtpQ/Mh9P4A2D4Fv51NnP8Q==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.5.2.tgz", + "integrity": "sha512-9SiU4b5PtO51v0MtJwVRqeGEroH66Bnwtq4ARdNP7jNXbpT7+ByeWNAk4NeT/uHfNSVDXEXgQo1XRuwEqS6Rdw==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "@types/node": "*" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3563,25 +3563,25 @@ "dev": true }, "jest-resolve": { - "version": "26.4.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.4.0.tgz", - "integrity": "sha512-bn/JoZTEXRSlEx3+SfgZcJAVuTMOksYq9xe9O6s4Ekg84aKBObEaVXKOEilULRqviSLAYJldnoWV9c07kwtiCg==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.5.2.tgz", + "integrity": "sha512-XsPxojXGRA0CoDD7Vis59ucz2p3cQFU5C+19tz3tLEAlhYKkK77IL0cjYjikY9wXnOaBeEdm1rOgSJjbZWpcZg==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "chalk": "^4.0.0", "graceful-fs": "^4.2.4", "jest-pnp-resolver": "^1.2.2", - "jest-util": "^26.3.0", + "jest-util": "^26.5.2", "read-pkg-up": "^7.0.1", "resolve": "^1.17.0", "slash": "^3.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3603,20 +3603,20 @@ } }, "jest-resolve-dependencies": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.4.2.tgz", - "integrity": "sha512-ADHaOwqEcVc71uTfySzSowA/RdxUpCxhxa2FNLiin9vWLB1uLPad3we+JSSROq5+SrL9iYPdZZF8bdKM7XABTQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.5.2.tgz", + "integrity": "sha512-LLkc8LuRtxqOx0AtX/Npa2C4I23WcIrwUgNtHYXg4owYF/ZDQShcwBAHjYZIFR06+HpQcZ43+kCTMlQ3aDCYTg==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "jest-regex-util": "^26.0.0", - "jest-snapshot": "^26.4.2" + "jest-snapshot": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3638,37 +3638,37 @@ } }, "jest-runner": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.4.2.tgz", - "integrity": "sha512-FgjDHeVknDjw1gRAYaoUoShe1K3XUuFMkIaXbdhEys+1O4bEJS8Avmn4lBwoMfL8O5oFTdWYKcf3tEJyyYyk8g==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.5.2.tgz", + "integrity": "sha512-GKhYxtSX5+tXZsd2QwfkDqPIj5C2HqOdXLRc2x2qYqWE26OJh17xo58/fN/mLhRkO4y6o60ZVloan7Kk5YA6hg==", "dev": true, "requires": { - "@jest/console": "^26.3.0", - "@jest/environment": "^26.3.0", - "@jest/test-result": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/console": "^26.5.2", + "@jest/environment": "^26.5.2", + "@jest/test-result": "^26.5.2", + "@jest/types": "^26.5.2", "@types/node": "*", "chalk": "^4.0.0", "emittery": "^0.7.1", "exit": "^0.1.2", "graceful-fs": "^4.2.4", - "jest-config": "^26.4.2", + "jest-config": "^26.5.2", "jest-docblock": "^26.0.0", - "jest-haste-map": "^26.3.0", - "jest-leak-detector": "^26.4.2", - "jest-message-util": "^26.3.0", - "jest-resolve": "^26.4.0", - "jest-runtime": "^26.4.2", - "jest-util": "^26.3.0", - "jest-worker": "^26.3.0", + "jest-haste-map": "^26.5.2", + "jest-leak-detector": "^26.5.2", + "jest-message-util": "^26.5.2", + "jest-resolve": "^26.5.2", + "jest-runtime": "^26.5.2", + "jest-util": "^26.5.2", + "jest-worker": "^26.5.0", "source-map-support": "^0.5.6", "throat": "^5.0.0" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3690,43 +3690,43 @@ } }, "jest-runtime": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.4.2.tgz", - "integrity": "sha512-4Pe7Uk5a80FnbHwSOk7ojNCJvz3Ks2CNQWT5Z7MJo4tX0jb3V/LThKvD9tKPNVNyeMH98J/nzGlcwc00R2dSHQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.5.2.tgz", + "integrity": "sha512-zArr4DatX/Sn0wswX/AnAuJgmwgAR5rNtrUz36HR8BfMuysHYNq5sDbYHuLC4ICyRdy5ae/KQ+sczxyS9G6Qvw==", "dev": true, "requires": { - "@jest/console": "^26.3.0", - "@jest/environment": "^26.3.0", - "@jest/fake-timers": "^26.3.0", - "@jest/globals": "^26.4.2", - "@jest/source-map": "^26.3.0", - "@jest/test-result": "^26.3.0", - "@jest/transform": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/console": "^26.5.2", + "@jest/environment": "^26.5.2", + "@jest/fake-timers": "^26.5.2", + "@jest/globals": "^26.5.2", + "@jest/source-map": "^26.5.0", + "@jest/test-result": "^26.5.2", + "@jest/transform": "^26.5.2", + "@jest/types": "^26.5.2", "@types/yargs": "^15.0.0", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", "glob": "^7.1.3", "graceful-fs": "^4.2.4", - "jest-config": "^26.4.2", - "jest-haste-map": "^26.3.0", - "jest-message-util": "^26.3.0", - "jest-mock": "^26.3.0", + "jest-config": "^26.5.2", + "jest-haste-map": "^26.5.2", + "jest-message-util": "^26.5.2", + "jest-mock": "^26.5.2", "jest-regex-util": "^26.0.0", - "jest-resolve": "^26.4.0", - "jest-snapshot": "^26.4.2", - "jest-util": "^26.3.0", - "jest-validate": "^26.4.2", + "jest-resolve": "^26.5.2", + "jest-snapshot": "^26.5.2", + "jest-util": "^26.5.2", + "jest-validate": "^26.5.2", "slash": "^3.0.0", "strip-bom": "^4.0.0", - "yargs": "^15.3.1" + "yargs": "^15.4.1" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3748,9 +3748,9 @@ } }, "jest-serializer": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.3.0.tgz", - "integrity": "sha512-IDRBQBLPlKa4flg77fqg0n/pH87tcRKwe8zxOVTWISxGpPHYkRZ1dXKyh04JOja7gppc60+soKVZ791mruVdow==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.5.0.tgz", + "integrity": "sha512-+h3Gf5CDRlSLdgTv7y0vPIAoLgX/SI7T4v6hy+TEXMgYbv+ztzbg5PSN6mUXAT/hXYHvZRWm+MaObVfqkhCGxA==", "dev": true, "requires": { "@types/node": "*", @@ -3758,32 +3758,33 @@ } }, "jest-snapshot": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.4.2.tgz", - "integrity": "sha512-N6Uub8FccKlf5SBFnL2Ri/xofbaA68Cc3MGjP/NuwgnsvWh+9hLIR/DhrxbSiKXMY9vUW5dI6EW1eHaDHqe9sg==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.5.2.tgz", + "integrity": "sha512-MkXIDvEefzDubI/WaDVSRH4xnkuirP/Pz8LhAIDXcVQTmcEfwxywj5LGwBmhz+kAAIldA7XM4l96vbpzltSjqg==", "dev": true, "requires": { "@babel/types": "^7.0.0", - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", + "@types/babel__traverse": "^7.0.4", "@types/prettier": "^2.0.0", "chalk": "^4.0.0", - "expect": "^26.4.2", + "expect": "^26.5.2", "graceful-fs": "^4.2.4", - "jest-diff": "^26.4.2", + "jest-diff": "^26.5.2", "jest-get-type": "^26.3.0", - "jest-haste-map": "^26.3.0", - "jest-matcher-utils": "^26.4.2", - "jest-message-util": "^26.3.0", - "jest-resolve": "^26.4.0", + "jest-haste-map": "^26.5.2", + "jest-matcher-utils": "^26.5.2", + "jest-message-util": "^26.5.2", + "jest-resolve": "^26.5.2", "natural-compare": "^1.4.0", - "pretty-format": "^26.4.2", + "pretty-format": "^26.5.2", "semver": "^7.3.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3803,21 +3804,21 @@ } }, "diff-sequences": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.3.0.tgz", - "integrity": "sha512-5j5vdRcw3CNctePNYN0Wy2e/JbWT6cAYnXv5OuqPhDpyCGc0uLu2TK0zOCJWNB9kOIfYMSpIulRaDgIi4HJ6Ig==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.5.0.tgz", + "integrity": "sha512-ZXx86srb/iYy6jG71k++wBN9P9J05UNQ5hQHQd9MtMPvcqXPx/vKU69jfHV637D00Q2gSgPk2D+jSx3l1lDW/Q==", "dev": true }, "jest-diff": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.4.2.tgz", - "integrity": "sha512-6T1XQY8U28WH0Z5rGpQ+VqZSZz8EN8rZcBtfvXaOkbwxIEeRre6qnuZQlbY1AJ4MKDxQF8EkrCvK+hL/VkyYLQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.5.2.tgz", + "integrity": "sha512-HCSWDUGwsov5oTlGzrRM+UPJI/Dpqi9jzeV0fdRNi3Ch5bnoXhnyJMmVg2juv9081zLIy3HGPI5mcuGgXM2xRA==", "dev": true, "requires": { "chalk": "^4.0.0", - "diff-sequences": "^26.3.0", + "diff-sequences": "^26.5.0", "jest-get-type": "^26.3.0", - "pretty-format": "^26.4.2" + "pretty-format": "^26.5.2" } }, "jest-get-type": { @@ -3827,12 +3828,12 @@ "dev": true }, "pretty-format": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.4.2.tgz", - "integrity": "sha512-zK6Gd8zDsEiVydOCGLkoBoZuqv8VTiHyAbKznXe/gaph/DAeZOmit9yMfgIz5adIgAMMs5XfoYSwAX3jcCO1tA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.5.2.tgz", + "integrity": "sha512-VizyV669eqESlkOikKJI8Ryxl/kPpbdLwNdPs2GrbQs18MpySB5S0Yo0N7zkg2xTRiFq4CFw8ct5Vg4a0xP0og==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -3847,12 +3848,12 @@ } }, "jest-util": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.3.0.tgz", - "integrity": "sha512-4zpn6bwV0+AMFN0IYhH/wnzIQzRaYVrz1A8sYnRnj4UXDXbOVtWmlaZkO9mipFqZ13okIfN87aDoJWB7VH6hcw==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.5.2.tgz", + "integrity": "sha512-WTL675bK+GSSAYgS8z9FWdCT2nccO1yTIplNLPlP0OD8tUk/H5IrWKMMRudIQQ0qp8bb4k+1Qa8CxGKq9qnYdg==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "@types/node": "*", "chalk": "^4.0.0", "graceful-fs": "^4.2.4", @@ -3861,9 +3862,9 @@ }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3885,23 +3886,23 @@ } }, "jest-validate": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.4.2.tgz", - "integrity": "sha512-blft+xDX7XXghfhY0mrsBCYhX365n8K5wNDC4XAcNKqqjEzsRUSXP44m6PL0QJEW2crxQFLLztVnJ4j7oPlQrQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.5.2.tgz", + "integrity": "sha512-FmJks0zY36mp6Af/5sqO6CTL9bNMU45yKCJk3hrz8d2aIqQIlN1pr9HPIwZE8blLaewOla134nt5+xAmWsx3SQ==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "camelcase": "^6.0.0", "chalk": "^4.0.0", "jest-get-type": "^26.3.0", "leven": "^3.1.0", - "pretty-format": "^26.4.2" + "pretty-format": "^26.5.2" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3933,12 +3934,12 @@ "dev": true }, "pretty-format": { - "version": "26.4.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.4.2.tgz", - "integrity": "sha512-zK6Gd8zDsEiVydOCGLkoBoZuqv8VTiHyAbKznXe/gaph/DAeZOmit9yMfgIz5adIgAMMs5XfoYSwAX3jcCO1tA==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.5.2.tgz", + "integrity": "sha512-VizyV669eqESlkOikKJI8Ryxl/kPpbdLwNdPs2GrbQs18MpySB5S0Yo0N7zkg2xTRiFq4CFw8ct5Vg4a0xP0og==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.5.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -3947,24 +3948,24 @@ } }, "jest-watcher": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.3.0.tgz", - "integrity": "sha512-XnLdKmyCGJ3VoF6G/p5ohbJ04q/vv5aH9ENI+i6BL0uu9WWB6Z7Z2lhQQk0d2AVZcRGp1yW+/TsoToMhBFPRdQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.5.2.tgz", + "integrity": "sha512-i3m1NtWzF+FXfJ3ljLBB/WQEp4uaNhX7QcQUWMokcifFTUQBDFyUMEwk0JkJ1kopHbx7Een3KX0Q7+9koGM/Pw==", "dev": true, "requires": { - "@jest/test-result": "^26.3.0", - "@jest/types": "^26.3.0", + "@jest/test-result": "^26.5.2", + "@jest/types": "^26.5.2", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "jest-util": "^26.3.0", + "jest-util": "^26.5.2", "string-length": "^4.0.1" }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.5.2", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.5.2.tgz", + "integrity": "sha512-QDs5d0gYiyetI8q+2xWdkixVQMklReZr4ltw7GFDtb4fuJIBCE6mzj2LnitGqCuAlLap6wPyb8fpoHgwZz5fdg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -3986,9 +3987,9 @@ } }, "jest-worker": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz", - "integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.5.0.tgz", + "integrity": "sha512-kTw66Dn4ZX7WpjZ7T/SUDgRhapFRKWmisVAF0Rv4Fu8SLFD7eLbqpLvbxVqYhSgaWa7I+bW7pHnbyfNsH6stug==", "dev": true, "requires": { "@types/node": "*", @@ -4059,9 +4060,9 @@ "dev": true }, "json-parse-even-better-errors": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.0.tgz", - "integrity": "sha512-o3aP+RsWDJZayj1SbHNQAI8x0v3T3SKiGoZlNYfbUP1S3omJQ6i9CnqADqkSPaOAxwua4/1YWx5CM7oiChJt2Q==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true }, "json-schema": { @@ -5387,9 +5388,9 @@ } }, "spdx-license-ids": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", - "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.6.tgz", + "integrity": "sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw==", "dev": true }, "split-string": { @@ -5666,22 +5667,22 @@ } }, "ts-jest": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.3.0.tgz", - "integrity": "sha512-Jq2uKfx6bPd9+JDpZNMBJMdMQUC3sJ08acISj8NXlVgR2d5OqslEHOR2KHMgwymu8h50+lKIm0m0xj/ioYdW2Q==", + "version": "26.4.1", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.4.1.tgz", + "integrity": "sha512-F4aFq01aS6mnAAa0DljNmKr/Kk9y4HVZ1m6/rtJ0ED56cuxINGq3Q9eVAh+z5vcYKe5qnTMvv90vE8vUMFxomg==", "dev": true, "requires": { "@types/jest": "26.x", "bs-logger": "0.x", "buffer-from": "1.x", "fast-json-stable-stringify": "2.x", - "jest-util": "26.x", + "jest-util": "^26.1.0", "json5": "2.x", "lodash.memoize": "4.x", "make-error": "1.x", "mkdirp": "1.x", "semver": "7.x", - "yargs-parser": "18.x" + "yargs-parser": "20.x" }, "dependencies": { "semver": { @@ -5689,6 +5690,12 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true + }, + "yargs-parser": { + "version": "20.2.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.1.tgz", + "integrity": "sha512-yYsjuSkjbLMBp16eaOt7/siKTjNVjMm3SoJnIg3sEh/JsvqVVDyjRKmaJV4cl+lNIgq6QEco2i3gDebJl7/vLA==", + "dev": true } } }, @@ -5738,9 +5745,9 @@ } }, "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", + "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, "typescript-char": { @@ -5812,9 +5819,9 @@ } }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", "dev": true, "requires": { "punycode": "^2.1.0" @@ -5846,9 +5853,9 @@ } }, "uuid": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz", - "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz", + "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==", "dev": true, "optional": true }, @@ -5973,9 +5980,9 @@ "dev": true }, "whatwg-url": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.2.1.tgz", - "integrity": "sha512-ZmVCr6nfBeaMxEHALLEGy0LszYjpJqf6PVNQUQ1qd9Et+q7Jpygd4rGGDXgHjD8e99yLFseD69msHDM4YwPZ4A==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.4.0.tgz", + "integrity": "sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw==", "dev": true, "requires": { "lodash.sortby": "^4.7.0", diff --git a/packages/pyright-internal/package.json b/packages/pyright-internal/package.json index bb4e59af9..4d6ce7c4f 100644 --- a/packages/pyright-internal/package.json +++ b/packages/pyright-internal/package.json @@ -30,14 +30,14 @@ "devDependencies": { "@types/command-line-args": "^5.0.0", "@types/fs-extra": "^9.0.1", - "@types/jest": "^26.0.0", - "@types/node": "~12.12.54", + "@types/jest": "^26.0.14", + "@types/node": "^12.12.67", "@types/tmp": "^0.2.0", "fs-extra": "^9.0.1", - "jest": "^26.0.1", + "jest": "^26.5.2", "jest-junit": "^11.0.0", "shx": "^0.3.2", - "ts-jest": "^26.1.0", - "typescript": "^4.0.2" + "ts-jest": "^26.4.1", + "typescript": "^4.0.3" } } diff --git a/packages/pyright-internal/typeshed-fallback/commit.txt b/packages/pyright-internal/typeshed-fallback/commit.txt new file mode 100644 index 000000000..ac642236d --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/commit.txt @@ -0,0 +1 @@ +228f74d76a5df1b09fe0316d3eedd40cff285ec9 diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/_dummy_threading.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/_dummy_threading.pyi index 26204a29b..a40a37abe 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/_dummy_threading.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/_dummy_threading.pyi @@ -155,7 +155,11 @@ class Event: def wait(self, timeout: Optional[float] = ...) -> bool: ... if sys.version_info >= (3, 8): - from _thread import ExceptHookArgs as _ExceptHookArgs, _ExceptHookArgs as ExceptHookArgs # don't ask + import _thread + + # don't ask... + _ExceptHookArgs = _thread.ExceptHookArgs + ExceptHookArgs = _thread._ExceptHookArgs excepthook: Callable[[_ExceptHookArgs], Any] diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/builtins.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/builtins.pyi index 0edbb889e..403bed0cb 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/builtins.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/builtins.pyi @@ -56,6 +56,7 @@ from typing import ( Union, ValuesView, overload, + runtime_checkable, ) from typing_extensions import Literal @@ -82,7 +83,7 @@ _T3 = TypeVar("_T3") _T4 = TypeVar("_T4") _T5 = TypeVar("_T5") _TT = TypeVar("_TT", bound="type") -_LT = TypeVar("_LT", bound=_SupportsLessThan) +_SupportsLessThanT = TypeVar("_SupportsLessThanT", bound=_SupportsLessThan) _TBE = TypeVar("_TBE", bound="BaseException") class object: @@ -181,9 +182,9 @@ class super(object): class int: @overload - def __init__(self, x: Union[Text, bytes, SupportsInt, _SupportsIndex] = ...) -> None: ... + def __new__(cls: Type[_T], x: Union[Text, bytes, SupportsInt, _SupportsIndex] = ...) -> _T: ... @overload - def __init__(self, x: Union[Text, bytes, bytearray], base: int) -> None: ... + def __new__(cls: Type[_T], x: Union[Text, bytes, bytearray], base: int) -> _T: ... if sys.version_info >= (3, 8): def as_integer_ratio(self) -> Tuple[int, Literal[1]]: ... @property @@ -262,7 +263,7 @@ class int: def __index__(self) -> int: ... class float: - def __init__(self, x: Union[SupportsFloat, _SupportsIndex, Text, bytes, bytearray] = ...) -> None: ... + def __new__(cls: Type[_T], x: Union[SupportsFloat, _SupportsIndex, Text, bytes, bytearray] = ...) -> _T: ... def as_integer_ratio(self) -> Tuple[int, int]: ... def hex(self) -> str: ... def is_integer(self) -> bool: ... @@ -325,9 +326,9 @@ class float: class complex: @overload - def __init__(self, real: float = ..., imag: float = ...) -> None: ... + def __new__(cls: Type[_T], real: float = ..., imag: float = ...) -> _T: ... @overload - def __init__(self, real: Union[str, SupportsComplex, _SupportsIndex]) -> None: ... + def __new__(cls: Type[_T], real: Union[str, SupportsComplex, _SupportsIndex]) -> _T: ... @property def real(self) -> float: ... @property @@ -446,9 +447,9 @@ class _FormatMapMapping(Protocol): class str(Sequence[str], _str_base): if sys.version_info >= (3,): @overload - def __init__(self, o: object = ...) -> None: ... + def __new__(cls: Type[_T], o: object = ...) -> _T: ... @overload - def __init__(self, o: bytes, encoding: str = ..., errors: str = ...) -> None: ... + def __new__(cls: Type[_T], o: bytes, encoding: str = ..., errors: str = ...) -> _T: ... else: def __init__(self, o: object = ...) -> None: ... def capitalize(self) -> str: ... @@ -596,15 +597,15 @@ class str(Sequence[str], _str_base): if sys.version_info >= (3,): class bytes(ByteString): @overload - def __init__(self, ints: Iterable[int]) -> None: ... + def __new__(cls: Type[_T], ints: Iterable[int]) -> _T: ... @overload - def __init__(self, string: str, encoding: str, errors: str = ...) -> None: ... + def __new__(cls: Type[_T], string: str, encoding: str, errors: str = ...) -> _T: ... @overload - def __init__(self, length: int) -> None: ... + def __new__(cls: Type[_T], length: int) -> _T: ... @overload - def __init__(self) -> None: ... + def __new__(cls: Type[_T]) -> _T: ... @overload - def __init__(self, o: SupportsBytes) -> None: ... + def __new__(cls: Type[_T], o: SupportsBytes) -> _T: ... def capitalize(self) -> bytes: ... def center(self, __width: int, __fillchar: bytes = ...) -> bytes: ... def count(self, sub: Union[bytes, int], start: Optional[int] = ..., end: Optional[int] = ...) -> int: ... @@ -870,7 +871,7 @@ class memoryview(Sized, Container[_mv_container_type]): def hex(self) -> str: ... class bool(int): - def __init__(self, o: object = ...) -> None: ... + def __new__(cls: Type[_T], __o: object = ...) -> _T: ... @overload def __and__(self, x: bool) -> bool: ... @overload @@ -962,7 +963,7 @@ class list(MutableSequence[_T], Generic[_T]): def reverse(self) -> None: ... if sys.version_info >= (3,): @overload - def sort(self: List[_LT], *, key: None = ..., reverse: bool = ...) -> None: ... + def sort(self: List[_SupportsLessThanT], *, key: None = ..., reverse: bool = ...) -> None: ... @overload def sort(self, *, key: Callable[[_T], _SupportsLessThan], reverse: bool = ...) -> None: ... else: @@ -1211,7 +1212,7 @@ if sys.version_info < (3,): # but we define it here as _PathLike to avoid import cycle issues. # See https://github.com/python/typeshed/pull/991#issuecomment-288160993 _AnyStr_co = TypeVar("_AnyStr_co", str, bytes, covariant=True) - +@runtime_checkable class _PathLike(Protocol[_AnyStr_co]): def __fspath__(self) -> _AnyStr_co: ... @@ -1440,17 +1441,19 @@ else: if sys.version_info >= (3,): @overload - def max(__arg1: _LT, __arg2: _LT, *_args: _LT, key: None = ...) -> _LT: ... + def max( + __arg1: _SupportsLessThanT, __arg2: _SupportsLessThanT, *_args: _SupportsLessThanT, key: None = ... + ) -> _SupportsLessThanT: ... @overload - def max(__arg1: _T, __arg2: _T, *_args: _T, key: Callable[[_T], _LT]) -> _T: ... + def max(__arg1: _T, __arg2: _T, *_args: _T, key: Callable[[_T], _SupportsLessThanT]) -> _T: ... @overload - def max(__iterable: Iterable[_LT], *, key: None = ...) -> _LT: ... + def max(__iterable: Iterable[_SupportsLessThanT], *, key: None = ...) -> _SupportsLessThanT: ... @overload - def max(__iterable: Iterable[_T], *, key: Callable[[_T], _LT]) -> _T: ... + def max(__iterable: Iterable[_T], *, key: Callable[[_T], _SupportsLessThanT]) -> _T: ... @overload - def max(__iterable: Iterable[_LT], *, key: None = ..., default: _T) -> Union[_LT, _T]: ... + def max(__iterable: Iterable[_SupportsLessThanT], *, key: None = ..., default: _T) -> Union[_SupportsLessThanT, _T]: ... @overload - def max(__iterable: Iterable[_T1], *, key: Callable[[_T1], _LT], default: _T2) -> Union[_T1, _T2]: ... + def max(__iterable: Iterable[_T1], *, key: Callable[[_T1], _SupportsLessThanT], default: _T2) -> Union[_T1, _T2]: ... else: @overload @@ -1460,17 +1463,19 @@ else: if sys.version_info >= (3,): @overload - def min(__arg1: _LT, __arg2: _LT, *_args: _LT, key: None = ...) -> _LT: ... + def min( + __arg1: _SupportsLessThanT, __arg2: _SupportsLessThanT, *_args: _SupportsLessThanT, key: None = ... + ) -> _SupportsLessThanT: ... @overload - def min(__arg1: _T, __arg2: _T, *_args: _T, key: Callable[[_T], _LT]) -> _T: ... + def min(__arg1: _T, __arg2: _T, *_args: _T, key: Callable[[_T], _SupportsLessThanT]) -> _T: ... @overload - def min(__iterable: Iterable[_LT], *, key: None = ...) -> _LT: ... + def min(__iterable: Iterable[_SupportsLessThanT], *, key: None = ...) -> _SupportsLessThanT: ... @overload - def min(__iterable: Iterable[_T], *, key: Callable[[_T], _LT]) -> _T: ... + def min(__iterable: Iterable[_T], *, key: Callable[[_T], _SupportsLessThanT]) -> _T: ... @overload - def min(__iterable: Iterable[_LT], *, key: None = ..., default: _T) -> Union[_LT, _T]: ... + def min(__iterable: Iterable[_SupportsLessThanT], *, key: None = ..., default: _T) -> Union[_SupportsLessThanT, _T]: ... @overload - def min(__iterable: Iterable[_T1], *, key: Callable[[_T1], _LT], default: _T2) -> Union[_T1, _T2]: ... + def min(__iterable: Iterable[_T1], *, key: Callable[[_T1], _SupportsLessThanT], default: _T2) -> Union[_T1, _T2]: ... else: @overload @@ -1671,7 +1676,7 @@ def setattr(__obj: Any, __name: Text, __value: Any) -> None: ... if sys.version_info >= (3,): @overload - def sorted(__iterable: Iterable[_LT], *, key: None = ..., reverse: bool = ...) -> List[_LT]: ... + def sorted(__iterable: Iterable[_SupportsLessThanT], *, key: None = ..., reverse: bool = ...) -> List[_SupportsLessThanT]: ... @overload def sorted(__iterable: Iterable[_T], *, key: Callable[[_T], _SupportsLessThan], reverse: bool = ...) -> List[_T]: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/cgi.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/cgi.pyi index eeb9b28d8..c868d6521 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/cgi.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/cgi.pyi @@ -14,7 +14,7 @@ def parse( if sys.version_info < (3, 8): def parse_qs(qs: str, keep_blank_values: bool = ..., strict_parsing: bool = ...) -> Dict[str, List[str]]: ... - def parse_qsl(qs: str, keep_blank_values: bool = ..., strict_parsing: bool = ...) -> Dict[str, List[str]]: ... + def parse_qsl(qs: str, keep_blank_values: bool = ..., strict_parsing: bool = ...) -> List[Tuple[str, str]]: ... if sys.version_info >= (3, 7): def parse_multipart( diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/contextlib.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/contextlib.pyi index c747ab547..c6392bc1f 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/contextlib.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/contextlib.pyi @@ -1,27 +1,14 @@ -# ContextManager aliased here for backwards compatibility; TODO eventually remove this import sys from types import TracebackType -from typing import ( - IO, - Any, - Callable, - ContextManager as ContextManager, - Generic, - Iterable, - Iterator, - Optional, - Type, - TypeVar, - overload, -) +from typing import IO, Any, Callable, ContextManager, Generic, Iterable, Iterator, Optional, Type, TypeVar, overload if sys.version_info >= (3, 5): from typing import AsyncContextManager, AsyncIterator if sys.version_info >= (3, 6): - from typing import ContextManager as AbstractContextManager + AbstractContextManager = ContextManager if sys.version_info >= (3, 7): - from typing import AsyncContextManager as AbstractAsyncContextManager + AbstractAsyncContextManager = AsyncContextManager _T = TypeVar("_T") _T_io = TypeVar("_T_io", bound=Optional[IO[str]]) diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/distutils/log.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/distutils/log.pyi index 6c37cc503..668adaab9 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/distutils/log.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/distutils/log.pyi @@ -1,4 +1,4 @@ -from typing import Any, Callable, Iterable, Text +from typing import Any, Text DEBUG: int INFO: int @@ -15,14 +15,11 @@ class Log: def error(self, msg: Text, *args: Any) -> None: ... def fatal(self, msg: Text, *args: Any) -> None: ... -_LogFunc = Callable[[Text, Iterable[Any]], None] - -log: Callable[[int, Text, Iterable[Any]], None] -debug: _LogFunc -info: _LogFunc -warn: _LogFunc -error: _LogFunc -fatal: _LogFunc - +def log(level: int, msg: Text, *args: Any) -> None: ... +def debug(msg: Text, *args: Any) -> None: ... +def info(msg: Text, *args: Any) -> None: ... +def warn(msg: Text, *args: Any) -> None: ... +def error(msg: Text, *args: Any) -> None: ... +def fatal(msg: Text, *args: Any) -> None: ... def set_threshold(level: int) -> int: ... def set_verbosity(v: int) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/ftplib.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/ftplib.pyi index 17bfaccfc..0661301c0 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/ftplib.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/ftplib.pyi @@ -4,6 +4,7 @@ from socket import socket from ssl import SSLContext from types import TracebackType from typing import Any, BinaryIO, Callable, Dict, Iterable, Iterator, List, Optional, Text, TextIO, Tuple, Type, TypeVar, Union +from typing_extensions import Literal _T = TypeVar("_T") _IntOrStr = Union[int, Text] @@ -150,3 +151,15 @@ if sys.version_info < (3,): def get_account(self, host: Text) -> Tuple[Optional[str], Optional[str], Optional[str]]: ... def get_macros(self) -> List[str]: ... def get_macro(self, macro: Text) -> Tuple[str, ...]: ... + +def parse150(resp: str) -> Optional[int]: ... # undocumented +def parse227(resp: str) -> Tuple[str, int]: ... # undocumented +def parse229(resp: str, peer: Any) -> Tuple[str, int]: ... # undocumented +def parse257(resp: str) -> str: ... # undocumented +def ftpcp( + source: FTP, + sourcename: str, + target: FTP, + targetname: str = ..., + type: Literal["A", "I"] = ..., +) -> None: ... # undocumented diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/imaplib.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/imaplib.pyi index 2179167bb..bb9e9c6db 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/imaplib.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/imaplib.pyi @@ -93,6 +93,8 @@ class IMAP4: def thread(self, threading_algorithm: str, charset: str, *search_criteria: str) -> _CommandResults: ... def uid(self, command: str, *args: str) -> _CommandResults: ... def unsubscribe(self, mailbox: str) -> _CommandResults: ... + if sys.version_info >= (3, 9): + def unselect(self) -> _CommandResults: ... def xatom(self, name: str, *args: str) -> _CommandResults: ... def print_log(self) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/logging/handlers.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/logging/handlers.pyi index c58d13752..3c726fc2a 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/logging/handlers.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/logging/handlers.pyi @@ -3,8 +3,8 @@ import ssl import sys from _typeshed import StrPath from logging import FileHandler, Handler, LogRecord -from socket import SocketType -from typing import Any, Callable, Dict, List, Optional, Tuple, Union +from socket import SocketKind, SocketType +from typing import Any, Callable, ClassVar, Dict, List, Optional, Tuple, Union if sys.version_info >= (3, 7): from queue import Queue, SimpleQueue @@ -13,9 +13,6 @@ elif sys.version_info >= (3,): else: from Queue import Queue -# TODO update socket stubs to add SocketKind -_SocketKind = int - DEFAULT_TCP_LOGGING_PORT: int DEFAULT_UDP_LOGGING_PORT: int DEFAULT_HTTP_LOGGING_PORT: int @@ -158,8 +155,16 @@ class SysLogHandler(Handler): LOG_LOCAL5: int LOG_LOCAL6: int LOG_LOCAL7: int + unixsocket: bool # undocumented + socktype: SocketKind # undocumented + if sys.version_info >= (3,): + ident: str # undocumented + facility: int # undocumented + priority_names: ClassVar[Dict[str, int]] # undocumented + facility_names: ClassVar[Dict[str, int]] # undocumented + priority_map: ClassVar[Dict[str, str]] # undocumented def __init__( - self, address: Union[Tuple[str, int], str] = ..., facility: int = ..., socktype: Optional[_SocketKind] = ... + self, address: Union[Tuple[str, int], str] = ..., facility: int = ..., socktype: Optional[SocketKind] = ... ) -> None: ... def encodePriority(self, facility: Union[int, str], priority: Union[int, str]) -> int: ... def mapPriority(self, levelName: str) -> str: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/math.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/math.pyi index 1f63088f1..8f438bc72 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/math.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/math.pyi @@ -55,7 +55,10 @@ def frexp(__x: SupportsFloat) -> Tuple[float, int]: ... def fsum(__seq: Iterable[float]) -> float: ... def gamma(__x: SupportsFloat) -> float: ... -if sys.version_info >= (3, 5): +if sys.version_info >= (3, 9): + def gcd(*integers: int) -> int: ... + +elif sys.version_info >= (3, 5): def gcd(__x: int, __y: int) -> int: ... if sys.version_info >= (3, 8): @@ -77,6 +80,9 @@ def isnan(__x: SupportsFloat) -> bool: ... if sys.version_info >= (3, 8): def isqrt(__n: int) -> int: ... +if sys.version_info >= (3, 9): + def lcm(*integers: int) -> int: ... + def ldexp(__x: SupportsFloat, __i: int) -> float: ... def lgamma(__x: SupportsFloat) -> float: ... def log(x: SupportsFloat, base: SupportsFloat = ...) -> float: ... @@ -87,6 +93,10 @@ if sys.version_info >= (3, 3): def log2(__x: SupportsFloat) -> float: ... def modf(__x: SupportsFloat) -> Tuple[float, float]: ... + +if sys.version_info >= (3, 9): + def nextafter(__x: SupportsFloat, __y: SupportsFloat) -> float: ... + def pow(__x: SupportsFloat, __y: SupportsFloat) -> float: ... if sys.version_info >= (3, 8): @@ -106,3 +116,6 @@ def sqrt(__x: SupportsFloat) -> float: ... def tan(__x: SupportsFloat) -> float: ... def tanh(__x: SupportsFloat) -> float: ... def trunc(__x: SupportsFloat) -> int: ... + +if sys.version_info >= (3, 9): + def ulp(__x: SupportsFloat) -> float: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/pstats.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/pstats.pyi index 68c937e27..9c74aeb9c 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/pstats.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/pstats.pyi @@ -1,7 +1,6 @@ import sys from _typeshed import AnyPath from cProfile import Profile as _cProfile -from enum import Enum from profile import Profile from typing import IO, Any, Dict, Iterable, List, Optional, Text, Tuple, TypeVar, Union, overload @@ -9,6 +8,7 @@ _Selector = Union[str, float, int] _T = TypeVar("_T", bound=Stats) if sys.version_info >= (3, 7): + from enum import Enum class SortKey(str, Enum): CALLS: str CUMULATIVE: str diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/socket.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/socket.pyi index 7579eba07..e4c36dca2 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/socket.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/socket.pyi @@ -93,7 +93,7 @@ AI_NUMERICSERV: AddressInfo AI_PASSIVE: AddressInfo AI_V4MAPPED: AddressInfo AI_V4MAPPED_CFG: AddressInfo -EAIEAI_ADDRFAMILY: int +EAI_ADDRFAMILY: int EAI_AGAIN: int EAI_BADFLAGS: int EAI_BADHINTS: int diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/threading.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/threading.pyi index 26204a29b..a40a37abe 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/2and3/threading.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/2and3/threading.pyi @@ -155,7 +155,11 @@ class Event: def wait(self, timeout: Optional[float] = ...) -> bool: ... if sys.version_info >= (3, 8): - from _thread import ExceptHookArgs as _ExceptHookArgs, _ExceptHookArgs as ExceptHookArgs # don't ask + import _thread + + # don't ask... + _ExceptHookArgs = _thread.ExceptHookArgs + ExceptHookArgs = _thread._ExceptHookArgs excepthook: Callable[[_ExceptHookArgs], Any] diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/_tracemalloc.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/_tracemalloc.pyi index 10e679783..4319ed46d 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/_tracemalloc.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/_tracemalloc.pyi @@ -1,3 +1,4 @@ +import sys from tracemalloc import _FrameTupleT, _TraceTupleT from typing import Optional, Sequence, Tuple @@ -8,5 +9,9 @@ def get_traceback_limit() -> int: ... def get_traced_memory() -> Tuple[int, int]: ... def get_tracemalloc_memory() -> int: ... def is_tracing() -> bool: ... + +if sys.version_info >= (3, 9): + def reset_peak() -> None: ... + def start(__nframe: int = ...) -> None: ... def stop() -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/ast.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/ast.pyi index 6192dde00..8011424cf 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/ast.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/ast.pyi @@ -191,7 +191,7 @@ else: def dump(node: AST, annotate_fields: bool = ..., include_attributes: bool = ...) -> str: ... def fix_missing_locations(node: _T) -> _T: ... -def get_docstring(node: AST, clean: bool = ...) -> str: ... +def get_docstring(node: AST, clean: bool = ...) -> Optional[str]: ... def increment_lineno(node: _T, n: int = ...) -> _T: ... def iter_child_nodes(node: AST) -> Iterator[AST]: ... def iter_fields(node: AST) -> Iterator[_typing.Tuple[str, Any]]: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/asyncio/locks.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/asyncio/locks.pyi index 040b2c37e..7480c3394 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/asyncio/locks.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/asyncio/locks.pyi @@ -1,8 +1,9 @@ import sys from types import TracebackType -from typing import Any, Awaitable, Callable, Generator, Optional, Type, TypeVar, Union +from typing import Any, Awaitable, Callable, Deque, Generator, Optional, Type, TypeVar, Union from .events import AbstractEventLoop +from .futures import Future _T = TypeVar("_T") @@ -55,10 +56,13 @@ class Condition(_ContextManagerMixin): def notify_all(self) -> None: ... class Semaphore(_ContextManagerMixin): + _value: int + _waiters: Deque[Future[Any]] def __init__(self, value: int = ..., *, loop: Optional[AbstractEventLoop] = ...) -> None: ... def locked(self) -> bool: ... async def acquire(self) -> bool: ... def release(self) -> None: ... + def _wake_up_next(self) -> None: ... class BoundedSemaphore(Semaphore): def __init__(self, value: int = ..., *, loop: Optional[AbstractEventLoop] = ...) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/collections/__init__.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/collections/__init__.pyi index 098c59d48..2fe9ffd44 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/collections/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/collections/__init__.pyi @@ -1,7 +1,7 @@ import sys import typing from typing import ( - AbstractSet as Set, + AbstractSet, Any, AsyncIterable as AsyncIterable, AsyncIterator as AsyncIterator, @@ -36,6 +36,8 @@ from typing import ( overload, ) +Set = AbstractSet + if sys.version_info >= (3, 6): from typing import AsyncGenerator as AsyncGenerator, Collection as Collection diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/concurrent/futures/_base.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/concurrent/futures/_base.pyi index 149bc3503..e84042f12 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/concurrent/futures/_base.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/concurrent/futures/_base.pyi @@ -1,8 +1,9 @@ import sys import threading +from abc import abstractmethod from logging import Logger from types import TracebackType -from typing import Any, Callable, Generic, Iterable, Iterator, List, Optional, Set, Tuple, TypeVar +from typing import Any, Callable, Container, Generic, Iterable, Iterator, List, Optional, Protocol, Set, Tuple, TypeVar FIRST_COMPLETED: str FIRST_EXCEPTION: str @@ -26,6 +27,15 @@ if sys.version_info >= (3, 7): _T = TypeVar("_T") +_T_co = TypeVar("_T_co", covariant=True) + +# Copied over Collection implementation as it does not exist in Python 2 and <3.6. +# Also to solve pytype issues with _Collection. +class _Collection(Iterable[_T_co], Container[_T_co], Protocol[_T_co]): + # Implement Sized (but don't have it as a base class). + @abstractmethod + def __len__(self) -> int: ... + class Future(Generic[_T]): def __init__(self) -> None: ... def cancel(self) -> bool: ... @@ -65,7 +75,7 @@ class Executor: def as_completed(fs: Iterable[Future[_T]], timeout: Optional[float] = ...) -> Iterator[Future[_T]]: ... def wait( - fs: Iterable[Future[_T]], timeout: Optional[float] = ..., return_when: str = ... + fs: _Collection[Future[_T]], timeout: Optional[float] = ..., return_when: str = ... ) -> Tuple[Set[Future[_T]], Set[Future[_T]]]: ... class _Waiter: diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/fcntl.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/fcntl.pyi index acd48176c..7b94c6e94 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/fcntl.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/fcntl.pyi @@ -1,3 +1,4 @@ +import sys from _typeshed import FileDescriptorLike from array import array from typing import Any, Union, overload @@ -33,6 +34,10 @@ F_SETLK: int F_SETLK64: int F_SETLKW: int F_SETLKW64: int +if sys.version_info >= (3, 9) and sys.platform == "linux": + F_OFD_GETLK: int + F_OFD_SETLK: int + F_OFD_SETLKW: int F_SETOWN: int F_SETSIG: int F_SHLCK: int diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/functools.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/functools.pyi index 29c517570..cd1c1d130 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/functools.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/functools.pyi @@ -51,9 +51,7 @@ else: WRAPPER_ASSIGNMENTS: Sequence[str] WRAPPER_UPDATES: Sequence[str] -def update_wrapper( - wrapper: _AnyCallable, wrapped: _AnyCallable, assigned: Sequence[str] = ..., updated: Sequence[str] = ... -) -> _AnyCallable: ... +def update_wrapper(wrapper: _T, wrapped: _AnyCallable, assigned: Sequence[str] = ..., updated: Sequence[str] = ...) -> _T: ... def wraps( wrapped: _AnyCallable, assigned: Sequence[str] = ..., updated: Sequence[str] = ... ) -> Callable[[_AnyCallable], _AnyCallable]: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/gc.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/gc.pyi index 45083c2cc..7e6eda8e1 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/gc.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/gc.pyi @@ -33,6 +33,10 @@ def get_referrers(*objs: Any) -> List[Any]: ... def get_stats() -> List[Dict[str, Any]]: ... def get_threshold() -> Tuple[int, int, int]: ... def is_tracked(__obj: Any) -> bool: ... + +if sys.version_info >= (3, 9): + def is_finalized(__obj: Any) -> bool: ... + def isenabled() -> bool: ... def set_debug(__flags: int) -> None: ... def set_threshold(threshold0: int, threshold1: int = ..., threshold2: int = ...) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/io.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/io.pyi index 206f9345e..f904e976a 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/io.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/io.pyi @@ -128,7 +128,7 @@ class TextIOBase(IOBase): def __next__(self) -> str: ... # type: ignore def detach(self) -> BinaryIO: ... def write(self, __s: str) -> int: ... - def writelines(self, __lines: List[str]) -> None: ... # type: ignore + def writelines(self, __lines: Iterable[str]) -> None: ... # type: ignore def readline(self, __size: int = ...) -> str: ... # type: ignore def readlines(self, __hint: int = ...) -> List[str]: ... # type: ignore def read(self, __size: Optional[int] = ...) -> str: ... @@ -166,7 +166,7 @@ class TextIOWrapper(TextIOBase, TextIO): def __enter__(self: _T) -> _T: ... def __iter__(self) -> Iterator[str]: ... # type: ignore def __next__(self) -> str: ... # type: ignore - def writelines(self, __lines: List[str]) -> None: ... # type: ignore + def writelines(self, __lines: Iterable[str]) -> None: ... # type: ignore def readline(self, __size: int = ...) -> str: ... # type: ignore def readlines(self, __hint: int = ...) -> List[str]: ... # type: ignore def seek(self, __cookie: int, __whence: int = ...) -> int: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/os/__init__.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/os/__init__.pyi index 82dfb1a98..69edd4368 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/os/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/os/__init__.pyi @@ -8,7 +8,7 @@ from _typeshed import ( OpenBinaryModeWriting, OpenTextMode, ) -from builtins import OSError as error +from builtins import OSError from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper as _TextIOWrapper from posix import listdir as listdir, times_result from typing import ( @@ -25,7 +25,6 @@ from typing import ( List, Mapping, MutableMapping, - NamedTuple, NoReturn, Optional, Sequence, @@ -46,6 +45,8 @@ _T = TypeVar("_T") # ----- os variables ----- +error = OSError + supports_bytes_environ: bool supports_dir_fd: Set[Callable[..., Any]] @@ -268,7 +269,9 @@ class stat_result: st_type: int if sys.version_info >= (3, 6): - from builtins import _PathLike as PathLike # See comment in builtins + from builtins import _PathLike + + PathLike = _PathLike # See comment in builtins _FdOrAnyPath = Union[int, AnyPath] @@ -300,9 +303,16 @@ else: def stat(self, *, follow_symlinks: bool = ...) -> stat_result: ... if sys.platform != "win32": + _Tuple10Int = Tuple[int, int, int, int, int, int, int, int, int, int] + _Tuple11Int = Tuple[int, int, int, int, int, int, int, int, int, int, int] if sys.version_info >= (3, 7): # f_fsid was added in https://github.com/python/cpython/pull/4571 - class statvfs_result(NamedTuple): # Unix only + class statvfs_result(_Tuple10Int): # Unix only + def __new__(cls, seq: Union[_Tuple10Int, _Tuple11Int], dict: Dict[str, int] = ...) -> statvfs_result: ... + n_fields: int + n_sequence_fields: int + n_unnamed_fields: int + f_bsize: int f_frsize: int f_blocks: int @@ -313,9 +323,13 @@ if sys.platform != "win32": f_favail: int f_flag: int f_namemax: int - f_fsid: int + f_fsid: int = ... else: - class statvfs_result(NamedTuple): # Unix only + class statvfs_result(_Tuple10Int): # Unix only + n_fields: int + n_sequence_fields: int + n_unnamed_fields: int + f_bsize: int f_frsize: int f_blocks: int diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/platform.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/platform.pyi index 123f2c7a8..7ad678d88 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/platform.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/platform.pyi @@ -3,7 +3,9 @@ import sys if sys.version_info < (3, 9): - from os import devnull as DEV_NULL + import os + + DEV_NULL = os.devnull from typing import NamedTuple, Optional, Tuple if sys.version_info >= (3, 8): diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/random.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/random.pyi index ee3cbda65..439f9b520 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/random.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/random.pyi @@ -18,7 +18,7 @@ class Random(_random.Random): def getstate(self) -> Tuple[Any, ...]: ... def setstate(self, state: Tuple[Any, ...]) -> None: ... def getrandbits(self, __k: int) -> int: ... - def randrange(self, start: int, stop: Union[int, None] = ..., step: int = ...) -> int: ... + def randrange(self, start: int, stop: Optional[int] = ..., step: int = ...) -> int: ... def randint(self, a: int, b: int) -> int: ... if sys.version_info >= (3, 9): def randbytes(self, n: int) -> bytes: ... @@ -32,7 +32,7 @@ class Random(_random.Random): cum_weights: Optional[Sequence[float]] = ..., k: int = ..., ) -> List[_T]: ... - def shuffle(self, x: MutableSequence[Any], random: Union[Callable[[], float], None] = ...) -> None: ... + def shuffle(self, x: MutableSequence[Any], random: Optional[Callable[[], float]] = ...) -> None: ... if sys.version_info >= (3, 9): def sample( self, population: Union[Sequence[_T], AbstractSet[_T]], k: int, *, counts: Optional[Iterable[_T]] = ... @@ -77,7 +77,7 @@ if sys.version_info >= (3, 6): k: int = ..., ) -> List[_T]: ... -def shuffle(x: MutableSequence[Any], random: Union[Callable[[], float], None] = ...) -> None: ... +def shuffle(x: MutableSequence[Any], random: Optional[Callable[[], float]] = ...) -> None: ... if sys.version_info >= (3, 9): def sample(population: Union[Sequence[_T], AbstractSet[_T]], k: int, *, counts: Optional[Iterable[_T]] = ...) -> List[_T]: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/sre_parse.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/sre_parse.pyi index 3f9fb0376..76115a1cb 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/sre_parse.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/sre_parse.pyi @@ -2,7 +2,7 @@ import sys from sre_constants import _NamedIntConstant as _NIC, error as _Error -from typing import Any, Dict, FrozenSet, Iterable, List, Match, Optional, Pattern as _Pattern, Tuple, Union +from typing import Any, Dict, FrozenSet, Iterable, List, Match, Optional, Pattern as _Pattern, Tuple, Union, overload SPECIAL_CHARS: str REPEAT_CHARS: str @@ -85,13 +85,20 @@ class Tokenizer: def fix_flags(src: Union[str, bytes], flags: int) -> int: ... -_TemplateType = Tuple[List[Tuple[int, int]], List[str]] +_TemplateType = Tuple[List[Tuple[int, int]], List[Optional[str]]] +_TemplateByteType = Tuple[List[Tuple[int, int]], List[Optional[bytes]]] if sys.version_info >= (3, 8): def parse(str: str, flags: int = ..., state: Optional[State] = ...) -> SubPattern: ... + @overload def parse_template(source: str, state: _Pattern[Any]) -> _TemplateType: ... + @overload + def parse_template(source: bytes, state: _Pattern[Any]) -> _TemplateByteType: ... else: def parse(str: str, flags: int = ..., pattern: Optional[Pattern] = ...) -> SubPattern: ... + @overload def parse_template(source: str, pattern: _Pattern[Any]) -> _TemplateType: ... + @overload + def parse_template(source: bytes, pattern: _Pattern[Any]) -> _TemplateByteType: ... def expand_template(template: _TemplateType, match: Match[Any]) -> str: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/types.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/types.pyi index 8e8ef4a10..1225ba3d5 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/types.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/types.pyi @@ -281,7 +281,7 @@ class FrameType: f_lasti: int f_lineno: int f_locals: Dict[str, Any] - f_trace: Callable[[], None] + f_trace: Optional[Callable[[FrameType, str, Any], Any]] if sys.version_info >= (3, 7): f_trace_lines: bool f_trace_opcodes: bool diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/unittest/mock.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/unittest/mock.pyi index 0c34f72dd..0acbb6875 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/unittest/mock.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/unittest/mock.pyi @@ -4,6 +4,7 @@ from typing import Any, Callable, Generic, List, Mapping, Optional, Sequence, Te _F = TypeVar("_F", bound=Callable[..., Any]) _T = TypeVar("_T") _TT = TypeVar("_TT", bound=Type[Any]) +_R = TypeVar("_R") __all__ = [ "Mock", @@ -193,7 +194,7 @@ class _patch(Generic[_T]): kwargs: Mapping[str, Any], ) -> None: ... def copy(self) -> _patch[_T]: ... - def __call__(self, func: _F) -> _F: ... + def __call__(self, func: Callable[..., _R]) -> Callable[..., _R]: ... def decorate_class(self, klass: _TT) -> _TT: ... def decorate_callable(self, func: _F) -> _F: ... def get_original(self) -> Tuple[Any, bool]: ... diff --git a/packages/pyright-internal/typeshed-fallback/stdlib/3/urllib/request.pyi b/packages/pyright-internal/typeshed-fallback/stdlib/3/urllib/request.pyi index 1e529067b..22932d890 100644 --- a/packages/pyright-internal/typeshed-fallback/stdlib/3/urllib/request.pyi +++ b/packages/pyright-internal/typeshed-fallback/stdlib/3/urllib/request.pyi @@ -4,7 +4,24 @@ import sys from email.message import Message from http.client import HTTPMessage, HTTPResponse, _HTTPConnectionProtocol from http.cookiejar import CookieJar -from typing import IO, Any, Callable, ClassVar, Dict, List, Mapping, NoReturn, Optional, Sequence, Tuple, TypeVar, Union, overload +from typing import ( + IO, + Any, + Callable, + ClassVar, + Dict, + List, + Mapping, + NoReturn, + Optional, + Pattern, + Sequence, + Tuple, + TypeVar, + Union, + overload, +) +from urllib.error import HTTPError from urllib.response import addinfourl _T = TypeVar("_T") @@ -65,12 +82,14 @@ class Request: @overload def get_header(self, header_name: str, default: _T) -> Union[str, _T]: ... def header_items(self) -> List[Tuple[str, str]]: ... + def has_proxy(self) -> bool: ... class OpenerDirector: addheaders: List[Tuple[str, str]] def add_handler(self, handler: BaseHandler) -> None: ... def open(self, fullurl: Union[str, Request], data: Optional[bytes] = ..., timeout: Optional[float] = ...) -> _UrlopenRet: ... def error(self, proto: str, *args: Any) -> _UrlopenRet: ... + def close(self) -> None: ... class BaseHandler: handler_order: ClassVar[int] @@ -79,9 +98,15 @@ class BaseHandler: def close(self) -> None: ... def http_error_nnn(self, req: Request, fp: IO[str], code: int, msg: int, headers: Mapping[str, str]) -> _UrlopenRet: ... -class HTTPDefaultErrorHandler(BaseHandler): ... +class HTTPDefaultErrorHandler(BaseHandler): + def http_error_default( + self, req: Request, fp: IO[bytes], code: int, msg: str, hdrs: Mapping[str, str] + ) -> HTTPError: ... # undocumented class HTTPRedirectHandler(BaseHandler): + max_redirections: ClassVar[int] # undocumented + max_repeats: ClassVar[int] # undocumented + inf_msg: ClassVar[str] # undocumented def redirect_request( self, req: Request, fp: IO[str], code: int, msg: str, headers: Mapping[str, str], newurl: str ) -> Optional[Request]: ... @@ -101,14 +126,21 @@ class HTTPRedirectHandler(BaseHandler): class HTTPCookieProcessor(BaseHandler): cookiejar: CookieJar def __init__(self, cookiejar: Optional[CookieJar] = ...) -> None: ... + def http_request(self, request: Request) -> Request: ... # undocumented + def http_response(self, request: Request, response: HTTPResponse) -> HTTPResponse: ... # undocumented + def https_request(self, request: Request) -> Request: ... # undocumented + def https_response(self, request: Request, response: HTTPResponse) -> HTTPResponse: ... # undocumented class ProxyHandler(BaseHandler): def __init__(self, proxies: Optional[Dict[str, str]] = ...) -> None: ... + def proxy_open(self, req: Request, proxy: str, type: str) -> Optional[_UrlopenRet]: ... # undocumented # TODO add a method for every (common) proxy protocol class HTTPPasswordMgr: def add_password(self, realm: str, uri: Union[str, Sequence[str]], user: str, passwd: str) -> None: ... def find_user_password(self, realm: str, authuri: str) -> Tuple[Optional[str], Optional[str]]: ... + def is_suburi(self, base: str, test: str) -> bool: ... # undocumented + def reduce_uri(self, uri: str, default_port: bool = ...) -> str: ... # undocumented class HTTPPasswordMgrWithDefaultRealm(HTTPPasswordMgr): def add_password(self, realm: Optional[str], uri: Union[str, Sequence[str]], user: str, passwd: str) -> None: ... @@ -122,15 +154,23 @@ class HTTPPasswordMgrWithPriorAuth(HTTPPasswordMgrWithDefaultRealm): def is_authenticated(self, authuri: str) -> bool: ... class AbstractBasicAuthHandler: + rx: ClassVar[Pattern] # undocumented def __init__(self, password_mgr: Optional[HTTPPasswordMgr] = ...) -> None: ... def http_error_auth_reqed(self, authreq: str, host: str, req: Request, headers: Mapping[str, str]) -> None: ... + def http_request(self, req: Request) -> Request: ... # undocumented + def http_response(self, req: Request, response: HTTPResponse) -> HTTPResponse: ... # undocumented + def https_request(self, req: Request) -> Request: ... # undocumented + def https_response(self, req: Request, response: HTTPResponse) -> HTTPResponse: ... # undocumented + def retry_http_basic_auth(self, host: str, req: Request, realm: str) -> Optional[_UrlopenRet]: ... # undocumented class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler): + auth_header: ClassVar[str] # undocumented def http_error_401( self, req: Request, fp: IO[str], code: int, msg: int, headers: Mapping[str, str] ) -> Optional[_UrlopenRet]: ... class ProxyBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler): + auth_header: ClassVar[str] def http_error_407( self, req: Request, fp: IO[str], code: int, msg: int, headers: Mapping[str, str] ) -> Optional[_UrlopenRet]: ... @@ -146,11 +186,13 @@ class AbstractDigestAuthHandler: def get_entity_digest(self, data: Optional[bytes], chal: Mapping[str, str]) -> Optional[str]: ... class HTTPDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler): + auth_header: ClassVar[str] # undocumented def http_error_401( self, req: Request, fp: IO[str], code: int, msg: int, headers: Mapping[str, str] ) -> Optional[_UrlopenRet]: ... class ProxyDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler): + auth_header: ClassVar[str] # undocumented def http_error_407( self, req: Request, fp: IO[str], code: int, msg: int, headers: Mapping[str, str] ) -> Optional[_UrlopenRet]: ... @@ -173,17 +215,33 @@ class HTTPSHandler(AbstractHTTPHandler): def https_request(self, request: Request) -> Request: ... # undocumented class FileHandler(BaseHandler): + names: ClassVar[Optional[Tuple[str, ...]]] # undocumented def file_open(self, req: Request) -> addinfourl: ... + def get_names(self) -> Tuple[str, ...]: ... # undocumented + def open_local_file(self, req: Request) -> addinfourl: ... # undocumented class DataHandler(BaseHandler): def data_open(self, req: Request) -> addinfourl: ... +class ftpwrapper: # undocumented + def __init__( + self, user: str, passwd: str, host: str, port: int, dirs: str, timeout: Optional[float] = ..., persistent: bool = ... + ) -> None: ... + class FTPHandler(BaseHandler): def ftp_open(self, req: Request) -> addinfourl: ... + def connect_ftp( + self, user: str, passwd: str, host: str, port: int, dirs: str, timeout: float + ) -> ftpwrapper: ... # undocumented class CacheFTPHandler(FTPHandler): def setTimeout(self, t: float) -> None: ... def setMaxConns(self, m: int) -> None: ... + def check_cache(self) -> None: ... # undocumented + def clear_cache(self) -> None: ... # undocumented + def connect_ftp( + self, user: str, passwd: str, host: str, port: int, dirs: str, timeout: float + ) -> ftpwrapper: ... # undocumented class UnknownHandler(BaseHandler): def unknown_open(self, req: Request) -> NoReturn: ... @@ -222,6 +280,73 @@ class URLopener: reporthook: Optional[Callable[[int, int, int], None]] = ..., data: Optional[bytes] = ..., ) -> Tuple[str, Optional[Message]]: ... + def addheader(self, *args: Tuple[str, str]) -> None: ... # undocumented + def cleanup(self) -> None: ... # undocumented + def close(self) -> None: ... # undocumented + def http_error( + self, url: str, fp: IO[bytes], errcode: int, errmsg: str, headers: Mapping[str, str], data: Optional[bytes] = ... + ) -> _UrlopenRet: ... # undocumented + def http_error_default( + self, url: str, fp: IO[bytes], errcode: int, errmsg: str, headers: Mapping[str, str] + ) -> _UrlopenRet: ... # undocumented + def open_data(self, url: str, data: Optional[bytes] = ...) -> addinfourl: ... # undocumented + def open_file(self, url: str) -> addinfourl: ... # undocumented + def open_ftp(self, url: str) -> addinfourl: ... # undocumented + def open_http(self, url: str, data: Optional[bytes] = ...) -> _UrlopenRet: ... # undocumented + def open_https(self, url: str, data: Optional[bytes] = ...) -> _UrlopenRet: ... # undocumented + def open_local_file(self, url: str) -> addinfourl: ... # undocumented + def open_unknown_proxy(self, proxy: str, fullurl: str, data: Optional[bytes] = ...) -> None: ... # undocumented class FancyURLopener(URLopener): def prompt_user_passwd(self, host: str, realm: str) -> Tuple[str, str]: ... + def get_user_passwd(self, host: str, realm: str, clear_cache: int = ...) -> Tuple[str, str]: ... # undocumented + def http_error_301( + self, url: str, fp: IO[str], errcode: int, errmsg: str, headers: Mapping[str, str], data: Optional[bytes] = ... + ) -> Optional[Union[_UrlopenRet, addinfourl]]: ... # undocumented + def http_error_302( + self, url: str, fp: IO[str], errcode: int, errmsg: str, headers: Mapping[str, str], data: Optional[bytes] = ... + ) -> Optional[Union[_UrlopenRet, addinfourl]]: ... # undocumented + def http_error_303( + self, url: str, fp: IO[str], errcode: int, errmsg: str, headers: Mapping[str, str], data: Optional[bytes] = ... + ) -> Optional[Union[_UrlopenRet, addinfourl]]: ... # undocumented + def http_error_307( + self, url: str, fp: IO[str], errcode: int, errmsg: str, headers: Mapping[str, str], data: Optional[bytes] = ... + ) -> Optional[Union[_UrlopenRet, addinfourl]]: ... # undocumented + def http_error_401( + self, + url: str, + fp: IO[str], + errcode: int, + errmsg: str, + headers: Mapping[str, str], + data: Optional[bytes] = ..., + retry: bool = ..., + ) -> Optional[_UrlopenRet]: ... # undocumented + def http_error_407( + self, + url: str, + fp: IO[str], + errcode: int, + errmsg: str, + headers: Mapping[str, str], + data: Optional[bytes] = ..., + retry: bool = ..., + ) -> Optional[_UrlopenRet]: ... # undocumented + def http_error_default( + self, url: str, fp: IO[bytes], errcode: int, errmsg: str, headers: Mapping[str, str] + ) -> addinfourl: ... # undocumented + def redirect_internal( + self, url: str, fp: IO[str], errcode: int, errmsg: str, headers: Mapping[str, str], data: Optional[bytes] + ) -> Optional[_UrlopenRet]: ... # undocumented + def retry_http_basic_auth( + self, url: str, realm: str, data: Optional[bytes] = ... + ) -> Optional[_UrlopenRet]: ... # undocumented + def retry_https_basic_auth( + self, url: str, realm: str, data: Optional[bytes] = ... + ) -> Optional[_UrlopenRet]: ... # undocumented + def retry_proxy_http_basic_auth( + self, url: str, realm: str, data: Optional[bytes] = ... + ) -> Optional[_UrlopenRet]: ... # undocumented + def retry_proxy_https_basic_auth( + self, url: str, realm: str, data: Optional[bytes] = ... + ) -> Optional[_UrlopenRet]: ... # undocumented diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/AES.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/AES.pyi deleted file mode 100644 index 8b571fde2..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/AES.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Text, Union - -from .blockalgo import BlockAlgo - -__revision__: str - -class AESCipher(BlockAlgo): - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> AESCipher: ... - -MODE_ECB: int -MODE_CBC: int -MODE_CFB: int -MODE_PGP: int -MODE_OFB: int -MODE_CTR: int -MODE_OPENPGP: int -block_size: int -key_size: int diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/ARC2.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/ARC2.pyi deleted file mode 100644 index 23cc99265..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/ARC2.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Text, Union - -from .blockalgo import BlockAlgo - -__revision__: str - -class RC2Cipher(BlockAlgo): - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> RC2Cipher: ... - -MODE_ECB: int -MODE_CBC: int -MODE_CFB: int -MODE_PGP: int -MODE_OFB: int -MODE_CTR: int -MODE_OPENPGP: int -block_size: int -key_size: int diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/ARC4.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/ARC4.pyi deleted file mode 100644 index 58764c24d..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/ARC4.pyi +++ /dev/null @@ -1,15 +0,0 @@ -from typing import Text, Union - -__revision__: str - -class ARC4Cipher: - block_size: int - key_size: int - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - def encrypt(self, plaintext): ... - def decrypt(self, ciphertext): ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> ARC4Cipher: ... - -block_size: int -key_size: int diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/Blowfish.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/Blowfish.pyi deleted file mode 100644 index a42aa3e68..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/Blowfish.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Any, Text, Union - -from .blockalgo import BlockAlgo - -__revision__: str - -class BlowfishCipher(BlockAlgo): - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> BlowfishCipher: ... - -MODE_ECB: int -MODE_CBC: int -MODE_CFB: int -MODE_PGP: int -MODE_OFB: int -MODE_CTR: int -MODE_OPENPGP: int -block_size: int -key_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/CAST.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/CAST.pyi deleted file mode 100644 index c84e9b9c7..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/CAST.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Any, Text, Union - -from .blockalgo import BlockAlgo - -__revision__: str - -class CAST128Cipher(BlockAlgo): - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> CAST128Cipher: ... - -MODE_ECB: int -MODE_CBC: int -MODE_CFB: int -MODE_PGP: int -MODE_OFB: int -MODE_CTR: int -MODE_OPENPGP: int -block_size: int -key_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/DES.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/DES.pyi deleted file mode 100644 index 7f08b281c..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/DES.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Text, Union - -from .blockalgo import BlockAlgo - -__revision__: str - -class DESCipher(BlockAlgo): - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> DESCipher: ... - -MODE_ECB: int -MODE_CBC: int -MODE_CFB: int -MODE_PGP: int -MODE_OFB: int -MODE_CTR: int -MODE_OPENPGP: int -block_size: int -key_size: int diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/DES3.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/DES3.pyi deleted file mode 100644 index 42c930295..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/DES3.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Any, Text, Union - -from .blockalgo import BlockAlgo - -__revision__: str - -class DES3Cipher(BlockAlgo): - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> DES3Cipher: ... - -MODE_ECB: int -MODE_CBC: int -MODE_CFB: int -MODE_PGP: int -MODE_OFB: int -MODE_CTR: int -MODE_OPENPGP: int -block_size: int -key_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/PKCS1_OAEP.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/PKCS1_OAEP.pyi deleted file mode 100644 index 6762f1eca..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/PKCS1_OAEP.pyi +++ /dev/null @@ -1,12 +0,0 @@ -from typing import Any, Optional, Text, Union - -from Crypto.PublicKey.RSA import _RSAobj - -class PKCS1OAEP_Cipher: - def __init__(self, key: _RSAobj, hashAlgo: Any, mgfunc: Any, label: Any) -> None: ... - def can_encrypt(self): ... - def can_decrypt(self): ... - def encrypt(self, message: Union[bytes, Text]) -> bytes: ... - def decrypt(self, ct: bytes) -> bytes: ... - -def new(key: _RSAobj, hashAlgo: Optional[Any] = ..., mgfunc: Optional[Any] = ..., label: Any = ...) -> PKCS1OAEP_Cipher: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/PKCS1_v1_5.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/PKCS1_v1_5.pyi deleted file mode 100644 index 6a993a827..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/PKCS1_v1_5.pyi +++ /dev/null @@ -1,13 +0,0 @@ -from typing import Any, Text, Union - -from Crypto.PublicKey.RSA import _RSAobj - -class PKCS115_Cipher: - def __init__(self, key: _RSAobj) -> None: ... - def can_encrypt(self) -> bool: ... - def can_decrypt(self) -> bool: ... - rf: Any - def encrypt(self, message: Union[bytes, Text]) -> bytes: ... - def decrypt(self, ct: bytes, sentinel: Any) -> bytes: ... - -def new(key: _RSAobj) -> PKCS115_Cipher: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/XOR.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/XOR.pyi deleted file mode 100644 index 25082d39d..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/XOR.pyi +++ /dev/null @@ -1,15 +0,0 @@ -from typing import Text, Union - -__revision__: str - -class XORCipher: - block_size: int - key_size: int - def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ... - def encrypt(self, plaintext: Union[bytes, Text]) -> bytes: ... - def decrypt(self, ciphertext: bytes) -> bytes: ... - -def new(key: Union[bytes, Text], *args, **kwargs) -> XORCipher: ... - -block_size: int -key_size: int diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/__init__.pyi deleted file mode 100644 index 309f2746d..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/__init__.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Names in __all__ with no definition: -# AES -# ARC2 -# ARC4 -# Blowfish -# CAST -# DES -# DES3 -# PKCS1_OAEP -# PKCS1_v1_5 -# XOR diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/blockalgo.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/blockalgo.pyi deleted file mode 100644 index a7ae666a2..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Cipher/blockalgo.pyi +++ /dev/null @@ -1,17 +0,0 @@ -from typing import Any, Text, Union - -MODE_ECB: int -MODE_CBC: int -MODE_CFB: int -MODE_PGP: int -MODE_OFB: int -MODE_CTR: int -MODE_OPENPGP: int - -class BlockAlgo: - mode: int - block_size: int - IV: Any - def __init__(self, factory: Any, key: Union[bytes, Text], *args, **kwargs) -> None: ... - def encrypt(self, plaintext: Union[bytes, Text]) -> bytes: ... - def decrypt(self, ciphertext: bytes) -> bytes: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/HMAC.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/HMAC.pyi deleted file mode 100644 index 5e2337d1b..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/HMAC.pyi +++ /dev/null @@ -1,16 +0,0 @@ -from typing import Any, Optional - -digest_size: Any - -class HMAC: - digest_size: Any - digestmod: Any - outer: Any - inner: Any - def __init__(self, key, msg: Optional[Any] = ..., digestmod: Optional[Any] = ...) -> None: ... - def update(self, msg): ... - def copy(self): ... - def digest(self): ... - def hexdigest(self): ... - -def new(key, msg: Optional[Any] = ..., digestmod: Optional[Any] = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD2.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD2.pyi deleted file mode 100644 index ef6d3180a..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD2.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class MD2Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD4.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD4.pyi deleted file mode 100644 index 1d5c504be..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD4.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class MD4Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD5.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD5.pyi deleted file mode 100644 index 888af0eb0..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/MD5.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class MD5Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/RIPEMD.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/RIPEMD.pyi deleted file mode 100644 index a42411132..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/RIPEMD.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class RIPEMD160Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA.pyi deleted file mode 100644 index e595c5841..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class SHA1Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA224.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA224.pyi deleted file mode 100644 index 39895ba93..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA224.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class SHA224Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA256.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA256.pyi deleted file mode 100644 index 40b04379f..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA256.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class SHA256Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA384.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA384.pyi deleted file mode 100644 index a810dd25a..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA384.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class SHA384Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA512.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA512.pyi deleted file mode 100644 index 1781017e3..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/SHA512.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash.hashalgo import HashAlgo - -class SHA512Hash(HashAlgo): - oid: Any - digest_size: int - block_size: int - def __init__(self, data: Optional[Any] = ...) -> None: ... - def new(self, data: Optional[Any] = ...): ... - -def new(data: Optional[Any] = ...): ... - -digest_size: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/__init__.pyi deleted file mode 100644 index 9af06f41e..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/__init__.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Names in __all__ with no definition: -# HMAC -# MD2 -# MD4 -# MD5 -# RIPEMD -# SHA -# SHA224 -# SHA256 -# SHA384 -# SHA512 diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/hashalgo.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/hashalgo.pyi deleted file mode 100644 index 7c57e0347..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Hash/hashalgo.pyi +++ /dev/null @@ -1,11 +0,0 @@ -from typing import Any, Optional - -class HashAlgo: - digest_size: Any - block_size: Any - def __init__(self, hashFactory, data: Optional[Any] = ...) -> None: ... - def update(self, data): ... - def digest(self): ... - def hexdigest(self): ... - def copy(self): ... - def new(self, data: Optional[Any] = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/AllOrNothing.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/AllOrNothing.pyi deleted file mode 100644 index a7ae7d664..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/AllOrNothing.pyi +++ /dev/null @@ -1,10 +0,0 @@ -from typing import Any, Optional - -__revision__: str - -def isInt(x): ... - -class AllOrNothing: - def __init__(self, ciphermodule, mode: Optional[Any] = ..., IV: Optional[Any] = ...) -> None: ... - def digest(self, text): ... - def undigest(self, blocks): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/Chaffing.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/Chaffing.pyi deleted file mode 100644 index d70e9f643..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/Chaffing.pyi +++ /dev/null @@ -1,5 +0,0 @@ -__revision__: str - -class Chaff: - def __init__(self, factor: float = ..., blocksper: int = ...) -> None: ... - def chaff(self, blocks): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/KDF.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/KDF.pyi deleted file mode 100644 index b4fcdb4e0..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/KDF.pyi +++ /dev/null @@ -1,8 +0,0 @@ -from typing import Any, Optional - -from Crypto.Hash import SHA as SHA1 - -__revision__: str - -def PBKDF1(password, salt, dkLen, count: int = ..., hashAlgo: Optional[Any] = ...): ... -def PBKDF2(password, salt, dkLen: int = ..., count: int = ..., prf: Optional[Any] = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/__init__.pyi deleted file mode 100644 index e3744e5ee..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Protocol/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Names in __all__ with no definition: -# AllOrNothing -# Chaffing -# KDF diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/DSA.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/DSA.pyi deleted file mode 100644 index e0b4b8956..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/DSA.pyi +++ /dev/null @@ -1,28 +0,0 @@ -from typing import Any, Optional - -from .pubkey import pubkey - -class _DSAobj(pubkey): - keydata: Any - implementation: Any - key: Any - def __init__(self, implementation, key) -> None: ... - def __getattr__(self, attrname): ... - def sign(self, M, K): ... - def verify(self, M, signature): ... - def has_private(self): ... - def size(self): ... - def can_blind(self): ... - def can_encrypt(self): ... - def can_sign(self): ... - def publickey(self): ... - -class DSAImplementation: - error: Any - def __init__(self, **kwargs) -> None: ... - def generate(self, bits, randfunc: Optional[Any] = ..., progress_func: Optional[Any] = ...): ... - def construct(self, tup): ... - -generate: Any -construct: Any -error: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/ElGamal.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/ElGamal.pyi deleted file mode 100644 index 507c72523..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/ElGamal.pyi +++ /dev/null @@ -1,19 +0,0 @@ -from typing import Any, Optional - -from Crypto.PublicKey.pubkey import * # noqa: F403 -from Crypto.PublicKey.pubkey import pubkey - -class error(Exception): ... - -def generate(bits, randfunc, progress_func: Optional[Any] = ...): ... -def construct(tup): ... - -class ElGamalobj(pubkey): - keydata: Any - def encrypt(self, plaintext, K): ... - def decrypt(self, ciphertext): ... - def sign(self, M, K): ... - def verify(self, M, signature): ... - def size(self): ... - def has_private(self): ... - def publickey(self): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/RSA.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/RSA.pyi deleted file mode 100644 index d5977f6bb..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/RSA.pyi +++ /dev/null @@ -1,33 +0,0 @@ -from typing import Any, Optional, Text, Union - -from .pubkey import pubkey - -class _RSAobj(pubkey): - keydata: Any - implementation: Any - key: Any - def __init__(self, implementation, key, randfunc: Optional[Any] = ...) -> None: ... - def __getattr__(self, attrname): ... - def encrypt(self, plaintext, K): ... - def decrypt(self, ciphertext): ... - def sign(self, M, K): ... - def verify(self, M, signature): ... - def has_private(self): ... - def size(self): ... - def can_blind(self): ... - def can_encrypt(self): ... - def can_sign(self): ... - def publickey(self): ... - def exportKey(self, format: str = ..., passphrase: Optional[Any] = ..., pkcs: int = ...): ... - -class RSAImplementation: - error: Any - def __init__(self, **kwargs) -> None: ... - def generate(self, bits, randfunc: Optional[Any] = ..., progress_func: Optional[Any] = ..., e: int = ...): ... - def construct(self, tup): ... - def importKey(self, externKey: Any, passphrase: Union[None, bytes, Text] = ...) -> _RSAobj: ... - -generate: Any -construct: Any -importKey: Any -error: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/__init__.pyi deleted file mode 100644 index 36d9e9434..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Names in __all__ with no definition: -# DSA -# ElGamal -# RSA diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/pubkey.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/pubkey.pyi deleted file mode 100644 index b9281adb5..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/PublicKey/pubkey.pyi +++ /dev/null @@ -1,21 +0,0 @@ -from Crypto.Util.number import * # noqa: F403 - -__revision__: str - -class pubkey: - def __init__(self) -> None: ... - def encrypt(self, plaintext, K): ... - def decrypt(self, ciphertext): ... - def sign(self, M, K): ... - def verify(self, M, signature): ... - def validate(self, M, signature): ... - def blind(self, M, B): ... - def unblind(self, M, B): ... - def can_sign(self): ... - def can_encrypt(self): ... - def can_blind(self): ... - def size(self): ... - def has_private(self): ... - def publickey(self): ... - def __eq__(self, other): ... - def __ne__(self, other): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/FortunaAccumulator.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/FortunaAccumulator.pyi deleted file mode 100644 index 40149bf19..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/FortunaAccumulator.pyi +++ /dev/null @@ -1,25 +0,0 @@ -from typing import Any - -__revision__: str - -class FortunaPool: - digest_size: Any - def __init__(self) -> None: ... - def append(self, data): ... - def digest(self): ... - def hexdigest(self): ... - length: int - def reset(self): ... - -def which_pools(r): ... - -class FortunaAccumulator: - min_pool_size: int - reseed_interval: float - reseed_count: int - generator: Any - last_reseed: Any - pools: Any - def __init__(self) -> None: ... - def random_data(self, bytes): ... - def add_random_event(self, source_number, pool_number, data): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/FortunaGenerator.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/FortunaGenerator.pyi deleted file mode 100644 index 047ac937c..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/FortunaGenerator.pyi +++ /dev/null @@ -1,16 +0,0 @@ -from typing import Any - -__revision__: str - -class AESGenerator: - block_size: Any - key_size: int - max_blocks_per_request: Any - counter: Any - key: Any - block_size_shift: Any - blocks_per_key: Any - max_bytes_per_request: Any - def __init__(self) -> None: ... - def reseed(self, seed): ... - def pseudo_random_data(self, bytes): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/SHAd256.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/SHAd256.pyi deleted file mode 100644 index 1fbd51fe0..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/SHAd256.pyi +++ /dev/null @@ -1,13 +0,0 @@ -from typing import Any, Optional - -class _SHAd256: - digest_size: Any - def __init__(self, internal_api_check, sha256_hash_obj) -> None: ... - def copy(self): ... - def digest(self): ... - def hexdigest(self): ... - def update(self, data): ... - -digest_size: Any - -def new(data: Optional[Any] = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/Fortuna/__init__.pyi deleted file mode 100644 index e69de29bb..000000000 diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/__init__.pyi deleted file mode 100644 index d1f1427d1..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/__init__.pyi +++ /dev/null @@ -1 +0,0 @@ -__revision__: str diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/fallback.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/fallback.pyi deleted file mode 100644 index 72df987cb..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/fallback.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from .rng_base import BaseRNG - -class PythonOSURandomRNG(BaseRNG): - name: str - def __init__(self) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/posix.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/posix.pyi deleted file mode 100644 index 2c6586b06..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/posix.pyi +++ /dev/null @@ -1,7 +0,0 @@ -from typing import Any, Optional - -from .rng_base import BaseRNG - -class DevURandomRNG(BaseRNG): - name: str - def __init__(self, devname: Optional[Any] = ...) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/rng_base.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/rng_base.pyi deleted file mode 100644 index 12e3d812a..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/OSRNG/rng_base.pyi +++ /dev/null @@ -1,11 +0,0 @@ -__revision__: str - -class BaseRNG: - closed: bool - def __init__(self) -> None: ... - def __del__(self): ... - def __enter__(self): ... - def __exit__(self): ... - def close(self): ... - def flush(self): ... - def read(self, N: int = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/__init__.pyi deleted file mode 100644 index bc5620221..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/__init__.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from typing import Any - -def new(*args: Any, **kwargs: Any): ... -def atfork() -> None: ... -def get_random_bytes(n: int) -> bytes: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/random.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/random.pyi deleted file mode 100644 index 835cad5a7..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Random/random.pyi +++ /dev/null @@ -1,19 +0,0 @@ -from typing import Any, List, Optional, Sequence, TypeVar - -_T = TypeVar("_T") - -class StrongRandom: - def __init__(self, rng: Optional[Any] = ..., randfunc: Optional[Any] = ...) -> None: ... - def getrandbits(self, k: int) -> int: ... - def randrange(self, start: int, stop: int = ..., step: int = ...) -> int: ... - def randint(self, a: int, b: int) -> int: ... - def choice(self, seq: Sequence[_T]) -> _T: ... - def shuffle(self, x: Sequence[Any]): ... - def sample(self, population: Sequence[_T], k: int) -> List[_T]: ... - -def getrandbits(k: int) -> int: ... -def randrange(start: int, stop: int = ..., step: int = ...) -> int: ... -def randint(a: int, b: int) -> int: ... -def choice(seq: Sequence[_T]) -> _T: ... -def shuffle(x: Sequence[Any]): ... -def sample(population: Sequence[_T], k: int) -> List[_T]: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/PKCS1_PSS.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/PKCS1_PSS.pyi deleted file mode 100644 index 8341c2b4e..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/PKCS1_PSS.pyi +++ /dev/null @@ -1,9 +0,0 @@ -from typing import Any, Optional - -class PSS_SigScheme: - def __init__(self, key, mgfunc, saltLen) -> None: ... - def can_sign(self): ... - def sign(self, mhash): ... - def verify(self, mhash, S): ... - -def new(key, mgfunc: Optional[Any] = ..., saltLen: Optional[Any] = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/PKCS1_v1_5.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/PKCS1_v1_5.pyi deleted file mode 100644 index 4a2b22531..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/PKCS1_v1_5.pyi +++ /dev/null @@ -1,7 +0,0 @@ -class PKCS115_SigScheme: - def __init__(self, key) -> None: ... - def can_sign(self): ... - def sign(self, mhash): ... - def verify(self, mhash, S): ... - -def new(key): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/__init__.pyi deleted file mode 100644 index 560f06fd9..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Signature/__init__.pyi +++ /dev/null @@ -1,3 +0,0 @@ -# Names in __all__ with no definition: -# PKCS1_PSS -# PKCS1_v1_5 diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/Counter.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/Counter.pyi deleted file mode 100644 index a1f13eead..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/Counter.pyi +++ /dev/null @@ -1,12 +0,0 @@ -from typing import Any - -def new( - nbits, - prefix: Any = ..., - suffix: Any = ..., - initial_value: int = ..., - overflow: int = ..., - little_endian: bool = ..., - allow_wraparound: bool = ..., - disable_shortcut: bool = ..., -): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/RFC1751.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/RFC1751.pyi deleted file mode 100644 index e1e8f5ef0..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/RFC1751.pyi +++ /dev/null @@ -1,9 +0,0 @@ -from typing import Any - -__revision__: str -binary: Any - -def key_to_english(key): ... -def english_to_key(s): ... - -wordlist: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/__init__.pyi deleted file mode 100644 index 174729952..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/__init__.pyi +++ /dev/null @@ -1,6 +0,0 @@ -# Names in __all__ with no definition: -# RFC1751 -# asn1 -# number -# randpool -# strxor diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/asn1.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/asn1.pyi deleted file mode 100644 index 03d4b29f1..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/asn1.pyi +++ /dev/null @@ -1,45 +0,0 @@ -from typing import Any, Optional - -class DerObject: - typeTags: Any - typeTag: Any - payload: Any - def __init__(self, ASN1Type: Optional[Any] = ..., payload: Any = ...) -> None: ... - def isType(self, ASN1Type): ... - def encode(self): ... - def decode(self, derEle, noLeftOvers: int = ...): ... - -class DerInteger(DerObject): - value: Any - def __init__(self, value: int = ...) -> None: ... - payload: Any - def encode(self): ... - def decode(self, derEle, noLeftOvers: int = ...): ... - -class DerSequence(DerObject): - def __init__(self, startSeq: Optional[Any] = ...) -> None: ... - def __delitem__(self, n): ... - def __getitem__(self, n): ... - def __setitem__(self, key, value): ... - def __setslice__(self, i, j, sequence): ... - def __delslice__(self, i, j): ... - def __getslice__(self, i, j): ... - def __len__(self): ... - def append(self, item): ... - def hasInts(self): ... - def hasOnlyInts(self): ... - payload: Any - def encode(self): ... - def decode(self, derEle, noLeftOvers: int = ...): ... - -class DerOctetString(DerObject): - payload: Any - def __init__(self, value: Any = ...) -> None: ... - def decode(self, derEle, noLeftOvers: int = ...): ... - -class DerNull(DerObject): - def __init__(self) -> None: ... - -class DerObjectId(DerObject): - def __init__(self) -> None: ... - def decode(self, derEle, noLeftOvers: int = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/number.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/number.pyi deleted file mode 100644 index 4ffbd0324..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/number.pyi +++ /dev/null @@ -1,22 +0,0 @@ -from typing import Any, Optional -from warnings import warn as _warn - -__revision__: str -bignum: Any - -def size(N): ... -def getRandomNumber(N, randfunc: Optional[Any] = ...): ... -def getRandomInteger(N, randfunc: Optional[Any] = ...): ... -def getRandomRange(a, b, randfunc: Optional[Any] = ...): ... -def getRandomNBitInteger(N, randfunc: Optional[Any] = ...): ... -def GCD(x, y): ... -def inverse(u, v): ... -def getPrime(N, randfunc: Optional[Any] = ...): ... -def getStrongPrime(N, e: int = ..., false_positive_prob: float = ..., randfunc: Optional[Any] = ...): ... -def isPrime(N, false_positive_prob: float = ..., randfunc: Optional[Any] = ...): ... -def long_to_bytes(n, blocksize: int = ...): ... -def bytes_to_long(s): ... -def long2str(n, blocksize: int = ...): ... -def str2long(s): ... - -sieve_base: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/randpool.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/randpool.pyi deleted file mode 100644 index 3ee98d74b..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/randpool.pyi +++ /dev/null @@ -1,18 +0,0 @@ -from typing import Any, Optional - -__revision__: str - -class RandomPool: - bytes: Any - bits: Any - entropy: Any - def __init__( - self, numbytes: int = ..., cipher: Optional[Any] = ..., hash: Optional[Any] = ..., file: Optional[Any] = ... - ) -> None: ... - def get_bytes(self, N): ... - def randomize(self, N: int = ...): ... - def stir(self, s: str = ...): ... - def stir_n(self, N: int = ...): ... - def add_event(self, s: str = ...): ... - def getBytes(self, N): ... - def addEvent(self, event, s: str = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/strxor.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/strxor.pyi deleted file mode 100644 index cb6269bbb..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/Util/strxor.pyi +++ /dev/null @@ -1,2 +0,0 @@ -def strxor(*args, **kwargs): ... -def strxor_c(*args, **kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/__init__.pyi deleted file mode 100644 index 6d8e1248d..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/__init__.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Names in __all__ with no definition: -# Cipher -# Hash -# Protocol -# PublicKey -# Signature -# Util diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/pct_warnings.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/pct_warnings.pyi deleted file mode 100644 index b77e975b2..000000000 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/Crypto/pct_warnings.pyi +++ /dev/null @@ -1,7 +0,0 @@ -class CryptoWarning(Warning): ... -class CryptoDeprecationWarning(DeprecationWarning, CryptoWarning): ... -class CryptoRuntimeWarning(RuntimeWarning, CryptoWarning): ... -class RandomPool_DeprecationWarning(CryptoDeprecationWarning): ... -class ClockRewindWarning(CryptoRuntimeWarning): ... -class GetRandomNumber_DeprecationWarning(CryptoDeprecationWarning): ... -class PowmInsecureWarning(CryptoRuntimeWarning): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/boto/compat.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/boto/compat.pyi index d10c4cbfd..f9e10d658 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/boto/compat.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/boto/compat.pyi @@ -4,7 +4,9 @@ from typing import Any if sys.version_info >= (3,): from base64 import encodebytes as encodebytes else: - from base64 import encodestring as encodebytes + from base64 import encodestring + + encodebytes = encodestring expanduser: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/click/types.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/click/types.pyi index 923e20275..21f8b7b0b 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/click/types.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/click/types.pyi @@ -2,7 +2,9 @@ import datetime import uuid from typing import IO, Any, Callable, Generic, Iterable, List, Optional, Tuple as _PyTuple, Type, TypeVar, Union -from click.core import Context, Parameter, _ConvertibleType, _ParamType as ParamType +from click.core import Context, Parameter, _ConvertibleType, _ParamType + +ParamType = _ParamType class BoolParamType(ParamType): def __call__(self, value: Optional[str], param: Optional[Parameter] = ..., ctx: Optional[Context] = ...) -> bool: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dh.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dh.pyi index aa657e273..87dd3481e 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dh.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dh.pyi @@ -28,7 +28,7 @@ class DHParameterNumbers(object): @property def q(self) -> int: ... def __init__(self, p: int, g: int, q: Optional[int]) -> None: ... - def parameters(self, backend: DHBackend) -> DHParameters: ... + def parameters(self, backend: Optional[DHBackend] = ...) -> DHParameters: ... class DHPrivateKey(metaclass=ABCMeta): key_size: int @@ -53,7 +53,7 @@ class DHPrivateNumbers(object): @property def x(self) -> int: ... def __init__(self, x: int, public_numbers: DHPublicNumbers) -> None: ... - def private_key(self, backend: DHBackend) -> DHPrivateKey: ... + def private_key(self, backend: Optional[DHBackend] = ...) -> DHPrivateKey: ... class DHPublicKey(metaclass=ABCMeta): @property @@ -74,4 +74,6 @@ class DHPublicNumbers(object): @property def y(self) -> int: ... def __init__(self, y: int, parameter_numbers: DHParameterNumbers) -> None: ... - def public_key(self, backend: DHBackend) -> DHPublicKey: ... + def public_key(self, backend: Optional[DHBackend] = ...) -> DHPublicKey: ... + +def generate_parameters(generator: int, key_size: int, backend: Optional[DHBackend] = ...) -> DHParameters: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dsa.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dsa.pyi index c79c5a70f..2a2323d9e 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dsa.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/dsa.pyi @@ -1,5 +1,5 @@ from abc import ABCMeta, abstractmethod -from typing import Union +from typing import Optional, Union from cryptography.hazmat.backends.interfaces import DSABackend from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext @@ -23,7 +23,7 @@ class DSAParameterNumbers(object): @property def g(self) -> int: ... def __init__(self, p: int, q: int, g: int) -> None: ... - def parameters(self, backend: DSABackend) -> DSAParameters: ... + def parameters(self, backend: Optional[DSABackend] = ...) -> DSAParameters: ... class DSAPrivateKey(metaclass=ABCMeta): @property @@ -75,5 +75,5 @@ class DSAPublicNumbers(object): def parameter_numbers(self) -> DSAParameterNumbers: ... def __init__(self, y: int, parameter_numbers: DSAParameterNumbers) -> None: ... -def generate_parameters(key_size: int, backend: DSABackend) -> DSAParameters: ... -def generate_private_key(key_size: int, backend: DSABackend) -> DSAPrivateKey: ... +def generate_parameters(key_size: int, backend: Optional[DSABackend] = ...) -> DSAParameters: ... +def generate_private_key(key_size: int, backend: Optional[DSABackend] = ...) -> DSAPrivateKey: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ec.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ec.pyi index c17c38c1c..cfdd031fa 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ec.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/ec.pyi @@ -1,5 +1,5 @@ from abc import ABCMeta, abstractmethod -from typing import ClassVar, Union +from typing import ClassVar, Optional, Union from cryptography.hazmat.backends.interfaces import EllipticCurveBackend from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext @@ -141,7 +141,7 @@ class EllipticCurvePrivateNumbers(object): @property def public_numbers(self) -> EllipticCurvePublicNumbers: ... def __init__(self, private_value: int, public_numbers: EllipticCurvePublicNumbers) -> None: ... - def private_key(self, backend: EllipticCurveBackend) -> EllipticCurvePrivateKey: ... + def private_key(self, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePrivateKey: ... class EllipticCurvePublicKey(metaclass=ABCMeta): @property @@ -175,7 +175,7 @@ class EllipticCurvePublicNumbers(object): def __init__(self, x: int, y: int, curve: EllipticCurve) -> None: ... @classmethod def from_encoded_point(cls, curve: EllipticCurve, data: bytes) -> EllipticCurvePublicNumbers: ... - def public_key(self, backend: EllipticCurveBackend) -> EllipticCurvePublicKey: ... + def public_key(self, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePublicKey: ... class EllipticCurveSignatureAlgorithm(metaclass=ABCMeta): @property @@ -189,6 +189,8 @@ class ECDSA(EllipticCurveSignatureAlgorithm): @property def algorithm(self) -> Union[HashAlgorithm, Prehashed]: ... -def derive_private_key(private_value: int, curve: EllipticCurve, backend: EllipticCurveBackend) -> EllipticCurvePrivateKey: ... -def generate_private_key(curve: EllipticCurve, backend: EllipticCurveBackend) -> EllipticCurvePrivateKey: ... +def derive_private_key( + private_value: int, curve: EllipticCurve, backend: Optional[EllipticCurveBackend] = ... +) -> EllipticCurvePrivateKey: ... +def generate_private_key(curve: EllipticCurve, backend: Optional[EllipticCurveBackend] = ...) -> EllipticCurvePrivateKey: ... def get_curve_for_oid(oid: ObjectIdentifier) -> EllipticCurve: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/rsa.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/rsa.pyi index 6c6dba06e..35acc5b13 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/rsa.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/asymmetric/rsa.pyi @@ -1,5 +1,5 @@ from abc import ABCMeta, abstractmethod -from typing import Tuple, Union +from typing import Optional, Tuple, Union from cryptography.hazmat.backends.interfaces import RSABackend from cryptography.hazmat.primitives.asymmetric import AsymmetricVerificationContext @@ -48,7 +48,9 @@ class RSAPublicKey(metaclass=ABCMeta): RSAPublicKeyWithSerialization = RSAPublicKey -def generate_private_key(public_exponent: int, key_size: int, backend: RSABackend) -> RSAPrivateKeyWithSerialization: ... +def generate_private_key( + public_exponent: int, key_size: int, backend: Optional[RSABackend] = ... +) -> RSAPrivateKeyWithSerialization: ... def rsa_crt_iqmp(p: int, q: int) -> int: ... def rsa_crt_dmp1(private_exponent: int, p: int) -> int: ... def rsa_crt_dmq1(private_exponent: int, q: int) -> int: ... @@ -70,7 +72,7 @@ class RSAPrivateNumbers(object): def iqmp(self) -> int: ... @property def public_numbers(self) -> RSAPublicNumbers: ... - def private_key(self, backend) -> RSAPrivateKey: ... + def private_key(self, backend: Optional[RSABackend] = ...) -> RSAPrivateKey: ... class RSAPublicNumbers(object): def __init__(self, e: int, n: int) -> None: ... @@ -78,4 +80,4 @@ class RSAPublicNumbers(object): def e(self) -> int: ... @property def n(self) -> int: ... - def public_key(self, backend) -> RSAPublicKey: ... + def public_key(self, backend: Optional[RSABackend] = ...) -> RSAPublicKey: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/ciphers/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/ciphers/__init__.pyi index 321ecbc1b..9eadced95 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/ciphers/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/ciphers/__init__.pyi @@ -23,7 +23,7 @@ class BlockCipherAlgorithm(metaclass=ABCMeta): def block_size(self) -> int: ... class Cipher(object): - def __init__(self, algorithm: CipherAlgorithm, mode: Optional[Mode], backend: CipherBackend) -> None: ... + def __init__(self, algorithm: CipherAlgorithm, mode: Optional[Mode], backend: Optional[CipherBackend] = ...) -> None: ... def decryptor(self) -> CipherContext: ... def encryptor(self) -> CipherContext: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/cmac.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/cmac.pyi index 8a2b46353..60c301343 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/cmac.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/cmac.pyi @@ -1,8 +1,10 @@ +from typing import Optional + from cryptography.hazmat.backends.interfaces import CMACBackend from cryptography.hazmat.primitives.ciphers import BlockCipherAlgorithm class CMAC(object): - def __init__(self, algorithm: BlockCipherAlgorithm, backend: CMACBackend) -> None: ... + def __init__(self, algorithm: BlockCipherAlgorithm, backend: Optional[CMACBackend] = ...) -> None: ... def copy(self) -> CMAC: ... def finalize(self) -> bytes: ... def update(self, data: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hashes.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hashes.pyi index 2b62df920..d6e31dc01 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hashes.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hashes.pyi @@ -1,4 +1,5 @@ from abc import ABCMeta, abstractmethod +from typing import Optional from cryptography.hazmat.backends.interfaces import HashBackend @@ -37,7 +38,7 @@ class SHAKE256(HashAlgorithm): def __init__(self, digest_size: int) -> None: ... class Hash(HashContext): - def __init__(self, algorithm: HashAlgorithm, backend: HashBackend): ... + def __init__(self, algorithm: HashAlgorithm, backend: Optional[HashBackend] = ...): ... def copy(self) -> Hash: ... def finalize(self) -> bytes: ... def update(self, data: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hmac.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hmac.pyi index 200f719ab..15420ca2c 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hmac.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/hmac.pyi @@ -1,8 +1,10 @@ +from typing import Optional + from cryptography.hazmat.backends.interfaces import HMACBackend from cryptography.hazmat.primitives.hashes import HashAlgorithm class HMAC(object): - def __init__(self, key: bytes, algorithm: HashAlgorithm, backend: HMACBackend) -> None: ... + def __init__(self, key: bytes, algorithm: HashAlgorithm, backend: Optional[HMACBackend] = ...) -> None: ... def copy(self) -> HMAC: ... def finalize(self) -> bytes: ... def update(self, msg: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/concatkdf.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/concatkdf.pyi index a995a5fad..7e0b36ff7 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/concatkdf.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/concatkdf.pyi @@ -5,13 +5,20 @@ from cryptography.hazmat.primitives.hashes import HashAlgorithm from cryptography.hazmat.primitives.kdf import KeyDerivationFunction class ConcatKDFHash(KeyDerivationFunction): - def __init__(self, algorithm: HashAlgorithm, length: int, otherinfo: Optional[bytes], backend: HashBackend): ... + def __init__( + self, algorithm: HashAlgorithm, length: int, otherinfo: Optional[bytes], backend: Optional[HashBackend] = ... + ): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class ConcatKDFHMAC(KeyDerivationFunction): def __init__( - self, algorithm: HashAlgorithm, length: int, salt: Optional[bytes], otherinfo: Optional[bytes], backend: HMACBackend + self, + algorithm: HashAlgorithm, + length: int, + salt: Optional[bytes], + otherinfo: Optional[bytes], + backend: Optional[HMACBackend] = ..., ): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/hkdf.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/hkdf.pyi index 112a7307c..16997ab51 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/hkdf.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/hkdf.pyi @@ -6,12 +6,17 @@ from cryptography.hazmat.primitives.kdf import KeyDerivationFunction class HKDF(KeyDerivationFunction): def __init__( - self, algorithm: HashAlgorithm, length: int, salt: Optional[bytes], info: Optional[bytes], backend: HMACBackend + self, + algorithm: HashAlgorithm, + length: int, + salt: Optional[bytes], + info: Optional[bytes], + backend: Optional[HMACBackend] = ..., ): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class HKDFExpand(KeyDerivationFunction): - def __init__(self, algorithm: HashAlgorithm, length: int, info: Optional[bytes], backend: HMACBackend): ... + def __init__(self, algorithm: HashAlgorithm, length: int, info: Optional[bytes], backend: Optional[HMACBackend] = ...): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/kbkdf.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/kbkdf.pyi index a96c34c9f..1e8b69eb7 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/kbkdf.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/kbkdf.pyi @@ -24,7 +24,7 @@ class KBKDFHMAC(KeyDerivationFunction): label: Optional[bytes], context: Optional[bytes], fixed: Optional[bytes], - backend: HMACBackend, + backend: Optional[HMACBackend] = ..., ): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/pbkdf2.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/pbkdf2.pyi index 5e217bf83..8953cf973 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/pbkdf2.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/pbkdf2.pyi @@ -1,8 +1,12 @@ +from typing import Optional + from cryptography.hazmat.backends.interfaces import PBKDF2HMACBackend from cryptography.hazmat.primitives.hashes import HashAlgorithm from cryptography.hazmat.primitives.kdf import KeyDerivationFunction class PBKDF2HMAC(KeyDerivationFunction): - def __init__(self, algorithm: HashAlgorithm, length: int, salt: bytes, iterations: int, backend: PBKDF2HMACBackend): ... + def __init__( + self, algorithm: HashAlgorithm, length: int, salt: bytes, iterations: int, backend: Optional[PBKDF2HMACBackend] = ... + ): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/scrypt.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/scrypt.pyi index a08802926..7f24125f2 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/scrypt.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/scrypt.pyi @@ -1,7 +1,9 @@ +from typing import Optional + from cryptography.hazmat.backends.interfaces import ScryptBackend from cryptography.hazmat.primitives.kdf import KeyDerivationFunction class Scrypt(KeyDerivationFunction): - def __init__(self, salt: bytes, length: int, n: int, r: int, p: int, backend: ScryptBackend): ... + def __init__(self, salt: bytes, length: int, n: int, r: int, p: int, backend: Optional[ScryptBackend] = ...): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/x963kdf.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/x963kdf.pyi index 324bc1799..80aa289c3 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/x963kdf.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/kdf/x963kdf.pyi @@ -5,6 +5,8 @@ from cryptography.hazmat.primitives.hashes import HashAlgorithm from cryptography.hazmat.primitives.kdf import KeyDerivationFunction class X963KDF(KeyDerivationFunction): - def __init__(self, algorithm: HashAlgorithm, length: int, sharedinfo: Optional[bytes], backend: HashBackend): ... + def __init__( + self, algorithm: HashAlgorithm, length: int, sharedinfo: Optional[bytes], backend: Optional[HashBackend] = ... + ): ... def derive(self, key_material: bytes) -> bytes: ... def verify(self, key_material: bytes, expected_key: bytes) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/keywrap.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/keywrap.pyi index b26f1fb8d..6aa3e64bd 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/keywrap.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/keywrap.pyi @@ -1,8 +1,10 @@ +from typing import Optional + from cryptography.hazmat.backends.interfaces import CipherBackend -def aes_key_wrap(wrapping_key: bytes, key_to_wrap: bytes, backend: CipherBackend) -> bytes: ... -def aes_key_wrap_with_padding(wrapping_key: bytes, key_to_wrap: bytes, backend: CipherBackend) -> bytes: ... -def aes_key_unwrap(wrapping_key: bytes, wrapped_key: bytes, backend: CipherBackend) -> bytes: ... -def aes_key_unwrap_with_padding(wrapping_key: bytes, wrapped_key: bytes, backend: CipherBackend) -> bytes: ... +def aes_key_wrap(wrapping_key: bytes, key_to_wrap: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... +def aes_key_wrap_with_padding(wrapping_key: bytes, key_to_wrap: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... +def aes_key_unwrap(wrapping_key: bytes, wrapped_key: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... +def aes_key_unwrap_with_padding(wrapping_key: bytes, wrapped_key: bytes, backend: Optional[CipherBackend] = ...) -> bytes: ... class InvalidUnwrap(Exception): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/__init__.pyi index 103048784..4a8062167 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/__init__.pyi @@ -2,10 +2,12 @@ from abc import ABCMeta from enum import Enum from typing import Optional -def load_pem_private_key(data: bytes, password: Optional[bytes], backend): ... -def load_pem_public_key(data: bytes, backend): ... -def load_der_private_key(data: bytes, password: Optional[bytes], backend): ... -def load_der_public_key(data: bytes, backend): ... +from cryptography.hazmat.backends.interfaces import DERSerializationBackend, PEMSerializationBackend + +def load_pem_private_key(data: bytes, password: Optional[bytes], backend: Optional[PEMSerializationBackend] = ...): ... +def load_pem_public_key(data: bytes, backend: Optional[PEMSerializationBackend] = ...): ... +def load_der_private_key(data: bytes, password: Optional[bytes], backend: Optional[DERSerializationBackend] = ...): ... +def load_der_public_key(data: bytes, backend: Optional[DERSerializationBackend] = ...): ... def load_ssh_public_key(data: bytes, backend): ... class Encoding(Enum): diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/pkcs12.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/pkcs12.pyi index d903ae47e..107d06210 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/pkcs12.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/hazmat/primitives/serialization/pkcs12.pyi @@ -1,3 +1,3 @@ -from typing import Optional +from typing import Any, Optional -def load_key_and_certificates(data: bytes, password: Optional[bytes], backend): ... +def load_key_and_certificates(data: bytes, password: Optional[bytes], backend: Optional[Any] = ...): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/x509.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/x509.pyi index 362a4bdc6..55333f8f6 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/x509.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/cryptography/x509.pyi @@ -114,7 +114,7 @@ class Name(object): def __iter__(self) -> Generator[NameAttribute, None, None]: ... def __len__(self) -> int: ... def get_attributes_for_oid(self, oid: ObjectIdentifier) -> List[NameAttribute]: ... - def public_bytes(self, backend: X509Backend) -> bytes: ... + def public_bytes(self, backend: Optional[X509Backend] = ...) -> bytes: ... def rfc4514_string(self) -> str: ... class Version(Enum): @@ -163,7 +163,7 @@ class CertificateBuilder(object): self, private_key: Union[DSAPrivateKey, Ed25519PrivateKey, Ed448PrivateKey, EllipticCurvePrivateKey, RSAPrivateKey], algorithm: Optional[HashAlgorithm], - backend: X509Backend, + backend: Optional[X509Backend] = ..., ) -> Certificate: ... def subject_name(self, name: Name) -> CertificateBuilder: ... @@ -197,7 +197,7 @@ class CertificateRevocationListBuilder(object): self, private_key: Union[DSAPrivateKey, Ed25519PrivateKey, Ed448PrivateKey, EllipticCurvePrivateKey, RSAPrivateKey], algorithm: Optional[HashAlgorithm], - backend: X509Backend, + backend: Optional[X509Backend] = ..., ) -> CertificateRevocationList: ... class CertificateSigningRequest(metaclass=ABCMeta): @@ -220,7 +220,7 @@ class CertificateSigningRequestBuilder(object): self, private_key: Union[DSAPrivateKey, Ed25519PrivateKey, Ed448PrivateKey, EllipticCurvePrivateKey, RSAPrivateKey], algorithm: Optional[HashAlgorithm], - backend: X509Backend, + backend: Optional[X509Backend] = ..., ) -> CertificateSigningRequest: ... class RevokedCertificate(metaclass=ABCMeta): @@ -230,7 +230,7 @@ class RevokedCertificate(metaclass=ABCMeta): class RevokedCertificateBuilder(object): def add_extension(self, extension: ExtensionType, critical: bool) -> RevokedCertificateBuilder: ... - def build(self, backend: X509Backend) -> RevokedCertificate: ... + def build(self, backend: Optional[X509Backend] = ...) -> RevokedCertificate: ... def revocation_date(self, time: datetime.datetime) -> RevokedCertificateBuilder: ... def serial_number(self, serial_number: int) -> RevokedCertificateBuilder: ... @@ -296,10 +296,10 @@ class SubjectAlternativeName(ExtensionType): def __iter__(self) -> Generator[GeneralName, None, None]: ... def get_values_for_type(self, type: Type[GeneralName]) -> List[Any]: ... -def load_der_x509_certificate(data: bytes, backend: X509Backend) -> Certificate: ... -def load_pem_x509_certificate(data: bytes, backend: X509Backend) -> Certificate: ... -def load_der_x509_crl(data: bytes, backend: X509Backend) -> CertificateRevocationList: ... -def load_pem_x509_crl(data: bytes, backend: X509Backend) -> CertificateRevocationList: ... -def load_der_x509_csr(data: bytes, backend: X509Backend) -> CertificateSigningRequest: ... -def load_pem_x509_csr(data: bytes, backend: X509Backend) -> CertificateSigningRequest: ... +def load_der_x509_certificate(data: bytes, backend: Optional[X509Backend] = ...) -> Certificate: ... +def load_pem_x509_certificate(data: bytes, backend: Optional[X509Backend] = ...) -> Certificate: ... +def load_der_x509_crl(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateRevocationList: ... +def load_pem_x509_crl(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateRevocationList: ... +def load_der_x509_csr(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateSigningRequest: ... +def load_pem_x509_csr(data: bytes, backend: Optional[X509Backend] = ...) -> CertificateSigningRequest: ... def __getattr__(name: str) -> Any: ... # incomplete diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/dateutil/parser.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/dateutil/parser.pyi index da84aa7b5..78c6965af 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/dateutil/parser.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/dateutil/parser.pyi @@ -48,3 +48,4 @@ DEFAULTTZPARSER: _tzparser class InvalidDatetimeError(ValueError): ... class InvalidDateError(InvalidDatetimeError): ... class InvalidTimeError(InvalidDatetimeError): ... +class ParserError(ValueError): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/flask/testing.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/flask/testing.pyi index 504c722c4..a02b40383 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/flask/testing.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/flask/testing.pyi @@ -6,17 +6,7 @@ from typing import IO, Any, Iterable, Mapping, Optional, Text, TypeVar, Union from click import BaseCommand from click.testing import CliRunner, Result -from werkzeug.test import Client - -def make_test_environ_builder( - app: Any, - path: str = ..., - base_url: Optional[Any] = ..., - subdomain: Optional[Any] = ..., - url_scheme: Optional[Any] = ..., - *args: Any, - **kwargs: Any, -): ... +from werkzeug.test import Client, EnvironBuilder as WerkzeugEnvironBuilder # Response type for the client below. # By default _R is Tuple[Iterable[Any], Union[Text, int], werkzeug.datastructures.Headers], however @@ -44,3 +34,27 @@ class FlaskCliRunner(CliRunner): color: bool = ..., **extra: Any, ) -> Result: ... + +class EnvironBuilder(WerkzeugEnvironBuilder): + app: Any + def __init__( + self, + app: Any, + path: str = ..., + base_url: Optional[Any] = ..., + subdomain: Optional[Any] = ..., + url_scheme: Optional[Any] = ..., + *args: Any, + **kwargs: Any, + ) -> None: ... + def json_dumps(self, obj: Any, **kwargs: Any) -> str: ... + +def make_test_environ_builder( + app: Any, + path: str = ..., + base_url: Optional[Any] = ..., + subdomain: Optional[Any] = ..., + url_scheme: Optional[Any] = ..., + *args: Any, + **kwargs: Any, +): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/google/protobuf/internal/extension_dict.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/google/protobuf/internal/extension_dict.pyi new file mode 100644 index 000000000..765a28a33 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/google/protobuf/internal/extension_dict.pyi @@ -0,0 +1,22 @@ +from typing import Any, Generic, Iterator, TypeVar + +from google.protobuf.descriptor import FieldDescriptor +from google.protobuf.message import Message + +_ContainerMessageT = TypeVar("_ContainerMessageT", bound=Message) +_ExtenderMessageT = TypeVar("_ExtenderMessageT", bound=Message) + +class _ExtensionFieldDescriptor(FieldDescriptor, Generic[_ContainerMessageT, _ExtenderMessageT]): ... + +class _ExtensionDict(Generic[_ContainerMessageT]): + def __init__(self, extended_message: _ContainerMessageT) -> None: ... + def __getitem__( + self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT] + ) -> _ExtenderMessageT: ... + def __setitem__( + self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT], value: _ExtenderMessageT + ) -> None: ... + def __delitem__(self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]) -> None: ... + def __contains__(self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]) -> bool: ... + def __iter__(self) -> Iterator[_ExtensionFieldDescriptor[_ContainerMessageT, Any]]: ... + def __len__(self) -> int: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/google/protobuf/message.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/google/protobuf/message.pyi index 028b03913..60bcf8a67 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/google/protobuf/message.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/google/protobuf/message.pyi @@ -1,16 +1,13 @@ import sys from typing import Any, ByteString, Sequence, Tuple, Type, TypeVar, Union -from .descriptor import Descriptor, DescriptorBase, FieldDescriptor +from .descriptor import Descriptor, FieldDescriptor +from .internal.extension_dict import _ExtensionDict class Error(Exception): ... class DecodeError(Error): ... class EncodeError(Error): ... -class _ExtensionDict: - def __getitem__(self, extension_handle: DescriptorBase) -> Any: ... - def __setitem__(self, extension_handle: DescriptorBase, value: Any) -> None: ... - _M = TypeVar("_M", bound=Message) # message type (of self) if sys.version_info < (3,): @@ -39,7 +36,7 @@ class Message: @classmethod def FromString(cls: Type[_M], s: _Serialized) -> _M: ... @property - def Extensions(self) -> _ExtensionDict: ... + def Extensions(self: _M) -> _ExtensionDict[_M]: ... # Intentionally left out typing on these three methods, because they are # stringly typed and it is not useful to call them on a Message directly. # We prefer more specific typing on individual subclasses of Message diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/_compat.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/_compat.pyi index 5f0eb38d2..17c061f81 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/_compat.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/_compat.pyi @@ -2,9 +2,13 @@ import sys from typing import Any, Optional if sys.version_info[0] >= 3: - from urllib.parse import quote_from_bytes as url_quote + from urllib.parse import quote_from_bytes + + url_quote = quote_from_bytes else: - from urllib import quote as url_quote + import urllib + + url_quote = urllib.quote PY2: Any PYPY: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/defaults.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/defaults.pyi index fb16e8c95..e311f8288 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/defaults.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/jinja2/defaults.pyi @@ -1,7 +1,10 @@ -from typing import Any +from typing import Any, Dict, Optional -from jinja2.filters import FILTERS as DEFAULT_FILTERS -from jinja2.tests import TESTS as DEFAULT_TESTS +from jinja2.filters import FILTERS +from jinja2.tests import TESTS + +DEFAULT_FILTERS = FILTERS +DEFAULT_TESTS = TESTS BLOCK_START_STRING: str BLOCK_END_STRING: str @@ -9,14 +12,11 @@ VARIABLE_START_STRING: str VARIABLE_END_STRING: str COMMENT_START_STRING: str COMMENT_END_STRING: str -LINE_STATEMENT_PREFIX: Any -LINE_COMMENT_PREFIX: Any +LINE_STATEMENT_PREFIX: Optional[str] +LINE_COMMENT_PREFIX: Optional[str] TRIM_BLOCKS: bool LSTRIP_BLOCKS: bool NEWLINE_SEQUENCE: str KEEP_TRAILING_NEWLINE: bool -DEFAULT_NAMESPACE: Any - -# Names in __all__ with no definition: -# DEFAULT_FILTERS -# DEFAULT_TESTS +DEFAULT_NAMESPACE: Dict[str, Any] +DEFAULT_POLICIES = Dict[str, Any] diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/__meta__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/__meta__.pyi new file mode 100644 index 000000000..4a5eacaf9 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/__meta__.pyi @@ -0,0 +1,3 @@ +from typing import Any + +__version_info__: Any diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/blockparser.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/blockparser.pyi new file mode 100644 index 000000000..602ecca0b --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/blockparser.pyi @@ -0,0 +1,18 @@ +from typing import Any + +class State(list): + def set(self, state) -> None: ... + def reset(self) -> None: ... + def isstate(self, state): ... + +class BlockParser: + blockprocessors: Any + state: Any + md: Any + def __init__(self, md) -> None: ... + @property + def markdown(self): ... + root: Any + def parseDocument(self, lines): ... + def parseChunk(self, parent, text) -> None: ... + def parseBlocks(self, parent, blocks) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/blockprocessors.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/blockprocessors.pyi new file mode 100644 index 000000000..8c78bbe7b --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/blockprocessors.pyi @@ -0,0 +1,78 @@ +from typing import Any, Pattern + +logger: Any + +def build_block_parser(md, **kwargs): ... + +class BlockProcessor: + parser: Any + tab_length: Any + def __init__(self, parser) -> None: ... + def lastChild(self, parent): ... + def detab(self, text): ... + def looseDetab(self, text, level: int = ...): ... + def test(self, parent, block) -> None: ... + def run(self, parent, blocks) -> None: ... + +class ListIndentProcessor(BlockProcessor): + ITEM_TYPES: Any + LIST_TYPES: Any + INDENT_RE: Pattern + def __init__(self, *args) -> None: ... + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + def create_item(self, parent, block) -> None: ... + def get_level(self, parent, block): ... + +class CodeBlockProcessor(BlockProcessor): + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + +class BlockQuoteProcessor(BlockProcessor): + RE: Pattern + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + def clean(self, line): ... + +class OListProcessor(BlockProcessor): + TAG: str = ... + STARTSWITH: str = ... + LAZY_OL: bool = ... + SIBLING_TAGS: Any + RE: Pattern + CHILD_RE: Pattern + INDENT_RE: Pattern + def __init__(self, parser) -> None: ... + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + def get_items(self, block): ... + +class UListProcessor(OListProcessor): + TAG: str = ... + RE: Pattern + def __init__(self, parser) -> None: ... + +class HashHeaderProcessor(BlockProcessor): + RE: Pattern + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + +class SetextHeaderProcessor(BlockProcessor): + RE: Pattern + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + +class HRProcessor(BlockProcessor): + RE: str = ... + SEARCH_RE: Pattern + match: Any + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + +class EmptyBlockProcessor(BlockProcessor): + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + +class ParagraphProcessor(BlockProcessor): + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/__init__.pyi index 13905d150..eedc24829 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/__init__.pyi @@ -1,6 +1,6 @@ from typing import Mapping, Sequence -from ..core import Markdown +from markdown.core import Markdown class Extension: config: Mapping[str, str] = ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/abbr.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/abbr.pyi new file mode 100644 index 000000000..3655f9223 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/abbr.pyi @@ -0,0 +1,20 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.inlinepatterns import InlineProcessor +from markdown.preprocessors import Preprocessor + +ABBR_REF_RE: Pattern + +class AbbrExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +class AbbrPreprocessor(Preprocessor): + def run(self, lines): ... + +class AbbrInlineProcessor(InlineProcessor): + title: Any + def __init__(self, pattern, title) -> None: ... + def handleMatch(self, m, data): ... # type: ignore + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/admonition.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/admonition.pyi new file mode 100644 index 000000000..9b7ed3ee0 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/admonition.pyi @@ -0,0 +1,18 @@ +from typing import Any, Pattern + +from markdown.blockprocessors import BlockProcessor +from markdown.extensions import Extension + +class AdmonitionExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +class AdmonitionProcessor(BlockProcessor): + CLASSNAME: str = ... + CLASSNAME_TITLE: str = ... + RE: Pattern + RE_SPACES: Any + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + def get_class_and_title(self, match): ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/attr_list.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/attr_list.pyi new file mode 100644 index 000000000..29c26afd2 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/attr_list.pyi @@ -0,0 +1,22 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.treeprocessors import Treeprocessor + +def get_attrs(str): ... +def isheader(elem): ... + +class AttrListTreeprocessor(Treeprocessor): + BASE_RE: str = ... + HEADER_RE: Pattern + BLOCK_RE: Pattern + INLINE_RE: Pattern + NAME_RE: Pattern + def run(self, doc) -> None: ... + def assign_attrs(self, elem, attrs) -> None: ... + def sanitize_name(self, name): ... + +class AttrListExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/codehilite.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/codehilite.pyi new file mode 100644 index 000000000..8b1eb461d --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/codehilite.pyi @@ -0,0 +1,45 @@ +from typing import Any, Optional + +from markdown.extensions import Extension +from markdown.treeprocessors import Treeprocessor + +pygments: bool + +def parse_hl_lines(expr): ... + +class CodeHilite: + src: Any + lang: Any + linenums: Any + guess_lang: Any + css_class: Any + style: Any + noclasses: Any + tab_length: Any + hl_lines: Any + use_pygments: Any + def __init__( + self, + src: Optional[Any] = ..., + linenums: Optional[Any] = ..., + guess_lang: bool = ..., + css_class: str = ..., + lang: Optional[Any] = ..., + style: str = ..., + noclasses: bool = ..., + tab_length: int = ..., + hl_lines: Optional[Any] = ..., + use_pygments: bool = ..., + ) -> None: ... + def hilite(self): ... + +class HiliteTreeprocessor(Treeprocessor): + def code_unescape(self, text): ... + def run(self, root) -> None: ... + +class CodeHiliteExtension(Extension): + config: Any + def __init__(self, **kwargs) -> None: ... + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/def_list.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/def_list.pyi new file mode 100644 index 000000000..1aa70d29f --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/def_list.pyi @@ -0,0 +1,20 @@ +from typing import Any, Pattern + +from markdown.blockprocessors import BlockProcessor, ListIndentProcessor +from markdown.extensions import Extension + +class DefListProcessor(BlockProcessor): + RE: Pattern + NO_INDENT_RE: Pattern + def test(self, parent, block): ... + def run(self, parent, blocks): ... + +class DefListIndentProcessor(ListIndentProcessor): + ITEM_TYPES: Any + LIST_TYPES: Any + def create_item(self, parent, block) -> None: ... + +class DefListExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/extra.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/extra.pyi new file mode 100644 index 000000000..4c658270c --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/extra.pyi @@ -0,0 +1,12 @@ +from typing import Any + +from markdown.extensions import Extension + +extensions: Any + +class ExtraExtension(Extension): + config: Any + def __init__(self, **kwargs) -> None: ... + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/fenced_code.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/fenced_code.pyi new file mode 100644 index 000000000..9afedc4f2 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/fenced_code.pyi @@ -0,0 +1,18 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.preprocessors import Preprocessor + +class FencedCodeExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +class FencedBlockPreprocessor(Preprocessor): + FENCED_BLOCK_RE: Pattern + CODE_WRAP: str = ... + LANG_TAG: str = ... + checked_for_codehilite: bool = ... + codehilite_conf: Any + def __init__(self, md) -> None: ... + def run(self, lines): ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/footnotes.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/footnotes.pyi new file mode 100644 index 000000000..5e8e50d54 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/footnotes.pyi @@ -0,0 +1,64 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.inlinepatterns import InlineProcessor +from markdown.postprocessors import Postprocessor +from markdown.preprocessors import Preprocessor +from markdown.treeprocessors import Treeprocessor + +FN_BACKLINK_TEXT: Any +NBSP_PLACEHOLDER: Any +DEF_RE: Pattern +TABBED_RE: Pattern +RE_REF_ID: Any + +class FootnoteExtension(Extension): + config: Any + unique_prefix: int = ... + found_refs: Any + used_refs: Any + def __init__(self, **kwargs) -> None: ... + parser: Any + md: Any + def extendMarkdown(self, md) -> None: ... + footnotes: Any + def reset(self) -> None: ... + def unique_ref(self, reference, found: bool = ...): ... + def findFootnotesPlaceholder(self, root): ... + def setFootnote(self, id, text) -> None: ... + def get_separator(self): ... + def makeFootnoteId(self, id): ... + def makeFootnoteRefId(self, id, found: bool = ...): ... + def makeFootnotesDiv(self, root): ... + +class FootnotePreprocessor(Preprocessor): + footnotes: Any + def __init__(self, footnotes) -> None: ... + def run(self, lines): ... + def detectTabbed(self, lines): ... + +class FootnoteInlineProcessor(InlineProcessor): + footnotes: Any + def __init__(self, pattern, footnotes) -> None: ... + def handleMatch(self, m, data): ... # type: ignore + +class FootnotePostTreeprocessor(Treeprocessor): + footnotes: Any + def __init__(self, footnotes) -> None: ... + def add_duplicates(self, li, duplicates) -> None: ... + def get_num_duplicates(self, li): ... + def handle_duplicates(self, parent) -> None: ... + offset: int = ... + def run(self, root) -> None: ... + +class FootnoteTreeprocessor(Treeprocessor): + footnotes: Any + def __init__(self, footnotes) -> None: ... + def run(self, root) -> None: ... + +class FootnotePostprocessor(Postprocessor): + footnotes: Any + def __init__(self, footnotes) -> None: ... + def run(self, text): ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/legacy_attrs.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/legacy_attrs.pyi new file mode 100644 index 000000000..ab76addaa --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/legacy_attrs.pyi @@ -0,0 +1,15 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.treeprocessors import Treeprocessor + +ATTR_RE: Pattern + +class LegacyAttrs(Treeprocessor): + def run(self, doc) -> None: ... + def handleAttributes(self, el, txt): ... + +class LegacyAttrExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/legacy_em.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/legacy_em.pyi new file mode 100644 index 000000000..55847cf9d --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/legacy_em.pyi @@ -0,0 +1,16 @@ +from typing import Any + +from markdown.extensions import Extension +from markdown.inlinepatterns import UnderscoreProcessor + +EMPHASIS_RE: str +STRONG_RE: str +STRONG_EM_RE: str + +class LegacyUnderscoreProcessor(UnderscoreProcessor): + PATTERNS: Any + +class LegacyEmExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/md_in_html.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/md_in_html.pyi new file mode 100644 index 000000000..99f19773d --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/md_in_html.pyi @@ -0,0 +1,13 @@ +from typing import Any, Optional + +from markdown.blockprocessors import BlockProcessor +from markdown.extensions import Extension + +class MarkdownInHtmlProcessor(BlockProcessor): + def test(self, parent, block): ... + def run(self, parent, blocks, tail: Optional[Any] = ..., nest: bool = ...) -> None: ... + +class MarkdownInHtmlExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/meta.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/meta.pyi new file mode 100644 index 000000000..5277a0347 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/meta.pyi @@ -0,0 +1,20 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.preprocessors import Preprocessor + +log: Any +META_RE: Pattern +META_MORE_RE: Pattern +BEGIN_RE: Pattern +END_RE: Pattern + +class MetaExtension(Extension): + md: Any + def extendMarkdown(self, md) -> None: ... + def reset(self) -> None: ... + +class MetaPreprocessor(Preprocessor): + def run(self, lines): ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/nl2br.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/nl2br.pyi new file mode 100644 index 000000000..ff8f6bf32 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/nl2br.pyi @@ -0,0 +1,10 @@ +from typing import Any + +from markdown.extensions import Extension + +BR_RE: str + +class Nl2BrExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/sane_lists.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/sane_lists.pyi new file mode 100644 index 000000000..bf274bfba --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/sane_lists.pyi @@ -0,0 +1,20 @@ +from typing import Any, Pattern + +from markdown.blockprocessors import OListProcessor, UListProcessor +from markdown.extensions import Extension + +class SaneOListProcessor(OListProcessor): + SIBLING_TAGS: Any + LAZY_OL: bool = ... + CHILD_RE: Pattern + def __init__(self, parser) -> None: ... + +class SaneUListProcessor(UListProcessor): + SIBLING_TAGS: Any + CHILD_RE: Pattern + def __init__(self, parser) -> None: ... + +class SaneListExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/smarty.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/smarty.pyi new file mode 100644 index 000000000..3bbf0fde9 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/smarty.pyi @@ -0,0 +1,45 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.inlinepatterns import HtmlInlineProcessor + +punctClass: str +endOfWordClass: str +closeClass: str +openingQuotesBase: str +substitutions: Any +singleQuoteStartRe: Any +doubleQuoteStartRe: Any +doubleQuoteSetsRe: str +singleQuoteSetsRe: str +decadeAbbrRe: str +openingDoubleQuotesRegex: Any +closingDoubleQuotesRegex: str +closingDoubleQuotesRegex2: Any +openingSingleQuotesRegex: Any +closingSingleQuotesRegex: Any +closingSingleQuotesRegex2: Any +remainingSingleQuotesRegex: str +remainingDoubleQuotesRegex: str +HTML_STRICT_RE: str + +class SubstituteTextPattern(HtmlInlineProcessor): + replace: Any + md: Any + def __init__(self, pattern, replace, md) -> None: ... + @property + def markdown(self): ... + def handleMatch(self, m, data): ... # type: ignore + +class SmartyExtension(Extension): + config: Any + substitutions: Any + def __init__(self, **kwargs) -> None: ... + def educateDashes(self, md) -> None: ... + def educateEllipses(self, md) -> None: ... + def educateAngledQuotes(self, md) -> None: ... + def educateQuotes(self, md) -> None: ... + inlinePatterns: Any + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/tables.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/tables.pyi new file mode 100644 index 000000000..700dfa0f8 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/tables.pyi @@ -0,0 +1,22 @@ +from typing import Any + +from markdown.blockprocessors import BlockProcessor +from markdown.extensions import Extension + +PIPE_NONE: int +PIPE_LEFT: int +PIPE_RIGHT: int + +class TableProcessor(BlockProcessor): + RE_CODE_PIPES: Any + RE_END_BORDER: Any + border: bool = ... + separator: str = ... + def __init__(self, parser) -> None: ... + def test(self, parent, block): ... + def run(self, parent, blocks) -> None: ... + +class TableExtension(Extension): + def extendMarkdown(self, md) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/toc.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/toc.pyi new file mode 100644 index 000000000..cf4e92ead --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/toc.pyi @@ -0,0 +1,47 @@ +from typing import Any, Pattern + +from markdown.extensions import Extension +from markdown.treeprocessors import Treeprocessor + +def slugify(value, separator): ... + +IDCOUNT_RE: Pattern + +def unique(id, ids): ... +def get_name(el): ... +def stashedHTML2text(text, md, strip_entities: bool = ...): ... +def unescape(text): ... +def nest_toc_tokens(toc_list): ... + +class TocTreeprocessor(Treeprocessor): + marker: Any + title: Any + base_level: Any + slugify: Any + sep: Any + use_anchors: Any + anchorlink_class: Any + use_permalinks: Any + permalink_class: Any + permalink_title: Any + header_rgx: Any + toc_top: int = ... + toc_bottom: Any + def __init__(self, md, config) -> None: ... + def iterparent(self, node) -> None: ... + def replace_marker(self, root, elem) -> None: ... + def set_level(self, elem) -> None: ... + def add_anchor(self, c, elem_id) -> None: ... + def add_permalink(self, c, elem_id) -> None: ... + def build_toc_div(self, toc_list): ... + def run(self, doc) -> None: ... + +class TocExtension(Extension): + TreeProcessorClass: Any + config: Any + def __init__(self, **kwargs) -> None: ... + md: Any + def extendMarkdown(self, md) -> None: ... + def reset(self) -> None: ... + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/wikilinks.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/wikilinks.pyi new file mode 100644 index 000000000..26cc954c9 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/extensions/wikilinks.pyi @@ -0,0 +1,19 @@ +from typing import Any + +from markdown.extensions import Extension +from markdown.inlinepatterns import InlineProcessor + +def build_url(label, base, end): ... + +class WikiLinkExtension(Extension): + config: Any + def __init__(self, **kwargs) -> None: ... + md: Any + def extendMarkdown(self, md) -> None: ... + +class WikiLinksInlineProcessor(InlineProcessor): + config: Any + def __init__(self, pattern, config) -> None: ... + def handleMatch(self, m, data): ... # type: ignore + +def makeExtension(**kwargs): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/inlinepatterns.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/inlinepatterns.pyi new file mode 100644 index 000000000..a5095700a --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/inlinepatterns.pyi @@ -0,0 +1,134 @@ +from typing import Any, Optional + +def build_inlinepatterns(md, **kwargs): ... + +NOIMG: str +BACKTICK_RE: str +ESCAPE_RE: str +EMPHASIS_RE: str +STRONG_RE: str +SMART_STRONG_RE: str +SMART_EMPHASIS_RE: str +SMART_STRONG_EM_RE: str +EM_STRONG_RE: str +EM_STRONG2_RE: str +STRONG_EM_RE: str +STRONG_EM2_RE: str +STRONG_EM3_RE: str +LINK_RE: str +IMAGE_LINK_RE: str +REFERENCE_RE: str +IMAGE_REFERENCE_RE: str +NOT_STRONG_RE: str +AUTOLINK_RE: str +AUTOMAIL_RE: str +HTML_RE: str +ENTITY_RE: str +LINE_BREAK_RE: str + +def dequote(string): ... + +class EmStrongItem: ... + +class Pattern: + ANCESTOR_EXCLUDES: Any + pattern: Any + compiled_re: Any + md: Any + def __init__(self, pattern, md: Optional[Any] = ...) -> None: ... + @property + def markdown(self): ... + def getCompiledRegExp(self): ... + def handleMatch(self, m) -> None: ... + def type(self): ... + def unescape(self, text): ... + +class InlineProcessor(Pattern): + pattern: Any + compiled_re: Any + safe_mode: bool = ... + md: Any + def __init__(self, pattern, md: Optional[Any] = ...) -> None: ... + def handleMatch(self, m, data) -> None: ... # type: ignore + +class SimpleTextPattern(Pattern): + def handleMatch(self, m): ... + +class SimpleTextInlineProcessor(InlineProcessor): + def handleMatch(self, m, data): ... # type: ignore + +class EscapeInlineProcessor(InlineProcessor): + def handleMatch(self, m, data): ... # type: ignore + +class SimpleTagPattern(Pattern): + tag: Any + def __init__(self, pattern, tag) -> None: ... + def handleMatch(self, m): ... + +class SimpleTagInlineProcessor(InlineProcessor): + tag: Any + def __init__(self, pattern, tag) -> None: ... + def handleMatch(self, m, data): ... # type: ignore + +class SubstituteTagPattern(SimpleTagPattern): + def handleMatch(self, m): ... + +class SubstituteTagInlineProcessor(SimpleTagInlineProcessor): + def handleMatch(self, m, data): ... # type: ignore + +class BacktickInlineProcessor(InlineProcessor): + ESCAPED_BSLASH: Any + tag: str = ... + def __init__(self, pattern) -> None: ... + def handleMatch(self, m, data): ... # type: ignore + +class DoubleTagPattern(SimpleTagPattern): + def handleMatch(self, m): ... + +class DoubleTagInlineProcessor(SimpleTagInlineProcessor): + def handleMatch(self, m, data): ... # type: ignore + +class HtmlInlineProcessor(InlineProcessor): + def handleMatch(self, m, data): ... # type: ignore + def unescape(self, text): ... + +class AsteriskProcessor(InlineProcessor): + PATTERNS: Any + def build_single(self, m, tag, idx): ... + def build_double(self, m, tags, idx): ... + def build_double2(self, m, tags, idx): ... + def parse_sub_patterns(self, data, parent, last, idx) -> None: ... + def build_element(self, m, builder, tags, index): ... + def handleMatch(self, m, data): ... # type: ignore + +class UnderscoreProcessor(AsteriskProcessor): + PATTERNS: Any + +class LinkInlineProcessor(InlineProcessor): + RE_LINK: Any + RE_TITLE_CLEAN: Any + def handleMatch(self, m, data): ... # type: ignore + def getLink(self, data, index): ... + def getText(self, data, index): ... + +class ImageInlineProcessor(LinkInlineProcessor): + def handleMatch(self, m, data): ... # type: ignore + +class ReferenceInlineProcessor(LinkInlineProcessor): + NEWLINE_CLEANUP_RE: Pattern + RE_LINK: Any + def handleMatch(self, m, data): ... # type: ignore + def evalId(self, data, index, text): ... + def makeTag(self, href, title, text): ... + +class ShortReferenceInlineProcessor(ReferenceInlineProcessor): + def evalId(self, data, index, text): ... + +class ImageReferenceInlineProcessor(ReferenceInlineProcessor): + def makeTag(self, href, title, text): ... + +class AutolinkInlineProcessor(InlineProcessor): + def handleMatch(self, m, data): ... # type: ignore + +class AutomailInlineProcessor(InlineProcessor): + def handleMatch(self, m, data): ... # type: ignore diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/pep562.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/pep562.pyi new file mode 100644 index 000000000..398bf66b8 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/pep562.pyi @@ -0,0 +1,9 @@ +from typing import Any + +class Version: + def __new__(cls, major, minor, micro, release: str = ..., pre: int = ..., post: int = ..., dev: int = ...): ... + +class Pep562: + def __init__(self, name) -> None: ... + def __dir__(self): ... + def __getattr__(self, name): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/postprocessors.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/postprocessors.pyi new file mode 100644 index 000000000..a7ef53572 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/postprocessors.pyi @@ -0,0 +1,20 @@ +from typing import Any, Pattern + +from . import util + +def build_postprocessors(md, **kwargs): ... + +class Postprocessor(util.Processor): + def run(self, text) -> None: ... + +class RawHtmlPostprocessor(Postprocessor): + def run(self, text): ... + def isblocklevel(self, html): ... + +class AndSubstitutePostprocessor(Postprocessor): + def run(self, text): ... + +class UnescapePostprocessor(Postprocessor): + RE: Pattern + def unescape(self, m): ... + def run(self, text): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/preprocessors.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/preprocessors.pyi new file mode 100644 index 000000000..e3083cdf5 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/preprocessors.pyi @@ -0,0 +1,26 @@ +from typing import Any, Iterable, List, Pattern + +from . import util + +def build_preprocessors(md, **kwargs): ... + +class Preprocessor(util.Processor): + def run(self, lines: List[str]) -> List[str]: ... + +class NormalizeWhitespace(Preprocessor): + def run(self, lines: Iterable[str]) -> List[str]: ... + +class HtmlBlockPreprocessor(Preprocessor): + right_tag_patterns: Any + attrs_pattern: str = ... + left_tag_pattern: Any + attrs_re: Any + left_tag_re: Any + markdown_in_raw: bool = ... + def run(self, lines: Iterable[str]) -> List[str]: ... + +class ReferencePreprocessor(Preprocessor): + TITLE: str = ... + RE: Pattern + TITLE_RE: Pattern + def run(self, lines: List[str]) -> List[str]: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/serializers.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/serializers.pyi new file mode 100644 index 000000000..cdad4b1b6 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/serializers.pyi @@ -0,0 +1,4 @@ +from typing import Any + +def to_html_string(element): ... +def to_xhtml_string(element): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/treeprocessors.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/treeprocessors.pyi new file mode 100644 index 000000000..f05cd795c --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/treeprocessors.pyi @@ -0,0 +1,23 @@ +from typing import Any, Optional + +from . import util + +def build_treeprocessors(md, **kwargs): ... +def isString(s): ... + +class Treeprocessor(util.Processor): + def run(self, root) -> None: ... + +class InlineProcessor(Treeprocessor): + md: Any + inlinePatterns: Any + ancestors: Any + def __init__(self, md) -> None: ... + @property + def markdown(self): ... + stashed_nodes: Any + parent_map: Any + def run(self, tree, ancestors: Optional[Any] = ...): ... + +class PrettifyTreeprocessor(Treeprocessor): + def run(self, root) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/util.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/util.pyi new file mode 100644 index 000000000..170fadf43 --- /dev/null +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/markdown/util.pyi @@ -0,0 +1,58 @@ +from collections import namedtuple +from typing import Any, Optional, Pattern + +PY37: Any +__deprecated__: Any +BLOCK_LEVEL_ELEMENTS: Any +STX: str +ETX: str +INLINE_PLACEHOLDER_PREFIX: Any +INLINE_PLACEHOLDER: Any +INLINE_PLACEHOLDER_RE: Pattern +AMP_SUBSTITUTE: Any +HTML_PLACEHOLDER: Any +HTML_PLACEHOLDER_RE: Pattern +TAG_PLACEHOLDER: Any +INSTALLED_EXTENSIONS: Any +RTL_BIDI_RANGES: Any + +def deprecated(message, stacklevel: int = ...): ... +def isBlockLevel(tag): ... +def parseBoolValue(value, fail_on_errors: bool = ..., preserve_none: bool = ...): ... +def code_escape(text): ... + +class AtomicString(str): ... + +class Processor: + md: Any + def __init__(self, md: Optional[Any] = ...) -> None: ... + @property + def markdown(self): ... + +class HtmlStash: + html_counter: int = ... + rawHtmlBlocks: Any + tag_counter: int = ... + tag_data: Any + def __init__(self) -> None: ... + def store(self, html): ... + def reset(self) -> None: ... + def get_placeholder(self, key): ... + def store_tag(self, tag, attrs, left_index, right_index): ... + +_PriorityItem = namedtuple("PriorityItem", ["name", "priority"]) + +class Registry: + def __init__(self) -> None: ... + def __contains__(self, item): ... + def __iter__(self) -> Any: ... + def __getitem__(self, key): ... + def __len__(self): ... + def get_index_for_name(self, name): ... + def register(self, item, name, priority) -> None: ... + def deregister(self, name, strict: bool = ...) -> None: ... + def __setitem__(self, key, value) -> None: ... + def __delitem__(self, key) -> None: ... + def add(self, key, value, location) -> None: ... + +def __getattr__(name): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/mock.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/mock.pyi index 0c34f72dd..0acbb6875 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/mock.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/mock.pyi @@ -4,6 +4,7 @@ from typing import Any, Callable, Generic, List, Mapping, Optional, Sequence, Te _F = TypeVar("_F", bound=Callable[..., Any]) _T = TypeVar("_T") _TT = TypeVar("_TT", bound=Type[Any]) +_R = TypeVar("_R") __all__ = [ "Mock", @@ -193,7 +194,7 @@ class _patch(Generic[_T]): kwargs: Mapping[str, Any], ) -> None: ... def copy(self) -> _patch[_T]: ... - def __call__(self, func: _F) -> _F: ... + def __call__(self, func: Callable[..., _R]) -> Callable[..., _R]: ... def decorate_class(self, klass: _TT) -> _TT: ... def decorate_callable(self, func: _F) -> _F: ... def get_original(self) -> Tuple[Any, bool]: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/redis/client.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/redis/client.pyi index f59715193..6c24380da 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/redis/client.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/redis/client.pyi @@ -167,6 +167,7 @@ class Redis(object): def ttl(self, name: _Key) -> int: ... def type(self, name): ... def watch(self, *names): ... + def unlink(self, *names: _Key) -> int: ... def unwatch(self): ... def blpop(self, keys: Union[_Value, Iterable[_Value]], timeout: int = ...) -> Optional[Tuple[bytes, bytes]]: ... def brpop(self, keys: Union[_Value, Iterable[_Value]], timeout: int = ...) -> Optional[Tuple[bytes, bytes]]: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/api.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/api.pyi index 6fcda5768..6b54f2d78 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/api.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/api.pyi @@ -5,7 +5,7 @@ from typing import Iterable, Mapping, Optional, Text, Tuple, Union from .models import Response from .sessions import _Data -_ParamsMappingValueType = Union[Text, bytes, int, float, Iterable[Union[Text, bytes, int, float]]] +_ParamsMappingValueType = Union[Text, bytes, int, float, Iterable[Union[Text, bytes, int, float]], None] def request(method: str, url: str, **kwargs) -> Response: ... def get( diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/exceptions.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/exceptions.pyi index 95bc03280..7b173de25 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/exceptions.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/requests/exceptions.pyi @@ -21,7 +21,13 @@ class TooManyRedirects(RequestException): ... class MissingSchema(RequestException, ValueError): ... class InvalidSchema(RequestException, ValueError): ... class InvalidURL(RequestException, ValueError): ... +class InvalidHeader(RequestException, ValueError): ... +class InvalidProxyURL(InvalidURL): ... class ChunkedEncodingError(RequestException): ... class ContentDecodingError(RequestException, BaseHTTPError): ... class StreamConsumedError(RequestException, TypeError): ... class RetryError(RequestException): ... +class UnrewindableBodyError(RequestException): ... +class RequestsWarning(Warning): ... +class FileModeWarning(RequestsWarning, DeprecationWarning): ... +class RequestsDependencyWarning(RequestsWarning): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/retry/api.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/retry/api.pyi index 8aa4e0ac1..22a2ebe40 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/retry/api.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/retry/api.pyi @@ -11,8 +11,8 @@ def retry_call( fkwargs: Optional[Dict[str, Any]] = ..., exceptions: Union[Type[Exception], Tuple[Type[Exception], ...]] = ..., tries: int = ..., - delay: int = ..., - max_delay: Optional[int] = ..., + delay: float = ..., + max_delay: Optional[float] = ..., backoff: int = ..., jitter: int = ..., logger: Optional[Logger] = ..., @@ -20,8 +20,8 @@ def retry_call( def retry( exceptions: Union[Type[Exception], Tuple[Type[Exception], ...]] = ..., tries: int = ..., - delay: int = ..., - max_delay: Optional[int] = ..., + delay: float = ..., + max_delay: Optional[float] = ..., backoff: int = ..., jitter: int = ..., logger: Optional[Logger] = ..., diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/werkzeug/_compat.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/werkzeug/_compat.pyi index bc4340dcb..f8a13f778 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/werkzeug/_compat.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/werkzeug/_compat.pyi @@ -1,10 +1,16 @@ import sys from typing import Any, Optional, Text -if sys.version_info < (3,): - import StringIO as BytesIO +if sys.version_info >= (3,): + from io import BytesIO as BytesIO, StringIO as StringIO + + NativeStringIO = StringIO else: - from io import StringIO as BytesIO + import cStringIO + from StringIO import StringIO as StringIO + + BytesIO = cStringIO.StringIO + NativeStringIO = BytesIO PY2: Any WIN: Any @@ -27,7 +33,6 @@ def native_string_result(func): ... def implements_bool(cls): ... range_type: Any -NativeStringIO: Any def make_literal_wrapper(reference): ... def normalize_string_tuple(tup): ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/2and3/yaml/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/2and3/yaml/__init__.pyi index 01d64c711..ac8dd0274 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/2and3/yaml/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/2and3/yaml/__init__.pyi @@ -8,9 +8,8 @@ from yaml.loader import * # noqa: F403 from yaml.nodes import * # noqa: F403 from yaml.tokens import * # noqa: F403 -from .cyaml import * - from . import resolver as resolver # Help mypy a bit; this is implied by loader and dumper +from .cyaml import * if sys.version_info < (3,): _Str = Union[Text, str] diff --git a/packages/pyright-internal/typeshed-fallback/third_party/3/aiofiles/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/3/aiofiles/__init__.pyi index f943e7671..2bbbc29a4 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/3/aiofiles/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/3/aiofiles/__init__.pyi @@ -1,2 +1 @@ -from . import _os as os from .threadpool import open as open diff --git a/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/__init__.pyi index b2bb1f643..e69de29bb 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/__init__.pyi @@ -1 +0,0 @@ -from hashlib import _Hash as _HashAlg diff --git a/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/py_ecdsa.pyi b/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/py_ecdsa.pyi index 2a4e2c792..0f63de0a6 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/py_ecdsa.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/py_ecdsa.pyi @@ -1,11 +1,10 @@ +import hashlib from typing import Any from jwt.algorithms import Algorithm -from . import _HashAlg - class ECAlgorithm(Algorithm[Any]): - SHA256: _HashAlg - SHA384: _HashAlg - SHA512: _HashAlg - def __init__(self, hash_alg: _HashAlg) -> None: ... + SHA256: hashlib._Hash + SHA384: hashlib._Hash + SHA512: hashlib._Hash + def __init__(self, hash_alg: hashlib._Hash) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/pycrypto.pyi b/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/pycrypto.pyi index d0cb973f9..077684c67 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/pycrypto.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/3/jwt/contrib/algorithms/pycrypto.pyi @@ -1,11 +1,10 @@ +import hashlib from typing import Any from jwt.algorithms import Algorithm -from . import _HashAlg - class RSAAlgorithm(Algorithm[Any]): - SHA256: _HashAlg - SHA384: _HashAlg - SHA512: _HashAlg - def __init__(self, hash_alg: _HashAlg) -> None: ... + SHA256: hashlib._Hash + SHA384: hashlib._Hash + SHA512: hashlib._Hash + def __init__(self, hash_alg: hashlib._Hash) -> None: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/3/six/moves/__init__.pyi b/packages/pyright-internal/typeshed-fallback/third_party/3/six/moves/__init__.pyi index a5e2e998b..3455676db 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/3/six/moves/__init__.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/3/six/moves/__init__.pyi @@ -2,14 +2,14 @@ # # Note: Commented out items means they weren't implemented at the time. # Uncomment them when the modules have been added to the typeshed. -from builtins import filter as filter, input as input, map as map, range as range, range as xrange, zip as zip +import importlib +import shlex +from builtins import filter as filter, input as input, map as map, range as range, zip as zip from collections import UserDict as UserDict, UserList as UserList, UserString as UserString from functools import reduce as reduce -from importlib import reload as reload_module -from io import StringIO as StringIO, StringIO as cStringIO +from io import StringIO as StringIO from itertools import filterfalse as filterfalse, zip_longest as zip_longest from os import getcwd as getcwd, getcwdb as getcwdb -from shlex import quote as shlex_quote from sys import intern as intern # import tkinter.font as tkinter_font @@ -58,3 +58,8 @@ from . import ( # import xmlrpc.client as xmlrpc_client # import xmlrpc.server as xmlrpc_server + +xrange = range +reload_module = importlib.reload +cStringIO = StringIO +shlex_quote = shlex.quote diff --git a/packages/pyright-internal/typeshed-fallback/third_party/3/typed_ast/ast3.pyi b/packages/pyright-internal/typeshed-fallback/third_party/3/typed_ast/ast3.pyi index 631924cfb..3dac9b2e1 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/3/typed_ast/ast3.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/3/typed_ast/ast3.pyi @@ -12,7 +12,7 @@ def parse(source: Union[str, bytes], filename: Union[str, bytes] = ..., mode: st def copy_location(new_node: AST, old_node: AST) -> AST: ... def dump(node: AST, annotate_fields: bool = ..., include_attributes: bool = ...) -> str: ... def fix_missing_locations(node: AST) -> AST: ... -def get_docstring(node: AST, clean: bool = ...) -> str: ... +def get_docstring(node: AST, clean: bool = ...) -> Optional[str]: ... def increment_lineno(node: AST, n: int = ...) -> AST: ... def iter_child_nodes(node: AST) -> Iterator[AST]: ... def iter_fields(node: AST) -> Iterator[typing.Tuple[str, Any]]: ... diff --git a/packages/pyright-internal/typeshed-fallback/third_party/3/waitress/compat.pyi b/packages/pyright-internal/typeshed-fallback/third_party/3/waitress/compat.pyi index cb1a09b2b..58c9ad356 100644 --- a/packages/pyright-internal/typeshed-fallback/third_party/3/waitress/compat.pyi +++ b/packages/pyright-internal/typeshed-fallback/third_party/3/waitress/compat.pyi @@ -2,11 +2,6 @@ import sys from io import TextIOWrapper from typing import Any, Optional, Text, Tuple -if sys.version_info[0] == 3: - from urllib import parse as urlparse -else: - import urlparse - PY2: bool PY3: bool WIN: bool diff --git a/packages/pyright/package-lock.json b/packages/pyright/package-lock.json index d69e0866d..163c262bb 100644 --- a/packages/pyright/package-lock.json +++ b/packages/pyright/package-lock.json @@ -46,9 +46,9 @@ "dev": true }, "@types/eslint": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.2.tgz", - "integrity": "sha512-psWuwNXuKR2e6vMU5d2qH0Kqzrb2Zxwk+uBCF2LsyEph+Nex3lFIPMJXwxfGesdtJM2qtjKoCYsyh76K3x9wLg==", + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.4.tgz", + "integrity": "sha512-YCY4kzHMsHoyKspQH+nwSe+70Kep7Vjt2X+dZe5Vs2vkRudqtoFoUIv1RlJmZB8Hbp7McneupoZij4PadxsK5Q==", "dev": true, "requires": { "@types/estree": "*", @@ -82,9 +82,9 @@ } }, "@types/json-schema": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz", - "integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz", + "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==", "dev": true }, "@types/json5": { @@ -100,9 +100,9 @@ "dev": true }, "@types/node": { - "version": "12.12.54", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.54.tgz", - "integrity": "sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w==", + "version": "12.12.67", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.67.tgz", + "integrity": "sha512-R48tgL2izApf+9rYNH+3RBMbRpPeW3N8f0I9HMhggeq4UXwBDqumJ14SDs4ctTMhG11pIOduZ4z3QWGOiMc9Vg==", "dev": true }, "@types/source-list-map": { @@ -347,9 +347,9 @@ "dev": true }, "acorn": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", - "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.0.4.tgz", + "integrity": "sha512-XNP0PqF1XD19ZlLKvB7cMmnZswW4C/03pRHgirB30uSJTaS3A3V1/P4sS3HPvFmjoriPCJQs+JDSbm4bL1TxGQ==", "dev": true }, "aggregate-error": { @@ -363,9 +363,9 @@ } }, "ajv": { - "version": "6.12.4", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", - "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", + "version": "6.12.5", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.5.tgz", + "integrity": "sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -532,6 +532,18 @@ "fill-range": "^7.0.1" } }, + "browserslist": { + "version": "4.14.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.5.tgz", + "integrity": "sha512-Z+vsCZIvCBvqLoYkBFTwEYH3v5MCQbsAjp50ERycpOjnPmolg1Gjy4+KaWWpm8QOJt9GHkhdqAl14NpCX73CWA==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001135", + "electron-to-chromium": "^1.3.571", + "escalade": "^3.1.0", + "node-releases": "^1.1.61" + } + }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -606,6 +618,12 @@ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, + "caniuse-lite": { + "version": "1.0.30001146", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001146.tgz", + "integrity": "sha512-VAy5RHDfTJhpxnDdp2n40GPPLp3KqNrXz1QqFv4J64HvArKs8nuNMOWkB3ICOaBTU/Aj4rYAo/ytdQDDFF/Pug==", + "dev": true + }, "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", @@ -738,21 +756,21 @@ "dev": true }, "copy-webpack-plugin": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.0.3.tgz", - "integrity": "sha512-q5m6Vz4elsuyVEIUXr7wJdIdePWTubsqVbEMvf1WQnHGv0Q+9yPRu7MtYFPt+GBOXRav9lvIINifTQ1vSCs+eA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.2.1.tgz", + "integrity": "sha512-VH2ZTMIBsx4p++Lmpg77adZ0KUyM5gFR/9cuTrbneNnJlcQXUFvsNariPqq2dq2kV3F2skHiDGPQCyKWy1+U0Q==", "dev": true, "requires": { - "cacache": "^15.0.4", + "cacache": "^15.0.5", "fast-glob": "^3.2.4", "find-cache-dir": "^3.3.1", "glob-parent": "^5.1.1", "globby": "^11.0.1", "loader-utils": "^2.0.0", "normalize-path": "^3.0.0", - "p-limit": "^3.0.1", - "schema-utils": "^2.7.0", - "serialize-javascript": "^4.0.0", + "p-limit": "^3.0.2", + "schema-utils": "^3.0.0", + "serialize-javascript": "^5.0.1", "webpack-sources": "^1.4.3" }, "dependencies": { @@ -778,12 +796,6 @@ } } }, - "core-js": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", - "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==", - "dev": true - }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -903,6 +915,12 @@ "path-type": "^4.0.0" } }, + "electron-to-chromium": { + "version": "1.3.578", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.578.tgz", + "integrity": "sha512-z4gU6dA1CbBJsAErW5swTGAaU2TBzc2mPAonJb00zqW1rOraDo2zfBMDRvaz9cVic+0JEZiYbHWPw/fTaZlG2Q==", + "dev": true + }, "emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -941,6 +959,12 @@ "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=", "dev": true }, + "escalade": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.0.tgz", + "integrity": "sha512-mAk+hPSO8fLDkhV7V0dXazH5pDc6MrjBTPyD3VeKzxnVFjH1MIxbCdqGZB9O8+EwWakZs3ZCbDS4IpRt79V1ig==", + "dev": true + }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -948,22 +972,30 @@ "dev": true }, "eslint-scope": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz", - "integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, "requires": { - "esrecurse": "^4.1.0", + "esrecurse": "^4.3.0", "estraverse": "^4.1.1" } }, "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "requires": { - "estraverse": "^4.1.0" + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } } }, "estraverse": { @@ -1762,9 +1794,9 @@ "dev": true }, "jest-worker": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz", - "integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.5.0.tgz", + "integrity": "sha512-kTw66Dn4ZX7WpjZ7T/SUDgRhapFRKWmisVAF0Rv4Fu8SLFD7eLbqpLvbxVqYhSgaWa7I+bW7pHnbyfNsH6stug==", "dev": true, "requires": { "@types/node": "*", @@ -1817,9 +1849,9 @@ "dev": true }, "loader-runner": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.0.0.tgz", - "integrity": "sha512-Rqf48ufrr48gFjnaqss04QesoXB7VenbpFFIV/0yOKGnpbejrVlOPqTsoX42FG5goXM5Ixekcs4DqDzHOX2z7Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.1.0.tgz", + "integrity": "sha512-oR4lB4WvwFoC70ocraKhn5nkKSs23t57h9udUgw8o0iH8hMXeEoRuUgfcvgUwAJ1ZpRqBvcou4N2SMvM1DwMrA==", "dev": true }, "loader-utils": { @@ -2047,6 +2079,12 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, + "node-releases": { + "version": "1.1.61", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.61.tgz", + "integrity": "sha512-DD5vebQLg8jLCOzwupn954fbIiZht05DAZs0k2u8NStSe6h9XdsuIQL8hSRKYiU8WUQRznmSDrKGbv3ObOmC7g==", + "dev": true + }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -2443,14 +2481,14 @@ } }, "schema-utils": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", - "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", + "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", "dev": true, "requires": { - "@types/json-schema": "^7.0.4", - "ajv": "^6.12.2", - "ajv-keywords": "^3.4.1" + "@types/json-schema": "^7.0.6", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" } }, "semver": { @@ -2460,9 +2498,9 @@ "dev": true }, "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", + "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", "dev": true, "requires": { "randombytes": "^2.1.0" @@ -2806,30 +2844,38 @@ } }, "terser": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.2.1.tgz", - "integrity": "sha512-/AOtjRtAMNGO0fIF6m8HfcvXTw/2AKpsOzDn36tA5RfhRdeXyb4RvHxJ5Pah7iL6dFkLk+gOnCaNHGwJPl6TrQ==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.3.4.tgz", + "integrity": "sha512-dxuB8KQo8Gt6OVOeLg/rxfcxdNZI/V1G6ze1czFUzPeCFWZRtvZMgSzlZZ5OYBZ4HoG607F6pFPNLekJyV+yVw==", "dev": true, "requires": { "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" + "source-map": "~0.7.2", + "source-map-support": "~0.5.19" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } } }, "terser-webpack-plugin": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.1.0.tgz", - "integrity": "sha512-0ZWDPIP8BtEDZdChbufcXUigOYk6dOX/P/X0hWxqDDcVAQLb8Yy/0FAaemSfax3PAA67+DJR778oz8qVbmy4hA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz", + "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==", "dev": true, "requires": { "cacache": "^15.0.5", "find-cache-dir": "^3.3.1", - "jest-worker": "^26.3.0", + "jest-worker": "^26.5.0", "p-limit": "^3.0.2", - "schema-utils": "^2.6.6", - "serialize-javascript": "^4.0.0", + "schema-utils": "^3.0.0", + "serialize-javascript": "^5.0.1", "source-map": "^0.6.1", - "terser": "^5.0.0", + "terser": "^5.3.4", "webpack-sources": "^1.4.3" } }, @@ -2875,9 +2921,9 @@ } }, "ts-loader": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.3.tgz", - "integrity": "sha512-wsqfnVdB7xQiqhqbz2ZPLGHLPZbHVV5Qn/MNFZkCFxRU1miDyxKORucDGxKtsQJ63Rfza0udiUxWF5nHY6bpdQ==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.4.tgz", + "integrity": "sha512-5u8KF1SW8eCUb/Ff7At81e3wznPmT/27fvaGRO9CziVy+6NlPVRvrzSox4OwU0/e6OflOUB32Err4VquysCSAQ==", "dev": true, "requires": { "chalk": "^2.3.0", @@ -2944,15 +2990,15 @@ } }, "tslib": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", - "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", + "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, "union-value": { @@ -3026,9 +3072,9 @@ } }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", "dev": true, "requires": { "punycode": "^2.1.0" @@ -3059,9 +3105,9 @@ "dev": true }, "watchpack": { - "version": "2.0.0-beta.15", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.0.0-beta.15.tgz", - "integrity": "sha512-zyhhC7vEajo5fZEUxlhVpC1uLAOs088zy8RwzcMp8YucTBirNCNmTFQWVeoKxKNNqEfYUBQdVzW3wfItcc/eUQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.0.0.tgz", + "integrity": "sha512-xSdCxxYZWNk3VK13bZRYhsQpfa8Vg63zXG+3pyU8ouqSLRCv4IGXIp9Kr226q6GBkGRlZrST2wwKtjfKz2m7Cg==", "dev": true, "requires": { "glob-to-regexp": "^0.4.1", @@ -3069,9 +3115,9 @@ } }, "webpack": { - "version": "5.0.0-beta.29", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.0.0-beta.29.tgz", - "integrity": "sha512-uBVX3gDHTN3FnIqlrGmav5FRW7CujSN4aybLbAd8Uc1hTk+zXDmZAFJFa0pCzzWv7FkKyhdv0+q8BRL2OK7+xg==", + "version": "5.0.0-rc.5", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.0.0-rc.5.tgz", + "integrity": "sha512-I0VE47M678nRbHzBfExSLHZFYrT7zbixM9sUU2f9/cRybMsEPHLXyZepRp3RGPBfjCjR29IsysN5a80dCCJ8aQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.0", @@ -3080,46 +3126,46 @@ "@webassemblyjs/helper-module-context": "1.9.0", "@webassemblyjs/wasm-edit": "1.9.0", "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^7.4.0", + "acorn": "^8.0.3", + "browserslist": "^4.14.3", "chrome-trace-event": "^1.0.2", - "core-js": "^3.6.5", - "enhanced-resolve": "5.0.0-beta.10", + "enhanced-resolve": "^5.2.0", "eslint-scope": "^5.1.0", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.4", "json-parse-better-errors": "^1.0.2", - "loader-runner": "^4.0.0", + "loader-runner": "^4.1.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "pkg-dir": "^4.2.0", - "schema-utils": "^2.7.0", - "tapable": "^2.0.0-beta.11", + "schema-utils": "^3.0.0", + "tapable": "^2.0.0", "terser-webpack-plugin": "^4.1.0", - "watchpack": "2.0.0-beta.15", - "webpack-sources": "2.0.0-beta.10" + "watchpack": "^2.0.0", + "webpack-sources": "^2.0.1" }, "dependencies": { "enhanced-resolve": { - "version": "5.0.0-beta.10", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.0.0-beta.10.tgz", - "integrity": "sha512-vEyxvHv3f8xl7i7QmTQ6BqKY32acSPQ4dTZo8WRMtcqTDYH9YyXnDxqXsQqBLvdRHUiwl9nVivESiM1RcrxbKQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.2.0.tgz", + "integrity": "sha512-NZlGLl8DxmZoq0uqPPtJfsCAir68uR047+Udsh1FH4+5ydGQdMurn/A430A1BtxASVmMEuS7/XiJ5OxJ9apAzQ==", "dev": true, "requires": { - "graceful-fs": "^4.2.0", - "tapable": "^2.0.0-beta.10" + "graceful-fs": "^4.2.4", + "tapable": "^2.0.0" } }, "tapable": { - "version": "2.0.0-beta.11", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.0.0-beta.11.tgz", - "integrity": "sha512-cAhRzCvMdyJsxmdrSXG8/SUlJG4WJUxD/csuYAybUFjKVt74Y6pTyZ/I1ZK+enmCkWZN0JWxh14G69temaGSiA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.0.0.tgz", + "integrity": "sha512-bjzn0C0RWoffnNdTzNi7rNDhs1Zlwk2tRXgk8EiHKAOX1Mag3d6T0Y5zNa7l9CJ+EoUne/0UHdwS8tMbkh9zDg==", "dev": true }, "webpack-sources": { - "version": "2.0.0-beta.10", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.10.tgz", - "integrity": "sha512-HxeYa9Q6nMk3MtSbi5mKUUV+gOxYlGQwujKbeK0JQ+SmLSMgC4cQkZ+xpsWvsUtTvskDwpKvuVLpE9eW7vn0IQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.1.tgz", + "integrity": "sha512-A9oYz7ANQBK5EN19rUXbvNgfdfZf5U2gP0769OXsj9CvYkCR6OHOsd6OKyEy4H38GGxpsQPKIL83NC64QY6Xmw==", "dev": true, "requires": { "source-list-map": "^2.0.1", diff --git a/packages/pyright/package.json b/packages/pyright/package.json index 7a329ce17..5eadacdf6 100644 --- a/packages/pyright/package.json +++ b/packages/pyright/package.json @@ -23,14 +23,14 @@ "webpack": "webpack --mode development --progress" }, "devDependencies": { - "@types/node": "~12.12.54", + "@types/node": "^12.12.67", "clean-webpack-plugin": "^3.0.0", - "copy-webpack-plugin": "^6.0.3", + "copy-webpack-plugin": "^6.2.1", "shx": "^0.3.2", - "ts-loader": "^8.0.3", + "ts-loader": "^8.0.4", "tsconfig-paths-webpack-plugin": "^3.3.0", - "typescript": "^4.0.2", - "webpack": "^5.0.0-beta.26", + "typescript": "^4.0.3", + "webpack": "^5.0.0-rc.5", "webpack-cli": "^3.3.12" }, "files": [ diff --git a/packages/vscode-pyright/package-lock.json b/packages/vscode-pyright/package-lock.json index a6e274cd7..540fa3722 100644 --- a/packages/vscode-pyright/package-lock.json +++ b/packages/vscode-pyright/package-lock.json @@ -52,9 +52,9 @@ "dev": true }, "@types/eslint": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.2.tgz", - "integrity": "sha512-psWuwNXuKR2e6vMU5d2qH0Kqzrb2Zxwk+uBCF2LsyEph+Nex3lFIPMJXwxfGesdtJM2qtjKoCYsyh76K3x9wLg==", + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.4.tgz", + "integrity": "sha512-YCY4kzHMsHoyKspQH+nwSe+70Kep7Vjt2X+dZe5Vs2vkRudqtoFoUIv1RlJmZB8Hbp7McneupoZij4PadxsK5Q==", "dev": true, "requires": { "@types/estree": "*", @@ -88,9 +88,9 @@ } }, "@types/json-schema": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz", - "integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz", + "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==", "dev": true }, "@types/json5": { @@ -106,9 +106,9 @@ "dev": true }, "@types/node": { - "version": "12.12.54", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.54.tgz", - "integrity": "sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w==", + "version": "12.12.67", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.67.tgz", + "integrity": "sha512-R48tgL2izApf+9rYNH+3RBMbRpPeW3N8f0I9HMhggeq4UXwBDqumJ14SDs4ctTMhG11pIOduZ4z3QWGOiMc9Vg==", "dev": true }, "@types/source-list-map": { @@ -133,9 +133,9 @@ } }, "@types/vscode": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.48.0.tgz", - "integrity": "sha512-sZJKzsJz1gSoFXcOJWw3fnKl2sseUgZmvB4AJZS+Fea+bC/jfGPVhmFL/FfQHld/TKtukVONsmoD3Pkyx9iadg==", + "version": "1.50.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.50.0.tgz", + "integrity": "sha512-QnIeyi4L2DiD9M2bAQKRzT/EQvc80qP9UL6JD5TiLlNRL1khIDg4ej4mDSRbtFrDAsRntFI1RhMvdomUThMsqg==", "dev": true }, "@types/webpack": { @@ -359,9 +359,9 @@ "dev": true }, "acorn": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", - "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.0.4.tgz", + "integrity": "sha512-XNP0PqF1XD19ZlLKvB7cMmnZswW4C/03pRHgirB30uSJTaS3A3V1/P4sS3HPvFmjoriPCJQs+JDSbm4bL1TxGQ==", "dev": true }, "aggregate-error": { @@ -375,9 +375,9 @@ } }, "ajv": { - "version": "6.12.4", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", - "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", + "version": "6.12.5", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.5.tgz", + "integrity": "sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -578,6 +578,18 @@ "fill-range": "^7.0.1" } }, + "browserslist": { + "version": "4.14.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.5.tgz", + "integrity": "sha512-Z+vsCZIvCBvqLoYkBFTwEYH3v5MCQbsAjp50ERycpOjnPmolg1Gjy4+KaWWpm8QOJt9GHkhdqAl14NpCX73CWA==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001135", + "electron-to-chromium": "^1.3.571", + "escalade": "^3.1.0", + "node-releases": "^1.1.61" + } + }, "buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", @@ -658,6 +670,12 @@ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, + "caniuse-lite": { + "version": "1.0.30001146", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001146.tgz", + "integrity": "sha512-VAy5RHDfTJhpxnDdp2n40GPPLp3KqNrXz1QqFv4J64HvArKs8nuNMOWkB3ICOaBTU/Aj4rYAo/ytdQDDFF/Pug==", + "dev": true + }, "chalk": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", @@ -773,9 +791,9 @@ "dev": true }, "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz", + "integrity": "sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==", "dev": true }, "commondir": { @@ -803,21 +821,21 @@ "dev": true }, "copy-webpack-plugin": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.0.3.tgz", - "integrity": "sha512-q5m6Vz4elsuyVEIUXr7wJdIdePWTubsqVbEMvf1WQnHGv0Q+9yPRu7MtYFPt+GBOXRav9lvIINifTQ1vSCs+eA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.2.1.tgz", + "integrity": "sha512-VH2ZTMIBsx4p++Lmpg77adZ0KUyM5gFR/9cuTrbneNnJlcQXUFvsNariPqq2dq2kV3F2skHiDGPQCyKWy1+U0Q==", "dev": true, "requires": { - "cacache": "^15.0.4", + "cacache": "^15.0.5", "fast-glob": "^3.2.4", "find-cache-dir": "^3.3.1", "glob-parent": "^5.1.1", "globby": "^11.0.1", "loader-utils": "^2.0.0", "normalize-path": "^3.0.0", - "p-limit": "^3.0.1", - "schema-utils": "^2.7.0", - "serialize-javascript": "^4.0.0", + "p-limit": "^3.0.2", + "schema-utils": "^3.0.0", + "serialize-javascript": "^5.0.1", "webpack-sources": "^1.4.3" }, "dependencies": { @@ -843,12 +861,6 @@ } } }, - "core-js": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", - "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==", - "dev": true - }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -1033,6 +1045,12 @@ "domelementtype": "1" } }, + "electron-to-chromium": { + "version": "1.3.578", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.578.tgz", + "integrity": "sha512-z4gU6dA1CbBJsAErW5swTGAaU2TBzc2mPAonJb00zqW1rOraDo2zfBMDRvaz9cVic+0JEZiYbHWPw/fTaZlG2Q==", + "dev": true + }, "emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -1077,6 +1095,12 @@ "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=", "dev": true }, + "escalade": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.0.tgz", + "integrity": "sha512-mAk+hPSO8fLDkhV7V0dXazH5pDc6MrjBTPyD3VeKzxnVFjH1MIxbCdqGZB9O8+EwWakZs3ZCbDS4IpRt79V1ig==", + "dev": true + }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -1084,22 +1108,30 @@ "dev": true }, "eslint-scope": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz", - "integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, "requires": { - "esrecurse": "^4.1.0", + "esrecurse": "^4.3.0", "estraverse": "^4.1.1" } }, "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "requires": { - "estraverse": "^4.1.0" + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } } }, "estraverse": { @@ -1946,9 +1978,9 @@ "dev": true }, "jest-worker": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz", - "integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==", + "version": "26.5.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.5.0.tgz", + "integrity": "sha512-kTw66Dn4ZX7WpjZ7T/SUDgRhapFRKWmisVAF0Rv4Fu8SLFD7eLbqpLvbxVqYhSgaWa7I+bW7pHnbyfNsH6stug==", "dev": true, "requires": { "@types/node": "*", @@ -2009,9 +2041,9 @@ } }, "loader-runner": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.0.0.tgz", - "integrity": "sha512-Rqf48ufrr48gFjnaqss04QesoXB7VenbpFFIV/0yOKGnpbejrVlOPqTsoX42FG5goXM5Ixekcs4DqDzHOX2z7Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.1.0.tgz", + "integrity": "sha512-oR4lB4WvwFoC70ocraKhn5nkKSs23t57h9udUgw8o0iH8hMXeEoRuUgfcvgUwAJ1ZpRqBvcou4N2SMvM1DwMrA==", "dev": true }, "loader-utils": { @@ -2284,6 +2316,12 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, + "node-releases": { + "version": "1.1.61", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.61.tgz", + "integrity": "sha512-DD5vebQLg8jLCOzwupn954fbIiZht05DAZs0k2u8NStSe6h9XdsuIQL8hSRKYiU8WUQRznmSDrKGbv3ObOmC7g==", + "dev": true + }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -2758,14 +2796,14 @@ } }, "schema-utils": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", - "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", + "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", "dev": true, "requires": { - "@types/json-schema": "^7.0.4", - "ajv": "^6.12.2", - "ajv-keywords": "^3.4.1" + "@types/json-schema": "^7.0.6", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" } }, "semver": { @@ -2774,9 +2812,9 @@ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" }, "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", + "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", "dev": true, "requires": { "randombytes": "^2.1.0" @@ -3126,30 +3164,44 @@ } }, "terser": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.2.1.tgz", - "integrity": "sha512-/AOtjRtAMNGO0fIF6m8HfcvXTw/2AKpsOzDn36tA5RfhRdeXyb4RvHxJ5Pah7iL6dFkLk+gOnCaNHGwJPl6TrQ==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.3.4.tgz", + "integrity": "sha512-dxuB8KQo8Gt6OVOeLg/rxfcxdNZI/V1G6ze1czFUzPeCFWZRtvZMgSzlZZ5OYBZ4HoG607F6pFPNLekJyV+yVw==", "dev": true, "requires": { "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" + "source-map": "~0.7.2", + "source-map-support": "~0.5.19" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } } }, "terser-webpack-plugin": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.1.0.tgz", - "integrity": "sha512-0ZWDPIP8BtEDZdChbufcXUigOYk6dOX/P/X0hWxqDDcVAQLb8Yy/0FAaemSfax3PAA67+DJR778oz8qVbmy4hA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz", + "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==", "dev": true, "requires": { "cacache": "^15.0.5", "find-cache-dir": "^3.3.1", - "jest-worker": "^26.3.0", + "jest-worker": "^26.5.0", "p-limit": "^3.0.2", - "schema-utils": "^2.6.6", - "serialize-javascript": "^4.0.0", + "schema-utils": "^3.0.0", + "serialize-javascript": "^5.0.1", "source-map": "^0.6.1", - "terser": "^5.0.0", + "terser": "^5.3.4", "webpack-sources": "^1.4.3" } }, @@ -3204,9 +3256,9 @@ } }, "ts-loader": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.3.tgz", - "integrity": "sha512-wsqfnVdB7xQiqhqbz2ZPLGHLPZbHVV5Qn/MNFZkCFxRU1miDyxKORucDGxKtsQJ63Rfza0udiUxWF5nHY6bpdQ==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.4.tgz", + "integrity": "sha512-5u8KF1SW8eCUb/Ff7At81e3wznPmT/27fvaGRO9CziVy+6NlPVRvrzSox4OwU0/e6OflOUB32Err4VquysCSAQ==", "dev": true, "requires": { "chalk": "^2.3.0", @@ -3375,9 +3427,9 @@ } }, "tslib": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", - "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, "tunnel": { @@ -3397,9 +3449,9 @@ } }, "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", + "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, "uc.micro": { @@ -3491,9 +3543,9 @@ } }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", "dev": true, "requires": { "punycode": "^2.1.0" @@ -3530,15 +3582,15 @@ "dev": true }, "vsce": { - "version": "1.79.4", - "resolved": "https://registry.npmjs.org/vsce/-/vsce-1.79.4.tgz", - "integrity": "sha512-RMzOcaf8EBqe6tUWuS+vxH4ta3FtEusRD48uM0tbSl5zmMjjASfLARJEzRfUgIebNIosSKcDKrpGk2kKgCQSdg==", + "version": "1.81.1", + "resolved": "https://registry.npmjs.org/vsce/-/vsce-1.81.1.tgz", + "integrity": "sha512-1yWAYRxTx/PKSFZnuELe7GPyIo70H/XKJqf6wGikofUK3f3TCNGI6F9xkTQFvXKNe0AygUuxN7kITyPIQGMP+w==", "dev": true, "requires": { "azure-devops-node-api": "^7.2.0", "chalk": "^2.4.2", "cheerio": "^1.0.0-rc.1", - "commander": "^2.8.1", + "commander": "^6.1.0", "denodeify": "^1.2.1", "glob": "^7.0.6", "leven": "^3.1.0", @@ -3657,9 +3709,9 @@ "integrity": "sha512-8TEXQxlldWAuIODdukIb+TR5s+9Ds40eSJrw+1iDDA9IFORPjMELarNQE3myz5XIkWWpdprmJjm1/SxMlWOC8A==" }, "watchpack": { - "version": "2.0.0-beta.15", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.0.0-beta.15.tgz", - "integrity": "sha512-zyhhC7vEajo5fZEUxlhVpC1uLAOs088zy8RwzcMp8YucTBirNCNmTFQWVeoKxKNNqEfYUBQdVzW3wfItcc/eUQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.0.0.tgz", + "integrity": "sha512-xSdCxxYZWNk3VK13bZRYhsQpfa8Vg63zXG+3pyU8ouqSLRCv4IGXIp9Kr226q6GBkGRlZrST2wwKtjfKz2m7Cg==", "dev": true, "requires": { "glob-to-regexp": "^0.4.1", @@ -3667,9 +3719,9 @@ } }, "webpack": { - "version": "5.0.0-beta.29", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.0.0-beta.29.tgz", - "integrity": "sha512-uBVX3gDHTN3FnIqlrGmav5FRW7CujSN4aybLbAd8Uc1hTk+zXDmZAFJFa0pCzzWv7FkKyhdv0+q8BRL2OK7+xg==", + "version": "5.0.0-rc.5", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.0.0-rc.5.tgz", + "integrity": "sha512-I0VE47M678nRbHzBfExSLHZFYrT7zbixM9sUU2f9/cRybMsEPHLXyZepRp3RGPBfjCjR29IsysN5a80dCCJ8aQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.0", @@ -3678,46 +3730,46 @@ "@webassemblyjs/helper-module-context": "1.9.0", "@webassemblyjs/wasm-edit": "1.9.0", "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^7.4.0", + "acorn": "^8.0.3", + "browserslist": "^4.14.3", "chrome-trace-event": "^1.0.2", - "core-js": "^3.6.5", - "enhanced-resolve": "5.0.0-beta.10", + "enhanced-resolve": "^5.2.0", "eslint-scope": "^5.1.0", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.4", "json-parse-better-errors": "^1.0.2", - "loader-runner": "^4.0.0", + "loader-runner": "^4.1.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "pkg-dir": "^4.2.0", - "schema-utils": "^2.7.0", - "tapable": "^2.0.0-beta.11", + "schema-utils": "^3.0.0", + "tapable": "^2.0.0", "terser-webpack-plugin": "^4.1.0", - "watchpack": "2.0.0-beta.15", - "webpack-sources": "2.0.0-beta.10" + "watchpack": "^2.0.0", + "webpack-sources": "^2.0.1" }, "dependencies": { "enhanced-resolve": { - "version": "5.0.0-beta.10", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.0.0-beta.10.tgz", - "integrity": "sha512-vEyxvHv3f8xl7i7QmTQ6BqKY32acSPQ4dTZo8WRMtcqTDYH9YyXnDxqXsQqBLvdRHUiwl9nVivESiM1RcrxbKQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.2.0.tgz", + "integrity": "sha512-NZlGLl8DxmZoq0uqPPtJfsCAir68uR047+Udsh1FH4+5ydGQdMurn/A430A1BtxASVmMEuS7/XiJ5OxJ9apAzQ==", "dev": true, "requires": { - "graceful-fs": "^4.2.0", - "tapable": "^2.0.0-beta.10" + "graceful-fs": "^4.2.4", + "tapable": "^2.0.0" } }, "tapable": { - "version": "2.0.0-beta.11", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.0.0-beta.11.tgz", - "integrity": "sha512-cAhRzCvMdyJsxmdrSXG8/SUlJG4WJUxD/csuYAybUFjKVt74Y6pTyZ/I1ZK+enmCkWZN0JWxh14G69temaGSiA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.0.0.tgz", + "integrity": "sha512-bjzn0C0RWoffnNdTzNi7rNDhs1Zlwk2tRXgk8EiHKAOX1Mag3d6T0Y5zNa7l9CJ+EoUne/0UHdwS8tMbkh9zDg==", "dev": true }, "webpack-sources": { - "version": "2.0.0-beta.10", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.0-beta.10.tgz", - "integrity": "sha512-HxeYa9Q6nMk3MtSbi5mKUUV+gOxYlGQwujKbeK0JQ+SmLSMgC4cQkZ+xpsWvsUtTvskDwpKvuVLpE9eW7vn0IQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.0.1.tgz", + "integrity": "sha512-A9oYz7ANQBK5EN19rUXbvNgfdfZf5U2gP0769OXsj9CvYkCR6OHOsd6OKyEy4H38GGxpsQPKIL83NC64QY6Xmw==", "dev": true, "requires": { "source-list-map": "^2.0.1", diff --git a/packages/vscode-pyright/package.json b/packages/vscode-pyright/package.json index 4589f7667..85c1dde57 100644 --- a/packages/vscode-pyright/package.json +++ b/packages/vscode-pyright/package.json @@ -659,19 +659,19 @@ "vscode-uri": "^2.1.2" }, "devDependencies": { - "@types/node": "~12.12.54", - "@types/vscode": "^1.48.0", + "@types/node": "^12.12.67", + "@types/vscode": "^1.50.0", "chalk": "^4.1.0", "clean-webpack-plugin": "^3.0.0", - "copy-webpack-plugin": "^6.0.3", + "copy-webpack-plugin": "^6.2.1", "detect-indent": "^6.0.0", "fs-extra": "^9.0.1", "shx": "^0.3.2", - "ts-loader": "^8.0.3", + "ts-loader": "^8.0.4", "tsconfig-paths-webpack-plugin": "^3.3.0", - "typescript": "^4.0.2", - "vsce": "^1.79.3", - "webpack": "^5.0.0-beta.26", + "typescript": "^4.0.3", + "vsce": "^1.81.1", + "webpack": "^5.0.0-rc.5", "webpack-cli": "^3.3.12" } }