Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(deps): Update posthog-node to 5.49.1 (#83226)

posthog-js-upgrader[bot]cd9155b56521
diff --git a/nodejs/package.json b/nodejs/package.json
index 66706b789ee3..ad1f0f158823 100644
--- a/nodejs/package.json
+++ b/nodejs/package.json
@@ -135,7 +135,7 @@
"p-limit": "3.1.0",
"pg": "^8.6.0",
"pino": "^8.6.0",
- "posthog-node": "5.25.0",
+ "posthog-node": "5.49.1",
"pretty-bytes": "^5.6.0",
"prom-client": "^14.2.0",
"puppeteer": "^24.3.0",
@@ -145,11 +145,11 @@
"tail": "^2.2.6",
"tldts": "^6.1.57",
"typescript": "catalog:",
+ "uWebSockets.js": "https://codeload.github.com/uNetworking/uWebSockets.js/tar.gz/cfc9a40d8132a34881813cec3d5f8e3a185b3ce3",
"ultimate-express": "2.0.9",
"undici": "^7.24.0",
"undici-types": "7.3.0",
"uuid": "^11.1.1",
- "uWebSockets.js": "https://codeload.github.com/uNetworking/uWebSockets.js/tar.gz/cfc9a40d8132a34881813cec3d5f8e3a185b3ce3",
"xml-js": "^1.6.11",
"zod": "^4.3.6"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ce59607abc89..369ee4648df5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1715,8 +1715,8 @@ importers:
specifier: ^8.6.0
version: 8.11.0
posthog-node:
- specifier: 5.25.0
- version: 5.25.0
+ specifier: 5.49.1
+ version: 5.49.1([email protected])
pretty-bytes:
specifier: ^5.6.0
version: 5.6.0
@@ -4773,7 +4773,7 @@ importers:
version: link:../../packages/llm-normalizer
'@posthog/mcp-analytics':
specifier: npm:@posthog/[email protected]
'@posthog/quill':
specifier: workspace:*
version: link:../../packages/quill/packages/quill
@@ -4811,8 +4811,8 @@ importers:
specifier: 4.2.2
version: 4.2.2
posthog-node:
- specifier: ^5.46.1
- version: 5.46.1([email protected])
+ specifier: ^5.49.1
+ version: 5.49.1([email protected])
prom-client:
specifier: ^14.2.0
version: 14.2.0
@@ -5457,6 +5457,10 @@ packages:
resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==}
engines: {node: '>=6.9.0'}
@@ -5630,6 +5634,10 @@ packages:
resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==}
engines: {node: '>=6.9.0'}
@@ -6146,6 +6154,10 @@ packages:
resolution: {integrity: sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-Fvdo9Dd20GDUAREzYMIR2EFMKAJ+ccxstgQdb39XV/yvygHL4UPcqgTkiChPyltAe/b+zgq+vUPXeukEZ6aUeA==}
engines: {node: '>=6.9.0'}
@@ -10045,12 +10057,6 @@ packages:
'@posthog/[email protected]':
resolution: {integrity: sha512-8DaxVZS1bQPbA514RePurLNbYjei3P4jhnC206DwVv5XThmZM3QdlsXenI2ujE3pLbgQ79hYn9o1Kda8I3WK/Q==}
- '@posthog/[email protected]':
- resolution: {integrity: sha512-GViD5mOv/mcbZcyzz3z9CS0R79JzxVaqEz4sP5Dsea178M/j3ZWe6gaHDZB9yuyGfcmIMQ/8K14yv+7QrK4sQQ==}
-
- '@posthog/[email protected]':
- resolution: {integrity: sha512-tLtvzomavb2PPWdGYKsusyIzIeL2Px47v348Smibkay7sMy/83TyPk+Ptsp2NdeOgJsbuwSxWkR2+XA0aSCAaA==}
-
'@posthog/[email protected]':
resolution: {integrity: sha512-RV5MBx6y9CV/6lIKH/8m9d4fyYfE3D66J2HMAWq/xitZi4r6IZ61B4yMUOfCy/DsQz21LJH/v+jZw681v83hXA==}
@@ -15144,6 +15150,9 @@ packages:
resolution: {integrity: sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg==}
+ resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==}
+
resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==}
@@ -19712,12 +19721,8 @@ packages:
resolution: {integrity: sha512-QpZnHA2PieGq9+W03LBw23DnN9CD1zM37DcXnpZkg+C5iAwYXLiZs8qof0Yi/BhY35PYuhVmv93nhztyHjVaJw==}
- resolution: {integrity: sha512-DFE5lZAoD6hk7RATuT8qVQ7KFgFP5YlFTJciMbU2qq6NX0A8eJxiJcmEsMnB3g30jJJ9suiwGIq4I8ESwf9bZg==}
- engines: {node: ^20.20.0 || >=22.22.0}
-
- resolution: {integrity: sha512-WjCqExq44pBdyg9MSsH6UAE0tNZ88p4aIuVFicgqhjf2Fbws6IhS4ioYUa4aBrbUPS9EDRXtBTtF5DpP1ml8Pw==}
+ resolution: {integrity: sha512-kmjvzc7K8y+wQX7r3oIkLfKc2BzDJPXMJor5D8gAxpGE7qLNlk4HO2y1brc5587GxtdsZzqtGOxfBJXUBE2MiQ==}
engines: {node: ^20.20.0 || >=22.22.0}
peerDependencies:
rxjs: ^7.0.0
@@ -24438,6 +24443,12 @@ snapshots:
js-tokens: 4.0.0
picocolors: 1.1.1
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-validator-identifier': 7.29.7
+ js-tokens: 4.0.0
+ picocolors: 1.1.1
+
'@babel/[email protected]': {}
'@babel/[email protected]': {}
@@ -24686,6 +24697,8 @@ snapshots:
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
'@babel/[email protected]': {}
'@babel/[email protected]': {}
@@ -25309,6 +25322,8 @@ snapshots:
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
'@babel/[email protected]': {}
@@ -29639,14 +29654,6 @@ snapshots:
'@posthog/core': 1.48.1
'@posthog/types': 1.404.1
- '@posthog/[email protected]':
- dependencies:
- cross-spawn: 7.0.6
-
- '@posthog/[email protected]':
- dependencies:
- '@posthog/types': 1.400.0
-
'@posthog/[email protected]':
dependencies:
'@posthog/types': 1.400.0
@@ -29687,11 +29694,11 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@modelcontextprotocol/sdk': 1.29.0(@cfworker/[email protected])([email protected])
'@posthog/core': 1.46.3
- posthog-node: 5.46.1([email protected])
+ posthog-node: 5.49.1([email protected])
dependencies:
@@ -31824,12 +31831,12 @@ snapshots:
'@testing-library/[email protected]':
dependencies:
- '@babel/code-frame': 7.29.0
- '@babel/runtime': 7.29.2
+ '@babel/code-frame': 7.29.7
+ '@babel/runtime': 7.29.7
'@types/aria-query': 5.0.4
aria-query: 5.3.0
chalk: 4.1.2
- dom-accessibility-api: 0.5.14
+ dom-accessibility-api: 0.5.16
lz-string: 1.5.0
pretty-format: 27.5.1
@@ -35442,6 +35449,8 @@ snapshots:
+
@@ -41974,13 +41983,9 @@ snapshots:
web-vitals: 5.3.0
web-vitals-soft-navs: [email protected]
dependencies:
- '@posthog/core': 1.23.1
-
- dependencies:
- '@posthog/core': 1.45.1
+ '@posthog/core': 1.48.1
optionalDependencies:
rxjs: 7.8.1
diff --git a/products/desktop/apps/code/package.json b/products/desktop/apps/code/package.json
index 48b7dd689340..c2167468db01 100644
--- a/products/desktop/apps/code/package.json
+++ b/products/desktop/apps/code/package.json
@@ -143,7 +143,7 @@
"node-addon-api": "^8.5.0",
"node-machine-id": "^1.1.12",
"node-pty": "1.1.0",
- "posthog-node": "^5.35.6",
+ "posthog-node": "^5.49.1",
"radix-themes-tw": "0.2.3",
"react": "19.2.6",
"react-dom": "19.2.6",
diff --git a/products/desktop/pnpm-lock.yaml b/products/desktop/pnpm-lock.yaml
index c498eb02ad77..5f58d6260dfe 100644
--- a/products/desktop/pnpm-lock.yaml
+++ b/products/desktop/pnpm-lock.yaml
@@ -307,8 +307,8 @@ importers:
specifier: 1.1.0
version: 1.1.0(patch_hash=4dfdf785f5ac51a03f5d6032371cebe89036381acd403621f250a896245647c5)
posthog-node:
- specifier: ^5.35.6
- version: 5.37.0([email protected])
+ specifier: ^5.49.1
+ version: 5.49.1([email protected])
radix-themes-tw:
specifier: 0.2.3
version: 0.2.3
@@ -6255,9 +6255,6 @@ packages:
engines: {node: '>=14.14', npm: '>=6'}
hasBin: true
- '@posthog/[email protected]':
- resolution: {integrity: sha512-vwOEMfZvGv5XxNWV7p9I52NSmvFNMhyW2IHpIoUHW5jLkgUrknzJW1H/qxVGSIrNNVQkfsoaDFzDhJdg10pgrA==}
-
'@posthog/[email protected]':
resolution: {integrity: sha512-d38C5DulL3gCox4g0VGyb/Lhn548fBvj9f35LZGVasPspOs3jyApxROJyDXoWwIRivOjCOIShZQAdYkZVn9J3w==}
@@ -6300,9 +6297,6 @@ packages:
peerDependencies:
rollup: 4.59.0
- '@posthog/[email protected]':
- resolution: {integrity: sha512-LqJoiQi2eyWn7rCUgnn+D+F3Efp6+04o72bjSX6kWHx0nFaYNC/nJuAIRliDTY/X7GPIUAaHAcSjbMI/9wfX1Q==}
-
'@posthog/[email protected]':
resolution: {integrity: sha512-QbkO0epmdq38xhxwP214YRi0vgpZiXqhamaTjKT6kVGJYTtsE5qZ1GTgLp12IYehg/rd+whYYErH3/DeX8pj3Q==}
@@ -13828,8 +13822,8 @@ packages:
resolution: {integrity: sha512-QpZnHA2PieGq9+W03LBw23DnN9CD1zM37DcXnpZkg+C5iAwYXLiZs8qof0Yi/BhY35PYuhVmv93nhztyHjVaJw==}
- resolution: {integrity: sha512-wFwWGcqAqZ1WJRlNNYc92veV83d1lOQcP4Lq0q7Kar9GdZLPpiFYHeudyybYJnjZjkI9v06vLvY/Og5CZIfByg==}
+ resolution: {integrity: sha512-kmjvzc7K8y+wQX7r3oIkLfKc2BzDJPXMJor5D8gAxpGE7qLNlk4HO2y1brc5587GxtdsZzqtGOxfBJXUBE2MiQ==}
engines: {node: ^20.20.0 || >=22.22.0}
peerDependencies:
rxjs: ^7.0.0
@@ -20985,10 +20979,6 @@ snapshots:
dependencies:
detect-libc: 2.1.2
- '@posthog/[email protected]':
- dependencies:
- '@posthog/types': 1.386.3
-
'@posthog/[email protected]':
dependencies:
'@posthog/types': 1.403.0
@@ -21061,8 +21051,6 @@ snapshots:
'@posthog/plugin-utils': 1.1.1
rollup: 4.62.2
- '@posthog/[email protected]': {}
-
'@posthog/[email protected]': {}
'@posthog/[email protected]': {}
@@ -29884,9 +29872,9 @@ snapshots:
transitivePeerDependencies:
- preact-render-to-string
dependencies:
- '@posthog/core': 1.32.3
+ '@posthog/core': 1.48.1
optionalDependencies:
rxjs: 7.8.2
diff --git a/services/mcp/package.json b/services/mcp/package.json
index 7a7318a0e817..ab26a2c8c6b1 100644
--- a/services/mcp/package.json
+++ b/services/mcp/package.json
@@ -65,7 +65,7 @@
"jose": "^6.2.3",
"lucide-react": "^0.577.0",
"posthog-js-lite": "4.2.2",
- "posthog-node": "^5.46.1",
+ "posthog-node": "^5.49.1",
"prom-client": "^14.2.0",
"prosemirror-collab": "^1.3.1",
"prosemirror-model": "^1.25.2",