Skip to content

chore: Add the EventSource implementation to @launchdarkly/eventsource-node - #2003

Draft
joker23 wants to merge 1 commit into
skz/sdk-2924/migrate-node-eventsource-package-scaffoldfrom
skz/sdk-2924/migrate-node-eventsource-implementation
Draft

joker23 wants to merge 1 commit into
skz/sdk-2924/migrate-node-eventsource-package-scaffoldfrom
skz/sdk-2924/migrate-node-eventsource-implementation

Conversation

@joker23

@joker23 joker23 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Second layer of the eventsource migration stack. Adds the EventSource implementation to @launchdarkly/eventsource-node: a close-to-verbatim port of the launchdarkly-eventsource npm package's SSE client onto Node http/https, together with all of its unit tests (the package suite is 114 tests). Two deliberate deviations from the original: TLS certificate verification follows Node's own default (the legacy top-level rejectUnauthorized alias and its verification-disabled default are removed), and the Node-inert withCredentials option is dropped. Finalizes src/index.ts to export the implementation.

@joker23
joker23 added this pull request to stack #2004 September 10, 2026 17:46
@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 32563 bytes
Compressed size limit: 34000
Uncompressed size: 116654 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 26360 bytes
Compressed size limit: 29000
Uncompressed size: 129188 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 25568 bytes
Compressed size limit: 44000
Uncompressed size: 166115 bytes

@joker23
joker23 force-pushed the skz/sdk-2924/migrate-node-eventsource-implementation branch from 00337b9 to 5164fe5 Compare September 10, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant