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

easy-react-state

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-react-state - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

9

dist/index.d.ts

@@ -12,9 +12,10 @@ export interface Options {

}
interface Listener {
export interface Listener {
(): void;
}
export declare type ListenersMap = Map<Listener, Listener>;
export interface Setter {
(...args: any[]): any;
}
interface Setters {
export interface Setters {
[x: string]: Setter;

@@ -34,3 +35,3 @@ }

}
interface Selector<S> {
export interface Selector<S> {
<T>(selector: (state: S) => T, equalityFn?: (prevSelectedState: T, nextSelectedState: T) => boolean): T;

@@ -44,3 +45,3 @@ }

};
declare type TransformReturnTypeOfEverySetterToVoid<T extends Setters> = {
export declare type TransformReturnTypeOfEverySetterToVoid<T extends Setters> = {
[K in keyof T]: (...args: Parameters<T[K]>) => void;

@@ -47,0 +48,0 @@ };

{
"name": "easy-react-state",
"version": "1.0.8",
"version": "1.0.9",
"description": "Fun to use state management library for your awesome React app",

@@ -5,0 +5,0 @@ "author": "ombori",

@@ -208,5 +208,1 @@ # easy-react-state

MIT © [ombori](https://github.com/ombori)
```
```
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