Releases: papb/tree-shortcut
Releases · papb/tree-shortcut
v2.0.0
Breaking
- Drop support for Node.js 10
- Require TS 4.1 or above
Fixes
-
Fixed the algorithm on some edge-cases:
- When the tree contains an array with mixed plain-objects and other values, such as
[3, 4, { foo: true }, null]
- When the shortcut target prop exists on a non-plain-object, such as
setTime
for Dates - TypeScript only:
readonly
modifiers are handled properly now
- When the tree contains an array with mixed plain-objects and other values, such as
-
Fixed detailed algortithm explanation on readme
Internal improvements
- Switch from xo to @papb/linter
- Add more keywords to
package.json
- Add TS compatibility tests for 4.1, 4.2, 4.3, 4.4 and 4.5 on CI