diff --git a/biome.jsonc b/biome.jsonc index dc21802..0a76511 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -1,22 +1,46 @@ { "formatter": { - "semicolons": "asNeeded", + "enabled": true, + "formatWithErrors": false, "indentStyle": "space", - "lineWidth": 500, + "indentWidth": 2, + "lineEnding": "lf", + "lineWidth": 320, + "attributePosition": "auto", + "bracketSameLine": false, "bracketSpacing": true, - "quoteStyle": "single", - "trailingCommas": "es5", - "quoteProperties": "preserve" + "expand": "auto", + "useEditorconfig": true }, "javascript": { "formatter": { + "jsxQuoteStyle": "double", + "quoteProperties": "asNeeded", + "trailingCommas": "es5", + "semicolons": "asNeeded", + "arrowParentheses": "always", + "bracketSameLine": false, "quoteStyle": "single", - "lineWidth": 500 + "attributePosition": "auto", + "bracketSpacing": true } }, - "json": { + "json": { "formatter": { "enabled": false } }, + "html": { "formatter": { - "enabled": false + "indentScriptAndStyle": false, + "selfCloseVoidElements": "always" + } + }, + "linter": { + "rules": { + "style": { + "noNonNullAssertion": "off" + }, + "a11y": { + "useKeyWithClickEvents": "off", + "noStaticElementInteractions": "off" + } } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 19a5b49..e58a34a 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "gsap": "^3.13.0", "jimp": "^1.6.0", "jsencrypt": "^3.5.4", - "jspdf": "^3.0.3", + "jspdf": "^3.0.4", "jspdf-barcode": "^1.0.2", - "nanostores": "^1.0.1", + "nanostores": "^1.1.0", "ofetch": "^1.5.1", "openssl-nodejs": "^1.0.5", "pica": "^9.0.1", @@ -32,7 +32,7 @@ "solidjs-use": "^2.3.0" }, "devDependencies": { - "@biomejs/biome": "2.3.5", + "@biomejs/biome": "^2.3.6", "@nanostores/solid": "^1.1.1", "@types/crypto-js": "^4.2.2", "@types/node": "^24.10.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abb431b..8bfc780 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,14 +39,14 @@ importers: specifier: ^3.5.4 version: 3.5.4 jspdf: - specifier: ^3.0.3 - version: 3.0.3 + specifier: ^3.0.4 + version: 3.0.4 jspdf-barcode: specifier: ^1.0.2 - version: 1.0.2(jspdf@3.0.3) + version: 1.0.2(jspdf@3.0.4) nanostores: - specifier: ^1.0.1 - version: 1.0.1 + specifier: ^1.1.0 + version: 1.1.0 ofetch: specifier: ^1.5.1 version: 1.5.1 @@ -73,11 +73,11 @@ importers: version: 2.3.0 devDependencies: '@biomejs/biome': - specifier: 2.3.5 - version: 2.3.5 + specifier: ^2.3.6 + version: 2.3.6 '@nanostores/solid': specifier: ^1.1.1 - version: 1.1.1(nanostores@1.0.1)(solid-js@1.9.10) + version: 1.1.1(nanostores@1.1.0)(solid-js@1.9.10) '@types/crypto-js': specifier: ^4.2.2 version: 4.2.2 @@ -187,55 +187,55 @@ packages: resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==} engines: {node: '>=6.9.0'} - '@biomejs/biome@2.3.5': - resolution: {integrity: sha512-HvLhNlIlBIbAV77VysRIBEwp55oM/QAjQEin74QQX9Xb259/XP/D5AGGnZMOyF1el4zcvlNYYR3AyTMUV3ILhg==} + '@biomejs/biome@2.3.6': + resolution: {integrity: sha512-oqUhWyU6tae0MFsr/7iLe++QWRg+6jtUhlx9/0GmCWDYFFrK366sBLamNM7D9Y+c7YSynUFKr8lpEp1r6Sk7eA==} engines: {node: '>=14.21.3'} hasBin: true - '@biomejs/cli-darwin-arm64@2.3.5': - resolution: {integrity: sha512-fLdTur8cJU33HxHUUsii3GLx/TR0BsfQx8FkeqIiW33cGMtUD56fAtrh+2Fx1uhiCsVZlFh6iLKUU3pniZREQw==} + '@biomejs/cli-darwin-arm64@2.3.6': + resolution: {integrity: sha512-P4JWE5d8UayBxYe197QJwyW4ZHp0B+zvRIGCusOm1WbxmlhpAQA1zEqQuunHgSIzvyEEp4TVxiKGXNFZPg7r9Q==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] - '@biomejs/cli-darwin-x64@2.3.5': - resolution: {integrity: sha512-qpT8XDqeUlzrOW8zb4k3tjhT7rmvVRumhi2657I2aGcY4B+Ft5fNwDdZGACzn8zj7/K1fdWjgwYE3i2mSZ+vOA==} + '@biomejs/cli-darwin-x64@2.3.6': + resolution: {integrity: sha512-I4rTebj+F/L9K93IU7yTFs8nQ6EhaCOivxduRha4w4WEZK80yoZ8OAdR1F33m4yJ/NfUuTUbP/Wjs+vKjlCoWA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] - '@biomejs/cli-linux-arm64-musl@2.3.5': - resolution: {integrity: sha512-eGUG7+hcLgGnMNl1KHVZUYxahYAhC462jF/wQolqu4qso2MSk32Q+QrpN7eN4jAHAg7FUMIo897muIhK4hXhqg==} + '@biomejs/cli-linux-arm64-musl@2.3.6': + resolution: {integrity: sha512-oK1NpIXIixbJ/4Tcx40cwiieqah6rRUtMGOHDeK2ToT7yUFVEvXUGRKqH0O4hqZ9tW8TcXNZKfgRH6xrsjVtGg==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] - '@biomejs/cli-linux-arm64@2.3.5': - resolution: {integrity: sha512-u/pybjTBPGBHB66ku4pK1gj+Dxgx7/+Z0jAriZISPX1ocTO8aHh8x8e7Kb1rB4Ms0nA/SzjtNOVJ4exVavQBCw==} + '@biomejs/cli-linux-arm64@2.3.6': + resolution: {integrity: sha512-JjYy83eVBnvuINZiqyFO7xx72v8Srh4hsgaacSBCjC22DwM6+ZvnX1/fj8/SBiLuUOfZ8YhU2pfq2Dzakeyg1A==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] - '@biomejs/cli-linux-x64-musl@2.3.5': - resolution: {integrity: sha512-awVuycTPpVTH/+WDVnEEYSf6nbCBHf/4wB3lquwT7puhNg8R4XvonWNZzUsfHZrCkjkLhFH/vCZK5jHatD9FEg==} + '@biomejs/cli-linux-x64-musl@2.3.6': + resolution: {integrity: sha512-QvxB8GHQeaO4FCtwJpJjCgJkbHBbWxRHUxQlod+xeaYE6gtJdSkYkuxdKAQUZEOIsec+PeaDAhW9xjzYbwmOFA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] - '@biomejs/cli-linux-x64@2.3.5': - resolution: {integrity: sha512-XrIVi9YAW6ye0CGQ+yax0gLfx+BFOtKaNX74n+xHWla6Cl6huUmcKNO7HPx7BiKnJUzrxXY1qYlm7xMvi08X4g==} + '@biomejs/cli-linux-x64@2.3.6': + resolution: {integrity: sha512-ZjPXzy5yN9wusIoX+8Zp4p6cL8r0NzJCXg/4r1KLVveIPXd2jKVlqZ6ZyzEq385WwU3OX5KOwQYLQsOc788waQ==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] - '@biomejs/cli-win32-arm64@2.3.5': - resolution: {integrity: sha512-DlBiMlBZZ9eIq4H7RimDSGsYcOtfOIfZOaI5CqsWiSlbTfqbPVfWtCf92wNzx8GNMbu1s7/g3ZZESr6+GwM/SA==} + '@biomejs/cli-win32-arm64@2.3.6': + resolution: {integrity: sha512-YM7hLHpwjdt8R7+O2zS1Vo2cKgqEeptiXB1tWW1rgjN5LlpZovBVKtg7zfwfRrFx3i08aNZThYpTcowpTlczug==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] - '@biomejs/cli-win32-x64@2.3.5': - resolution: {integrity: sha512-nUmR8gb6yvrKhtRgzwo/gDimPwnO5a4sCydf8ZS2kHIJhEmSmk+STsusr1LHTuM//wXppBawvSQi2xFXJCdgKQ==} + '@biomejs/cli-win32-x64@2.3.6': + resolution: {integrity: sha512-psgNEYgMAobY5h+QHRBVR9xvg2KocFuBKm6axZWB/aD12NWhQjiVFQUjV6wMXhlH4iT0Q9c3yK5JFRiDC/rzHA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32] @@ -1350,8 +1350,8 @@ packages: peerDependencies: jspdf: '>=2.0.0' - jspdf@3.0.3: - resolution: {integrity: sha512-eURjAyz5iX1H8BOYAfzvdPfIKK53V7mCpBTe7Kb16PaM8JSXEcUQNBQaiWMI8wY5RvNOPj4GccMjTlfwRBd+oQ==} + jspdf@3.0.4: + resolution: {integrity: sha512-dc6oQ8y37rRcHn316s4ngz/nOjayLF/FFxBF4V9zamQKRqXxyiH1zagkCdktdWhtoQId5K20xt1lB90XzkB+hQ==} locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} @@ -1384,8 +1384,8 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - nanostores@1.0.1: - resolution: {integrity: sha512-kNZ9xnoJYKg/AfxjrVL4SS0fKX++4awQReGqWnwTRHxeHGZ1FJFVgTqr/eMrNQdp0Tz7M7tG/TDaX8QfHDwVCw==} + nanostores@1.1.0: + resolution: {integrity: sha512-yJBmDJr18xy47dbNVlHcgdPrulSn1nhSE6Ns9vTG+Nx9VPT6iV1MD6aQFp/t52zpf82FhLLTXAXr30NuCnxvwA==} engines: {node: ^20.0.0 || >=22.0.0} node-addon-api@7.1.1: @@ -2016,39 +2016,39 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 - '@biomejs/biome@2.3.5': + '@biomejs/biome@2.3.6': optionalDependencies: - '@biomejs/cli-darwin-arm64': 2.3.5 - '@biomejs/cli-darwin-x64': 2.3.5 - '@biomejs/cli-linux-arm64': 2.3.5 - '@biomejs/cli-linux-arm64-musl': 2.3.5 - '@biomejs/cli-linux-x64': 2.3.5 - '@biomejs/cli-linux-x64-musl': 2.3.5 - '@biomejs/cli-win32-arm64': 2.3.5 - '@biomejs/cli-win32-x64': 2.3.5 + '@biomejs/cli-darwin-arm64': 2.3.6 + '@biomejs/cli-darwin-x64': 2.3.6 + '@biomejs/cli-linux-arm64': 2.3.6 + '@biomejs/cli-linux-arm64-musl': 2.3.6 + '@biomejs/cli-linux-x64': 2.3.6 + '@biomejs/cli-linux-x64-musl': 2.3.6 + '@biomejs/cli-win32-arm64': 2.3.6 + '@biomejs/cli-win32-x64': 2.3.6 - '@biomejs/cli-darwin-arm64@2.3.5': + '@biomejs/cli-darwin-arm64@2.3.6': optional: true - '@biomejs/cli-darwin-x64@2.3.5': + '@biomejs/cli-darwin-x64@2.3.6': optional: true - '@biomejs/cli-linux-arm64-musl@2.3.5': + '@biomejs/cli-linux-arm64-musl@2.3.6': optional: true - '@biomejs/cli-linux-arm64@2.3.5': + '@biomejs/cli-linux-arm64@2.3.6': optional: true - '@biomejs/cli-linux-x64-musl@2.3.5': + '@biomejs/cli-linux-x64-musl@2.3.6': optional: true - '@biomejs/cli-linux-x64@2.3.5': + '@biomejs/cli-linux-x64@2.3.6': optional: true - '@biomejs/cli-win32-arm64@2.3.5': + '@biomejs/cli-win32-arm64@2.3.6': optional: true - '@biomejs/cli-win32-x64@2.3.5': + '@biomejs/cli-win32-x64@2.3.6': optional: true '@bufbuild/protobuf@2.9.0': {} @@ -2489,9 +2489,9 @@ snapshots: '@solid-primitives/utils': 6.3.2(solid-js@1.9.10) solid-js: 1.9.10 - '@nanostores/solid@1.1.1(nanostores@1.0.1)(solid-js@1.9.10)': + '@nanostores/solid@1.1.1(nanostores@1.1.0)(solid-js@1.9.10)': dependencies: - nanostores: 1.0.1 + nanostores: 1.1.0 solid-js: 1.9.10 '@parcel/watcher-android-arm64@2.5.1': @@ -3048,11 +3048,11 @@ snapshots: json5@2.2.3: {} - jspdf-barcode@1.0.2(jspdf@3.0.3): + jspdf-barcode@1.0.2(jspdf@3.0.4): dependencies: - jspdf: 3.0.3 + jspdf: 3.0.4 - jspdf@3.0.3: + jspdf@3.0.4: dependencies: '@babel/runtime': 7.28.4 fast-png: 6.4.0 @@ -3092,7 +3092,7 @@ snapshots: nanoid@3.3.11: {} - nanostores@1.0.1: {} + nanostores@1.1.0: {} node-addon-api@7.1.1: optional: true