redux-promise-middleware
Advanced tools
Comparing version 3.3.1 to 3.3.2
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
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; }; | ||
@@ -13,4 +9,2 @@ | ||
exports.default = promiseMiddleware; | ||
var _isPromise = require('./isPromise'); | ||
@@ -29,3 +23,3 @@ | ||
*/ | ||
function promiseMiddleware() { | ||
module.exports = function promiseMiddleware() { | ||
var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
@@ -180,2 +174,2 @@ | ||
}; | ||
} | ||
}; |
{ | ||
"name": "redux-promise-middleware", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Redux middleware for handling promises and optimistic updates", | ||
@@ -10,3 +10,6 @@ "main": "dist/index.js", | ||
"test": "make test_coverage", | ||
"build": "`npm bin`/babel src -d dist", | ||
"build": "npm run build:commonjs & npm run build:umd & npm run build:umd:min", | ||
"build:commonjs": "`npm bin`/babel src -d dist", | ||
"build:umd": "`npm bin`/webpack dist/ReduxPromiseMiddleware.js", | ||
"build:umd:min": "NODE_ENV=production `npm bin`/webpack dist/ReduxPromiseMiddleware.min.js", | ||
"prepublish": "npm test && npm run build", | ||
@@ -13,0 +16,0 @@ "lint": "`npm bin`/eslint src/**/*.js examples/**/*.js test/**/*.js" |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
26822
9
384
0
1