Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add use of prototype._clone() if found to clone an object. + test #93

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
resolve conflict in readme?
btsimonh committed Mar 24, 2018
commit 5a1712aa19b15fd1a61ddc51e4e7eb31c446256b
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -107,7 +107,12 @@ and is especially useful if the object is not clonable in the normal way.
the _clone() fn can be on the object prototype, or directly on the object as a method,
and should return the desired cloned object. See tests for examples.

### v2.1.2

#### 2018-03-21

- Use `Buffer.allocUnsafe()` on Node >= 4.5.0 (contributed by @ChALkeR)

### v2.1.1

#### 2017-03-09