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

@lokalise/backend-http-client

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokalise/backend-http-client - npm Package Compare versions

Comparing version 2.4.0 to 3.0.0

14

dist/src/client/httpClient.js

@@ -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

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