New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redux-arc

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-arc - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

5

package.json
{
"name": "redux-arc",
"version": "0.2.1",
"version": "0.2.2",
"description": "Declarative way to make api calls in redux",

@@ -24,2 +24,3 @@ "main": "lib/index.js",

"test:cov": "yarn test -- --coverage",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",

@@ -67,2 +68,3 @@ "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",

"babel-register": "^6.3.13",
"coveralls": "^2.13.1",
"cross-env": "^5.0.1",

@@ -91,2 +93,3 @@ "eslint": "^3.19.0",

"jest": {
"coverageDirectory": "./coverage",
"testRegex": "(/test/.*\\.spec.js)$"

@@ -93,0 +96,0 @@ },

7

README.md

@@ -6,2 +6,3 @@ <img src="https://github.com/viniciusdacal/redux-arc/blob/master/arc-64.png?raw=true" height="64" />

[![build status](https://img.shields.io/travis/viniciusdacal/redux-arc/master.svg?style=flat-square)](https://travis-ci.org/viniciusdacal/redux-arc) [![npm version](https://img.shields.io/npm/v/redux-arc.svg?style=flat-square)](https://www.npmjs.com/package/redux-arc)
[![Coverage Status](https://coveralls.io/repos/github/viniciusdacal/redux-arc/badge.svg?branch=master)](https://coveralls.io/github/viniciusdacal/redux-arc?branch=master)

@@ -223,3 +224,3 @@ ## Why

```js
const policy store => done => (action, error, response) =>
const policy = store => done => (action, error, response) =>
done(action, error, response);

@@ -250,4 +251,4 @@ ```

// this is the policy
function omitId(options) {
return store => done => (action, ...params) => {
function omitId(store) {
return done => (action, ...params) => {
const { id, ...restAction } = action;

@@ -254,0 +255,0 @@ return done(restAction, ...params);

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