Socket
Socket
Sign inDemoInstall

react-model

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-model - npm Package Compare versions

Comparing version 4.0.1-rc.0 to 4.0.1-rc.1

5

package.json
{
"name": "react-model",
"version": "4.0.1-rc.0",
"version": "4.0.1-rc.1",
"description": "The State management library for React",

@@ -25,3 +25,4 @@ "main": "./dist/react-model.js",

"react": ">=16.3.0",
"react-dom": ">=16.3.0"
"react-dom": ">=16.3.0",
"typescript": ">=3.9.0"
},

@@ -28,0 +29,0 @@ "devDependencies": {

@@ -47,3 +47,2 @@ type Setter = {

// Very Sad, Promise<ProduceFunc<S>> can not work with Partial<S> | ProduceFunc<S>
type Action<S = {}, P = any, ActionKeys = {}, ExtContext extends {} = {}> = (

@@ -57,7 +56,5 @@ params: P,

| Partial<S>
| Promise<Partial<S>>
| Promise<Partial<S> | ProduceFunc<S> | void>
| ProduceFunc<S>
| Promise<ProduceFunc<S>>
| void
| Promise<void>

@@ -64,0 +61,0 @@ type ProduceFunc<S> = (state: S) => void

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