Skip to content

Commit c1d4e2a

Browse files
committed
2.0.0
1 parent 00a67dd commit c1d4e2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hast-util-truncate",
3-
"version": "1.0.2",
3+
"version": "2.0.0",
44
"description": "hast utility to truncate the tree to a certain number of characters",
55
"license": "MIT",
66
"keywords": [

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ npm install hast-util-truncate
5757
In Deno with [`esm.sh`][esmsh]:
5858

5959
```js
60-
import {truncate} from "https://esm.sh/hast-util-truncate@1"
60+
import {truncate} from 'https://esm.sh/hast-util-truncate@2'
6161
```
6262

6363
In browsers with [`esm.sh`][esmsh]:
6464

6565
```html
6666
<script type="module">
67-
import {truncate} from "https://esm.sh/hast-util-truncate@1?bundle"
67+
import {truncate} from 'https://esm.sh/hast-util-truncate@2?bundle'
6868
</script>
6969
```
7070

0 commit comments

Comments
 (0)