diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3a8b60100..16b8d25309 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -220,7 +220,7 @@ jobs: - name: Lint quadratic-client run: | npm install - npm install -D typescript + npm install -g typescript cd quadratic-client npm run lint:prettier npm run lint:eslint diff --git a/package-lock.json b/package-lock.json index bdf20bece7..9d5ec1bb5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,6 @@ ], "dependencies": { "@ory/kratos-client": "^1.2.1", - "tsc": "^2.0.4", "vitest": "^1.5.0", "zod": "^3.23.8" }, @@ -34,7 +33,7 @@ "prettier": "2.8.3", "tree-kill": "^1.2.2", "ts-jest": "^29.1.1", - "typescript": "^5.4.3" + "typescript": "^5.6.3" }, "engines": { "node": "18.x" @@ -195,6 +194,19 @@ "node-fetch": "^2.6.7" } }, + "node_modules/@anthropic-ai/sdk/node_modules/@types/node": { + "version": "18.19.64", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.64.tgz", + "integrity": "sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@anthropic-ai/sdk/node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/@auth0/auth0-spa-js": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@auth0/auth0-spa-js/-/auth0-spa-js-2.1.3.tgz", @@ -2213,6 +2225,15 @@ "node": ">=16.0.0" } }, + "node_modules/@aws-sdk/lib-storage/node_modules/buffer": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", + "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, "node_modules/@aws-sdk/middleware-bucket-endpoint": { "version": "3.686.0", "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.686.0.tgz", @@ -12963,11 +12984,11 @@ } }, "node_modules/@types/node": { - "version": "18.19.64", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.64.tgz", - "integrity": "sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==", + "version": "22.9.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.0.tgz", + "integrity": "sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.8" } }, "node_modules/@types/node-fetch": { @@ -14899,12 +14920,27 @@ } }, "node_modules/buffer": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", - "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "devOptional": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } }, "node_modules/buffer-crc32": { @@ -16661,6 +16697,21 @@ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.55.tgz", "integrity": "sha512-6maZ2ASDOTBtjt9FhqYPRnbvKU5tjG0IN9SztUOWYw2AzNDNpKJYLJmlK0/En4Hs/aiWnB+JZ+gW19PIGszgKg==" }, + "node_modules/electron/node_modules/@types/node": { + "version": "18.19.64", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.64.tgz", + "integrity": "sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/electron/node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, "node_modules/emittery": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", @@ -24300,6 +24351,19 @@ } } }, + "node_modules/openai/node_modules/@types/node": { + "version": "18.19.64", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.64.tgz", + "integrity": "sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/openai/node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/opentype.js": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/opentype.js/-/opentype.js-0.11.0.tgz", @@ -28650,14 +28714,6 @@ "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", "devOptional": true }, - "node_modules/tsc": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/tsc/-/tsc-2.0.4.tgz", - "integrity": "sha512-fzoSieZI5KKJVBYGvwbVZs/J5za84f2lSTLPYf6AGiIf43tZ3GNrI1QzTLcjtyDDP4aLxd46RTZq1nQxe7+k5Q==", - "bin": { - "tsc": "bin/tsc" - } - }, "node_modules/tsconfck": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/tsconfck/-/tsconfck-3.1.4.tgz", @@ -28969,9 +29025,9 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, "node_modules/unescape": { "version": "1.0.1", @@ -29646,9 +29702,9 @@ } }, "node_modules/vite": { - "version": "5.4.10", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz", - "integrity": "sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==", + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz", + "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==", "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.43", @@ -30923,12 +30979,25 @@ "prisma": "^5.5.2", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^5.4.5" + "typescript": "^5.6.3" }, "engines": { "node": "18.x" } }, + "quadratic-api/node_modules/@types/node": { + "version": "18.19.64", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.64.tgz", + "integrity": "sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "quadratic-api/node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "quadratic-client": { "version": "0.5.2", "dependencies": { @@ -31034,7 +31103,7 @@ "sass": "^1.69.5", "serve": "^14.2.0", "tailwindcss": "^3.3.5", - "typescript": "^5.4.5", + "typescript": "^5.6.3", "vite": "^5.4.10", "vite-plugin-checker": "^0.8.0", "vite-plugin-svgr": "^4.3.0", @@ -31156,7 +31225,7 @@ "version": "0.5.2", "license": "ISC", "dependencies": { - "typescript": "^5.6.2", + "typescript": "^5.6.3", "zod": "^3.23.8" }, "engines": { diff --git a/package.json b/package.json index 962f4d4195..6e2d8ee116 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,6 @@ }, "dependencies": { "@ory/kratos-client": "^1.2.1", - "tsc": "^2.0.4", "vitest": "^1.5.0", "zod": "^3.23.8" }, @@ -78,7 +77,7 @@ "prettier": "2.8.3", "tree-kill": "^1.2.2", "ts-jest": "^29.1.1", - "typescript": "^5.4.3" + "typescript": "^5.6.3" }, "engines": { "node": "18.x" diff --git a/quadratic-api/package.json b/quadratic-api/package.json index 394858cad4..8471c3fc25 100644 --- a/quadratic-api/package.json +++ b/quadratic-api/package.json @@ -81,7 +81,7 @@ "prisma": "^5.5.2", "ts-node": "^10.9.1", "ts-node-dev": "^2.0.0", - "typescript": "^5.4.5" + "typescript": "^5.6.3" }, "engines": { "node": "18.x" diff --git a/quadratic-client/package.json b/quadratic-client/package.json index 677b8da9be..8328ab657f 100644 --- a/quadratic-client/package.json +++ b/quadratic-client/package.json @@ -157,7 +157,7 @@ "sass": "^1.69.5", "serve": "^14.2.0", "tailwindcss": "^3.3.5", - "typescript": "^5.4.5", + "typescript": "^5.6.3", "vite": "^5.4.10", "vite-plugin-checker": "^0.8.0", "vite-plugin-svgr": "^4.3.0", diff --git a/quadratic-client/public/pyodide/package.json b/quadratic-client/public/pyodide/package.json index 236d6f5bd2..faa921b41e 100644 --- a/quadratic-client/public/pyodide/package.json +++ b/quadratic-client/public/pyodide/package.json @@ -35,7 +35,7 @@ "ts-mocha": "^9.0.2", "tsd": "^0.24.1", "typedoc": "^0.25.1", - "typescript": "^4.6.4", + "typescript": "^5.6.3", "wabt": "^1.0.32" }, "main": "pyodide.js", diff --git a/quadratic-shared/package.json b/quadratic-shared/package.json index c3a9d43070..d10b285721 100644 --- a/quadratic-shared/package.json +++ b/quadratic-shared/package.json @@ -8,7 +8,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { - "typescript": "^5.6.2", + "typescript": "^5.6.3", "zod": "^3.23.8" }, "author": "",