dataparcels
Advanced tools
Comparing version 0.25.0-alpha.5.0 to 1.0.0
@@ -18,2 +18,4 @@ "use strict"; | ||
var _shallowEquals = _interopRequireDefault(require("unmutable/shallowEquals")); | ||
var _Errors = require("../errors/Errors"); | ||
@@ -95,3 +97,3 @@ | ||
}); | ||
(0, _defineProperty2.default)(this, "hasValueChanged", function () { | ||
(0, _defineProperty2.default)(this, "hasDataChanged", function () { | ||
var keyPath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; | ||
@@ -103,2 +105,11 @@ | ||
return !Object.is(next.value, prev.value) || !(0, _shallowEquals.default)(next.meta || {})(prev.meta || {}); | ||
}); | ||
(0, _defineProperty2.default)(this, "hasValueChanged", function () { | ||
var keyPath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; | ||
var _this$getDataIn2 = _this.getDataIn(keyPath), | ||
next = _this$getDataIn2.next, | ||
prev = _this$getDataIn2.prev; | ||
return !Object.is(next.value, prev.value); | ||
@@ -105,0 +116,0 @@ }); |
{ | ||
"name": "dataparcels", | ||
"version": "0.25.0-alpha.5.0", | ||
"version": "1.0.0", | ||
"description": "A library for editing data structures that works really well with React.", | ||
@@ -53,3 +53,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "adcf26cb7ca0246553496962125c81f972defa0d" | ||
"gitHead": "cd07fdd90c82a2c0678dc21fc6a44432970400a7" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
89093
2012
1