From aa607a379af3d8860c0ad606695a5b9a71f8234d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Dec 2025 17:31:55 +0000 Subject: [PATCH] [upd] web-client (simple): Bump the minor group Bumps the minor group in /client/simple with 6 updates: | Package | From | To | | --- | --- | --- | | [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) | `2.3.8` | `2.3.10` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.0.1` | `25.0.3` | | [edge.js](https://github.com/edge-js/edge) | `6.3.0` | `6.4.0` | | [less](https://github.com/less/less.js) | `4.4.2` | `4.5.1` | | [sort-package-json](https://github.com/keithamus/sort-package-json) | `3.5.1` | `3.6.0` | | [vite-bundle-analyzer](https://github.com/nonzzz/vite-bundle-analyzer) | `1.3.1` | `1.3.2` | Updates `@biomejs/biome` from 2.3.8 to 2.3.10 - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.10/packages/@biomejs/biome) Updates `@types/node` from 25.0.1 to 25.0.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `edge.js` from 6.3.0 to 6.4.0 - [Release notes](https://github.com/edge-js/edge/releases) - [Changelog](https://github.com/edge-js/edge/blob/6.x/CHANGELOG.md) - [Commits](https://github.com/edge-js/edge/compare/v6.3.0...v6.4.0) Updates `less` from 4.4.2 to 4.5.1 - [Release notes](https://github.com/less/less.js/releases) - [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/less/less.js/commits) Updates `sort-package-json` from 3.5.1 to 3.6.0 - [Release notes](https://github.com/keithamus/sort-package-json/releases) - [Commits](https://github.com/keithamus/sort-package-json/compare/v3.5.1...v3.6.0) Updates `vite-bundle-analyzer` from 1.3.1 to 1.3.2 - [Release notes](https://github.com/nonzzz/vite-bundle-analyzer/releases) - [Changelog](https://github.com/nonzzz/vite-bundle-analyzer/blob/master/CHANGELOG.md) - [Commits](https://github.com/nonzzz/vite-bundle-analyzer/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.3.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: "@types/node" dependency-version: 25.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: edge.js dependency-version: 6.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: less dependency-version: 4.5.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: sort-package-json dependency-version: 3.6.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: vite-bundle-analyzer dependency-version: 1.3.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor ... Signed-off-by: dependabot[bot] --- client/simple/biome.json | 7 +- client/simple/package-lock.json | 242 ++++++++++------------- client/simple/package.json | 12 +- client/simple/src/js/main/keyboard.ts | 6 +- client/simple/src/js/main/preferences.ts | 5 +- client/simple/src/js/main/results.ts | 5 +- 6 files changed, 119 insertions(+), 158 deletions(-) diff --git a/client/simple/biome.json b/client/simple/biome.json index 1e9b885d7..c1f371a82 100644 --- a/client/simple/biome.json +++ b/client/simple/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json", + "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json", "files": { "ignoreUnknown": true, "includes": ["**", "!node_modules"] @@ -52,9 +52,12 @@ "noParametersOnlyUsedInRecursion": "warn", "noUselessCatchBinding": "warn", "noUselessUndefined": "warn", + "useAwaitThenable": "off", + "useDestructuring": "warn", "useExhaustiveSwitchCases": "warn", "useExplicitType": "warn", - "useFind": "warn" + "useFind": "warn", + "useRegexpExec": "warn" }, "performance": { "noAwaitInLoops": "error", diff --git a/client/simple/package-lock.json b/client/simple/package-lock.json index 1cc18eeb4..39981ac59 100644 --- a/client/simple/package-lock.json +++ b/client/simple/package-lock.json @@ -15,22 +15,22 @@ "swiped-events": "1.2.0" }, "devDependencies": { - "@biomejs/biome": "2.3.8", - "@types/node": "~25.0.1", + "@biomejs/biome": "2.3.10", + "@types/node": "~25.0.3", "browserslist": "~4.28.1", "browserslist-to-esbuild": "~2.1.1", - "edge.js": "~6.3.0", - "less": "~4.4.2", + "edge.js": "~6.4.0", + "less": "~4.5.1", "mathjs": "~15.1.0", "sharp": "~0.34.5", - "sort-package-json": "~3.5.1", + "sort-package-json": "~3.6.0", "stylelint": "~16.26.0", "stylelint-config-standard-less": "~3.0.1", "stylelint-prettier": "~5.0.3", "svgo": "~4.0.0", "typescript": "~5.9.3", "vite": "8.0.0-beta.3", - "vite-bundle-analyzer": "~1.3.1" + "vite-bundle-analyzer": "~1.3.2" } }, "node_modules/@babel/code-frame": { @@ -69,9 +69,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.3.8.tgz", - "integrity": "sha512-Qjsgoe6FEBxWAUzwFGFrB+1+M8y/y5kwmg5CHac+GSVOdmOIqsAiXM5QMVGZJ1eCUCLlPZtq4aFAQ0eawEUuUA==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.3.10.tgz", + "integrity": "sha512-/uWSUd1MHX2fjqNLHNL6zLYWBbrJeG412/8H7ESuK8ewoRoMPUgHDebqKrPTx/5n6f17Xzqc9hdg3MEqA5hXnQ==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -85,20 +85,20 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.3.8", - "@biomejs/cli-darwin-x64": "2.3.8", - "@biomejs/cli-linux-arm64": "2.3.8", - "@biomejs/cli-linux-arm64-musl": "2.3.8", - "@biomejs/cli-linux-x64": "2.3.8", - "@biomejs/cli-linux-x64-musl": "2.3.8", - "@biomejs/cli-win32-arm64": "2.3.8", - "@biomejs/cli-win32-x64": "2.3.8" + "@biomejs/cli-darwin-arm64": "2.3.10", + "@biomejs/cli-darwin-x64": "2.3.10", + "@biomejs/cli-linux-arm64": "2.3.10", + "@biomejs/cli-linux-arm64-musl": "2.3.10", + "@biomejs/cli-linux-x64": "2.3.10", + "@biomejs/cli-linux-x64-musl": "2.3.10", + "@biomejs/cli-win32-arm64": "2.3.10", + "@biomejs/cli-win32-x64": "2.3.10" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.3.8.tgz", - "integrity": "sha512-HM4Zg9CGQ3txTPflxD19n8MFPrmUAjaC7PQdLkugeeC0cQ+PiVrd7i09gaBS/11QKsTDBJhVg85CEIK9f50Qww==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.3.10.tgz", + "integrity": "sha512-M6xUjtCVnNGFfK7HMNKa593nb7fwNm43fq1Mt71kpLpb+4mE7odO8W/oWVDyBVO4ackhresy1ZYO7OJcVo/B7w==", "cpu": [ "arm64" ], @@ -113,9 +113,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.8.tgz", - "integrity": "sha512-lUDQ03D7y/qEao7RgdjWVGCu+BLYadhKTm40HkpJIi6kn8LSv5PAwRlew/DmwP4YZ9ke9XXoTIQDO1vAnbRZlA==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.10.tgz", + "integrity": "sha512-Vae7+V6t/Avr8tVbFNjnFSTKZogZHFYl7MMH62P/J1kZtr0tyRQ9Fe0onjqjS2Ek9lmNLmZc/VR5uSekh+p1fg==", "cpu": [ "x64" ], @@ -130,9 +130,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.8.tgz", - "integrity": "sha512-Uo1OJnIkJgSgF+USx970fsM/drtPcQ39I+JO+Fjsaa9ZdCN1oysQmy6oAGbyESlouz+rzEckLTF6DS7cWse95g==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.10.tgz", + "integrity": "sha512-hhPw2V3/EpHKsileVOFynuWiKRgFEV48cLe0eA+G2wO4SzlwEhLEB9LhlSrVeu2mtSn205W283LkX7Fh48CaxA==", "cpu": [ "arm64" ], @@ -147,9 +147,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.8.tgz", - "integrity": "sha512-PShR4mM0sjksUMyxbyPNMxoKFPVF48fU8Qe8Sfx6w6F42verbwRLbz+QiKNiDPRJwUoMG1nPM50OBL3aOnTevA==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.10.tgz", + "integrity": "sha512-B9DszIHkuKtOH2IFeeVkQmSMVUjss9KtHaNXquYYWCjH8IstNgXgx5B0aSBQNr6mn4RcKKRQZXn9Zu1rM3O0/A==", "cpu": [ "arm64" ], @@ -164,9 +164,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.8.tgz", - "integrity": "sha512-QDPMD5bQz6qOVb3kiBui0zKZXASLo0NIQ9JVJio5RveBEFgDgsvJFUvZIbMbUZT3T00M/1wdzwWXk4GIh0KaAw==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.10.tgz", + "integrity": "sha512-wwAkWD1MR95u+J4LkWP74/vGz+tRrIQvr8kfMMJY8KOQ8+HMVleREOcPYsQX82S7uueco60L58Wc6M1I9WA9Dw==", "cpu": [ "x64" ], @@ -181,9 +181,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.8.tgz", - "integrity": "sha512-YGLkqU91r1276uwSjiUD/xaVikdxgV1QpsicT0bIA1TaieM6E5ibMZeSyjQ/izBn4tKQthUSsVZacmoJfa3pDA==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.10.tgz", + "integrity": "sha512-QTfHZQh62SDFdYc2nfmZFuTm5yYb4eO1zwfB+90YxUumRCR171tS1GoTX5OD0wrv4UsziMPmrePMtkTnNyYG3g==", "cpu": [ "x64" ], @@ -198,9 +198,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.8.tgz", - "integrity": "sha512-H4IoCHvL1fXKDrTALeTKMiE7GGWFAraDwBYFquE/L/5r1927Te0mYIGseXi4F+lrrwhSWbSGt5qPFswNoBaCxg==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.10.tgz", + "integrity": "sha512-o7lYc9n+CfRbHvkjPhm8s9FgbKdYZu5HCcGVMItLjz93EhgJ8AM44W+QckDqLA9MKDNFrR8nPbO4b73VC5kGGQ==", "cpu": [ "arm64" ], @@ -215,9 +215,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.8.tgz", - "integrity": "sha512-RguzimPoZWtBapfKhKjcWXBVI91tiSprqdBYu7tWhgN8pKRZhw24rFeNZTNf6UiBfjCYCi9eFQs/JzJZIhuK4w==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.10.tgz", + "integrity": "sha512-pHEFgq7dUEsKnqG9mx9bXihxGI49X+ar+UBrEIj3Wqj3UCZp1rNgV+OoyjFgcXsjCWpuEAF4VJdkZr3TrWdCbQ==", "cpu": [ "x64" ], @@ -1050,22 +1050,25 @@ "slugify": "^1.6.6" } }, + "node_modules/@poppinss/types": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@poppinss/types/-/types-1.2.1.tgz", + "integrity": "sha512-qUYnzl0m9HJTWsXtr8Xo7CwDx6wcjrvo14bOVbIMIlKJCzKrm3LX55dRTDr1/x4PpSvKVgmxvC6Ly2YiqXKOvQ==", + "dev": true, + "license": "MIT" + }, "node_modules/@poppinss/utils": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/@poppinss/utils/-/utils-6.10.1.tgz", - "integrity": "sha512-da+MMyeXhBaKtxQiWPfy7+056wk3lVIhioJnXHXkJ2/OHDaZfFcyKHNl1R06sdYO8lIRXcXdoZ6LO2ARmkAREA==", + "version": "7.0.0-next.4", + "resolved": "https://registry.npmjs.org/@poppinss/utils/-/utils-7.0.0-next.4.tgz", + "integrity": "sha512-rUuxnSpcJzUmGHw02x1bKKXkB+j84Lo/qKB42F8YYGoKN62jJ67FvSogxjgJqJYpIBpl7qoU4yb4aFc6ubsdjw==", "dev": true, "license": "MIT", "dependencies": { - "@poppinss/exception": "^1.2.1", + "@poppinss/exception": "^1.2.3", "@poppinss/object-builder": "^1.1.0", - "@poppinss/string": "^1.3.0", - "flattie": "^1.1.1", - "safe-stable-stringify": "^2.5.0", - "secure-json-parse": "^4.0.0" - }, - "engines": { - "node": ">=18.16.0" + "@poppinss/string": "^1.7.1", + "@poppinss/types": "^1.2.1", + "flattie": "^1.1.1" } }, "node_modules/@rolldown/binding-android-arm64": { @@ -1435,9 +1438,9 @@ } }, "node_modules/@types/node": { - "version": "25.0.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.1.tgz", - "integrity": "sha512-czWPzKIAXucn9PtsttxmumiQ9N0ok9FrBwgRWrwmVLlp86BrMExzvXRLFYRJ+Ex3g6yqj+KuaxfX1JTgV2lpfg==", + "version": "25.0.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.3.tgz", + "integrity": "sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA==", "dev": true, "license": "MIT", "peer": true, @@ -1559,9 +1562,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.9.7", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.7.tgz", - "integrity": "sha512-k9xFKplee6KIio3IDbwj+uaCLpqzOwakOgmqzPezM0sFJlFKcg30vk2wOiAJtkTSfx0SSQDSe8q+mWA/fSH5Zg==", + "version": "2.9.11", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.11.tgz", + "integrity": "sha512-Sg0xJUNDU1sJNGdfGWhVHX0kkZ+HWcvmVymJbj6NSgZZmW/8S9Y2HQ5euytnIgakgxN6papOAWiwDo1ctFDcoQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -1643,17 +1646,17 @@ } }, "node_modules/cacheable": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.3.0.tgz", - "integrity": "sha512-HHiAvOBmlcR2f3SQ7kdlYD8+AUJG+wlFZ/Ze8tl1Vzvz0MdOh8IYA/EFU4ve8t1/sZ0j4MGi7ST5MoTwHessQA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.3.1.tgz", + "integrity": "sha512-yr+FSHWn1ZUou5LkULX/S+jhfgfnLbuKQjE40tyEd4fxGZVMbBL5ifno0J0OauykS8UiCSgHi+DV/YD+rjFxFg==", "dev": true, "license": "MIT", "dependencies": { "@cacheable/memory": "^2.0.6", "@cacheable/utils": "^2.3.2", - "hookified": "^1.13.0", - "keyv": "^5.5.4", - "qified": "^0.5.2" + "hookified": "^1.14.0", + "keyv": "^5.5.5", + "qified": "^0.5.3" } }, "node_modules/callsites": { @@ -1667,9 +1670,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001760", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001760.tgz", - "integrity": "sha512-7AAMPcueWELt1p3mi13HR/LHH0TJLT11cnwDJEs3xA4+CK/PLKeO9Kl1oru24htkyUKtkGCvAx4ohB0Ttry8Dw==", + "version": "1.0.30001761", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001761.tgz", + "integrity": "sha512-JF9ptu1vP2coz98+5051jZ4PwQgd2ni8A+gYSN7EA7dPKIMf0pDlSUxhdmVOaV3/fYK5uWBkgSXJaRLr4+3A6g==", "dev": true, "funding": [ { @@ -1700,13 +1703,6 @@ "url": "https://github.com/sponsors/mesqueeb" } }, - "node_modules/classnames": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", - "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==", - "dev": true, - "license": "MIT" - }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -2051,9 +2047,9 @@ } }, "node_modules/edge-lexer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/edge-lexer/-/edge-lexer-6.0.3.tgz", - "integrity": "sha512-/s15CNnfhZv97bsW+ZgV5rtONULYjhCDYu+usbVLqZ8UQ6b/hQUNvQSIQBXA6Gql9dm72TMBB9sb/eWM2esufg==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/edge-lexer/-/edge-lexer-6.0.4.tgz", + "integrity": "sha512-rHlTSZUQfBu/fwnAjoaLCGGmDzpRPgUC8FEqNdJtpPEjBRCqU3a4Le7iJ8KSQfY2WvWx6NTGAwti62xj3eIz1w==", "dev": true, "license": "MIT", "dependencies": { @@ -2064,16 +2060,16 @@ } }, "node_modules/edge-parser": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/edge-parser/-/edge-parser-9.0.4.tgz", - "integrity": "sha512-vnjzfpqpjM4Mjt9typc1zLoFpC1F6kAObfcdyA6rSy+izIPji2RaQz5jWx5s5iG9hNcuyjtNyGRCLFVfoYhWcA==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/edge-parser/-/edge-parser-9.1.0.tgz", + "integrity": "sha512-Z7sEbRNjjGuUVch3ELHMbjgksVjQlAjUASCwUWe+1I+nJ0mVBmUD2rn6zyes/+EjLssvEGQcIWMjLMNn1ChXgQ==", "dev": true, "license": "MIT", "dependencies": { - "acorn": "^8.14.0", + "acorn": "^8.15.0", "astring": "^1.9.0", "edge-error": "^4.0.2", - "edge-lexer": "^6.0.3", + "edge-lexer": "^6.0.4", "js-stringify": "^1.0.2" }, "engines": { @@ -2081,23 +2077,20 @@ } }, "node_modules/edge.js": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/edge.js/-/edge.js-6.3.0.tgz", - "integrity": "sha512-Xm7XW6J2+6cvfRK6AJEKV5hBF230iCvwQRg5wattg+RAzQ6tRwWSe4gqCsvvCaHt4xp10xkm8+ZdhApF1FVCzA==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/edge.js/-/edge.js-6.4.0.tgz", + "integrity": "sha512-c19PeUKrADqu+XBr8wSKdjqW/L65xiEfBMh9nbTx6ieF3SV7Ajb3PdfvrYPuLnobgs/bwtem1+InYVFSaWPc1A==", "dev": true, "license": "MIT", "dependencies": { "@poppinss/inspect": "^1.0.1", - "@poppinss/macroable": "^1.0.4", - "@poppinss/utils": "^6.9.2", - "classnames": "^2.5.1", + "@poppinss/macroable": "^1.1.0", + "@poppinss/utils": "^7.0.0-next.4", "edge-error": "^4.0.2", - "edge-lexer": "^6.0.3", + "edge-lexer": "^6.0.4", "edge-parser": "^9.0.4", - "fs-readdir-recursive": "^1.1.0", "he": "^1.2.0", - "js-stringify": "^1.0.2", - "property-information": "^6.5.0", + "property-information": "^7.1.0", "stringify-attributes": "^4.0.0" }, "engines": { @@ -2329,13 +2322,6 @@ "url": "https://github.com/sponsors/rawify" } }, - "node_modules/fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true, - "license": "MIT" - }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -2781,10 +2767,11 @@ "license": "Apache-2.0" }, "node_modules/less": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/less/-/less-4.4.2.tgz", - "integrity": "sha512-j1n1IuTX1VQjIy3tT7cyGbX7nvQOsFLoIqobZv4ttI5axP923gA44zUj6miiA6R5Aoms4sEGVIIcucXUbRI14g==", + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/less/-/less-4.5.1.tgz", + "integrity": "sha512-UKgI3/KON4u6ngSsnDADsUERqhZknsVZbnuzlRZXLQCmfC/MDld42fTydUE9B+Mla1AL6SJ/Pp6SlEFi/AVGfw==", "dev": true, + "hasInstallScript": true, "license": "Apache-2.0", "peer": true, "dependencies": { @@ -3535,9 +3522,9 @@ } }, "node_modules/property-information": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", - "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz", + "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==", "dev": true, "license": "MIT", "funding": { @@ -3716,16 +3703,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/safe-stable-stringify": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", - "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -3741,23 +3718,6 @@ "dev": true, "license": "BlueOak-1.0.0" }, - "node_modules/secure-json-parse": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-4.1.0.tgz", - "integrity": "sha512-l4KnYfEyqYJxDwlNVyRfO2E4NTHfMKAWdUuA8J0yve2Dz/E/PdBepY03RvyJpssIpRFwJoCD55wA+mEDs6ByWA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, "node_modules/seedrandom": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz", @@ -3893,9 +3853,9 @@ "license": "MIT" }, "node_modules/sort-package-json": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.5.1.tgz", - "integrity": "sha512-LfwyHQuTnJ3336Sexi6yDz1QxvSjXKbc78pOw2HQy8BJHFXzONu+zLvLald0NpLWM0exsYyI7M8PeJAngNgpbA==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.6.0.tgz", + "integrity": "sha512-fyJsPLhWvY7u2KsKPZn1PixbXp+1m7V8NWqU8CvgFRbMEX41Ffw1kD8n0CfJiGoaSfoAvbrqRRl/DcHO8omQOQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4363,9 +4323,9 @@ "license": "MIT" }, "node_modules/update-browserslist-db": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.2.tgz", - "integrity": "sha512-E85pfNzMQ9jpKkA7+TJAi4TJN+tBCuWh5rUcS/sv6cFi+1q9LYDwDI5dpUL0u/73EElyQ8d3TEaeW4sPedBqYA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", "dev": true, "funding": [ { @@ -4477,9 +4437,9 @@ } }, "node_modules/vite-bundle-analyzer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/vite-bundle-analyzer/-/vite-bundle-analyzer-1.3.1.tgz", - "integrity": "sha512-39J8a+d1KTi9fPt0a7MqqEJibMekdIDCW2nohiyQPSiww+xEBRHKSX4fdpwSvia9KDiFg7THjQRTs0xefzB+lg==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/vite-bundle-analyzer/-/vite-bundle-analyzer-1.3.2.tgz", + "integrity": "sha512-Od4ILUKRvBV3LuO/E+S+c1XULlxdkRZPSf6Vzzu+UAXG0D3hZYUu9imZIkSj/PU4e1FB14yB+av8g3KiljH8zQ==", "dev": true, "license": "MIT", "bin": { diff --git a/client/simple/package.json b/client/simple/package.json index cead91f4d..646a918de 100644 --- a/client/simple/package.json +++ b/client/simple/package.json @@ -29,21 +29,21 @@ "swiped-events": "1.2.0" }, "devDependencies": { - "@biomejs/biome": "2.3.8", - "@types/node": "~25.0.1", + "@biomejs/biome": "2.3.10", + "@types/node": "~25.0.3", "browserslist": "~4.28.1", "browserslist-to-esbuild": "~2.1.1", - "edge.js": "~6.3.0", - "less": "~4.4.2", + "edge.js": "~6.4.0", + "less": "~4.5.1", "mathjs": "~15.1.0", "sharp": "~0.34.5", - "sort-package-json": "~3.5.1", + "sort-package-json": "~3.6.0", "stylelint": "~16.26.0", "stylelint-config-standard-less": "~3.0.1", "stylelint-prettier": "~5.0.3", "svgo": "~4.0.0", "typescript": "~5.9.3", "vite": "8.0.0-beta.3", - "vite-bundle-analyzer": "~1.3.1" + "vite-bundle-analyzer": "~1.3.2" } } diff --git a/client/simple/src/js/main/keyboard.ts b/client/simple/src/js/main/keyboard.ts index 7a8fa8e28..f16b27c0f 100644 --- a/client/simple/src/js/main/keyboard.ts +++ b/client/simple/src/js/main/keyboard.ts @@ -220,7 +220,7 @@ const highlightResult = // biome-ignore lint/complexity/noUselessSwitchCase: fallthrough is intended case "top": default: - next = results[0]; + [next] = results; } } @@ -343,7 +343,7 @@ const initHelpContent = (divElement: HTMLElement, keyBindings: typeof baseKeyBin const categories: Record = {}; for (const binding of Object.values(keyBindings)) { - const cat = binding.cat; + const { cat } = binding; categories[cat] ??= []; categories[cat].push(binding); } @@ -400,7 +400,7 @@ const toggleHelp = (keyBindings: typeof baseKeyBinding): void => { className: "dialog-modal" }); initHelpContent(helpPanel, keyBindings); - const body = document.getElementsByTagName("body")[0]; + const [body] = document.getElementsByTagName("body"); if (body) { body.appendChild(helpPanel); } diff --git a/client/simple/src/js/main/preferences.ts b/client/simple/src/js/main/preferences.ts index eb8974bf2..1db676753 100644 --- a/client/simple/src/js/main/preferences.ts +++ b/client/simple/src/js/main/preferences.ts @@ -70,8 +70,7 @@ listen("click", "#copy-hash", async function (this: HTMLElement) { } } - const copiedText = this.dataset.copiedText; - if (copiedText) { - this.innerText = copiedText; + if (this.dataset.copiedText) { + this.innerText = this.dataset.copiedText; } }); diff --git a/client/simple/src/js/main/results.ts b/client/simple/src/js/main/results.ts index b59032a2c..0f8692345 100644 --- a/client/simple/src/js/main/results.ts +++ b/client/simple/src/js/main/results.ts @@ -135,9 +135,8 @@ listen("click", "#copy_url", async function (this: HTMLElement) { } } - const copiedText = this.dataset.copiedText; - if (copiedText) { - this.innerText = copiedText; + if (this.dataset.copiedText) { + this.innerText = this.dataset.copiedText; } });