@lokalise/backend-http-client
Advanced tools
Comparing version 2.4.0 to 3.0.0
@@ -36,3 +36,3 @@ "use strict"; | ||
headersTimeout: Object.hasOwn(options, 'timeout') ? options.timeout : constants_1.DEFAULT_OPTIONS.timeout, | ||
throwOnError: false, | ||
throwOnError: undefined, | ||
}, resolveRetryConfig(options), resolveRequestConfig(options)); | ||
@@ -54,3 +54,3 @@ return resolveResult(result, options.throwOnError ?? constants_1.DEFAULT_OPTIONS.throwOnError, options.validateResponse ?? constants_1.DEFAULT_OPTIONS.validateResponse, options.responseSchema, options.requestLabel, options.isEmptyResponseExpected ?? false); | ||
headersTimeout: Object.hasOwn(options, 'timeout') ? options.timeout : constants_1.DEFAULT_OPTIONS.timeout, | ||
throwOnError: false, | ||
throwOnError: undefined, | ||
}, resolveRetryConfig(options), resolveRequestConfig(options)); | ||
@@ -73,3 +73,3 @@ return resolveResult(result, options.throwOnError ?? constants_1.DEFAULT_OPTIONS.throwOnError, options.validateResponse ?? constants_1.DEFAULT_OPTIONS.validateResponse, options.responseSchema, options.requestLabel, options.isEmptyResponseExpected ?? true); | ||
headersTimeout: Object.hasOwn(options, 'timeout') ? options.timeout : constants_1.DEFAULT_OPTIONS.timeout, | ||
throwOnError: false, | ||
throwOnError: undefined, | ||
}, resolveRetryConfig(options), resolveRequestConfig(options)); | ||
@@ -92,3 +92,3 @@ return resolveResult(result, options.throwOnError ?? constants_1.DEFAULT_OPTIONS.throwOnError, options.validateResponse ?? constants_1.DEFAULT_OPTIONS.validateResponse, options.responseSchema, options.requestLabel, options.isEmptyResponseExpected ?? false); | ||
headersTimeout: Object.hasOwn(options, 'timeout') ? options.timeout : constants_1.DEFAULT_OPTIONS.timeout, | ||
throwOnError: false, | ||
throwOnError: undefined, | ||
}, resolveRetryConfig(options), resolveRequestConfig(options)); | ||
@@ -111,3 +111,3 @@ return resolveResult(result, options.throwOnError ?? constants_1.DEFAULT_OPTIONS.throwOnError, options.validateResponse ?? constants_1.DEFAULT_OPTIONS.validateResponse, options.responseSchema, options.requestLabel, options.isEmptyResponseExpected ?? false); | ||
headersTimeout: Object.hasOwn(options, 'timeout') ? options.timeout : constants_1.DEFAULT_OPTIONS.timeout, | ||
throwOnError: false, | ||
throwOnError: undefined, | ||
}, resolveRetryConfig(options), resolveRequestConfig(options)); | ||
@@ -130,3 +130,3 @@ return resolveResult(result, options.throwOnError ?? constants_1.DEFAULT_OPTIONS.throwOnError, options.validateResponse ?? constants_1.DEFAULT_OPTIONS.validateResponse, options.responseSchema, options.requestLabel, options.isEmptyResponseExpected ?? false); | ||
headersTimeout: Object.hasOwn(options, 'timeout') ? options.timeout : constants_1.DEFAULT_OPTIONS.timeout, | ||
throwOnError: false, | ||
throwOnError: undefined, | ||
}, resolveRetryConfig(options), resolveRequestConfig(options)); | ||
@@ -149,3 +149,3 @@ return resolveResult(result, options.throwOnError ?? constants_1.DEFAULT_OPTIONS.throwOnError, options.validateResponse ?? constants_1.DEFAULT_OPTIONS.validateResponse, options.responseSchema, options.requestLabel, options.isEmptyResponseExpected ?? false); | ||
headersTimeout: Object.hasOwn(options, 'timeout') ? options.timeout : constants_1.DEFAULT_OPTIONS.timeout, | ||
throwOnError: false, | ||
throwOnError: undefined, | ||
}, resolveRetryConfig(options), resolveRequestConfig(options)); | ||
@@ -152,0 +152,0 @@ return resolveResult(result, options.throwOnError ?? constants_1.DEFAULT_OPTIONS.throwOnError, options.validateResponse ?? constants_1.DEFAULT_OPTIONS.validateResponse, options.responseSchema, options.requestLabel, options.isEmptyResponseExpected ?? false); |
{ | ||
"name": "@lokalise/backend-http-client", | ||
"version": "2.4.0", | ||
"version": "3.0.0", | ||
"author": { | ||
@@ -35,5 +35,5 @@ "name": "Lokalise", | ||
"dependencies": { | ||
"@lokalise/node-core": "^13.0.0", | ||
"undici": "^6.19.8", | ||
"undici-retry": "^5.0.3", | ||
"@lokalise/node-core": "^13.1.0", | ||
"undici": "^7.1.0", | ||
"undici-retry": "^6.0.0", | ||
"zod": "^3.23.8" | ||
@@ -44,7 +44,7 @@ }, | ||
"@lokalise/biome-config": "^1.5.0", | ||
"@types/node": "^22.7.6", | ||
"@types/node": "^22.10.1", | ||
"@vitest/coverage-v8": "^2.1.3", | ||
"typescript": "^5.6.3", | ||
"typescript": "^5.7.2", | ||
"vitest": "^2.1.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
38146
+ Addedundici@7.3.0(transitive)
+ Addedundici-retry@6.0.0(transitive)
- Removedundici@6.21.1(transitive)
- Removedundici-retry@5.0.3(transitive)
Updated@lokalise/node-core@^13.1.0
Updatedundici@^7.1.0
Updatedundici-retry@^6.0.0