Skip to content

chore(deps): upgrade posthog-js to latest - #88

Merged
ntotten merged 1 commit into
mainfrom
claude/upgrade-posthog-sdk
Jun 9, 2026
Merged

chore(deps): upgrade posthog-js to latest#88
ntotten merged 1 commit into
mainfrom
claude/upgrade-posthog-sdk

Conversation

@ntotten

@ntotten ntotten commented Jun 8, 2026

Copy link
Copy Markdown
Member

Upgrades posthog-js in www to the latest release.

Package From To
posthog-js ^1.88.1 ^1.383.0

This is a large jump but stays within the v1 major. The only usage (www/pages/_app.tsx: posthog.init, posthog.debug, posthog.capture("$pageview"), and PostHogProvider from posthog-js/react) relies on stable APIs that are unchanged across the v1 line.

🤖 Generated with Claude Code

posthog-js ^1.88.1 → ^1.383.0 in www. Large same-major (v1) jump;
usage (init/debug/capture/PostHogProvider) is unchanged across v1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@zuplo

zuplo Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest build updates on your Zuplo project. Learn more about Zuplo for GitHub ↗︎

Name Status Preview Updated (UTC)
API Gateway ✅ Ready (Inspect) Visit Preview Jun 08, 2026, 09:27 PM
Developer Portal ✅ Ready (Inspect) Visit Preview Jun 08, 2026, 09:27 PM

@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mockbin Ready Ready Preview, Comment Jun 8, 2026 9:26pm

Request Review

@zuplo

zuplo Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest build updates on your Zuplo project. Learn more about Zuplo for GitHub ↗︎

Name Status Preview Updated (UTC)
API Gateway 🔄 Building (Inspect) N/A Jun 08, 2026, 09:25 PM
Developer Portal 🔄 Building (Inspect) N/A Jun 08, 2026, 09:25 PM

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the www frontend’s PostHog browser SDK dependency (posthog-js) to a much newer v1 release, updating the lockfile to reflect new transitive dependencies.

Changes:

  • Bump posthog-js from ^1.88.1 to ^1.383.0 in www/package.json.
  • Refresh www/package-lock.json to resolve posthog-js@1.383.0 and its new transitive dependency tree (e.g., @posthog/*, core-js, dompurify, preact, web-vitals).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
www/package.json Updates posthog-js semver range to ^1.383.0.
www/package-lock.json Updates resolved posthog-js version and adds new transitive dependencies introduced by the upgrade.
Files not reviewed (1)
  • www/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread www/package-lock.json
Comment on lines +1132 to +1137
"node_modules/core-js": {
"version": "3.49.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.49.0.tgz",
"integrity": "sha512-es1U2+YTtzpwkxVLwAFdSpaIMyQaq0PBgm3YD1W3Qpsn1NAmO3KSgZfu+oGSWVu6NvLHoHCV/aYcsE5wiB7ALg==",
"hasInstallScript": true,
"license": "MIT",
Comment thread www/package-lock.json
Comment on lines +3463 to +3467
"version": "1.383.0",
"resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.383.0.tgz",
"integrity": "sha512-94lTpimcl8tkhbnnfvyQNV3xFYQI2+rp4nl3zmWzNVPAG6aqipu78PWe72j8Gux51Y65ynOeuIoznK2Z4KZFsw==",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
Comment thread www/package-lock.json
Comment on lines +1280 to +1285
"node_modules/dompurify": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.8.tgz",
"integrity": "sha512-yb1cEmaOum7wFvOCSQxyfgVlv5D47Rc30iZWoMpbDIWTnJ6grDDQyu2KFJzB2k7u0pMuJcQ1zphH//fFnw2tjQ==",
"license": "(MPL-2.0 OR Apache-2.0)",
"optionalDependencies": {
@ntotten
ntotten merged commit 9c605d9 into main Jun 9, 2026
8 checks passed
@ntotten
ntotten deleted the claude/upgrade-posthog-sdk branch June 9, 2026 18:06
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