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

use-http

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-http - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

2

dist/cjs/useFetch.js

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

case 14:
if (!(cachePolicy === CACHE_FIRST)) return [3 /*break*/, 16];
if (!(cachePolicy === CACHE_FIRST && !response.isCached)) return [3 /*break*/, 16];
return [4 /*yield*/, cache.set(response.id, newRes.clone())];

@@ -182,0 +182,0 @@ case 15:

@@ -173,3 +173,3 @@ var __assign = (this && this.__assign) || function () {

case 14:
if (!(cachePolicy === CACHE_FIRST)) return [3 /*break*/, 16];
if (!(cachePolicy === CACHE_FIRST && !response.isCached)) return [3 /*break*/, 16];
return [4 /*yield*/, cache.set(response.id, newRes.clone())];

@@ -176,0 +176,0 @@ case 15:

{
"name": "use-http",
"version": "1.0.20",
"version": "1.0.21",
"homepage": "https://use-http.com",

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

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