Skip to content

Commit

Permalink
4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzzy committed Jun 29, 2022
1 parent dd2e153 commit 5761b21
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [4.0.1] - 2022-06-29

- Allow empty string text nodes ([#23](https://github.com/kriasoft/hyperapp-render/pull/23)).

## [4.0.0] - 2021-01-25

- [BREAKING] Drop support for legacy Hyperapp v2.0.0-v2.0.8.
Expand Down Expand Up @@ -72,7 +76,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- Initial public release.

[unreleased]: https://github.com/kriasoft/hyperapp-render/compare/v4.0.0...HEAD
[unreleased]: https://github.com/kriasoft/hyperapp-render/compare/v4.0.1...HEAD
[4.0.1]: https://github.com/kriasoft/hyperapp-render/compare/v4.0.0...v4.0.1
[4.0.0]: https://github.com/kriasoft/hyperapp-render/compare/v3.5.0...v4.0.0
[3.5.0]: https://github.com/kriasoft/hyperapp-render/compare/v3.4.0...v3.5.0
[3.4.0]: https://github.com/kriasoft/hyperapp-render/compare/v3.3.0...v3.4.0
Expand Down
3 changes: 2 additions & 1 deletion dist/hyperapp-render.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/hyperapp-render.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/hyperapp-render.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/hyperapp-render.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "hyperapp-render",
"version": "4.0.0",
"version": "4.0.1",
"description": "Render Hyperapp to an HTML string with SSR and Node.js streaming support",
"repository": "kriasoft/hyperapp-render",
"author": "Vladimir Kutepov",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const voidElements = new Set([

// credits to https://github.com/component/escape-html
export function escapeHtml(value) {
if (value == null) return '';
if (value == null) return ''
const str = '' + value
if (typeof value === 'number') {
// better performance for safe values
Expand Down

0 comments on commit 5761b21

Please sign in to comment.