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

@applitools/tunnel-client

Package Overview
Dependencies
Maintainers
53
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/tunnel-client - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

21

CHANGELOG.md
# Changelog
## [1.5.1](https://github.com/Applitools-Dev/sdk/compare/js/tunnel-client@1.5.0...js/tunnel-client@1.5.1) (2024-04-15)
### Bug Fixes
* create tunnels in australia when passed region in create ([#2322](https://github.com/Applitools-Dev/sdk/issues/2322)) ([f679989](https://github.com/Applitools-Dev/sdk/commit/f6799894b9630d2c56cd85a34d377f488ed75b9c))
### Dependencies
* @applitools/utils bumped to 1.7.1
#### Bug Fixes
* region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
* @applitools/logger bumped to 2.0.15
* @applitools/socket bumped to 1.1.15
* @applitools/req bumped to 1.6.6
## [1.5.0](https://github.com/Applitools-Dev/sdk/compare/js/tunnel-client@1.4.1...js/tunnel-client@1.5.0) (2024-04-10)

@@ -4,0 +25,0 @@

12

dist/client.js

@@ -50,7 +50,11 @@ "use strict";

}
const getTunnelService = utils.general.cachify(async () => {
const getTunnelService = utils.general.cachify(async (region) => {
if (settings === null || settings === void 0 ? void 0 : settings.serviceUrl) {
return { url: settings.serviceUrl, close: () => Promise.resolve() };
}
const { port, cleanupFunction } = await (0, execution_grid_tunnel_1.startEgTunnelService)({ region: settings === null || settings === void 0 ? void 0 : settings.region, useTcpTunnel, logger });
const { port, cleanupFunction } = await (0, execution_grid_tunnel_1.startEgTunnelService)({
region: region !== null && region !== void 0 ? region : settings === null || settings === void 0 ? void 0 : settings.region,
useTcpTunnel,
logger,
});
return {

@@ -63,3 +67,3 @@ url: `http://localhost:${port}`,

};
});
}, () => 'get-tunnel-service');
const tunnels = new Map();

@@ -82,3 +86,3 @@ const queues = new Map();

async function create(credentials) {
const service = await getTunnelService();
const service = await getTunnelService(credentials.region);
const queueKey = `${credentials.apiKey}$${credentials.eyesServerUrl}`;

@@ -85,0 +89,0 @@ let queue = queues.get(queueKey);

{
"name": "@applitools/tunnel-client",
"version": "1.5.0",
"version": "1.5.1",
"homepage": "https://applitools.com",

@@ -73,6 +73,6 @@ "bugs": {

"@applitools/execution-grid-tunnel": "3.0.3",
"@applitools/logger": "2.0.14",
"@applitools/req": "1.6.5",
"@applitools/socket": "1.1.14",
"@applitools/utils": "1.7.0",
"@applitools/logger": "2.0.15",
"@applitools/req": "1.6.6",
"@applitools/socket": "1.1.15",
"@applitools/utils": "1.7.1",
"abort-controller": "3.0.0",

@@ -79,0 +79,0 @@ "yargs": "17.7.2"

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