Skip to content

Bump JS SDKs: browser 1.6.0, node 2.0.0 - #51

Merged
jonathanchaffer merged 2 commits into
mainfrom
jonathanchaffer/bump-browser-sdk
Sep 16, 2026
Merged

jonathanchaffer merged 2 commits into
mainfrom
jonathanchaffer/bump-browser-sdk

Conversation

@jonathanchaffer

@jonathanchaffer jonathanchaffer commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes dependabot alert #1 (js-cookie ≤ 3.0.5 per-instance prototype hijack, CVE-2026-46625). Part of RT-229.

  • @ht-sdks/events-sdk-js-browser 1.4.0 → 1.6.0: upgrades pinned vulnerable js-cookie 2.x to ^3.0.8; the lockfile now resolves js-cookie 3.0.8 (fixed ≥ 3.0.7)
  • @ht-sdks/events-sdk-js-node 1.1.0 → 2.0.0: the 2.0.0 major reflects its new Node ≥ 22 engines requirement. These are devDependencies used by the test harnesses; note this repo's CI still tests Node 18/20, where pnpm will warn (not fail) on the engines mismatch — the SDK relies on global fetch, which exists since Node 18, so tests are expected to pass on the full matrix. If we later want to be strict about it, that's a conversation about the CLI's own Node support window.

All 407 tests pass locally on both bumps.

Post-merge steps (release v0.1.1)

No version-bump commit is needed — the publish workflow sets package.json from the release tag.

  1. Go to Releases → Draft a new release.
  2. Set the tag to v0.1.1 (create it on main from the UI) with target main.
  3. Click Generate release notes, then Publish release.
  4. Publishing triggers the Publish to npm workflow. Verify it succeeds and @ht-sdks/[email protected] appears on npm.

Note: the publish workflow authenticates with the repo's NPM_TOKEN secret. If it fails with an npm E404/auth error, the token likely needs the same rotation we did for events-sdk-js-mono (granular token scoped to @ht-sdks, read/write, 2FA bypass), then re-run the workflow.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 31a0941b-f654-4e15-929f-32caadfeee97


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jonathanchaffer jonathanchaffer changed the title Bump @ht-sdks/events-sdk-js-browser to 1.6.0 Bump JS SDKs: browser 1.6.0, node 2.0.0 Sep 16, 2026
@jonathanchaffer
jonathanchaffer force-pushed the jonathanchaffer/bump-browser-sdk branch from 65cd901 to b765548 Compare September 16, 2026 17:24
@jonathanchaffer
jonathanchaffer changed the base branch from main to jonathanchaffer/fix-android-harness September 16, 2026 17:24
Base automatically changed from jonathanchaffer/fix-android-harness to main September 16, 2026 19:29
jonathanchaffer and others added 2 commits September 16, 2026 12:29
Resolves the js-cookie <= 3.0.5 prototype-hijack advisory (dependabot
alert #1): browser SDK 1.6.0 depends on js-cookie ^3.0.8, and the
lockfile now resolves 3.0.8.

Co-authored-by: Cursor <[email protected]>
@jonathanchaffer
jonathanchaffer force-pushed the jonathanchaffer/bump-browser-sdk branch from b765548 to d7b16cb Compare September 16, 2026 19:29
@jonathanchaffer
jonathanchaffer merged commit de5fa61 into main Sep 16, 2026
18 checks passed
@jonathanchaffer
jonathanchaffer deleted the jonathanchaffer/bump-browser-sdk branch September 16, 2026 19:44
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.

2 participants