Skip to content

Commit 49612fb

Browse files
committed
2.0.0
1 parent 4bee104 commit 49612fb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hast-util-to-jsx-runtime",
3-
"version": "1.2.0",
3+
"version": "2.0.0",
44
"description": "hast utility to transform to preact, react, solid, svelte, vue, etc",
55
"license": "MIT",
66
"keywords": [

readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ npm install hast-util-to-jsx-runtime
7171
In Deno with [`esm.sh`][esmsh]:
7272

7373
```js
74-
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@1'
74+
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'
7575
```
7676

7777
In browsers with [`esm.sh`][esmsh]:
7878

7979
```html
8080
<script type="module">
81-
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@1?bundle'
81+
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2?bundle'
8282
</script>
8383
```
8484

@@ -403,7 +403,7 @@ In a browser, do:
403403

404404
```js
405405
import {h} from 'https://esm.sh/hastscript@8'
406-
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@1'
406+
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'
407407
import {Fragment, jsx, jsxs} from 'https://esm.sh/preact@10/jsx-runtime'
408408
import {render} from 'https://esm.sh/preact@10'
409409

@@ -452,7 +452,7 @@ In a browser, do:
452452

453453
```js
454454
import {h} from 'https://esm.sh/hastscript@8'
455-
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@1'
455+
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'
456456
import {createApp} from 'https://esm.sh/vue@3'
457457
import {Fragment, jsx, jsxs} from 'https://esm.sh/vue@3/jsx-runtime'
458458

@@ -501,7 +501,7 @@ In a browser, do:
501501

502502
```js
503503
import {h} from 'https://esm.sh/hastscript@8'
504-
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@1'
504+
import {toJsxRuntime} from 'https://esm.sh/hast-util-to-jsx-runtime@2'
505505
import {Fragment, jsx, jsxs} from 'https://esm.sh/solid-js@1/h/jsx-runtime'
506506
import {render} from 'https://esm.sh/solid-js@1/web'
507507

0 commit comments

Comments
 (0)