Skip to content

build(deps): bump @bem-react/classnames from 1.3.10 to 1.5.0 in /packages/editor#1004

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/packages/editor/bem-react/classnames-1.5.0
Open

build(deps): bump @bem-react/classnames from 1.3.10 to 1.5.0 in /packages/editor#1004
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/packages/editor/bem-react/classnames-1.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 17, 2026

Bumps @bem-react/classnames from 1.3.10 to 1.5.0.

Release notes

Sourced from @​bem-react/classnames's releases.

DI: Typed registries

Features

Typed registries for components

From now you don't need to pass interface as generic with get method. See the new short API:

const compositorRegistry = new Registry({ id: 'Compositor' });
const Element: React.SFC<ICommonProps> = () => <span>content</span>;
interface ICompositorRegistry {
Element: React.ComponentType<ICommonProps>;
}
compositorRegistry.set('Element', Element);
const CompositorPresenter: React.SFC<ICommonProps> = () => (
<ComponentRegistryConsumer id="Compositor">
{({ Element }: ICompositorRegistry) => <Element/>}
</ComponentRegistryConsumer>
);
const Compositor = withRegistry(compositorRegistry)(CompositorPresenter);

Element is typed in render prop!

Partially registries merging

From now you don't need to override all entities in component registry. Replace only what you need to replace:

const compositorRegistry = new Registry({ id: 'Compositor', inverted: true });
const Element1: React.SFC<ICommonProps> = () => <span>content</span>;
const Element2: React.SFC<ICommonProps> = () => <span>extra</span>;
const overridedCompositorRegistry = new Registry({ id: 'Compositor' });
const OverridedElement: React.SFC<ICommonProps> = () => <span>overrided</span>;
interface ICompositorRegistry {
Element1: React.ComponentType<ICommonProps>;
Element2: React.ComponentType<ICommonProps>;
}
compositorRegistry.set('Element1', Element1);
compositorRegistry.set('Element2', Element2);
overridedCompositorRegistry.set('Element1', OverridedElement);
const CompositorPresenter: React.SFC<ICommonProps> = () => (
<ComponentRegistryConsumer id="Compositor">
{({ Element1, Element2 }: ICompositorRegistry) => (
</tr></table>

... (truncated)

Commits
  • a6f8763 chore(release): publish
  • 3085567 fix: set booleans_as_integers to false in terser config
  • a47b621 feat: restore development build
  • 9b4ae9e fix(core): warn when composeSimple receives modifiers from different blocks
  • cd60067 chore(release): publish
  • c2d5bb7 fix(pack): add skipLibCheck to fix @​types/node compatibility
  • 0aefc4c feat: upgrade to React 19 with new JSX runtime
  • 2794188 chore(release): publish
  • 7ef51f8 feat: support esm modules
  • 6d78a65 feat: add dual packaging
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@bem-react/classnames](https://github.com/bem/bem-react) from 1.3.10 to 1.5.0.
- [Release notes](https://github.com/bem/bem-react/releases)
- [Commits](https://github.com/bem/bem-react/compare/@bem-react/classnames@1.3.10...@bem-react/classnames@1.5.0)

---
updated-dependencies:
- dependency-name: "@bem-react/classnames"
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Mar 17, 2026
@dependabot dependabot bot requested review from d3m1d0v and makhnatkin as code owners March 17, 2026 14:15
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.

0 participants