redux-toolbelt-saga
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,0 +0,0 @@ ## v2.0.0 (2017-10-08) |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14274
10
279
0
1