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

zustand-utils

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zustand-utils - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

2

es/createStoreUpdater.d.ts

@@ -12,4 +12,4 @@ import { StoreApi } from 'zustand';

*/
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps: any[], setStateFn?: (state: T) => void) => void;
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps?: any[], setStateFn?: (state: T) => void) => void;
export declare const createStoreUpdater: <T>(storeApi: WithoutCallSignature<StoreApi<T>>) => UseStoreUpdater<T>;
export {};

@@ -12,4 +12,4 @@ import { StoreApi } from 'zustand';

*/
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps: any[], setStateFn?: (state: T) => void) => void;
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps?: any[], setStateFn?: (state: T) => void) => void;
export declare const createStoreUpdater: <T>(storeApi: WithoutCallSignature<StoreApi<T>>) => UseStoreUpdater<T>;
export {};
{
"name": "zustand-utils",
"version": "1.2.3",
"version": "1.2.4",
"description": "some utils for zustand",

@@ -68,3 +68,3 @@ "keywords": [

"@umijs/lint": "^4",
"@vitest/coverage-c8": "latest",
"@vitest/coverage-v8": "latest",
"antd": "^5",

@@ -71,0 +71,0 @@ "commitlint": "^17",

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