title | description |
---|---|
Release notes |
Latest updates for the @social-embed URL parsing library. |
-
Security: Fixes to mitigate polynomial regex expressions (#24)
- Limit URL lengths for Loom, EdPuzzle, and Wistia
-
Move from
eslint
tooxc
(#26)Faster linting, as it is rust-based.
-
Security: Fixes to mitigate polynomial regex expressions (#17)
-
Add plugins: eslint-plugin-redos-detector (redos-detector)
-
lib(matcher): Cap length to prevent some ReDoS vectors
-
Simplify regexes for EdPuzzle, Loom, Spotify, Wistia, YouTube
-
Remove generic URL regex: This regex is difficult to constrain
isValidUrl()
: in favor of usingURL()
constructor directly to test URL validity.
-
- Regex patterns will be set to be removed in future releases in favor of a typed, URL matching object (interface is to be determined).
Skipped directly to v0.1.0-next.7 due to publishing error.
- Prettier: Add css and JS import ordering
- package.json: Add
typings: 'dist/index.d.ts'
See commits
-
Include typings
- Add vite-plugin-dts
See commits
- Fix for package.json
See commits
- Move to
vite
(#8)
See commits
- Move
jest
todevDependencies
- Move from
tsdx
torollup
(#43)
- Add
matcher
helper to generate regex matchers - Generic URL regular expression
- Added API Documentation: https://social-embed.git-pull.com/api/modules/lib.html
- Added normal documentation: https://social-embed.git-pull.com/docs/lib/
- YouTube: Move back to single file
- #30: Add loom, wistia and edpuzzle