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

@algolia/requester-node-http

Package Overview
Dependencies
Maintainers
3
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/requester-node-http - npm Package Compare versions

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

4

package.json
{
"name": "@algolia/requester-node-http",
"version": "5.0.0-alpha.5",
"version": "5.0.0-alpha.6",
"description": "Promise-based request library for node using the native http module.",

@@ -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": {

@@ -195,4 +195,4 @@ import 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);
});

@@ -211,4 +211,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);
});

@@ -228,4 +228,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);
});

@@ -244,4 +244,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);
});

@@ -262,4 +262,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

@@ -266,0 +266,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