Skip to content

Commit 8dde16f

Browse files
author
Phillip Clark
committed
vsn bump to 0.3.6
1 parent eed9619 commit 8dde16f

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

Readme.md

+11-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212

1313
## ChangeLog
1414

15-
`0.3.5` - 2017-04-23 — Rolled up recent fixes; patches:
15+
`0.3.6` - 2017-04-25 — Fixed, closed lingering issues:
16+
* fixed #74 — comparing objects with longer cycles
17+
* fixed #70 — was not properly detecting a deletion when a property on the operand (lhs) had a value of `undefined` and was _undefined_ on the comparand (rhs). :o).
18+
19+
`0.3.5` - 2017-04-23 — Rolled up recent fixes; patches:
1620
* @stevemao — #79, #80: now testing latest version of node4
1721
* @mortonfox — #85: referencing mocha's new home
1822
* @tdebarochez — #90: fixed error when .toString not a function
@@ -208,15 +212,15 @@ observableDiff(lhs, rhs, function (d) {
208212

209213
A standard import of `var diff = require('deep-diff')` is assumed in all of the code examples. The import results in an object having the following public properties:
210214

211-
* `diff` - a function that calculates the differences between two objects.
212-
* `observableDiff` - a function that calculates the differences between two objects and reports each to an observer function.
213-
* `applyDiff` - a function that applies any structural differences from one object to another.
214-
* `applyChange` - a function that applies a single change record to an origin object.
215-
* `revertChange` - a function that reverts a single change record from a target object.
215+
* `diff(lhs, rhs, prefilter, acc)` — calculates the differences between two objects, optionally prefiltering elements for comparison, and optionally using the specified accumulator.
216+
* `observableDiff(lhs, rhs, observer, prefilter)` — calculates the differences between two objects and reports each to an observer function, optionally, prefiltering elements for comparison.
217+
* `applyDiff(target, source, filter)` — applies any structural differences from a source object to a target object, optionally filtering each difference.
218+
* `applyChange(target, source, change)` — applies a single change record to a target object. NOTE: `source` is unused and may be removed.
219+
* `revertChange(target, source, change)` reverts a single change record to a target object. NOTE: `source` is unused and may be removed.
216220

217221
### `diff`
218222

219-
The `diff` function calculates the difference between two objects. In version `0.1.7` you can supply your own `prefilter` function as the 3rd argument and control which properties are ignored while calculating differences throughout the object graph.
223+
The `diff` function calculates the difference between two objects.
220224

221225
**Arguments**
222226

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "deep-diff",
33
"main": "index.js",
4-
"version": "0.3.5",
4+
"version": "0.3.6",
55
"homepage": "https://github.com/flitbit/diff",
66
"authors": [
77
"Phillip Clark <[email protected]>",

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "deep-diff",
33
"description": "Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.",
4-
"version": "0.3.5",
4+
"version": "0.3.6",
55
"license": "MIT",
66
"keywords": [
77
"diff",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "deep-diff",
33
"description": "Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.",
4-
"version": "0.3.5",
4+
"version": "0.3.6",
55
"license": "MIT",
66
"keywords": [
77
"diff",

0 commit comments

Comments
 (0)