Socket
Socket
Sign inDemoInstall

redux-cut

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

dist/index.js

11

package.json
{
"name": "redux-cut",
"version": "1.0.1",
"version": "1.0.2",
"description": "Middleware to block redux actions based on provided criteria.",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/mocha --compilers js:babel-register"
"test": "./node_modules/.bin/mocha --compilers js:babel-register",
"clean": "rimraf dist",
"build": "babel src --out-dir dist",
"prepublish": "npm run clean && npm run test && npm run build"
},

@@ -23,7 +26,9 @@ "repository": {

"devDependencies": {
"babel": "^6.5.2",
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.8.0",
"chai": "^3.5.0",
"mocha": "^2.4.5"
"mocha": "^2.4.5",
"rimraf": "^2.5.2"
}
}
import chai from 'chai';
import cutMiddleware, { isBlockedAction, combineCriteria } from '../index';
import cutMiddleware, { isBlockedAction, combineCriteria } from '../src/index';

@@ -4,0 +4,0 @@ describe('cut middleware', () => {

Sorry, the diff of this file is not supported yet

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