Skip to content

Commit

Permalink
Undefined compression fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clayzenx committed Apr 5, 2024
1 parent 28bc792 commit 216302a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/helpers/datasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import pathTool from '@global/manifest/tools/path.mjs';
import env from '@front/helpers/env';
import compress from '@global/compress/compress.mjs';

let DecompressionStream, CompressionStream;

const compressor = compress({
// eslint-disable-next-line no-undef
DecompressionStream,
Expand Down
1 change: 1 addition & 0 deletions src/global/compress/compress.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const COMPRESS_METHOD = 'gzip'; //deflate
let DecompressionStream, CompressionStream;

export default function(driver) {

Expand Down

0 comments on commit 216302a

Please sign in to comment.