diff --git a/.changeset/token-delimiters.md b/.changeset/token-delimiters.md deleted file mode 100644 index 921fec25..00000000 --- a/.changeset/token-delimiters.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'esrap': minor ---- - -feat: add a `tokens` option to `print`. Pass the parser's tokens (e.g. Acorn's `onToken` array, or `ast.tokens` from typescript-eslint) and punctuation and keywords written by visitors — brackets, parentheses, braces, `else`, `extends`, `as` and so on — are mapped to their location in the source diff --git a/CHANGELOG.md b/CHANGELOG.md index 92ea82e5..cec3e8ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # esrap changelog +## 2.4.0 + +### Minor Changes + +- 52599f8: feat: add a `tokens` option to `print`. Pass the parser's tokens (e.g. Acorn's `onToken` array, or `ast.tokens` from typescript-eslint) and punctuation and keywords written by visitors — brackets, parentheses, braces, `else`, `extends`, `as` and so on — are mapped to their location in the source + ## 2.3.14 ### Patch Changes diff --git a/package.json b/package.json index 5d5c67e3..0318223a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "esrap", - "version": "2.3.14", + "version": "2.4.0", "description": "Parse in reverse", "repository": { "type": "git",