Releases: sindresorhus/dot-prop
Releases · sindresorhus/dot-prop
v9.0.0
v8.0.2
v8.0.1
- Fix
deepKeys
to not throw on sparse arrays f21b68e
v8.0.0
v7.2.0
- Add
deepKeys()
(#94) 3902c64 - Fix TypeScript types (#92) 2c1bbfb
v7.1.1
v7.1.0
v7.0.0
Breaking
- This package is now pure ESM. Please read this.
- Require Node.js 12 5a83242
- Require TypeScript 4.1 for the types (#80) 09adad9
- Accessing array indices were never documented in previous versions, but it worked as
'a.0'
. This no longer works. Use'a[0]'
instead. - The package now enforces named exports and renamed the methods:
const {get} = require('dot-prop')
→import {getProperty} from 'dot-prop'
const {set} = require('dot-prop')
→import {setProperty} from 'dot-prop'
const {has} = require('dot-prop')
→import {hasProperty} from 'dot-prop'
const {delete: delete_} = require('dot-prop')
→import {deleteProperty} from 'dot-prop'