Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dot-store

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot-store - npm Package Compare versions

Comparing version 0.9.5 to 0.9.6

17

dist/index.js

@@ -125,3 +125,3 @@ "use strict";

var _camelDot$camelDotMat, prop, props, detectChange, payload, result, prevState, state;
var _camelDot$camelDotMat, prop, props, detectChange, payload, result, prevState;

@@ -143,3 +143,2 @@ return _regenerator2.default.wrap(function _callee2$(_context2) {

props: props,
state: this.state,
store: this,

@@ -153,10 +152,7 @@ value: value

result = _dotPropImmutable2.default[op](this.state, prop, value);
prevState = void 0, state = void 0;
prevState = this.state;
if (op == "get") {
prevState = state = this.state;
} else {
prevState = this.state;
this.state = state = result;
if (op != "get") {
this.state = result;
}

@@ -172,4 +168,3 @@

detectChange: detectChange,
prevState: prevState,
state: state
prevState: prevState
});

@@ -270,3 +265,3 @@

_context3.next = 17;
return fn(payload);
return fn((0, _extends3.default)({}, payload, { state: this.state }));

@@ -273,0 +268,0 @@ case 17:

{
"name": "dot-store",
"version": "0.9.5",
"version": "0.9.6",
"description": "Like Redux, but easy",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc