Releases: eklem/daq-proc
Releases · eklem/daq-proc
Breaking change in words-n-numbers: Extracting single emojis instead of emoji words
The change in words-n-number is as follows:
No more "words" formed by several emojis. This because each emoji in a sense are words. Will also work better with search engines as each can be used as a filter if you have an emoji facet to filter on.
So instead of:
cons stringOfWords = 'A ticket to 大阪 costs ¥2000 👌😄 😢'
extract(stringOfWords, { regex: emojis})
// ['👌😄', '😢']
...you will get:
cons stringOfWords = 'A ticket to 大阪 costs ¥2000 👌😄 😢'
extract(stringOfWords, { regex: emojis})
// ['👌', '😄', '😢']
New test framework + more transparent functions
- Swapped from Webpack to Batr (rollup + playwright + AvaJS)
- Builds CJS, ESM and UMD
- Exposes functions from dependencies directly. For UMD they are all available under
dqp
Full Changelog: v6.0.0...v7.0.1
email extraction
- Email extraction + improved document processor demo
- Better query processor demo
More robust document processor demo
Fixing both demos
Both document processor (was buggy) and query processor (didn't work at all) are now working again.
Emoji, tags and username extraction + bug-fixes / security issues
wnn
now Extracts emojis + tags + usernames- Builds with Webpack v5
- Version bump for
cheerio
to remove some security issues - Removing some devDep security issues
Demo w/ fuzzy matching
You can choose to turn the fuzzy matching on/off in the demo
Adding leven-match, replacing leven
leven-match is used for fuzzy matching (query, autosuggest and hit-highlighting)
Upgraded hit-highlighter
A lot more versatile and robust hit-highlighter (v2.0.1). Easier to make work well on any text.
security update
Updating devDependencies and dependencies to latest. Only affects test, not distribution.