This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
data-uri-to-buffer@6.0.0
Major Changes
52b458f: Refactor to return an ArrayBuffer instead of a Node.js Buffer.
This change is being made to make the package platform-agnostic, and work in web browsers or other non-Node.js environments without polyfills.
For Node.js users of this package, you can get a Node.js Buffer instance from an ArrayBuffer like so:
const uri = 'data:,Hello%2C%20World!';
const parsed = dataUriToBuffer(uri);
const buffer = Buffer.from(parsed.buffer);
// `buffer` is a Node.js Buffer
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
data-uri-to-buffer@6.0.0
Major Changes
52b458f: Refactor to return an
ArrayBuffer
instead of a Node.jsBuffer
.This change is being made to make the package platform-agnostic, and work in web browsers or other non-Node.js environments without polyfills.
For Node.js users of this package, you can get a Node.js
Buffer
instance from anArrayBuffer
like so:get-uri@6.0.2
Patch Changes