Skip to content

Releases: sindresorhus/dot-prop

v10.1.0

05 Oct 12:01

Choose a tag to compare


v10.0.0...v10.1.0

v10.0.0

13 Sep 17:46

Choose a tag to compare

Breaking

Improvements

  • Add support for dot notation array indices 14e9f81
  • Add unflatten to expand dot path into nested objects 5e9ea47
  • TypeScript: Use unknown instead of undefined for uncertain return types 60fccd6

v9.0.0...v10.0.0

v9.0.0

09 May 20:31

Choose a tag to compare

Breaking

Improvements

v8.0.2...v9.0.0

v8.0.2

18 Jul 13:29

Choose a tag to compare

v8.0.1...v8.0.2

v8.0.1

29 Jun 18:14

Choose a tag to compare

  • Fix deepKeys to not throw on sparse arrays f21b68e

v8.0.0...v8.0.1

v8.0.0

22 Apr 06:40

Choose a tag to compare

Breaking

Improvements

  • Make deepKeys() include empty arrays and objects (#105) 49e9082

v7.2.0...v8.0.0

v7.2.0

17 Feb 03:46

Choose a tag to compare

v7.1.1...v7.2.0

v7.1.1

22 Jan 17:39

Choose a tag to compare

  • Fix crash when modifying array length (#89) d363922

v7.1.0...v7.1.1

v7.1.0

22 Jan 07:34

Choose a tag to compare

v7.0.0

21 Jan 10:01

Choose a tag to compare

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'

Improvements

v6.0.1...v7.0.0