@algolia/requester-browser-xhr 5.0.0-alpha.89 → 5.0.0-alpha.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/requester-browser-xhr",
3
- "version": "5.0.0-alpha.89",
3
+ "version": "5.0.0-alpha.90",
4
4
  "description": "Promise-based request library for browser using xhr.",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
@@ -20,11 +20,13 @@
20
20
  "test": "jest"
21
21
  },
22
22
  "dependencies": {
23
- "@algolia/client-common": "5.0.0-alpha.89"
23
+ "@algolia/client-common": "5.0.0-alpha.90"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/jest": "29.5.5",
27
- "@types/node": "18.18.5",
26
+ "@babel/preset-env": "7.23.2",
27
+ "@babel/preset-typescript": "7.23.2",
28
+ "@types/jest": "29.5.7",
29
+ "@types/node": "20.8.10",
28
30
  "jest": "29.7.0",
29
31
  "jest-environment-jsdom": "29.7.0",
30
32
  "ts-jest": "29.1.1",
@@ -116,7 +116,7 @@ describe('timeout handling', () => {
116
116
  const response = await requester.send({
117
117
  ...timeoutRequest,
118
118
  connectTimeout: 1000,
119
- url: 'http://www.google.com:81',
119
+ url: 'http://localhost:1111/connection_timeout',
120
120
  });
121
121
 
122
122
  const now = Date.now();
@@ -131,7 +131,7 @@ describe('timeout handling', () => {
131
131
  const response = await requester.send({
132
132
  ...timeoutRequest,
133
133
  connectTimeout: 2000,
134
- url: 'http://www.google.com:81',
134
+ url: 'http://localhost:1111/connection_timeout',
135
135
  });
136
136
 
137
137
  const now = Date.now();