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

redux-toolbelt-saga

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-toolbelt-saga - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

.babelrc

0

CHANGELOG.md

@@ -0,0 +0,0 @@ ## v2.0.0 (2017-10-08)

25

lib/makeAsyncSaga.js

@@ -6,2 +6,11 @@ 'use strict';

});
var _regenerator = require('babel-runtime/regenerator');
var _regenerator2 = _interopRequireDefault(_regenerator);
var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray');
var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);
exports.default = makeAsyncSaga;

@@ -11,5 +20,5 @@

var _marked3 = /*#__PURE__*/regeneratorRuntime.mark(getArgs);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
var _marked3 = /*#__PURE__*/_regenerator2.default.mark(getArgs);

@@ -24,4 +33,4 @@ /**

function makeAsyncSaga(asyncActionCreator, fn) {
var _marked = /*#__PURE__*/regeneratorRuntime.mark(exec),
_marked2 = /*#__PURE__*/regeneratorRuntime.mark(waitFor);
var _marked = /*#__PURE__*/_regenerator2.default.mark(exec),
_marked2 = /*#__PURE__*/_regenerator2.default.mark(waitFor);

@@ -32,3 +41,3 @@ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};

var args, result;
return regeneratorRuntime.wrap(function exec$(_context) {
return _regenerator2.default.wrap(function exec$(_context) {
while (1) {

@@ -53,3 +62,3 @@ switch (_context.prev = _context.next) {

_context.next = 8;
return _effects.call.apply(undefined, [fn].concat(_toConsumableArray(args)));
return _effects.call.apply(undefined, [fn].concat((0, _toConsumableArray3.default)(args)));

@@ -80,3 +89,3 @@ case 8:

function waitFor() {
return regeneratorRuntime.wrap(function waitFor$(_context2) {
return _regenerator2.default.wrap(function waitFor$(_context2) {
while (1) {

@@ -100,3 +109,3 @@ switch (_context2.prev = _context2.next) {

function getArgs(action, options) {
return regeneratorRuntime.wrap(function getArgs$(_context3) {
return _regenerator2.default.wrap(function getArgs$(_context3) {
while (1) {

@@ -103,0 +112,0 @@ switch (_context3.prev = _context3.next) {

{
"name": "redux-toolbelt-saga",
"version": "2.0.0",
"version": "2.0.1",
"description": "Saga helpers for redux-toolbelt",

@@ -22,3 +22,6 @@ "main": "lib/index.js",

"redux-saga": "^0.15.6"
},
"devDependencies": {
"babel-plugin-transform-runtime": "^6.23.0"
}
}

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