Skip to content

Commit 339365e

Browse files
committed
Merge in development state
2 parents 52c63a8 + 6c4f856 commit 339365e

17 files changed

+5315
-994
lines changed

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: CC0-1.0
2+
3+
git-tag-version=false

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,53 @@ All notable changes to this project will be documented in this file.
1111
The format is based on [**Keep a Changelog v1.0.0**](https://keepachangelog.com/en/1.0.0/),
1212
and this project adheres to [**Semantic Versioning v2.0.0**](https://semver.org/spec/v2.0.0.html).
1313

14+
## Unreleased ##
15+
16+
### Added ###
17+
18+
* New `deepWalk` function
19+
* Documentation comments are emitted into the type declaration files
20+
* `deepCopy` & `deepFreeze` function declaration overload for 3-dimensional arrays
21+
* Additional `options` parameter for `deepEquals`
22+
23+
### Changed ###
24+
25+
* `deepCopy`, `deepFreeze` & `safeCopy` operate on function objects and also freeze and/or copy properties with
26+
symbol keys
27+
* `deepCopy` & `safeCopy` also copy property configurations
28+
* `deepCopy` & `safeCopy` properly copy the following object types:
29+
* `RegExp`
30+
* `Date`
31+
* `Map`
32+
* `Set`
33+
* `Int8Array`
34+
* `Uint8Array`
35+
* `Uint8ClampedArray`
36+
* `Int16Array`
37+
* `Uint16Array`
38+
* `Int32Array`
39+
* `Uint32Array`
40+
* `Float32Array`
41+
* `Float64Array`
42+
* `BigInt64Array`
43+
* `BigUint64Array`
44+
* `ArrayBuffer`
45+
* `deepCopy` & `safeCopy` throw a `TypeError` when attempting to copy any of the following types:
46+
* function
47+
* `WeakMap`
48+
* `WeakSet`
49+
* `SharedArrayBuffer`
50+
* `DataView`
51+
* `Promise`
52+
53+
### Fixed ###
54+
55+
* `deepEquals` correctly compares `NaN` values
56+
57+
### Security ###
58+
59+
* Updated dependencies
60+
1461
## [v1.1.1] - 2022-11-24 ##
1562

1663
[v1.1.1]: https://github.com/mfederczuk/deeptools/releases/v1.1.1

0 commit comments

Comments
 (0)