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

redux-rungen

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-rungen - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

7

dist/index.js

@@ -10,3 +10,3 @@ 'use strict';

Object.keys(_helpers).forEach(function (key) {
if (key === "default") return;
if (key === "default" || key === "__esModule") return;
Object.defineProperty(exports, key, {

@@ -26,2 +26,4 @@ enumerable: true,

var _controls2 = _interopRequireDefault(_controls);
var _rungen = require('rungen');

@@ -34,3 +36,4 @@

var middleware = function middleware(store) {
var runtime = _rungen.create.apply(undefined, _toConsumableArray(_rungen.asyncControls).concat(_toConsumableArray(_rungen.wrapControls), _toConsumableArray((0, _controls.createControls)(store.dispatch, store.getState))));
var runtime = (0, _rungen.create)([].concat(_toConsumableArray(_rungen.asyncControls), _toConsumableArray(_rungen.wrapControls), _toConsumableArray((0, _controls2.default)(store.dispatch, store.getState))));
return function (next) {

@@ -37,0 +40,0 @@ return function (action) {

@@ -7,3 +7,3 @@ 'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

@@ -10,0 +10,0 @@ var _keys = require('./keys');

{
"name": "redux-rungen",
"version": "0.1.0",
"version": "0.1.1",
"description": "Write your redux action creators as generators",

@@ -20,3 +20,3 @@ "main": "dist/index.js",

},
"dependencies": {
"peerDependencies": {
"rungen": "^0.2.0"

@@ -23,0 +23,0 @@ },

import is from './utils/is'
import { createControls } from './controls'
import createControls from './controls'
import { create, asyncControls, wrapControls } from 'rungen'

@@ -7,7 +7,8 @@ export * from './utils/helpers'

const middleware = store => {
const runtime = create(
const runtime = create([
...asyncControls,
...wrapControls,
...createControls(store.dispatch, store.getState)
)
])
return next => action =>

@@ -14,0 +15,0 @@ is.iterator(action) ?

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