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

@hulanbv/nest-utilities-client-state

Package Overview
Dependencies
Maintainers
8
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hulanbv/nest-utilities-client-state - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

dist/hooks/core/useRequest.js

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

// Extract request options
const { proxyMethod, cache = false } = stateOptions;
const { appendQuery, proxyMethod, cache = false } = stateOptions;
// Create a shadow variable for `cache` so its value won't change.

@@ -59,3 +59,3 @@ const _cache = react_1.useRef(cache);

*/
const createRequestState = react_1.useCallback(() => new RequestState_1.RequestState(service, method, query, httpOptions, proxyMethod, _cache.current),
const createRequestState = react_1.useCallback(() => new RequestState_1.RequestState(service, method, query, httpOptions, proxyMethod, _cache.current, appendQuery),
// We do not need httpOptions as a dependency, because we know `httpOptionsHash` will change every time http options change.

@@ -62,0 +62,0 @@ // eslint-disable-next-line react-hooks/exhaustive-deps

{
"name": "@hulanbv/nest-utilities-client-state",
"version": "0.4.0",
"version": "0.4.1",
"description": "React hooks for state management when using nest-utilities-client and a nest-utilities based API.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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