Socket
Socket
Sign inDemoInstall

redux-thunk

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

7

lib/index.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = thunkMiddleware;
function thunkMiddleware(_ref) {

@@ -17,2 +13,3 @@ var dispatch = _ref.dispatch;

}
module.exports = exports['default'];
module.exports = thunkMiddleware;
{
"name": "redux-thunk",
"version": "1.0.2",
"version": "1.0.3",
"description": "Thunk middleware for Redux.",

@@ -11,4 +11,4 @@ "main": "lib/index.js",

"scripts": {
"compile": "babel src --out-dir lib",
"prepublish": "rimraf lib && npm run compile",
"build": "babel src --out-dir lib",
"prepublish": "rimraf lib && npm run build",
"test": "mocha --compilers js:babel-core/register --reporter spec test/*.js"

@@ -15,0 +15,0 @@ },

@@ -1,2 +0,2 @@

export default function thunkMiddleware({ dispatch, getState }) {
function thunkMiddleware({ dispatch, getState }) {
return next => action =>

@@ -7,1 +7,3 @@ typeof action === 'function' ?

}
module.exports = thunkMiddleware
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc