Skip to content

Commit 54baf82

Browse files
committed
Add types, remove position, use, useFirst
* Add types * Remove `position` option If you don’t want positions, use `unist-util-remove-position` yourself * Remove support for `use`, `useFirst`: you can manipulate the lists of plugins yourself * Fix support for CR and CRLF line endings * Remove `tokenizeText`, `tokenizeWhiteSpace`, `tokenizePunctuation`, `tokenizeSymbol`, `tokenizeSource`, `tokenizeWord` * Remove support for passing tokens to `tokenize` * Remove use of `Position` instances, use plain objects instead
1 parent 467065b commit 54baf82

28 files changed

+1335
-1781
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
coverage/
44
node_modules/
55
yarn.lock
6+
*.d.ts

0 commit comments

Comments
 (0)