Socket
Socket
Sign inDemoInstall

dataparcels

Package Overview
Dependencies
7
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.25.0-alpha.5.0 to 1.0.0

13

lib/change/ChangeRequest.js

@@ -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 @@ });

4

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc