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

atomic-state

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atomic-state - npm Package Compare versions

Comparing version 2.7.7 to 2.7.8

23

dist/mod.d.ts

@@ -173,9 +173,18 @@ /** @license Atomic State

*/
export declare function createStore<R>(config?: Partial<Atom<R>>): () => R & ActionsObjectType<{
setPartialvalue: Partial<R> | ((v: Required<R>) => Partial<R>);
setValue: R | ((v: Required<R>) => R);
reset: any;
} & {
[key: string]: any;
}>;
export declare function createStore<R>(config?: Partial<Atom<R>>): {
(): R & ActionsObjectType<{
setPartialvalue: Partial<R> | ((v: Required<R>) => Partial<R>);
setValue: R | ((v: Required<R>) => R);
reset: any;
} & {
[key: string]: any;
}>;
atom: Atom<R, {
setPartialvalue: Partial<R> | ((v: Required<R>) => Partial<R>);
setValue: R | ((v: Required<R>) => R);
reset: any;
} & {
[key: string]: any;
}> | Selector<R>;
};
/**

@@ -182,0 +191,0 @@ * Get an atom's value

{
"name": "atomic-state",
"version": "2.7.7",
"version": "2.7.8",
"description": "Atomic State is a state management library for React",

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

Sorry, the diff of this file is too big to display

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