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

@algolia/transporter

Package Overview
Dependencies
Maintainers
59
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/transporter - npm Package Compare versions

Comparing version 4.0.0-beta.6 to 4.0.0-beta.7

7

dist/transporter.cjs.js

@@ -190,4 +190,7 @@ 'use strict';

add(options) {
// eslint-disable-next-line functional/immutable-data
userAgent.value = `${userAgent.value}; ${options.segment}${options.version !== undefined ? ` (${options.version})` : ''}`;
const addedUserAgent = `; ${options.segment}${options.version !== undefined ? ` (${options.version})` : ''}`;
if (userAgent.value.indexOf(addedUserAgent) === -1) {
// eslint-disable-next-line functional/immutable-data
userAgent.value = `${userAgent.value}${addedUserAgent}`;
}
return userAgent;

@@ -194,0 +197,0 @@ },

@@ -186,4 +186,7 @@ // If an host is down, it will remain down for 5 mins.

add(options) {
// eslint-disable-next-line functional/immutable-data
userAgent.value = `${userAgent.value}; ${options.segment}${options.version !== undefined ? ` (${options.version})` : ''}`;
const addedUserAgent = `; ${options.segment}${options.version !== undefined ? ` (${options.version})` : ''}`;
if (userAgent.value.indexOf(addedUserAgent) === -1) {
// eslint-disable-next-line functional/immutable-data
userAgent.value = `${userAgent.value}${addedUserAgent}`;
}
return userAgent;

@@ -190,0 +193,0 @@ },

{
"name": "@algolia/transporter",
"version": "4.0.0-beta.6",
"version": "4.0.0-beta.7",
"private": false,

@@ -16,6 +16,6 @@ "description": "Promise-based transporter layer with embedded retry strategy.",

"dependencies": {
"@algolia/cache-common": "4.0.0-beta.6",
"@algolia/logger-common": "4.0.0-beta.6",
"@algolia/requester-common": "4.0.0-beta.6"
"@algolia/cache-common": "4.0.0-beta.7",
"@algolia/logger-common": "4.0.0-beta.7",
"@algolia/requester-common": "4.0.0-beta.7"
}
}
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