Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

buffer 4.9.1 can cause errors #93

Open
Borewit opened this issue Aug 11, 2019 · 0 comments
Open

buffer 4.9.1 can cause errors #93

Borewit opened this issue Aug 11, 2019 · 0 comments

Comments

@Borewit
Copy link

Borewit commented Aug 11, 2019

Calling a read function on the embedded buffer without any argument will throw an exception.
This is major incompatibility issue with node.js buffer.

Error message thrown: "RangeError: offset is not uint"

Corresponding issue: feross/buffer#237

I suggest to reconsider PR: #68, which does fix the issue

ortexx added a commit to ortexx/node-id3 that referenced this issue Sep 21, 2020
…rors

webpack/node-libs-browser#93
Webpack 4 now is a stable version. It uses node-libs for Buffer polyfill that is not completely compatible with the nodejs implemintation. In node-libs a lot of optional arguments are required, so we get an offset error in the browser calling buffer.readUInt32BE without an argument.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant