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.0-rc.1 to 4.0.0-rc.2

4

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

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

"scripts": {
"build": "microbundle --sourcemap false --jsx React.createElement",
"build": "microbundle --sourcemap false --jsx React.createElement --output dist --tsconfig ./tsconfig.json",
"commit": "git-cz",

@@ -12,0 +12,0 @@ "lint-ts": "tslint -c tslint.json 'src/**/*.ts'",

@@ -162,3 +162,5 @@ type Setter = {

? S extends (...args: any) => void
? ReturnType<S>
? Equals<S, undefined> extends true
? [ReturnType<Get<M[K], 'getState'>>, Get<M[K], 'actions'>]
: ReturnType<S>
: ReturnType<Get<M[K], 'useStore'>>

@@ -165,0 +167,0 @@ : M[K] extends ModelType

@@ -19,3 +19,3 @@ {

"include": ["./src/*"],
"exclude": ["node_modules", "./dist/*"]
"exclude": ["node_modules", "dist"]
}

Sorry, the diff of this file is not supported yet

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