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

@launchdarkly/js-server-sdk-common

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchdarkly/js-server-sdk-common - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

14

CHANGELOG.md

@@ -11,2 +11,16 @@ # Changelog

## [2.8.0](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-v2.7.0...js-server-sdk-common-v2.8.0) (2024-10-09)
### Features
* adds datasource status to sdk-client ([#590](https://github.com/launchdarkly/js-core/issues/590)) ([6f26204](https://github.com/launchdarkly/js-core/commit/6f262045b76836e5d2f5ccc2be433094993fcdbb))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-sdk-common bumped from 2.9.0 to 2.10.0
## [2.7.0](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-v2.6.1...js-server-sdk-common-v2.7.0) (2024-09-26)

@@ -13,0 +27,0 @@

1

dist/api/options/LDTLSOptions.d.ts
/// <reference types="node" />
/// <reference types="node" />
/**

@@ -3,0 +4,0 @@ * Additional parameters to pass to the Node HTTPS API for secure requests. These can include any

4

dist/data_sources/PollingProcessor.js

@@ -28,3 +28,3 @@ "use strict";

(_b = this.logger) === null || _b === void 0 ? void 0 : _b.debug(`Invalid JSON follows: ${data}`);
(_c = this.errorHandler) === null || _c === void 0 ? void 0 : _c.call(this, new js_sdk_common_1.LDPollingError('Malformed JSON data in polling response'));
(_c = this.errorHandler) === null || _c === void 0 ? void 0 : _c.call(this, new js_sdk_common_1.LDPollingError(js_sdk_common_1.DataSourceErrorKind.InvalidData, 'Malformed JSON data in polling response'));
};

@@ -43,3 +43,3 @@ const startTime = Date.now();

(_b = this.logger) === null || _b === void 0 ? void 0 : _b.error(message);
(_c = this.errorHandler) === null || _c === void 0 ? void 0 : _c.call(this, new js_sdk_common_1.LDPollingError(message, status));
(_c = this.errorHandler) === null || _c === void 0 ? void 0 : _c.call(this, new js_sdk_common_1.LDPollingError(js_sdk_common_1.DataSourceErrorKind.ErrorResponse, message, status));
// It is not recoverable, return and do not trigger another

@@ -46,0 +46,0 @@ // poll.

@@ -42,3 +42,3 @@ "use strict";

if (res.status !== 200 && res.status !== 304) {
const err = new js_sdk_common_1.LDStreamingError(`Unexpected status code: ${res.status}`, res.status);
const err = new js_sdk_common_1.LDPollingError(js_sdk_common_1.DataSourceErrorKind.ErrorResponse, `Unexpected status code: ${res.status}`, res.status);
return cb(err, undefined);

@@ -45,0 +45,0 @@ }

{
"name": "@launchdarkly/js-server-sdk-common",
"version": "2.7.0",
"version": "2.8.0",
"type": "commonjs",

@@ -30,7 +30,6 @@ "main": "./dist/index.js",

"dependencies": {
"@launchdarkly/js-sdk-common": "2.9.0",
"@launchdarkly/js-sdk-common": "2.10.0",
"semver": "7.5.4"
},
"devDependencies": {
"@launchdarkly/private-js-mocks": "0.0.1",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",

@@ -37,0 +36,0 @@ "@types/jest": "^29.4.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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