diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fe6dac..fa71a0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [1.2.4] - 2024-12-08 + +### Fixed + +- Fixed import error in unrar/rarvm. + ## [1.2.3] - 2024-02-04 ### Added diff --git a/archive/rarvm.js b/archive/rarvm.js index 55206ea..da0782f 100644 --- a/archive/rarvm.js +++ b/archive/rarvm.js @@ -336,7 +336,7 @@ class VM_PreparedProgram { /** */ -class UnpackFilter { +export class UnpackFilter { constructor() { /** @type {number} */ this.BlockStart = 0; diff --git a/archive/unrar.js b/archive/unrar.js index df89122..8a75c59 100644 --- a/archive/unrar.js +++ b/archive/unrar.js @@ -14,7 +14,8 @@ import { BitStream } from '../io/bitstream.js'; import { ByteStream } from '../io/bytestream.js'; import { ByteBuffer } from '../io/bytebuffer.js'; -import { RarVM, VM_GLOBALMEMADDR, VM_GLOBALMEMSIZE, VM_FIXEDGLOBALSIZE, MAXWINMASK } from './rarvm.js'; +import { RarVM, UnpackFilter, VM_GLOBALMEMADDR, VM_GLOBALMEMSIZE, + VM_FIXEDGLOBALSIZE, MAXWINMASK } from './rarvm.js'; const UnarchiveState = { NOT_STARTED: 0,