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

react-redux-query

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-redux-query - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

actions.js
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
exports.update = exports.save = void 0;

@@ -11,3 +11,3 @@ /**

type: 'SAVE',
payload: payload
payload: payload,
};

@@ -23,5 +23,5 @@ }

type: 'UPDATE',
payload: payload
payload: payload,
};
}
exports.update = update;
{
"name": "react-redux-query",
"version": "0.2.1",
"version": "0.2.2",
"author": "Kyle Bebak <kylebebak@gmail.com>",

@@ -5,0 +5,0 @@ "description": "React hooks and functions for SWR-style data fetching, caching and automatic updates, backed by Redux",

@@ -60,3 +60,3 @@ "use strict";

};
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
exports.useResponse = exports.getResponse = exports.usePoll = exports.useQuery = exports.query = exports.ConfigContext = void 0;

@@ -66,3 +66,3 @@ var react_1 = require("react");

var actions_1 = require("./actions");
exports.ConfigContext = react_1["default"].createContext({});
exports.ConfigContext = react_1.createContext({});
var fetchStateByKey = {};

@@ -69,0 +69,0 @@ /**

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

import React, { useEffect, useRef, useContext } from 'react'
import { createContext, useEffect, useRef, useContext } from 'react'
import { useSelector, useDispatch } from 'react-redux'

@@ -7,3 +7,3 @@ import { Dispatch } from 'redux'

export const ConfigContext = React.createContext<{ branchName?: string; dedupe?: boolean; dedupeMs?: number }>({})
export const ConfigContext = createContext<{ branchName?: string; dedupe?: boolean; dedupeMs?: number }>({})

@@ -10,0 +10,0 @@ export interface QueryState<QR extends {} = any> {

@@ -13,3 +13,3 @@ "use strict";

};
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
/**

@@ -41,2 +41,2 @@ * This branch of state tree stores fetcher responses. Key is usually unique per

}
exports["default"] = reduce;
exports.default = reduce;
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