Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add identity generator dict loader and test packages (#581)
Leendert de Borst4c45047d239e
diff --git a/browser-extension/package-lock.json b/browser-extension/package-lock.jsonindex d320641ab..acff76d77 100644--- a/browser-extension/package-lock.json+++ b/browser-extension/package-lock.json@@ -16,12 +16,14 @@"react-router-dom": "^7.1.4","secure-remote-password": "github:LinusU/secure-remote-password#73e5f732b6ca0cdbdc19da1a0c5f48cdbad2cbf0","sql.js": "^1.12.0",+ "vitest": "^3.0.8","webext-bridge": "^6.0.1"},"devDependencies": {"@types/chrome": "^0.0.280","@types/react": "^19.0.1","@types/react-dom": "^19.0.2",+ "@vitest/coverage-v8": "^3.0.8","@wxt-dev/module-react": "^1.1.2","autoprefixer": "^10.4.20","jsdom": "^26.0.0",@@ -158,7 +160,7 @@"version": "2.8.3","resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-2.8.3.tgz","integrity": "sha512-GIc76d9UI1hCvOATjZPyHFmE5qhRccp3/zGfMPapK3jBi+yocEzp6BBB0UnfRYP9NP4FANqUZYb0hnfs3TM3hw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"@csstools/css-calc": "^2.1.1",@@ -172,7 +174,7 @@"version": "10.4.3","resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz","integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",- "dev": true,+ "devOptional": true,"license": "ISC"},"node_modules/@babel/code-frame": {@@ -460,11 +462,21 @@"node": ">=6.9.0"}},+ "node_modules/@bcoe/v8-coverage": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz",+ "integrity": "sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },"node_modules/@csstools/color-helpers": {"version": "5.0.2","resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.0.2.tgz","integrity": "sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -484,7 +496,7 @@"version": "2.1.2","resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-2.1.2.tgz","integrity": "sha512-TklMyb3uBB28b5uQdxjReG4L80NxAqgrECqLZFQbyLekwwlcDDS8r3f07DKqeo8C4926Br0gf/ZDe17Zv4wIuw==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -508,7 +520,7 @@"version": "3.0.8","resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.0.8.tgz","integrity": "sha512-pdwotQjCCnRPuNi06jFuP68cykU1f3ZWExLe/8MQ1LOs8Xq+fTkYgd+2V8mWUWMrOn9iS2HftPVaMZDaXzGbhQ==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -536,7 +548,7 @@"version": "3.0.4","resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.4.tgz","integrity": "sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -559,7 +571,7 @@"version": "3.0.3","resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.3.tgz","integrity": "sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -642,7 +654,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -659,7 +670,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -676,7 +686,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -693,7 +702,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -710,7 +718,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -727,7 +734,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -744,7 +750,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -761,7 +766,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -778,7 +782,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -795,7 +798,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -812,7 +814,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -829,7 +830,6 @@"cpu": ["loong64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -846,7 +846,6 @@"cpu": ["mips64el"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -863,7 +862,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -880,7 +878,6 @@"cpu": ["riscv64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -897,7 +894,6 @@"cpu": ["s390x"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -914,7 +910,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -931,7 +926,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -948,7 +942,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -965,7 +958,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -982,7 +974,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -999,7 +990,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1016,7 +1006,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1033,7 +1022,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1050,7 +1038,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1121,6 +1108,16 @@"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},+ "node_modules/@istanbuljs/schema": {+ "version": "0.1.3",+ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",+ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },"node_modules/@jridgewell/gen-mapping": {"version": "0.3.8","resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",@@ -1160,7 +1157,6 @@"version": "1.5.0","resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz","integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",- "dev": true,"license": "MIT"},"node_modules/@jridgewell/trace-mapping": {@@ -1318,7 +1314,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1332,7 +1327,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1346,7 +1340,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1360,7 +1353,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1374,7 +1366,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1388,7 +1379,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1402,7 +1392,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1416,7 +1405,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1430,7 +1418,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1444,7 +1431,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1458,7 +1444,6 @@"cpu": ["loong64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1472,7 +1457,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1486,7 +1470,6 @@"cpu": ["riscv64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1500,7 +1483,6 @@"cpu": ["s390x"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1514,7 +1496,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1528,7 +1509,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1542,7 +1522,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1556,7 +1535,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1570,7 +1548,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1669,7 +1646,6 @@"version": "1.0.6","resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz","integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",- "dev": true,"license": "MIT"},"node_modules/@types/filesystem": {@@ -1714,7 +1690,7 @@"version": "22.13.9","resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.9.tgz","integrity": "sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"undici-types": "~6.20.0"@@ -1778,6 +1754,145 @@"vite": "^4.2.0 || ^5.0.0 || ^6.0.0"}},+ "node_modules/@vitest/coverage-v8": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-3.0.8.tgz",+ "integrity": "sha512-y7SAKsQirsEJ2F8bulBck4DoluhI2EEgTimHd6EEUgJBGKy9tC25cpywh1MH4FvDGoG2Unt7+asVd1kj4qOSAw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@ampproject/remapping": "^2.3.0",+ "@bcoe/v8-coverage": "^1.0.2",+ "debug": "^4.4.0",+ "istanbul-lib-coverage": "^3.2.2",+ "istanbul-lib-report": "^3.0.1",+ "istanbul-lib-source-maps": "^5.0.6",+ "istanbul-reports": "^3.1.7",+ "magic-string": "^0.30.17",+ "magicast": "^0.3.5",+ "std-env": "^3.8.0",+ "test-exclude": "^7.0.1",+ "tinyrainbow": "^2.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ },+ "peerDependencies": {+ "@vitest/browser": "3.0.8",+ "vitest": "3.0.8"+ },+ "peerDependenciesMeta": {+ "@vitest/browser": {+ "optional": true+ }+ }+ },+ "node_modules/@vitest/expect": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.0.8.tgz",+ "integrity": "sha512-Xu6TTIavTvSSS6LZaA3EebWFr6tsoXPetOWNMOlc7LO88QVVBwq2oQWBoDiLCN6YTvNYsGSjqOO8CAdjom5DCQ==",+ "license": "MIT",+ "dependencies": {+ "@vitest/spy": "3.0.8",+ "@vitest/utils": "3.0.8",+ "chai": "^5.2.0",+ "tinyrainbow": "^2.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ }+ },+ "node_modules/@vitest/mocker": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.0.8.tgz",+ "integrity": "sha512-n3LjS7fcW1BCoF+zWZxG7/5XvuYH+lsFg+BDwwAz0arIwHQJFUEsKBQ0BLU49fCxuM/2HSeBPHQD8WjgrxMfow==",+ "license": "MIT",+ "dependencies": {+ "@vitest/spy": "3.0.8",+ "estree-walker": "^3.0.3",+ "magic-string": "^0.30.17"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ },+ "peerDependencies": {+ "msw": "^2.4.9",+ "vite": "^5.0.0 || ^6.0.0"+ },+ "peerDependenciesMeta": {+ "msw": {+ "optional": true+ },+ "vite": {+ "optional": true+ }+ }+ },+ "node_modules/@vitest/pretty-format": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.0.8.tgz",+ "integrity": "sha512-BNqwbEyitFhzYMYHUVbIvepOyeQOSFA/NeJMIP9enMntkkxLgOcgABH6fjyXG85ipTgvero6noreavGIqfJcIg==",+ "license": "MIT",+ "dependencies": {+ "tinyrainbow": "^2.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ }+ },+ "node_modules/@vitest/runner": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.0.8.tgz",+ "integrity": "sha512-c7UUw6gEcOzI8fih+uaAXS5DwjlBaCJUo7KJ4VvJcjL95+DSR1kova2hFuRt3w41KZEFcOEiq098KkyrjXeM5w==",+ "license": "MIT",+ "dependencies": {+ "@vitest/utils": "3.0.8",+ "pathe": "^2.0.3"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ }+ },+ "node_modules/@vitest/snapshot": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.0.8.tgz",+ "integrity": "sha512-x8IlMGSEMugakInj44nUrLSILh/zy1f2/BgH0UeHpNyOocG18M9CWVIFBaXPt8TrqVZWmcPjwfG/ht5tnpba8A==",+ "license": "MIT",+ "dependencies": {+ "@vitest/pretty-format": "3.0.8",+ "magic-string": "^0.30.17",+ "pathe": "^2.0.3"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ }+ },+ "node_modules/@vitest/spy": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.0.8.tgz",+ "integrity": "sha512-MR+PzJa+22vFKYb934CejhR4BeRpMSoxkvNoDit68GQxRLSf11aT6CTj3XaqUU9rxgWJFnqicN/wxw6yBRkI1Q==",+ "license": "MIT",+ "dependencies": {+ "tinyspy": "^3.0.2"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ }+ },+ "node_modules/@vitest/utils": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.0.8.tgz",+ "integrity": "sha512-nkBC3aEhfX2PdtQI/QwAWp8qZWwzASsU4Npbcd5RdMPBSSLCpkZp52P3xku3s3uA0HIEhGvEcF8rNkBsz9dQ4Q==",+ "license": "MIT",+ "dependencies": {+ "@vitest/pretty-format": "3.0.8",+ "loupe": "^3.1.3",+ "tinyrainbow": "^2.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ }+ },"node_modules/@webext-core/fake-browser": {"version": "1.3.2","resolved": "https://registry.npmjs.org/@webext-core/fake-browser/-/fake-browser-1.3.2.tgz",@@ -1856,7 +1971,7 @@"version": "7.1.3","resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz","integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 14"@@ -2035,6 +2150,15 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/assertion-error": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",+ "license": "MIT",+ "engines": {+ "node": ">=12"+ }+ },"node_modules/async": {"version": "3.2.6","resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",@@ -2056,7 +2180,7 @@"version": "0.4.0","resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz","integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/at-least-node": {@@ -2500,7 +2624,6 @@"version": "6.7.14","resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz","integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",- "dev": true,"license": "MIT","engines": {"node": ">=8"@@ -2552,7 +2675,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz","integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -2606,6 +2729,22 @@],"license": "CC-BY-4.0"},+ "node_modules/chai": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.2.0.tgz",+ "integrity": "sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==",+ "license": "MIT",+ "dependencies": {+ "assertion-error": "^2.0.1",+ "check-error": "^2.1.1",+ "deep-eql": "^5.0.1",+ "loupe": "^3.1.0",+ "pathval": "^2.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },"node_modules/chalk": {"version": "5.4.1","resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz",@@ -2619,6 +2758,15 @@"url": "https://github.com/chalk/chalk?sponsor=1"}},+ "node_modules/check-error": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz",+ "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==",+ "license": "MIT",+ "engines": {+ "node": ">= 16"+ }+ },"node_modules/chokidar": {"version": "4.0.3","resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",@@ -3105,7 +3253,7 @@"version": "1.0.8","resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz","integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"delayed-stream": "~1.0.0"@@ -3338,7 +3486,7 @@"version": "4.2.1","resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.2.1.tgz","integrity": "sha512-9+vem03dMXG7gDmZ62uqmRiMRNtinIZ9ZyuF6BdxzfOD+FdN5hretzynkn0ReS2DO2GSw76RWHs0UmJPI2zUjw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"@asamuzakjp/css-color": "^2.8.2",@@ -3359,7 +3507,7 @@"version": "5.0.0","resolved": "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz","integrity": "sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"whatwg-mimetype": "^4.0.0",@@ -3380,7 +3528,6 @@"version": "4.4.0","resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz","integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",- "dev": true,"license": "MIT","dependencies": {"ms": "^2.1.3"@@ -3398,7 +3545,7 @@"version": "10.5.0","resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.5.0.tgz","integrity": "sha512-8vDa8Qxvr/+d94hSh5P3IJwI5t8/c0KsMp+g8bNw9cY2icONa5aPfvKeieW1WlG0WQYwwhJ7mjui2xtiePQSXw==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/decompress-response": {@@ -3430,6 +3577,15 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/deep-eql": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },"node_modules/deep-extend": {"version": "0.6.0","resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",@@ -3517,7 +3673,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz","integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">=0.4.0"@@ -3677,7 +3833,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz","integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"call-bind-apply-helpers": "^1.0.1",@@ -3729,7 +3885,7 @@"version": "4.5.0","resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz","integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",- "dev": true,+ "devOptional": true,"license": "BSD-2-Clause","engines": {"node": ">=0.12"@@ -3765,7 +3921,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz","integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -3775,7 +3931,7 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz","integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -3785,14 +3941,13 @@"version": "1.6.0","resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.6.0.tgz","integrity": "sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ==",- "dev": true,"license": "MIT"},"node_modules/es-object-atoms": {"version": "1.1.1","resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz","integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0"@@ -3805,7 +3960,7 @@"version": "2.1.0","resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz","integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -3828,7 +3983,6 @@"version": "0.25.0","resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.0.tgz","integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==",- "dev": true,"hasInstallScript": true,"license": "MIT","bin": {@@ -3905,7 +4059,6 @@"version": "3.0.3","resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz","integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",- "dev": true,"license": "MIT","dependencies": {"@types/estree": "^1.0.0"@@ -3942,6 +4095,15 @@"url": "https://github.com/sindresorhus/execa?sponsor=1"}},+ "node_modules/expect-type": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.2.0.tgz",+ "integrity": "sha512-80F22aiJ3GLyVnS/B3HzgR6RelZVumzj9jkL0Rhz4h0xYbNW9PjlQz5h3J/SShErbXBc295vseR4/MIbVmUbeA==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=12.0.0"+ }+ },"node_modules/exsolve": {"version": "1.0.2","resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.0.2.tgz",@@ -4110,7 +4272,7 @@"version": "4.0.2","resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz","integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"asynckit": "^0.4.0",@@ -4208,7 +4370,6 @@"version": "2.3.3","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz","integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",- "dev": true,"hasInstallScript": true,"license": "MIT","optional": true,@@ -4223,7 +4384,7 @@"version": "1.1.2","resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz","integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",- "dev": true,+ "devOptional": true,"license": "MIT","funding": {"url": "https://github.com/sponsors/ljharb"@@ -4318,7 +4479,7 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz","integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"call-bind-apply-helpers": "^1.0.2",@@ -4350,7 +4511,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz","integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"dunder-proto": "^1.0.1",@@ -4520,7 +4681,7 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz","integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -4603,7 +4764,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz","integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -4616,7 +4777,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz","integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"has-symbols": "^1.0.3"@@ -4645,7 +4806,7 @@"version": "2.0.2","resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz","integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"function-bind": "^1.1.2"@@ -4681,7 +4842,7 @@"version": "4.0.0","resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz","integrity": "sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"whatwg-encoding": "^3.1.1"@@ -4741,7 +4902,7 @@"version": "7.0.2","resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz","integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"agent-base": "^7.1.0",@@ -4769,7 +4930,7 @@"version": "7.0.6","resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz","integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"agent-base": "^7.1.2",@@ -4793,7 +4954,7 @@"version": "0.6.3","resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz","integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"safer-buffer": ">= 2.1.2 < 3.0.0"@@ -5129,7 +5290,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz","integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/is-primitive": {@@ -5234,6 +5395,67 @@"node": ">=0.10.0"}},+ "node_modules/istanbul-lib-coverage": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",+ "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",+ "dev": true,+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/istanbul-lib-report": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",+ "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "istanbul-lib-coverage": "^3.0.0",+ "make-dir": "^4.0.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/istanbul-lib-source-maps": {+ "version": "5.0.6",+ "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz",+ "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "@jridgewell/trace-mapping": "^0.3.23",+ "debug": "^4.1.1",+ "istanbul-lib-coverage": "^3.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/istanbul-reports": {+ "version": "3.1.7",+ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz",+ "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "html-escaper": "^2.0.0",+ "istanbul-lib-report": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/istanbul-reports/node_modules/html-escaper": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",+ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",+ "dev": true,+ "license": "MIT"+ },"node_modules/jackspeak": {"version": "3.4.3","resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",@@ -5254,7 +5476,7 @@"version": "2.4.2","resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz","integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==",- "dev": true,+ "devOptional": true,"license": "MIT","bin": {"jiti": "lib/jiti-cli.mjs"@@ -5277,7 +5499,7 @@"version": "26.0.0","resolved": "https://registry.npmjs.org/jsdom/-/jsdom-26.0.0.tgz","integrity": "sha512-BZYDGVAIriBWTpIxYzrXjv3E/4u8+/pSG5bQdIYCbNCGOvsPkDQfTVLAIXAf9ETdCpduCVTkDe2NNZ8NIwUVzw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"cssstyle": "^4.2.1",@@ -5318,7 +5540,7 @@"version": "7.2.1","resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.1.tgz","integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"entities": "^4.5.0"@@ -5654,6 +5876,12 @@"url": "https://github.com/chalk/slice-ansi?sponsor=1"}},+ "node_modules/loupe": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.3.tgz",+ "integrity": "sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==",+ "license": "MIT"+ },"node_modules/lowercase-keys": {"version": "3.0.0","resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz",@@ -5681,7 +5909,6 @@"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,"license": "MIT","dependencies": {"@jridgewell/sourcemap-codec": "^1.5.0"@@ -5699,6 +5926,35 @@"source-map-js": "^1.2.0"}},+ "node_modules/make-dir": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",+ "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "semver": "^7.5.3"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/make-dir/node_modules/semver": {+ "version": "7.7.1",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",+ "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",+ "dev": true,+ "license": "ISC",+ "bin": {+ "semver": "bin/semver.js"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/make-error": {"version": "1.3.6","resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",@@ -5727,7 +5983,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz","integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -5768,7 +6024,7 @@"version": "1.52.0","resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz","integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.6"@@ -5778,7 +6034,7 @@"version": "2.1.35","resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz","integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"mime-db": "1.52.0"@@ -5949,7 +6205,6 @@"version": "2.1.3","resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz","integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",- "dev": true,"license": "MIT"},"node_modules/multimatch": {@@ -6071,7 +6326,6 @@"version": "3.3.8","resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz","integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==",- "dev": true,"funding": [{"type": "github",@@ -6257,7 +6511,7 @@"version": "2.2.18","resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.18.tgz","integrity": "sha512-p1TRH/edngVEHVbwqWnxUViEmq5znDvyB+Sik5cmuLpGOIfDf/39zLiq3swPF8Vakqn+gvNiOQAZu8djYlQILA==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/nypm": {@@ -6599,9 +6853,17 @@"version": "2.0.3","resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz","integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",- "dev": true,"license": "MIT"},+ "node_modules/pathval": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz",+ "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==",+ "license": "MIT",+ "engines": {+ "node": ">= 14.16"+ }+ },"node_modules/pend": {"version": "1.2.0","resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",@@ -6620,7 +6882,6 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz","integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",- "dev": true,"license": "ISC"},"node_modules/picomatch": {@@ -6679,7 +6940,6 @@"version": "8.5.3","resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz","integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==",- "dev": true,"funding": [{"type": "opencollective",@@ -7296,7 +7556,7 @@"version": "2.3.1","resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz","integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">=6"@@ -7684,7 +7944,6 @@"version": "4.34.9","resolved": "https://registry.npmjs.org/rollup/-/rollup-4.34.9.tgz","integrity": "sha512-nF5XYqWWp9hx/LrpC8sZvvvmq0TeTjQgaZHYmAgwysT9nh8sWnZhBnM8ZyVbbJFIQBLwHDNoMqsBZBbUo4U8sQ==",- "dev": true,"license": "MIT","dependencies": {"@types/estree": "1.0.6"@@ -7723,7 +7982,7 @@"version": "0.8.0","resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz","integrity": "sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/run-applescript": {@@ -7782,7 +8041,7 @@"version": "2.1.2","resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz","integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/sax": {@@ -7796,7 +8055,7 @@"version": "6.0.0","resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz","integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==",- "dev": true,+ "devOptional": true,"license": "ISC","dependencies": {"xmlchars": "^2.2.0"@@ -7968,6 +8227,12 @@"dev": true,"license": "MIT"},+ "node_modules/siginfo": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",+ "license": "ISC"+ },"node_modules/signal-exit": {"version": "4.1.0","resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",@@ -8019,7 +8284,6 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz","integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",- "dev": true,"license": "BSD-3-Clause","engines": {"node": ">=0.10.0"@@ -8077,6 +8341,18 @@"integrity": "sha512-Bi+43yMx/tUFZVYD4AUscmdL6NHn3gYQ+CM+YheFWLftOmrEC/Mz6Yh7E96Y2WDHYz3COSqT+LP6Z79zgrwJlA==","license": "MIT"},+ "node_modules/stackback": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",+ "license": "MIT"+ },+ "node_modules/std-env": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.8.1.tgz",+ "integrity": "sha512-vj5lIj3Mwf9D79hBkltk5qmkFI+biIKWS2IBxEyEU3AX1tUf7AoL8nSazCOiiqQsGKIq01SClsKEzweu34uwvA==",+ "license": "MIT"+ },"node_modules/stdin-discarder": {"version": "0.2.2","resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz",@@ -8390,7 +8666,7 @@"version": "3.2.4","resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz","integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/tailwindcss": {@@ -8530,6 +8806,68 @@"dev": true,"license": "ISC"},+ "node_modules/test-exclude": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz",+ "integrity": "sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "@istanbuljs/schema": "^0.1.2",+ "glob": "^10.4.1",+ "minimatch": "^9.0.4"+ },+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/test-exclude/node_modules/glob": {+ "version": "10.4.5",+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",+ "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "foreground-child": "^3.1.0",+ "jackspeak": "^3.1.2",+ "minimatch": "^9.0.4",+ "minipass": "^7.1.2",+ "package-json-from-dist": "^1.0.0",+ "path-scurry": "^1.11.1"+ },+ "bin": {+ "glob": "dist/esm/bin.mjs"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/test-exclude/node_modules/minimatch": {+ "version": "9.0.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "brace-expansion": "^2.0.1"+ },+ "engines": {+ "node": ">=16 || 14 >=14.17"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/test-exclude/node_modules/minipass": {+ "version": "7.1.2",+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",+ "dev": true,+ "license": "ISC",+ "engines": {+ "node": ">=16 || 14 >=14.17"+ }+ },"node_modules/thenify": {"version": "3.3.1","resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",@@ -8566,13 +8904,45 @@"integrity": "sha512-0beRFXR+fv4C40ND2PqgNjq6iyB1dKXciKJjslLw0kPYCcR82aNd2b+Tt2yy06LimIlvtoehgvrm/fUZCutSfg==","license": "MIT"},+ "node_modules/tinybench": {+ "version": "2.9.0",+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",+ "license": "MIT"+ },"node_modules/tinyexec": {"version": "0.3.2","resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz","integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",- "dev": true,"license": "MIT"},+ "node_modules/tinypool": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.0.2.tgz",+ "integrity": "sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==",+ "license": "MIT",+ "engines": {+ "node": "^18.0.0 || >=20.0.0"+ }+ },+ "node_modules/tinyrainbow": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",+ "license": "MIT",+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/tinyspy": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz",+ "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==",+ "license": "MIT",+ "engines": {+ "node": ">=14.0.0"+ }+ },"node_modules/titleize": {"version": "3.0.0","resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz",@@ -8590,7 +8960,7 @@"version": "6.1.83","resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.83.tgz","integrity": "sha512-FHxxNJJ0WNsEBPHyC1oesQb3rRoxpuho/z2g3zIIAhw1WHJeQsUzK1jYK8TI1/iClaa4fS3Z2TCA9mtxXsENSg==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"tldts-core": "^6.1.83"@@ -8603,7 +8973,7 @@"version": "6.1.83","resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.83.tgz","integrity": "sha512-I2wb9OJc6rXyh9d4aInhSNWChNI+ra6qDnFEGEwe9OoA68lE4Temw29bOkf1Uvwt8VZS079t1BFZdXVBmmB4dw==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/tmp": {@@ -8633,7 +9003,7 @@"version": "5.1.2","resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz","integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==",- "dev": true,+ "devOptional": true,"license": "BSD-3-Clause","dependencies": {"tldts": "^6.1.32"@@ -8646,7 +9016,7 @@"version": "5.0.0","resolved": "https://registry.npmjs.org/tr46/-/tr46-5.0.0.tgz","integrity": "sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"punycode": "^2.3.1"@@ -8737,7 +9107,7 @@"version": "6.20.0","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz","integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/unimport": {@@ -8932,7 +9302,6 @@"version": "6.2.0","resolved": "https://registry.npmjs.org/vite/-/vite-6.2.0.tgz","integrity": "sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ==",- "dev": true,"license": "MIT","dependencies": {"esbuild": "^0.25.0",@@ -9001,10 +9370,9 @@}},"node_modules/vite-node": {- "version": "3.0.7",- "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.0.7.tgz",- "integrity": "sha512-2fX0QwX4GkkkpULXdT1Pf4q0tC1i1lFOyseKoonavXUNlQ77KpW2XqBGGNIm/J4Ows4KxgGJzDguYVPKwG/n5A==",- "dev": true,+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.0.8.tgz",+ "integrity": "sha512-6PhR4H9VGlcwXZ+KWCdMqbtG649xCPZqfI9j2PsK1FcXgEzro5bGHcVKFCTqPLaNKZES8Evqv4LwvZARsq5qlg==","license": "MIT","dependencies": {"cac": "^6.7.14",@@ -9081,11 +9449,80 @@"node": ">=8.10.0"}},+ "node_modules/vitest": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.0.8.tgz",+ "integrity": "sha512-dfqAsNqRGUc8hB9OVR2P0w8PZPEckti2+5rdZip0WIz9WW0MnImJ8XiR61QhqLa92EQzKP2uPkzenKOAHyEIbA==",+ "license": "MIT",+ "dependencies": {+ "@vitest/expect": "3.0.8",+ "@vitest/mocker": "3.0.8",+ "@vitest/pretty-format": "^3.0.8",+ "@vitest/runner": "3.0.8",+ "@vitest/snapshot": "3.0.8",+ "@vitest/spy": "3.0.8",+ "@vitest/utils": "3.0.8",+ "chai": "^5.2.0",+ "debug": "^4.4.0",+ "expect-type": "^1.1.0",+ "magic-string": "^0.30.17",+ "pathe": "^2.0.3",+ "std-env": "^3.8.0",+ "tinybench": "^2.9.0",+ "tinyexec": "^0.3.2",+ "tinypool": "^1.0.2",+ "tinyrainbow": "^2.0.0",+ "vite": "^5.0.0 || ^6.0.0",+ "vite-node": "3.0.8",+ "why-is-node-running": "^2.3.0"+ },+ "bin": {+ "vitest": "vitest.mjs"+ },+ "engines": {+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ },+ "peerDependencies": {+ "@edge-runtime/vm": "*",+ "@types/debug": "^4.1.12",+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",+ "@vitest/browser": "3.0.8",+ "@vitest/ui": "3.0.8",+ "happy-dom": "*",+ "jsdom": "*"+ },+ "peerDependenciesMeta": {+ "@edge-runtime/vm": {+ "optional": true+ },+ "@types/debug": {+ "optional": true+ },+ "@types/node": {+ "optional": true+ },+ "@vitest/browser": {+ "optional": true+ },+ "@vitest/ui": {+ "optional": true+ },+ "happy-dom": {+ "optional": true+ },+ "jsdom": {+ "optional": true+ }+ }+ },"node_modules/w3c-xmlserializer": {"version": "5.0.0","resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz","integrity": "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"xml-name-validator": "^5.0.0"@@ -9222,7 +9659,7 @@"version": "7.0.0","resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz","integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",- "dev": true,+ "devOptional": true,"license": "BSD-2-Clause","engines": {"node": ">=12"@@ -9239,7 +9676,7 @@"version": "3.1.1","resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz","integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"iconv-lite": "0.6.3"@@ -9252,7 +9689,7 @@"version": "4.0.0","resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz","integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">=18"@@ -9262,7 +9699,7 @@"version": "14.1.1","resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.1.1.tgz","integrity": "sha512-mDGf9diDad/giZ/Sm9Xi2YcyzaFpbdLpJPr+E9fSkyQ7KpQD4SdFcugkRQYzhmfI4KeV4Qpnn2sKPdo+kmsgRQ==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"tr46": "^5.0.0",@@ -9295,6 +9732,22 @@"node": ">= 8"}},+ "node_modules/why-is-node-running": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",+ "license": "MIT",+ "dependencies": {+ "siginfo": "^2.0.0",+ "stackback": "0.0.2"+ },+ "bin": {+ "why-is-node-running": "cli.js"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/widest-line": {"version": "4.0.1","resolved": "https://registry.npmjs.org/widest-line/-/widest-line-4.0.1.tgz",@@ -9482,7 +9935,7 @@"version": "8.18.0","resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz","integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">=10.0.0"@@ -9586,7 +10039,7 @@"version": "5.0.0","resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz","integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==",- "dev": true,+ "devOptional": true,"license": "Apache-2.0","engines": {"node": ">=18"@@ -9620,7 +10073,7 @@"version": "2.2.0","resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz","integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/y18n": {@@ -9644,7 +10097,7 @@"version": "2.7.0","resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz","integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==",- "dev": true,+ "devOptional": true,"license": "ISC","bin": {"yaml": "bin.mjs"diff --git a/browser-extension/package.json b/browser-extension/package.jsonindex cb95b7c63..65cde9365 100644--- a/browser-extension/package.json+++ b/browser-extension/package.json@@ -9,6 +9,8 @@"dev:firefox": "wxt -b firefox","build": "wxt build","build:firefox": "wxt build -b firefox",+ "test": "vitest",+ "test:coverage": "vitest run --coverage","zip": "wxt zip","zip:firefox": "wxt zip -b firefox","compile": "tsc --noEmit",@@ -22,12 +24,14 @@"react-router-dom": "^7.1.4","secure-remote-password": "github:LinusU/secure-remote-password#73e5f732b6ca0cdbdc19da1a0c5f48cdbad2cbf0","sql.js": "^1.12.0",+ "vitest": "^3.0.8","webext-bridge": "^6.0.1"},"devDependencies": {"@types/chrome": "^0.0.280","@types/react": "^19.0.1","@types/react-dom": "^19.0.2",+ "@vitest/coverage-v8": "^3.0.8","@wxt-dev/module-react": "^1.1.2","autoprefixer": "^10.4.20","jsdom": "^26.0.0",diff --git a/browser-extension/src/utils/generators/Identity/__tests__/IdentityGenerator.test.ts b/browser-extension/src/utils/generators/Identity/__tests__/IdentityGenerator.test.tsindex e0977756f..416926251 100644--- a/browser-extension/src/utils/generators/Identity/__tests__/IdentityGenerator.test.ts+++ b/browser-extension/src/utils/generators/Identity/__tests__/IdentityGenerator.test.ts@@ -3,6 +3,7 @@ import { IdentityGeneratorNl } from '../implementations/IdentityGeneratorNl';import { describe, it, expect } from 'vitest';import { IIdentityGenerator } from '../interfaces/IIdentityGenerator';import { Gender } from '../types/Gender';+/*** Test the identity generator.*/@@ -38,7 +39,7 @@ const testIdentityGenerator = (expect(value).not.toBeUndefined();});- // Add length checks for first and last names+ // Check if the first and last names are longer than 1 character.expect(identity.firstName.length).toBeGreaterThan(1);expect(identity.lastName.length).toBeGreaterThan(1);});diff --git a/browser-extension/vite-plugins/identity-gen-dict-loader.ts b/browser-extension/vite-plugins/identity-gen-dict-loader.tsnew file mode 100644index 000000000..93405403d--- /dev/null+++ b/browser-extension/vite-plugins/identity-gen-dict-loader.ts@@ -0,0 +1,75 @@+import fs from 'fs';+import path from 'path';++/**+ * Vite plugin to load dictionary files for the identity generator and+ * inject the content into the code during the build process.+ *+ * This allows to keep separate dictionary files for improved maintainability+ * but include the contents in the resulting extension code without needing to bundle+ * the files separately.+ */+export default function identityGenDictLoader() {+ return {+ name: 'identity-gen-dict-loader',+ transform(code: string, id: string) {+ // Check if file matches the expected IdentityGenerator filename pattern.+ // This checks for filenames like IdentityGeneratorEn.ts or IdentityGeneratorNl.ts.+ // To add support for other languages, add a new file with the language code that matches the dictionary file langauge code.+ // E.g. for French, add IdentityGeneratorFr.ts and ensure the dictionary files are present in the '/dictionaries/fr' folder.+ const match = id.match(/IdentityGenerator([A-Za-z]{2})\.ts$/);+ if (match) {+ const lang = match[1].toLowerCase();+ const dictionaryPath = path.resolve(__dirname, '..', '..', 'dictionaries', lang);++ try {+ // Read dictionary files and clean up entries+ const firstNamesMale = fs.readFileSync(path.join(dictionaryPath, 'firstnames_male'), 'utf-8')+ .split('\n')+ .filter(name => name.trim())+ .map(name => name.trim());++ const firstNamesFemale = fs.readFileSync(path.join(dictionaryPath, 'firstnames_female'), 'utf-8')+ .split('\n')+ .filter(name => name.trim())+ .map(name => name.trim());++ const lastNames = fs.readFileSync(path.join(dictionaryPath, 'lastnames'), 'utf-8')+ .split('\n')+ .filter(name => name.trim())+ .map(name => name.trim());++ const placeholderReplacements = [+ {+ pattern: `__FIRSTNAMES_MALE_${lang.toUpperCase()}__`,+ values: firstNamesMale+ },+ {+ pattern: `__FIRSTNAMES_FEMALE_${lang.toUpperCase()}__`,+ values: firstNamesFemale+ },+ {+ pattern: `__LASTNAMES_${lang.toUpperCase()}__`,+ values: lastNames+ }+ ];++ // Perform replacements+ for (const { pattern, values } of placeholderReplacements) {+ const regexPattern = new RegExp("['\"\\`]" + pattern + "['\"\\`]", 'g');+ const replacement = '[' + values.map(name => '"' + name + '"').join(',') + ']';+ code = code.replace(regexPattern, replacement);+ }++ return {+ code,+ map: null+ };+ } catch (error) {+ console.error(`Error loading dictionary files for ${lang}:`, error);+ return null;+ }+ }+ }+ };+}\ No newline at end of filediff --git a/browser-extension/vitest.config.ts b/browser-extension/vitest.config.tsnew file mode 100644index 000000000..8913be65f--- /dev/null+++ b/browser-extension/vitest.config.ts@@ -0,0 +1,10 @@+import { defineConfig } from 'vitest/config';+import { WxtVitest } from 'wxt/testing';+import identityGenDictLoader from './vite-plugins/identity-gen-dict-loader';++export default defineConfig({+ plugins: [+ identityGenDictLoader(),+ WxtVitest(),+ ],+});diff --git a/browser-extension/wxt.config.ts b/browser-extension/wxt.config.tsindex d74b661d5..ecba90d15 100644--- a/browser-extension/wxt.config.ts+++ b/browser-extension/wxt.config.ts@@ -1,5 +1,6 @@import { defineConfig } from 'wxt';import { viteStaticCopy } from 'vite-plugin-static-copy';+import identityGenDictLoader from './vite-plugins/identity-gen-dict-loader';// See https://wxt.dev/api/config.htmlexport default defineConfig({@@ -28,6 +29,7 @@ export default defineConfig({srcDir: 'src',vite: () => ({plugins: [+ identityGenDictLoader(),viteStaticCopy({targets: [{