chore(deps): bump

- vite@6
- @bwip-js/browser
- svelte-i18n@4
- migrate from csvtojson to papaparse
This commit is contained in:
2025-04-22 22:03:23 +02:00
parent a12c4f87d2
commit 244be471f0
4 changed files with 799 additions and 293 deletions

View File

@@ -1,7 +1,7 @@
<script>
import { _ } from "svelte-i18n";
import { tick } from "svelte";
import bwipjs from "bwip-js";
import { toCanvas } from "@bwip-js/browser";
import toast from "svelte-french-toast";
export let copy_modal_open;
@@ -51,7 +51,7 @@
if (bcid == "code128") {
codeconfig.height = 10;
}
bwipjs.toCanvas(canvas, codeconfig);
toCanvas(canvas, codeconfig);
return canvas.toDataURL("image/png");
}
</script>