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

reductive-dev-tools

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reductive-dev-tools - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

22

lib/js/src/connectors.bs.js

@@ -204,3 +204,11 @@ // Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE

Curry._1(store[/* component */0][/* send */3], Curry._1(deserializeVariant, targetAction));
var newState = getState(store);
var connectionInfo = unwrap(Js_dict.get(connections, meta[/* connectionId */3]), [
ConnectionNotFound,
"DevTool connection(id=$connectionId) not found"
]);
var match = Curry._2(connectionInfo[/* retainedReducer */1], Curry._1(deserializeVariant, targetAction), connectionInfo[/* retainedState */0]);
var tmp;
tmp = typeof match === "number" || match.tag ? connectionInfo[/* retainedState */0] : match[0];
connectionInfo[/* retainedState */0] = tmp;
var newState = connectionInfo[/* retainedState */0];
Caml_array.caml_array_get(computedStates, i).state = Curry._1(serializeObject, newState);

@@ -234,4 +242,2 @@ return /* () */0;

var ConnectionNotFound$1 = Caml_exceptions.create("Connectors-ReductiveDevTools.ConnectionHandler(Store).Exceptions.ConnectionNotFound");
function processToogleAction$1(store, payload, liftedState, meta) {

@@ -262,11 +268,3 @@ var skippedActions = liftedState.skippedActionIds;

Reductive.Store[/* dispatch */4](store, action);
var connectionInfo = unwrap(Js_dict.get(connections, meta[/* connectionId */3]), [
ConnectionNotFound$1,
"DevTool connection(id=$connectionId) not found"
]);
var match = Curry._2(connectionInfo[/* retainedReducer */1], Curry._1(deserializeVariant, targetAction), connectionInfo[/* retainedState */0]);
var tmp;
tmp = typeof match === "number" || match.tag ? connectionInfo[/* retainedState */0] : match[0];
connectionInfo[/* retainedState */0] = tmp;
var newState = connectionInfo[/* retainedState */0];
var newState = Reductive.Store[/* getState */5](store);
Caml_array.caml_array_get(computedStates, i).state = Curry._1(serializeObject, newState);

@@ -273,0 +271,0 @@ return /* () */0;

{
"name": "reductive-dev-tools",
"version": "0.1.7",
"version": "0.1.8",
"description": "reductive and reason-react reducer component integration with Redux DevTools",

@@ -5,0 +5,0 @@ "main": "lib/js/src/reductiveDevTools.bs.js",

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