Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
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.0 to 1.0.1

src/index.js

11

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

@@ -15,4 +16,2 @@ var dispatch = _ref.dispatch;

};
}
module.exports = exports['default'];
}
{
"name": "redux-thunk",
"version": "1.0.0",
"version": "1.0.1",
"description": "Thunk middleware for Redux.",
"main": "lib/index.js",
"files": [
"lib",
"src"
],
"scripts": {
"prepublish": "rimraf lib && babel src --out-dir lib",
"test": "mocha --compilers js:babel/register --reporter spec test/*.js"
"compile": "babel src --out-dir lib",
"prepublish": "rimraf lib && npm run compile",
"test": "mocha --compilers js:babel-core/register --reporter spec test/*.js"
},

@@ -25,8 +30,11 @@ "repository": {

"devDependencies": {
"babel": "^5.6.14",
"babel-core": "^5.6.15",
"babel-eslint": "^3.1.20",
"babel": "^6.1.18",
"babel-core": "^6.2.1",
"babel-eslint": "^5.0.0-beta4",
"babel-cli": "^6.2.0",
"babel-preset-es2015": "^6.1.18",
"babel-preset-stage-0": "^6.1.18",
"chai": "^3.2.0",
"eslint": "^0.24.0",
"eslint-config-airbnb": "0.0.6",
"eslint": "^1.10.2",
"eslint-config-airbnb": "1.0.2",
"mocha": "^2.2.5",

@@ -33,0 +41,0 @@ "rimraf": "^2.4.3"

@@ -6,2 +6,6 @@ Redux Thunk

[![build status](https://img.shields.io/travis/gaearon/redux-thunk/master.svg?style=flat-square)](https://travis-ci.org/gaearon/redux-thunk)
[![npm version](https://img.shields.io/npm/v/redux-thunk.svg?style=flat-square)](https://www.npmjs.com/package/redux-thunk)
[![npm downloads](https://img.shields.io/npm/dm/redux-thunk.svg?style=flat-square)](https://www.npmjs.com/package/redux-thunk)
```js

@@ -13,3 +17,3 @@ npm install --save redux-thunk

A thunk is a function that wraps an expression to delay its evaluation.
A [thunk](https://en.wikipedia.org/wiki/Thunk) is a function that wraps an expression to delay its evaluation.

@@ -247,7 +251,6 @@ ```js

export default connect(
SandwichShop,
state => ({
sandwiches: state.sandwiches
})
);
)(SandwichShop);
```

@@ -254,0 +257,0 @@

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