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

@meadow/redux-ensure-fsa

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meadow/redux-ensure-fsa - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0-alpha1

circle.yml

8

build/middleware.js

@@ -10,5 +10,11 @@ 'use strict';

function ensureFSAMiddleware() {
function ensureFSAMiddleware(_ref) {
var ignore = _ref.ignore;
return function (next) {
return function (action) {
if (typeof ignore === 'function' && ignore(action)) {
return next(action);
}
if (!(0, _fluxStandardAction.isFSA)(action)) {

@@ -15,0 +21,0 @@ console.log(action); // eslint-disable-line

@@ -5,4 +5,8 @@ 'use strict';

export default function ensureFSAMiddleware () {
export default function ensureFSAMiddleware ({ ignore }) {
return next => action => {
if (typeof ignore === 'function' && ignore(action)) {
return next(action);
}
if (!isFSA(action)) {

@@ -9,0 +13,0 @@ console.log(action); // eslint-disable-line

10

package.json
{
"name": "@meadow/redux-ensure-fsa",
"version": "1.0.5",
"version": "1.1.0-alpha1",
"description": "Redux middleware to check for flux standard actions",

@@ -9,3 +9,4 @@ "main": "build/middleware.js",

"release": "node scripts/release.js",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint modules --ext .js --ext .jsx"
},

@@ -36,5 +37,8 @@ "repository": {

"devDependencies": {
"@meadow/eslint-config": "^1.1.0",
"babel-cli": "^6.1.18",
"babel-preset-es2015": "^6.1.18"
"babel-eslint": "^4.1.6",
"babel-preset-es2015": "^6.1.18",
"eslint": "^1.10.3"
}
}

@@ -24,1 +24,5 @@ # Redux Ensure Flux Standard Action Middleware

```
- - -
[![ghit.me](https://ghit.me/badge.svg?repo=meadow/redux-ensure-fsa)](https://ghit.me/repo/meadow/redux-ensure-fsa)
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