diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 0337fcc..5a339ac 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "license": "AGPL-3.0-only", "dependencies": { - "@yudiel/react-qr-scanner": "^1.1.9", + "@yudiel/react-qr-scanner": "^2.0.0", "highcharts": "^11.1.0", "highcharts-react-official": "^3.2.0", "react": "^18.2.0", @@ -920,6 +920,18 @@ "@swc/counter": "^0.1.3" } }, + "node_modules/@types/dom-webcodecs": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/@types/dom-webcodecs/-/dom-webcodecs-0.1.11.tgz", + "integrity": "sha512-yPEZ3z7EohrmOxbk/QTAa0yonMFkNkjnVXqbGb7D4rMr+F1dGQ8ZUFxXkyLLJuiICPejZ0AZE9Rrk9wUCczx4A==", + "license": "MIT" + }, + "node_modules/@types/emscripten": { + "version": "1.39.13", + "resolved": "https://registry.npmjs.org/@types/emscripten/-/emscripten-1.39.13.tgz", + "integrity": "sha512-cFq+fO/isvhvmuP/+Sl4K4jtU6E23DoivtbO4r50e3odaxAiVdbfSYRDdJ4gCdxx+3aRjhphS5ZMwIH4hFy/Cw==", + "license": "MIT" + }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -981,37 +993,29 @@ } }, "node_modules/@yudiel/react-qr-scanner": { - "version": "1.2.10", - "resolved": "https://registry.npmjs.org/@yudiel/react-qr-scanner/-/react-qr-scanner-1.2.10.tgz", - "integrity": "sha512-I94AyrEu/2oZxXT6TEOK9+K2IfjqfPmic/GUah7alMIxfgXP9rs9+IZE56JhQr4pZ7Iz2RUC4JFfeaysFYNEIA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@yudiel/react-qr-scanner/-/react-qr-scanner-2.0.1.tgz", + "integrity": "sha512-2d8ZRBlSgqDmzhlcs1AeWiVwmT099v3HvvW/7HhSw6u0VN7sVCUN5qULe2g31Z5nJDz019t9J7vf7MpasN+Rxw==", + "license": "MIT", "dependencies": { - "@zxing/library": "^0.20.0" + "barcode-detector": "^2.2.6", + "webrtc-adapter": "9.0.1" }, "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" + "react": "^18.2.0", + "react-dom": "^18.2.0" } }, - "node_modules/@zxing/library": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@zxing/library/-/library-0.20.0.tgz", - "integrity": "sha512-6Ev6rcqVjMakZFIDvbUf0dtpPGeZMTfyxYg4HkVWioWeN7cRcnUWT3bU6sdohc82O1nPXcjq6WiGfXX2Pnit6A==", + "node_modules/barcode-detector": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/barcode-detector/-/barcode-detector-2.2.6.tgz", + "integrity": "sha512-IRXfsqff2V8w/4RAGFpjCoLWrsxG2RMJg3bZK9YHtkZff4YJW/IKrdJcsENNbTSPDNL0qCIDjLKSnx73dpZ/2w==", + "license": "MIT", "dependencies": { - "ts-custom-error": "^3.2.1" - }, - "engines": { - "node": ">= 10.4.0" - }, - "optionalDependencies": { - "@zxing/text-encoding": "~0.9.0" + "@types/dom-webcodecs": "^0.1.11", + "zxing-wasm": "1.2.10" } }, - "node_modules/@zxing/text-encoding": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", - "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", - "optional": true - }, "node_modules/csstype": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", @@ -1381,6 +1385,12 @@ "loose-envify": "^1.1.0" } }, + "node_modules/sdp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/sdp/-/sdp-3.2.0.tgz", + "integrity": "sha512-d7wDPgDV3DDiqulJjKiV2865wKsJ34YI+NDREbm+FySq6WuKOikwyNQcm+doLAZ1O6ltdO0SeKle2xMpN3Brgw==", + "license": "MIT" + }, "node_modules/source-map-js": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", @@ -1390,14 +1400,6 @@ "node": ">=0.10.0" } }, - "node_modules/ts-custom-error": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz", - "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/typescript": { "version": "5.4.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", @@ -1486,6 +1488,28 @@ "dependencies": { "loose-envify": "^1.0.0" } + }, + "node_modules/webrtc-adapter": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/webrtc-adapter/-/webrtc-adapter-9.0.1.tgz", + "integrity": "sha512-1AQO+d4ElfVSXyzNVTOewgGT/tAomwwztX/6e3totvyyzXPvXIIuUUjAmyZGbKBKbZOXauuJooZm3g6IuFuiNQ==", + "license": "BSD-3-Clause", + "dependencies": { + "sdp": "^3.2.0" + }, + "engines": { + "node": ">=6.0.0", + "npm": ">=3.10.0" + } + }, + "node_modules/zxing-wasm": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/zxing-wasm/-/zxing-wasm-1.2.10.tgz", + "integrity": "sha512-hGVjYKKEOzOF8g9w0GEe0uYvowkD64U9ntGGGnXxjIRz8J1mU/tKlO7ntNQJeJhkQUSabubtWgYyLM2sbMFFZw==", + "license": "MIT", + "dependencies": { + "@types/emscripten": "^1.39.12" + } } } } diff --git a/frontend/package.json b/frontend/package.json index c30b123..cdf8632 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,7 +19,7 @@ "format-ci" ], "dependencies": { - "@yudiel/react-qr-scanner": "^1.1.9", + "@yudiel/react-qr-scanner": "^2.0.0", "highcharts": "^11.1.0", "highcharts-react-official": "^3.2.0", "react": "^18.2.0",