From 920583ebfee2f3d2b14e63fad7f070e63c738190 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 19 Jul 2024 23:17:36 +0000 Subject: [PATCH] feat: upgrade typescript from 4.7.4 to 5.5.2 Snyk has created this PR to upgrade typescript from 4.7.4 to 5.5.2. See this package in npm: typescript See this project in Snyk: https://app.snyk.io/org/cachiman-inc/project/c84ca2e5-675f-4cd7-817b-0f49c85c3815?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 46 +++++++++++++--------------------------------- package.json | 2 +- 2 files changed, 14 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10ced6903e2b..1ae959b6ed7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,8 +20,7 @@ "@lhci/cli": "^0.7.2", "@mdn/browser-compat-data": "5.3.6", "@rollup/plugin-node-resolve": "^8.4.0", - "@types/adm-zip": "^0.5.0", - "adm-zip": "^0.5.10", + "adm-zip": "0.5.10", "algoliasearch": "^4.6.0", "async-transforms": "1.0.6", "cheerio": "1.0.0-rc.3", @@ -57,7 +56,7 @@ "rollup": "^2.22.2", "striptags": "^3.1.1", "typedoc": "0.22.18", - "typescript": "4.7.4", + "typescript": "^5.5.2", "unistore": "^3.5.2", "uslug": "^1.0.4", "web-vitals": "^3.4.0", @@ -107,6 +106,7 @@ "node": ">=14" }, "optionalDependencies": { + "@types/adm-zip": "0.5.0", "@types/cheerio": "^0.22.22", "@types/express": "^4.17.13", "@types/gtag.js": "^0.0.12", @@ -3254,6 +3254,7 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/@types/adm-zip/-/adm-zip-0.5.0.tgz", "integrity": "sha512-FCJBJq9ODsQZUNURo5ILAQueuA8WJhRvuihS3ke2iI25mJlfV2LK8jG2Qj2z2AWg8U0FtWWqBHVRetceLskSaw==", + "optional": true, "dependencies": { "@types/node": "*" } @@ -18711,21 +18712,6 @@ } } }, - "node_modules/puppeteer/node_modules/typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", - "dev": true, - "optional": true, - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=12.20" - } - }, "node_modules/puppeteer/node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -24757,15 +24743,16 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/ua-parser-js": { @@ -29068,6 +29055,7 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/@types/adm-zip/-/adm-zip-0.5.0.tgz", "integrity": "sha512-FCJBJq9ODsQZUNURo5ILAQueuA8WJhRvuihS3ke2iI25mJlfV2LK8jG2Qj2z2AWg8U0FtWWqBHVRetceLskSaw==", + "optional": true, "requires": { "@types/node": "*" } @@ -40867,14 +40855,6 @@ "ws": "8.13.0" } }, - "typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", - "dev": true, - "optional": true, - "peer": true - }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -45589,9 +45569,9 @@ } }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==" }, "ua-parser-js": { "version": "1.0.35", diff --git a/package.json b/package.json index 0d7477fb7c71..ce09ae2abb70 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "rollup": "^2.22.2", "striptags": "^3.1.1", "typedoc": "0.22.18", - "typescript": "4.7.4", + "typescript": "5.5.2", "unistore": "^3.5.2", "uslug": "^1.0.4", "web-vitals": "^3.4.0",