mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(deps): replace vulnerable decompress with @xhmikosr/decompress
The unmaintained decompress package (<=4.2.1) allows archive extraction outside the target directory. Migrate electron before-pack to the patched @xhmikosr/decompress fork (11.1.3) to resolve Dependabot alert #301.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import fs from 'fs-extra';
|
||||
import ProgressBar from 'progress';
|
||||
import https from 'https';
|
||||
import decompress from 'decompress';
|
||||
import decompress from '@xhmikosr/decompress';
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
const ipfsClientsPath = path.join(path.dirname(fileURLToPath(import.meta.url)), '..', 'bin');
|
||||
|
||||
Reference in New Issue
Block a user