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

@algolia/requester-fetch

Package Overview
Dependencies
Maintainers
63
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/requester-fetch - npm Package Compare versions

Comparing version 5.0.0-alpha.5 to 5.0.0-alpha.6

4

package.json
{
"name": "@algolia/requester-fetch",
"version": "5.0.0-alpha.5",
"version": "5.0.0-alpha.6",
"description": "Promise-based request library using Fetch.",

@@ -21,3 +21,3 @@ "repository": "algolia/algoliasearch-client-javascript",

"dependencies": {
"@algolia/client-common": "5.0.0-alpha.5"
"@algolia/client-common": "5.0.0-alpha.6"
},

@@ -24,0 +24,0 @@ "devDependencies": {

@@ -139,4 +139,4 @@ import type http from 'http';

expect(response.content).toBe('Connection timeout');
expect(now - before).toBeGreaterThan(999);
expect(now - before).toBeLessThan(1200);
expect(now - before).toBeGreaterThanOrEqual(999);
expect(now - before).toBeLessThanOrEqual(1200);
});

@@ -155,4 +155,4 @@

expect(response.content).toBe('Connection timeout');
expect(now - before).toBeGreaterThan(1999);
expect(now - before).toBeLessThan(2200);
expect(now - before).toBeGreaterThanOrEqual(1999);
expect(now - before).toBeLessThanOrEqual(2200);
});

@@ -172,4 +172,4 @@

expect(response.content).toBe('Socket timeout');
expect(now - before).toBeGreaterThan(1999);
expect(now - before).toBeLessThan(2200);
expect(now - before).toBeGreaterThanOrEqual(1999);
expect(now - before).toBeLessThanOrEqual(2200);
});

@@ -188,4 +188,4 @@

expect(response.content).toBe('Socket timeout');
expect(now - before).toBeGreaterThan(2999);
expect(now - before).toBeLessThan(3200);
expect(now - before).toBeGreaterThanOrEqual(2999);
expect(now - before).toBeLessThanOrEqual(3200);
});

@@ -206,4 +206,4 @@

expect(response.content).toBe('{"foo": "bar"}');
expect(now - before).toBeGreaterThan(4999);
expect(now - before).toBeLessThan(5200);
expect(now - before).toBeGreaterThanOrEqual(4999);
expect(now - before).toBeLessThanOrEqual(5200);
}, 10000); // This is a long-running test, default server timeout is set to 5000ms

@@ -210,0 +210,0 @@ });

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