Socket
Socket
Sign inDemoInstall

bh

Package Overview
Dependencies
0
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.3.2 to 3.3.3

3

CHANGELOG.md
# Changelog
## 3.3.3
- Fixed bug with `ctx.html()` (#166).
## 3.3.2

@@ -4,0 +7,0 @@ - Fixed bug with `ctx.js()` (#162).

# История изменений
## 3.3.3
- Исправлен баг в методе `ctx.html()` (#166).
## 3.3.2

@@ -4,0 +7,0 @@ - Исправлен баг в методе `ctx.js()` (#162).

2

lib/bh.js

@@ -907,3 +907,3 @@ var BH = (function() {

if (typeof json.tag !== 'undefined' && !json.tag) {
return json.html || json.content ? this.toHtml(json.content) : '';
return json.html || (json.content ? this.toHtml(json.content) : '');
}

@@ -910,0 +910,0 @@ if (json.mix && !Array.isArray(json.mix)) {

@@ -5,4 +5,4 @@ {

"name": "bh",
"version": "3.3.2",
"tag": "3.3.2",
"version": "3.3.3",
"tag": "3.3.3",
"repository": "https://github.com/bem/bh",

@@ -9,0 +9,0 @@ "licence": "MIT",

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