Skip to content

build(deps): bump brotli-wasm from 1.3.1 to 2.0.0#8

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/brotli-wasm-2.0.0
Closed

build(deps): bump brotli-wasm from 1.3.1 to 2.0.0#8
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/brotli-wasm-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 15, 2023

Copy link
Copy Markdown
Contributor

Bumps brotli-wasm from 1.3.1 to 2.0.0.

Release notes

Sourced from brotli-wasm's releases.

v2.0.0

Breaking changes

Streams API has changed significantly, streams no longer expose result() or last_input_offset() methods, and the compress() and decompress() methods return a result object, not just a buffer. Instead of querying state from the stream itself, you can now access it from the result, which exposes 3 properties:

  • buf - the output (the compressed/decompressed data.
  • code - the result code, corresponding to a value from brotli.BrotliStreamResultCode.
  • input_offset - the offset into the input stream that was read during this operation.

This resolves many issues with streams that could result in data corruption and processing failures. See the README for an updated example of how to use this with web streams.

The non-streaming API remains unchanged.

Commits
  • e1a6e5a 2.0.0
  • aa8106e Update README to match new streaming API
  • 8f534b0 Merge pull request #27 from myl7/web-next-example-dec
  • 185ee97 Update dec example to follow the new pattern of input_offset
  • ba97b76 Add decompress part to web Next.js stream example
  • 4fa04d6 Merge pull request #25 from myl7/fix-stream-input-offset
  • e983db1 Update tests for new (de)compress streams
  • 6f788e2 Return result code and input offset
  • d2f7278 Merge pull request #26 from myl7/web-next-example
  • 1439a56 Add web Next.js stream compress example
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@vercel

vercel Bot commented Jul 15, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat ❌ Failed (Inspect) Jul 16, 2023 1:52pm
lobe-chat-for-public ❌ Failed (Inspect) Jul 16, 2023 1:52pm

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 15, 2023
@vercel vercel Bot temporarily deployed to Preview – lobe-chat July 15, 2023 07:58 Inactive
@vercel vercel Bot temporarily deployed to Preview – lobe-chat-for-public July 15, 2023 08:00 Inactive
Bumps [brotli-wasm](https://github.com/httptoolkit/brotli-wasm) from 1.3.1 to 2.0.0.
- [Release notes](https://github.com/httptoolkit/brotli-wasm/releases)
- [Commits](httptoolkit/brotli-wasm@v1.3.1...v2.0.0)

---
updated-dependencies:
- dependency-name: brotli-wasm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/brotli-wasm-2.0.0 branch from f4749d8 to 3be9413 Compare July 16, 2023 13:43
@vercel vercel Bot temporarily deployed to Preview – lobe-chat-for-public July 16, 2023 13:51 Inactive
@vercel vercel Bot temporarily deployed to Preview – lobe-chat July 16, 2023 13:52 Inactive
@dependabot @github

dependabot Bot commented on behalf of github Jul 16, 2023

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant