Closed zetlen closed 1 year ago
Added a fix for an unexpected regression.
It looks like version 8.1.0 of docx
has a regression where it'll return a Uint8Array instead of a Buffer if it can't tell it's running in Node. The intended behavior is documented here. I'll open the bug in docx
when I can. I don't have the time to make a minimal repro for that, unfortunately.
Whoops, forgot to actually update the snapshots! Stand by
Resolves #36.
docx
version to 8.1.0, which uses package.json exports correctly and supports direct ESM importunist-util-visit
to current releaseexports
field to conditionally export for module formats