mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
fix(books): downgrade archiver to v7 to restore zip export (#41)
archiver v8 switched to pure ESM with no default export and a completely different API, breaking every zip export request with TypeError: (0 , _archiver.default) is not a function. The NestJS SWC build produces CJS output, which cannot import the new ESM-only package at runtime. Downgrade to ~7.0.1 (the last CJS release) and add a Dependabot ignore rule for archiver major bumps so this cannot recur silently. Fixes #31
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@
|
||||
"@nestjs/websockets": "^11.1.21",
|
||||
"@parcel/watcher": "^2.5.6",
|
||||
"@types/archiver": "^7.0.0",
|
||||
"archiver": "^8.0.0",
|
||||
"archiver": "~7.0.1",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"cheerio": "^1.2.0",
|
||||
"class-transformer": "^0.5.1",
|
||||
|
||||
Reference in New Issue
Block a user