Socket
Socket
Sign inDemoInstall

bh

Package Overview
Dependencies
0
Maintainers
5
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134567Next

4.0.0

Diff

Changelog

Source

4.0.0

  • Added global matcher support: beforeEach and afterEach (#121).
  • Added ctx.process method (#135).
  • Add i-bem class to element with js (#122).
  • No-base modifier classes supported (#132).
  • Wrap data-bem attribute by single quotes (#115).
  • processBemJson now return standart BEMJSON (#96).
  • Readme updates (#131, #124, #123, #120).
  • Escaping optimizations (#137).
mishanga
published 3.3.0 •

Changelog

Source

3.3.0

  • Do not add i-bem class to element with js.
mishanga
published 3.2.4 •

Changelog

Source

3.2.4

  • Revert 3.2.1 and 3.2.2 patches.
mishanga
published 3.2.3 •

Changelog

Source

3.2.3

  • Speed improvement by better escaping (#111).
  • toHtml: add mod === 0 to output (#110).
mishanga
published 3.2.2 •

Changelog

Source

3.2.2

  • Do not add i-bem class to mixed elements with js.
mishanga
published 3.2.1 •

Changelog

Source

3.2.1

  • Do not add i-bem class to element with js (#106).
mishanga
published 3.2.0 •

Changelog

Source

3.2.0

  • Escape content when option escapeContent enabled (#97).
  • Some fixes.
mishanga
published 3.1.4 •

Changelog

Source

3.1.4

  • Ignore mix and js when bem is false (#98).
mishanga
published 3.1.3 •

Changelog

Source

3.1.3

  • TypeError when using elemMod matcher (#93).
mishanga
published 3.1.2 •

Changelog

Source

3.1.2

  • Falsy return should provide empty string result.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc