Socket
Socket
Sign inDemoInstall

@launchdarkly/js-server-sdk-common

Package Overview
Dependencies
Maintainers
1
Versions
52
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.4.2 to 2.4.3

14

CHANGELOG.md

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

## [2.4.3](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-v2.4.2...js-server-sdk-common-v2.4.3) (2024-06-04)
### Bug Fixes
* Cleanup timeout timer for waitForInitialization ([#478](https://github.com/launchdarkly/js-core/issues/478)) ([fccbfac](https://github.com/launchdarkly/js-core/commit/fccbfaccb88c7a66f86a2981b74445c894618a06))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-sdk-common bumped from 2.4.2 to 2.5.0
## [2.4.2](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-v2.4.1...js-server-sdk-common-v2.4.2) (2024-05-31)

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

7

dist/LDClientImpl.js

@@ -493,4 +493,7 @@ "use strict";

if (timeout) {
const timeoutPromise = (0, js_sdk_common_1.timedPromise)(timeout, 'waitForInitialization');
return Promise.race([basePromise, timeoutPromise.then(() => this)]).catch((reason) => {
const cancelableTimeout = (0, js_sdk_common_1.cancelableTimedPromise)(timeout, 'waitForInitialization');
return Promise.race([
basePromise.then(() => cancelableTimeout.cancel()).then(() => this),
cancelableTimeout.promise.then(() => this),
]).catch((reason) => {
if (reason instanceof js_sdk_common_1.LDTimeoutError) {

@@ -497,0 +500,0 @@ logger === null || logger === void 0 ? void 0 : logger.error(reason.message);

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

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

"dependencies": {
"@launchdarkly/js-sdk-common": "2.4.2",
"@launchdarkly/js-sdk-common": "2.5.0",
"semver": "7.5.4"

@@ -33,0 +33,0 @@ },

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