This commit is contained in:
Bill 2021-08-12 02:51:48 -04:00
parent 5603c4a010
commit 4def01225f

View File

@ -5,13 +5,13 @@
* MIT LICENCE * MIT LICENCE
* *
*/ */
import { fs } from 'fs'; const fs = require('fs');
import { lzma } from 'lzma-purejs'; const zlib = require('zlib');
import { Stream } from 'stream'; const lzma = require('lzma-purejs');
import { zlib } from 'zlib'; const Stream = require('stream');
import { SWFBuffer } from './lib/swf-buffer'; const SWFTags = require('./lib/swf-tags');
import { SWFTags } from './lib/swf-tags';
const SWFReader = exports; const SWFReader = exports;
import { SWFBuffer } from './lib/SWFBuffer';
function readSWFTags(buff, swf) function readSWFTags(buff, swf)
{ {