Skip to content

Commit

Permalink
fix: lzma purejs version and pkg fix (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo4815162342 authored Jul 22, 2023
1 parent c5cc6ea commit dd19d62
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"debug": "4.3.4",
"fastest-validator": "1.10.0",
"fs-extra": "10.1.0",
"lzma-purejs": "https://github.com/Leo4815162342/lzma-purejs",
"lzma-purejs-requirejs": "1.0.0",
"node-fetch": "2.6.7",
"python-struct": "1.1.3"
},
Expand Down
22 changes: 10 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/decompressor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { StructFormat, DecompressInput } from './types';
import { TimeframeType, Timeframe } from '../config/timeframes';

// eslint-disable-next-line @typescript-eslint/no-var-requires
const lzmajs = require('lzma-purejs');
const lzmajs = require('lzma-purejs-requirejs');
// eslint-disable-next-line @typescript-eslint/no-var-requires
const struct = require('python-struct');

Expand Down

0 comments on commit dd19d62

Please sign in to comment.