Skip to content

Commit f3129a4

Browse files
authored
Merge pull request #111 from jviide/rel-2.2
Prepare README.md and package.json files for a new release
2 parents ed113c0 + 5bd5207 commit f3129a4

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ It uses standard JavaScript [Tagged Templates] and works in [all modern browsers
1919

2020
⚛️ **< 500 bytes** when used with Preact _(thanks gzip 🌈)_
2121

22-
🥚 **< 400 byte** `htm/mini` version
22+
🥚 **< 420 byte** `htm/mini` version
2323

2424
🏅 **0 bytes** if compiled using [babel-plugin-htm]
2525

@@ -45,6 +45,7 @@ Here's some ergonomic features you get for free that aren't present in JSX:
4545
- Component end-tags: `<${Footer}>footer content<//>`
4646
- Syntax highlighting and language support via the [lit-html VSCode extension] and [vim-jsx-pretty plugin].
4747
- Multiple root element (fragments): `<div /><div />`
48+
- Support for HTML-style comments: `<div><!-- comment --></div>`
4849

4950
## Installation
5051

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "htm",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.",
55
"main": "dist/htm.js",
66
"umd:main": "dist/htm.umd.js",

packages/babel-plugin-htm/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "babel-plugin-htm",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "Babel plugin to compile htm's Tagged Template syntax to hyperscript or inline VNodes.",
55
"main": "dist/babel-plugin-htm.js",
66
"module": "dist/babel-plugin-htm.mjs",
@@ -33,7 +33,7 @@
3333
"license": "Apache-2.0",
3434
"homepage": "https://github.com/developit/htm/tree/master/packages/babel-plugin-htm",
3535
"dependencies": {
36-
"htm": "^2.0.0"
36+
"htm": "^2.2.0"
3737
},
3838
"devDependencies": {
3939
"microbundle": "^0.10.1"

packages/babel-plugin-transform-jsx-to-htm/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "babel-plugin-transform-jsx-to-htm",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Babel plugin to compile JSX to Tagged Templates.",
55
"main": "dist/babel-plugin-transform-jsx-to-htm.js",
66
"scripts": {
@@ -32,7 +32,7 @@
3232
"homepage": "https://github.com/developit/htm/tree/master/packages/babel-plugin-transform-jsx-to-htm",
3333
"dependencies": {
3434
"@babel/plugin-syntax-jsx": "^7.2.0",
35-
"htm": "^2.0.0"
35+
"htm": "^2.2.0"
3636
},
3737
"devDependencies": {
3838
"microbundle": "^0.10.1"

0 commit comments

Comments
 (0)