From 7e3314849f5fe0dca6bced03e2d38cffed7e67e0 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 25 Jan 2025 00:09:51 +0800 Subject: [PATCH] Upgrade dependencies --- package-lock.json | 131 +++++++++++++++++++++++++++------------------- package.json | 10 ++-- 2 files changed, 81 insertions(+), 60 deletions(-) diff --git a/package-lock.json b/package-lock.json index b72c8d10..3d63bd14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@lingui/detect-locale": "~5.1.2", "@lingui/macro": "~5.1.2", "@lingui/react": "~5.1.2", - "@szhsin/react-menu": "~4.2.4", + "@szhsin/react-menu": "~4.3.0", "chroma-js": "~3.1.2", "compare-versions": "~6.1.1", "fast-blurhash": "~1.1.4", @@ -29,14 +29,14 @@ "js-cookie": "~3.0.5", "just-debounce-it": "~3.2.0", "lz-string": "~1.5.0", - "masto": "~6.10.2", + "masto": "~6.10.3", "moize": "~6.1.6", "p-retry": "~6.2.1", "p-throttle": "~7.0.0", "preact": "~10.25.4", "punycode": "~2.3.1", "react-hotkeys-hook": "~4.6.1", - "react-intersection-observer": "~9.15.0", + "react-intersection-observer": "~9.15.1", "react-quick-pinch-zoom": "~5.1.0", "react-router-dom": "6.6.2", "string-length": "6.0.0", @@ -53,7 +53,7 @@ "@ianvs/prettier-plugin-sort-imports": "~4.4.1", "@lingui/cli": "~5.1.2", "@lingui/vite-plugin": "~5.1.2", - "@preact/preset-vite": "~2.9.4", + "@preact/preset-vite": "~2.10.0", "babel-plugin-macros": "~3.1.0", "postcss": "~8.5.1", "postcss-dark-theme-class": "~1.3.0", @@ -61,7 +61,7 @@ "prettier": "3.4.2", "sonda": "~0.7.1", "twitter-text": "~3.1.0", - "vite": "~6.0.7", + "vite": "~6.0.11", "vite-plugin-generate-file": "~0.2.0", "vite-plugin-html-config": "~2.0.2", "vite-plugin-pwa": "~0.21.1", @@ -3615,12 +3615,11 @@ } }, "node_modules/@preact/preset-vite": { - "version": "2.9.4", - "resolved": "https://registry.npmjs.org/@preact/preset-vite/-/preset-vite-2.9.4.tgz", - "integrity": "sha512-PpPnUlKUsbWZ2oBuAkAMnezhIYGsR7xi2EZcPjeTAjF1DhGl00IcPD1ZeXRFKp38i7Hk4kEdFlwpJ1525cAzpg==", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@preact/preset-vite/-/preset-vite-2.10.0.tgz", + "integrity": "sha512-U49rFSfF5h4rL1IYSmtiCe+lHDave9es3JzVnCMKoKF5ZW3Adua34/pkU2bT5vKQ02ek142RUjTwLhwLSgFp6g==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", "@babel/plugin-transform-react-jsx": "^7.22.15", "@babel/plugin-transform-react-jsx-development": "^7.22.5", "@prefresh/vite": "^2.4.1", @@ -3628,37 +3627,13 @@ "babel-plugin-transform-hook-names": "^1.0.2", "debug": "^4.3.4", "kolorist": "^1.8.0", - "magic-string": "0.30.5", - "node-html-parser": "^6.1.10", - "source-map": "^0.7.4", - "stack-trace": "^1.0.0-pre2" + "vite-prerender-plugin": "^0.5.3" }, "peerDependencies": { "@babel/core": "7.x", "vite": "2.x || 3.x || 4.x || 5.x || 6.x" } }, - "node_modules/@preact/preset-vite/node_modules/magic-string": { - "version": "0.30.5", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz", - "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", - "dev": true, - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.15" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@preact/preset-vite/node_modules/source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, "node_modules/@prefresh/babel-plugin": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@prefresh/babel-plugin/-/babel-plugin-0.5.0.tgz", @@ -3979,12 +3954,11 @@ } }, "node_modules/@szhsin/react-menu": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@szhsin/react-menu/-/react-menu-4.2.4.tgz", - "integrity": "sha512-FczIttEAVlT1wKU89mWvPeR6aJADDEGbTzJocsQgG6lPO4QuC8oHPAzxweufDSMbQjhqibCDIQiwTnB+ks7XXg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@szhsin/react-menu/-/react-menu-4.3.0.tgz", + "integrity": "sha512-TklTnPT6cYZcOO0GYnBQX6qVvpsdHvI0GkWsL90/fisIMlFfv+rpEPy4YNm+qNTUuCPeOkcRYVU7ooH0yUFTgQ==", "dependencies": { - "prop-types": "^15.7.2", - "react-transition-state": "^2.1.2" + "react-transition-state": "^2.2.0" }, "peerDependencies": { "react": ">=16.14.0", @@ -5312,9 +5286,9 @@ } }, "node_modules/domutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", - "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", "dev": true, "dependencies": { "dom-serializer": "^2.0.0", @@ -6928,6 +6902,7 @@ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "license": "MIT", + "peer": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -6973,9 +6948,9 @@ } }, "node_modules/masto": { - "version": "6.10.2", - "resolved": "https://registry.npmjs.org/masto/-/masto-6.10.2.tgz", - "integrity": "sha512-s9yU2AvA/8uhS1OILs1Oa54saO6qEqLR9+uu519DpnQfYdN26TI2PBmedQ4b98zM6Xrd9KSPr2LpHG+oriccVA==", + "version": "6.10.3", + "resolved": "https://registry.npmjs.org/masto/-/masto-6.10.3.tgz", + "integrity": "sha512-/ajJpdH0jXEqEBgSDTzYc4RS5CcDR0AGtweQmWNAaaFagdBHiNtJZHr7xFvdhR88C83qxispIGYNkLaL2GWumg==", "dependencies": { "change-case": "^4.1.2", "events-to-async": "^2.0.1", @@ -7124,9 +7099,9 @@ } }, "node_modules/node-html-parser": { - "version": "6.1.12", - "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.12.tgz", - "integrity": "sha512-/bT/Ncmv+fbMGX96XG9g05vFt43m/+SYKIs9oAemQVYyVcZmDAI2Xq/SbNcpOA35eF0Zk2av3Ksf+Xk8Vt8abA==", + "version": "6.1.13", + "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.13.tgz", + "integrity": "sha512-qIsTMOY4C/dAa5Q5vsobRpOOvPfC4pB61UVW2uSwZNUp0QU/jCekTal1vMmbO0DgdHeLUJpv/ARmDqErVxA3Sg==", "dev": true, "dependencies": { "css-select": "^5.1.0", @@ -7186,6 +7161,8 @@ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=0.10.0" } @@ -8403,6 +8380,8 @@ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", @@ -8498,9 +8477,9 @@ } }, "node_modules/react-intersection-observer": { - "version": "9.15.0", - "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.15.0.tgz", - "integrity": "sha512-qul9TzGgZtHIHAsLOXnRfMWNYCrqjU87HMKhRjwC8l6XSxz2Bo0xmpq5pklaXGj+brx2gSMe8lp1K17mMP2Q8w==", + "version": "9.15.1", + "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.15.1.tgz", + "integrity": "sha512-vGrqYEVWXfH+AGu241uzfUpNK4HAdhCkSAyFdkMb9VWWXs6mxzBLpWCxEy9YcnDNY2g9eO6z7qUtTBdA9hc8pA==", "peerDependencies": { "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" @@ -8515,7 +8494,9 @@ "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/react-quick-pinch-zoom": { "version": "5.1.0", @@ -8995,6 +8976,15 @@ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, + "node_modules/simple-code-frame": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/simple-code-frame/-/simple-code-frame-1.3.0.tgz", + "integrity": "sha512-MB4pQmETUBlNs62BBeRjIFGeuy/x6gGKh7+eRUemn1rCFhqo7K+4slPqsyizCbcbYLnaYqaoZ2FWsZ/jN06D8w==", + "dev": true, + "dependencies": { + "kolorist": "^1.6.0" + } + }, "node_modules/smob": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/smob/-/smob-1.5.0.tgz", @@ -9822,9 +9812,9 @@ } }, "node_modules/vite": { - "version": "6.0.7", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.7.tgz", - "integrity": "sha512-RDt8r/7qx9940f8FcOIAH9PTViRrghKaK2K1jY3RaAURrEUbm9Du1mJ72G+jlhtG3WwodnfzY8ORQZbBavZEAQ==", + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.11.tgz", + "integrity": "sha512-4VL9mQPKoHy4+FE0NnRE/kbY51TOfaknxAjt3fJbGJxhIpBZiqVzlZDEesWWsuREXHwNdAoOFZ9MkPEVXczHwg==", "dev": true, "dependencies": { "esbuild": "^0.24.2", @@ -9989,6 +9979,37 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/vite-prerender-plugin": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/vite-prerender-plugin/-/vite-prerender-plugin-0.5.4.tgz", + "integrity": "sha512-nGcAiKbjBodQIkqN8g0iZ8CQyaNC5KcbVLhoJtj8oFddmfTDBP4CuFIW1dX2zAw9NFWfwoftevJP2x3HAmNjDw==", + "dev": true, + "dependencies": { + "magic-string": "^0.30.6", + "node-html-parser": "^6.1.12", + "simple-code-frame": "^1.3.0", + "source-map": "^0.7.4", + "stack-trace": "^1.0.0-pre2" + } + }, + "node_modules/vite-prerender-plugin/node_modules/magic-string": { + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "node_modules/vite-prerender-plugin/node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/vite/node_modules/@esbuild/aix-ppc64": { "version": "0.24.2", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz", diff --git a/package.json b/package.json index 4111cc0a..917cd2b3 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@lingui/detect-locale": "~5.1.2", "@lingui/macro": "~5.1.2", "@lingui/react": "~5.1.2", - "@szhsin/react-menu": "~4.2.4", + "@szhsin/react-menu": "~4.3.0", "chroma-js": "~3.1.2", "compare-versions": "~6.1.1", "fast-blurhash": "~1.1.4", @@ -37,14 +37,14 @@ "js-cookie": "~3.0.5", "just-debounce-it": "~3.2.0", "lz-string": "~1.5.0", - "masto": "~6.10.2", + "masto": "~6.10.3", "moize": "~6.1.6", "p-retry": "~6.2.1", "p-throttle": "~7.0.0", "preact": "~10.25.4", "punycode": "~2.3.1", "react-hotkeys-hook": "~4.6.1", - "react-intersection-observer": "~9.15.0", + "react-intersection-observer": "~9.15.1", "react-quick-pinch-zoom": "~5.1.0", "react-router-dom": "6.6.2", "string-length": "6.0.0", @@ -61,7 +61,7 @@ "@ianvs/prettier-plugin-sort-imports": "~4.4.1", "@lingui/cli": "~5.1.2", "@lingui/vite-plugin": "~5.1.2", - "@preact/preset-vite": "~2.9.4", + "@preact/preset-vite": "~2.10.0", "babel-plugin-macros": "~3.1.0", "postcss": "~8.5.1", "postcss-dark-theme-class": "~1.3.0", @@ -69,7 +69,7 @@ "prettier": "3.4.2", "sonda": "~0.7.1", "twitter-text": "~3.1.0", - "vite": "~6.0.7", + "vite": "~6.0.11", "vite-plugin-generate-file": "~0.2.0", "vite-plugin-html-config": "~2.0.2", "vite-plugin-pwa": "~0.21.1",