Skip to content

Commit

Permalink
Version Packages (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 30, 2023
1 parent 52b458f commit b149ecc
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 22 deletions.
2 changes: 0 additions & 2 deletions .changeset/fuzzy-walls-shake.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/lucky-items-lay.md

This file was deleted.

17 changes: 17 additions & 0 deletions packages/data-uri-to-buffer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# 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:

```typescript
const uri = 'data:,Hello%2C%20World!';
const parsed = dataUriToBuffer(uri);
const buffer = Buffer.from(parsed.buffer);
// `buffer` is a Node.js Buffer
```

## 5.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/data-uri-to-buffer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-uri-to-buffer",
"version": "5.0.1",
"version": "6.0.0",
"description": "Create an ArrayBuffer instance from a Data URI string",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions packages/get-uri/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# get-uri

## 6.0.2

### Patch Changes

- Updated dependencies [52b458f]
- [email protected]

## 6.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/get-uri/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "get-uri",
"version": "6.0.1",
"version": "6.0.2",
"description": "Returns a `stream.Readable` from a URI string",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -50,7 +50,7 @@
},
"dependencies": {
"basic-ftp": "^5.0.2",
"data-uri-to-buffer": "^5.0.1",
"data-uri-to-buffer": "^6.0.0",
"debug": "^4.3.4",
"fs-extra": "^8.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit b149ecc

@vercel
Copy link

@vercel vercel bot commented on b149ecc Sep 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.