diff --git a/package.json b/package.json index f0ccbce..d2f0f79 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/readme.md b/readme.md index f28ab18..cf389bd 100644 --- a/readme.md +++ b/readme.md @@ -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 ```