updated some libs

Massimo Melina committed Sep 25, 2024 at 23:53 UTC 614f13afcc3decfa16afa6a13a9ed160998f026e
3 files changed +5 -5
admin/package.json
+1 -1
@@ -37,7 +37,7 @@
37 "@types/react-dom": "^18.2.18",
38 "@types/react-window": "^1.8.8",
39 "@types/react-virtualized-auto-sizer": "^1.0.4",
40 - "vite": "^5.0.12"
40 + "vite": "^5.4.8"
41 },
42 "eslintConfig": {
43 "extends": [
package.json
+3 -3
@@ -71,10 +71,10 @@
71 },
72 "dependencies": {
73 "@koa/router": "^13.0.1",
74 - "@node-rs/crc32": "^1.6.0",
74 + "@node-rs/crc32": "^1.10.3",
75 "@rejetto/kvstorage": "^0.12.2",
76 - "acme-client": "^5.3.1",
77 - "buffer-crc32": "^0.2.13",
76 + "acme-client": "^5.4.0",
77 + "buffer-crc32": "^1.0.0",
78 "fast-glob": "^3.2.7",
79 "find-process": "^1.4.7",
80 "formidable": "^3.5.1",
src/QuickZipStream.ts
+1 -1
@@ -8,7 +8,7 @@ import assert from 'assert'
8 const ZIP64_SIZE_LIMIT = 0xffffffff
9 const ZIP64_NUMBER_LIMIT = 0xffff
10
11 -let crc32function: (input: string | Buffer, initialState?: number | undefined | null) => number
11 +let crc32function: (input: string | Buffer, initialState?: number | undefined) => number
12 import('@node-rs/crc32').then(lib => crc32function = lib.crc32, () => {
13 console.log('using generic lib for crc32')
14 crc32function = unsigned