New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pullstate

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pullstate - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

5

Changelog.md

@@ -0,1 +1,6 @@

### 1.6.1
* **[async] [bugfix]** fixed problem with multiple beckoned actions infinite looping for same arguments
* Allow for passing a non-object as an argument to an async action (`string` / `boolean` etc.)
## 1.6.0

@@ -2,0 +7,0 @@

5

dist/index.es.js

@@ -324,2 +324,5 @@ import React,{useState,useRef,useEffect,useContext,useMemo}from'react';import produce$1 from'immer';const isEqual = require("fast-deep-equal");

}
if (typeof json !== "object") {
return `${json}`;
}
let prefix = "{";

@@ -435,4 +438,4 @@ for (const key of Object.keys(json).sort()) {

}
let currentActionOrd = actionOrdUpdate(cache, key);
if (!cache.actions.hasOwnProperty(key)) {
const currentActionOrd = actionOrdUpdate(cache, key);
if (initiate) {

@@ -439,0 +442,0 @@ if (shortCircuitHook !== undefined) {

@@ -323,2 +323,5 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _interopDefault(e){return(e&&(typeof e==='object')&&'default'in e)?e['default']:e}var React=require('react'),React__default=_interopDefault(React),produce$1=_interopDefault(require('immer'));const isEqual = require("fast-deep-equal");

}
if (typeof json !== "object") {
return `${json}`;
}
let prefix = "{";

@@ -434,4 +437,4 @@ for (const key of Object.keys(json).sort()) {

}
let currentActionOrd = actionOrdUpdate(cache, key);
if (!cache.actions.hasOwnProperty(key)) {
const currentActionOrd = actionOrdUpdate(cache, key);
if (initiate) {

@@ -438,0 +441,0 @@ if (shortCircuitHook !== undefined) {

2

package.json
{
"name": "pullstate",
"version": "1.6.0",
"version": "1.6.1",
"description": "Simple state stores using immer and React hooks",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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