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

@redux-saga/core

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redux-saga/core - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

dist/io-1d6eccda.js

28

dist/redux-saga-core.dev.cjs.js

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

var is = require('@redux-saga/is');
var io = require('./io-9e79e69e.js');
var io = require('./io-1d6eccda.js');
var redux = require('redux');

@@ -1384,15 +1384,11 @@ var deferred = _interopDefault(require('@redux-saga/deferred'));

function sagaMiddlewareFactory(_ref) {
if (_ref === void 0) {
_ref = {};
}
function sagaMiddlewareFactory(_temp) {
var _ref = _temp === void 0 ? {} : _temp,
_ref$context = _ref.context,
context = _ref$context === void 0 ? {} : _ref$context,
_ref$channel = _ref.channel,
channel = _ref$channel === void 0 ? stdChannel() : _ref$channel,
sagaMonitor = _ref.sagaMonitor,
options = _objectWithoutPropertiesLoose(_ref, ["context", "channel", "sagaMonitor"]);
var _ref2 = _ref,
_ref2$context = _ref2.context,
context = _ref2$context === void 0 ? {} : _ref2$context,
_ref2$channel = _ref2.channel,
channel = _ref2$channel === void 0 ? stdChannel() : _ref2$channel,
sagaMonitor = _ref2.sagaMonitor,
options = _objectWithoutPropertiesLoose(_ref2, ["context", "channel", "sagaMonitor"]);
var boundRunSaga;

@@ -1404,5 +1400,5 @@

function sagaMiddleware(_ref3) {
var getState = _ref3.getState,
dispatch = _ref3.dispatch;
function sagaMiddleware(_ref2) {
var getState = _ref2.getState,
dispatch = _ref2.dispatch;
boundRunSaga = runSaga.bind(null, _extends({}, options, {

@@ -1409,0 +1405,0 @@ context: context,

@@ -6,4 +6,4 @@ import { CHANNEL_END_TYPE, MULTICAST, MATCH, SAGA_ACTION, CANCEL, SELF_CANCELLATION, TERMINATE, TASK, TASK_CANCEL, IO } from '@redux-saga/symbols';

import { string as string$1, array as array$1, stringableFunc, func, symbol as symbol$1, buffer, notUndef, promise, iterator, undef, object, channel as channel$1 } from '@redux-saga/is';
import { k as kTrue, e as expanding, c as check, o as once, r as remove, n as none, i as internalErr, T as TAKE, P as PUT, A as ALL, R as RACE, C as CALL, a as CPS, F as FORK, J as JOIN, b as CANCEL$1, S as SELECT, d as ACTION_CHANNEL, f as CANCELLED$1, g as FLUSH, G as GET_CONTEXT, h as SET_CONTEXT, j as getMetaInfo, l as createAllStyleChildCallbacks, m as createEmptyArray, p as assignWithSymbols, q as makeIterator, s as shouldComplete, t as noop, u as flatMap, v as getLocation, w as createSetContextWarning, x as asyncIteratorSymbol, y as shouldCancel, z as shouldTerminate, B as logError, D as wrapSagaDispatch, E as identity } from './io-427945dd.js';
export { H as buffers, I as detach } from './io-427945dd.js';
import { k as kTrue, e as expanding, c as check, o as once, r as remove, n as none, i as internalErr, T as TAKE, P as PUT, A as ALL, R as RACE, C as CALL, a as CPS, F as FORK, J as JOIN, b as CANCEL$1, S as SELECT, d as ACTION_CHANNEL, f as CANCELLED$1, g as FLUSH, G as GET_CONTEXT, h as SET_CONTEXT, j as getMetaInfo, l as createAllStyleChildCallbacks, m as createEmptyArray, p as assignWithSymbols, q as makeIterator, s as shouldComplete, t as noop, u as flatMap, v as getLocation, w as createSetContextWarning, x as asyncIteratorSymbol, y as shouldCancel, z as shouldTerminate, B as logError, D as wrapSagaDispatch, E as identity } from './io-6de156f3.js';
export { H as buffers, I as detach } from './io-6de156f3.js';
import { compose } from 'redux';

@@ -1380,15 +1380,11 @@ import deferred from '@redux-saga/deferred';

function sagaMiddlewareFactory(_ref) {
if (_ref === void 0) {
_ref = {};
}
function sagaMiddlewareFactory(_temp) {
var _ref = _temp === void 0 ? {} : _temp,
_ref$context = _ref.context,
context = _ref$context === void 0 ? {} : _ref$context,
_ref$channel = _ref.channel,
channel = _ref$channel === void 0 ? stdChannel() : _ref$channel,
sagaMonitor = _ref.sagaMonitor,
options = _objectWithoutPropertiesLoose(_ref, ["context", "channel", "sagaMonitor"]);
var _ref2 = _ref,
_ref2$context = _ref2.context,
context = _ref2$context === void 0 ? {} : _ref2$context,
_ref2$channel = _ref2.channel,
channel = _ref2$channel === void 0 ? stdChannel() : _ref2$channel,
sagaMonitor = _ref2.sagaMonitor,
options = _objectWithoutPropertiesLoose(_ref2, ["context", "channel", "sagaMonitor"]);
var boundRunSaga;

@@ -1400,5 +1396,5 @@

function sagaMiddleware(_ref3) {
var getState = _ref3.getState,
dispatch = _ref3.dispatch;
function sagaMiddleware(_ref2) {
var getState = _ref2.getState,
dispatch = _ref2.dispatch;
boundRunSaga = runSaga.bind(null, _extends({}, options, {

@@ -1405,0 +1401,0 @@ context: context,

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

var is = require('@redux-saga/is');
var io = require('./io-d4ec1d36.js');
var io = require('./io-d7550be2.js');
var redux = require('redux');

@@ -1295,20 +1295,16 @@ var deferred = _interopDefault(require('@redux-saga/deferred'));

function sagaMiddlewareFactory(_ref) {
if (_ref === void 0) {
_ref = {};
}
function sagaMiddlewareFactory(_temp) {
var _ref = _temp === void 0 ? {} : _temp,
_ref$context = _ref.context,
context = _ref$context === void 0 ? {} : _ref$context,
_ref$channel = _ref.channel,
channel = _ref$channel === void 0 ? stdChannel() : _ref$channel,
sagaMonitor = _ref.sagaMonitor,
options = _objectWithoutPropertiesLoose(_ref, ["context", "channel", "sagaMonitor"]);
var _ref2 = _ref,
_ref2$context = _ref2.context,
context = _ref2$context === void 0 ? {} : _ref2$context,
_ref2$channel = _ref2.channel,
channel = _ref2$channel === void 0 ? stdChannel() : _ref2$channel,
sagaMonitor = _ref2.sagaMonitor,
options = _objectWithoutPropertiesLoose(_ref2, ["context", "channel", "sagaMonitor"]);
var boundRunSaga;
function sagaMiddleware(_ref3) {
var getState = _ref3.getState,
dispatch = _ref3.dispatch;
function sagaMiddleware(_ref2) {
var getState = _ref2.getState,
dispatch = _ref2.dispatch;
boundRunSaga = runSaga.bind(null, _extends({}, options, {

@@ -1315,0 +1311,0 @@ context: context,

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

var is = require('@redux-saga/is');
var io = require('./io-9e79e69e.js');
var io = require('./io-1d6eccda.js');
require('@redux-saga/delay-p');

@@ -11,0 +11,0 @@

import '@redux-saga/symbols';
import '@babel/runtime/helpers/esm/extends';
import { channel, stringableFunc, func, notUndef } from '@redux-saga/is';
import { q as makeIterator, K as take, L as fork, M as cancel, N as call, O as actionChannel, Q as sliding, U as delay, V as race, c as check } from './io-427945dd.js';
export { O as actionChannel, _ as all, $ as apply, N as call, M as cancel, a4 as cancelled, a0 as cps, U as delay, W as effectTypes, a5 as flush, L as fork, a6 as getContext, a2 as join, Y as put, Z as putResolve, V as race, a3 as select, a7 as setContext, a1 as spawn, K as take, X as takeMaybe } from './io-427945dd.js';
import { q as makeIterator, K as take, L as fork, M as cancel, N as call, O as actionChannel, Q as sliding, U as delay, V as race, c as check } from './io-6de156f3.js';
export { O as actionChannel, _ as all, $ as apply, N as call, M as cancel, a4 as cancelled, a0 as cps, U as delay, W as effectTypes, a5 as flush, L as fork, a6 as getContext, a2 as join, Y as put, Z as putResolve, V as race, a3 as select, a7 as setContext, a1 as spawn, K as take, X as takeMaybe } from './io-6de156f3.js';
import '@redux-saga/delay-p';

@@ -7,0 +7,0 @@

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

var is = require('@redux-saga/is');
var io = require('./io-d4ec1d36.js');
var io = require('./io-d7550be2.js');
require('@redux-saga/delay-p');

@@ -11,0 +11,0 @@

{
"name": "@redux-saga/core",
"version": "1.1.1",
"version": "1.1.2",
"description": "Saga middleware for Redux to handle Side Effects",

@@ -13,12 +13,10 @@ "main": "./dist/redux-saga-core.cjs.js",

"scripts": {
"test": "npm run test:types && npm run test:jest",
"test": "yarn test:types && yarn test:jest",
"test:jest": "jest",
"test:types": "dtslint types",
"prebundlesize": "npm run build",
"bundlesize": "bundlesize",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"prebuild": "yarn clean",
"build": "rollup -c",
"postbuild": "node ./scripts/createProxyCjsEntries.js",
"prepare": "npm run build",
"prepare": "yarn build",
"preversion": "npm test"

@@ -48,7 +46,7 @@ },

"dependencies": {
"@babel/runtime": "^7.6.0",
"@redux-saga/deferred": "^1.1.0",
"@redux-saga/delay-p": "^1.1.0",
"@redux-saga/is": "^1.1.0",
"@redux-saga/symbols": "^1.1.0",
"@babel/runtime": "^7.6.3",
"@redux-saga/deferred": "^1.1.2",
"@redux-saga/delay-p": "^1.1.2",
"@redux-saga/is": "^1.1.2",
"@redux-saga/symbols": "^1.1.2",
"@redux-saga/types": "^1.1.0",

@@ -59,10 +57,8 @@ "redux": "^4.0.4",

"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/core": "^7.6.4",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/polyfill": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-env": "^7.6.3",
"babel-7-jest": "^21.3.3",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"bundlesize": "^0.11.0",
"dtslint": "^0.9.0",

@@ -72,4 +68,4 @@ "jest": "^23.5.0",

"mitt": "^1.1.2",
"rimraf": "^2.4.3",
"rollup": "^1.21.1",
"rimraf": "^3.0.0",
"rollup": "^1.23.1",
"rollup-plugin-alias": "^1.4.0",

@@ -79,3 +75,3 @@ "rollup-plugin-babel": "5.0.0-alpha.0",

"rollup-plugin-replace": "^1.1.1",
"typescript": "^3.6.2"
"typescript": "^3.6.4"
},

@@ -95,3 +91,3 @@ "types": "./index.d.ts",

},
"gitHead": "3f97167ca4e9a1d28aafded9edb379c5a6c953a6"
"gitHead": "da88bb4df0de4066597bd34739580d986f67e0f0"
}
// TypeScript Version: 3.2
import { Action, Middleware } from 'redux'
import { Saga, Buffer, Channel, END, Predicate, SagaIterator, Task } from '@redux-saga/types'
import { Saga, Buffer, Channel, END as EndType, Predicate, SagaIterator, Task } from '@redux-saga/types'
import { ForkEffect } from './effects'

@@ -244,4 +244,4 @@

export const CANCEL: string
export const END: END
export type END = END
export const END: EndType
export type END = EndType

@@ -248,0 +248,0 @@ export interface TakeableChannel<T> {

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