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

redux-promise-middleware

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-promise-middleware - npm Package Compare versions

Comparing version 3.3.1 to 3.3.2

dist/ReduxPromiseMiddleware.js

10

dist/index.js
'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 @@

};
}
};

7

package.json
{
"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"

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