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

redux-saga-model

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-saga-model - npm Package Compare versions

Comparing version 0.2.17 to 0.2.18

10

lib/index.js

@@ -155,3 +155,5 @@ "use strict";

if (privateProps.prefix) {
model.namespace = "" + privateProps.prefix + SEP + m.namespace;
if (model.namespace !== '@@saga-model-prefix') {
model.namespace = "" + privateProps.prefix + SEP + m.namespace;
}
}

@@ -887,2 +889,8 @@ var namespace = model.namespace,

});
// 将当前 prefix 放在 state 中方便使用者直接获取
this.register({
namespace: "@@saga-model-prefix",
state: this.prefix(),
reducers: {}
});

@@ -889,0 +897,0 @@ // get reducers and sagas from model 全局的 sagas

2

package.json
{
"name": "redux-saga-model",
"version": "0.2.17",
"version": "0.2.18",
"dependencies": {

@@ -5,0 +5,0 @@ "flatten": "^1.0.2",

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