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.8.9 to 2.9.0

5

dist/mod.d.ts

@@ -13,3 +13,6 @@ /** @license Atomic State

};
export type ActionType<Args, T = any> = (args: {
export type ActionType<T, Args = void> = Args extends void ? (args?: {
state: T;
dispatch: Dispatch<SetStateAction<T>>;
} & ActionGet) => void : (args: {
args: Args;

@@ -16,0 +19,0 @@ state: T;

30

package.json
{
"name": "atomic-state",
"version": "2.8.9",
"version": "2.9.0",
"description": "Atomic State is a state management library for React",

@@ -25,16 +25,16 @@ "main": "dist/index.js",

"devDependencies": {
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@testing-library/react": "^15.0.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
"@babel/preset-env": "7.24.5",
"@babel/preset-react": "7.24.1",
"@testing-library/react": "15.0.7",
"@types/jest": "29.5.12",
"@types/react": "18.3.2",
"@types/react-dom": "18.3.0",
"babel-jest": "29.7.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"ts-jest": "29.1.2",
"typescript": "5.4.5"
},

@@ -41,0 +41,0 @@ "peerDependencies": {

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