Skip to content

chore(deps-dev): bump brotli from 1.3.3 to 2.1.0 - #870

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/brotli-2.1.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/brotli-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps brotli from 1.3.3 to 2.1.0.

Changelog

Sourced from brotli's changelog.

Changelog

Unreleased

Changed

  • Use the nullish coalescing (??) operator to check if the value is defined (#38)

2.0.0 - 2026-10-10

Changed

  • Breaking: Converted the package to ESM only. All public entry points use named compress and/or decompress exports with no default export.
  • Breaking: compress() now returns Promise<Uint8Array | null> and must be awaited. Compression options, output bytes, and null results are unchanged. decompress() remains synchronous.
  • Public entry points are limited to the package root, brotli/compress, and brotli/decompress, including .js aliases for both standalone modules. Standalone modules export their named function.
  • Encoder initialization is deferred until the first compression call. Concurrent calls share one initialization Promise, including failures, with no automatic retries. Initialization and runtime errors reject the compression Promise.
  • Removed top-level await and enabled modern Node.js require() through every public entry point. Unflagged ESM loading is supported in Node 20.19+, 22.12+, and later releases; see the Node documentation. The distribution remains ESM only.
  • Encoding still runs on the calling thread without workers. Keep the input, options, and dictionary unchanged until compression settles; no input copying is added.

Added

  • TypeScript declarations for the package root and standalone modules, including their .js aliases and the CompressOptions type.
  • Tests for ESM and CommonJS exports, lazy and shared initialization, Promise results and failures, and browser bundles, including dictionary initialization and decompression without the encoder.

Migration

import { compress, decompress } from 'brotli';
const compressed = await compress(input);
const original = decompress(compressed);

To load either function independently:

</tr></table> 

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by blikblum-dev, a new releaser for brotli since your current version.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [brotli](https://github.com/devongovett/brotli.js) from 1.3.3 to 2.1.0.
- [Changelog](https://github.com/foliojs/brotli.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/devongovett/brotli.js/commits)

---
updated-dependencies:
- dependency-name: brotli
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 14, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 15, 2026

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.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/brotli-2.1.0 branch October 15, 2026 10:26
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