Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/req

Package Overview
Dependencies
Maintainers
57
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/req - npm Package Compare versions

Comparing version 1.7.3 to 1.7.4

7

CHANGELOG.md
# Changelog
## [1.7.4](https://github.com/Applitools-Dev/sdk/compare/js/req@1.7.3...js/req@1.7.4) (2024-11-27)
### Bug Fixes
* set heartbeat request timeout as the request interval ([#2587](https://github.com/Applitools-Dev/sdk/issues/2587)) ([0251d27](https://github.com/Applitools-Dev/sdk/commit/0251d27d9ed44ec247732f66904ae3d4fa4123f1))
## [1.7.3](https://github.com/Applitools-Dev/sdk/compare/js/req@1.7.2...js/req@1.7.3) (2024-11-07)

@@ -4,0 +11,0 @@

10

dist/req.js

@@ -34,3 +34,3 @@ import { AbortController } from 'abort-controller';

try {
return await req(input, options);
return await singleReq(input, options);
}

@@ -41,3 +41,3 @@ finally {

}
async function req(input, options) {
async function singleReq(input, options) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;

@@ -107,3 +107,3 @@ const url = new URL(String((_a = input.url) !== null && _a !== void 0 ? _a : input), options.baseUrl);

if (fallbackOptions) {
const fallbackStrategyResponse = await req(request, fallbackOptions);
const fallbackStrategyResponse = await singleReq(request, fallbackOptions);
(_h = fallbackStrategy.cache) !== null && _h !== void 0 ? _h : (fallbackStrategy.cache = new Map());

@@ -134,3 +134,3 @@ fallbackStrategy.cache.set(new URL(request.url).origin, fallbackStrategyResponse.ok);

if (retryRequest !== stop) {
return req(retryRequest, options);
return singleReq(retryRequest, options);
}

@@ -165,3 +165,3 @@ }

if (retryRequest !== stop) {
return req(retryRequest, options);
return singleReq(retryRequest, options);
}

@@ -168,0 +168,0 @@ }

{
"name": "@applitools/req",
"version": "1.7.3",
"version": "1.7.4",
"description": "Applitools fetch-based request library",

@@ -5,0 +5,0 @@ "keywords": [

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