Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 7, 2023
1 parent 00a67dd commit c1d4e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hast-util-truncate",
"version": "1.0.2",
"version": "2.0.0",
"description": "hast utility to truncate the tree to a certain number of characters",
"license": "MIT",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ npm install hast-util-truncate
In Deno with [`esm.sh`][esmsh]:

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

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

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

Expand Down

0 comments on commit c1d4e2a

Please sign in to comment.