Releases: unjs/destr
Releases · unjs/destr
v2.0.3
v2.0.2
v2.0.1
🔥 Performance
📖 Documentation
- Correct
safeDestr
example usage and tests (#75)
🏡 Chore
🎨 Styles
- Format code (5e014f9)
❤️ Contributors
- Pooya Parsa (@pi0)
- Webstrand webstrand@gmail.com
- Frenco hey@frenco.dev
v2.0.0
⭐ What is new
- Destr is now typesafe by default
- Supporting newly named export
safeDestr
to throw errors instead of silently ignoring them - Faster string handling with fast path
- [Check The Docs]
Breaking Changes
-- import destr from 'destr'
++ import { destr } from 'destr'
-- const destr = require('destr')
++ const { destr } = require('destr')
🚀 Enhancements
⚠️ Support generic type withunkown
default (#68)- Show warning when dropping unsafe keys (#57)
- Support minus infinity (#67)
- Support
safeDestr
(#70) - Parse double-quoted string with fast path (#71)
🔥 Performance
- Move common check earlier (5be5732)
💅 Refactors
⚠️ Use nameddestr
export (#69)
❤️ Contributors
- Pooya Parsa (@pi0)
- Zuixinwang
- Nozomu Ikuta
- Sébastien Chopin seb@nuxtlabs.com