Skip to content

Comments

Bump mixpanel-browser and @types/mixpanel-browser#1562

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-b237a14a49
Closed

Bump mixpanel-browser and @types/mixpanel-browser#1562
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-b237a14a49

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 3, 2025

Bumps mixpanel-browser and @types/mixpanel-browser. These dependencies needed to be updated together.
Updates mixpanel-browser from 2.64.0 to 2.71.0

Release notes

Sourced from mixpanel-browser's releases.

Autocapture Updates

New autocapture events are now available:

  • Dead Click ($mp_dead_click): when a click occurs but there is no DOM mutation afterwards
  • Page Leave ($mp_page_leave): when a page is "left" either by navigation or leaving the tab

Dead Click event tracking is ON in the default autotrack configuration, but Page Leave tracking must be turned on explicitly (with the config option {autocapture: {page_leave: true}}.

This release also includes several other updates:

  • adding additional properties to experiment exposure events for feature flags
  • upgrade rrweb fork to fix a hidden input masking issue
  • getting rid of package.json exports feature to be less restrictive of what can be imported
  • adding type definitions for each build option

rrweb upgrade and stricter disable_persistence

  • Upgraded rrweb to use a Mixpanel-maintained fork containing performance fixes from the rrweb team (https://github.com/mixpanel/rrweb)
  • Added additional handling for disable_persistence so that sessionStorage and IndexedDB are not modified
  • Fixed TypeScript imports for custom builds

Rage-Click detection and other updates

This release adds support for Rage-Click tracking as part of the Autocapture subsystem. It is enabled in the default autocapture config, and can also be controlled explicitly with the rage_click autocapture init option.

Other updates include:

  • Session Recording now blocks <audio> tags by default
  • A new Feature-Flag method flags.update_context() facilitates updating context variables and refetching variants

Fixes and minor updates

  • get_api_host() is now used consistently across the SDK to ensure that per-endpoint API host configs are respected everywhere
  • A fix is included for the ordering of (asynchronous) operations when calling mixpanel.reset() while a session recording is active
  • Default Feature Flag context now includes device_id alongside distinct_id
  • $experiment_started events now include several API-latency-tracking properties

Fine-grained API host configuration and session recording fixes

A new api_hosts configuration option enables different endpoints (events, profiles, groups, session recordings) to be sent to different hosts, for selective proxying, e.g.:

mixpanel.init('<TOKEN>', {
  api_hosts: {
    // proxy only session-recording requests, and leave the rest on the default host api-js.mixpanel.com
    'record': 'https://my-proxy.com',
  },
});

This release also fixes a race condition when calling mixpanel.reset() while a session recording is active, and adds an initial TypeScript types.d.ts file.

Updates to revenue, session recording, autocapture, etc

This release packages up changes and improvements to several subsystems:

  • The long-deprecated mixpanel.people.track_charge() method now only prints a console error and no longer sets a profile property or produces any other change. The old version of Mixpanel's Revenue analysis UI has been replaced by a newer suite of analysis tools which don't depend on profile properties (see https://docs.mixpanel.com/docs/features/revenue_analytics).
  • Autocapture click tracking properties now include page height and width.
  • Session recording now stops when mixpanel.reset() is called.

... (truncated)

Commits
  • 8940b6a 2.70.0
  • 94e6c1e changelog for 2.70.0
  • 8403fab rebuild 2.70.0
  • a8ed92e build release candidate 2.70.0-rc1
  • 8f41a7b clean up window after each feature flag test
  • f265643 PR fixes
  • 0140a02 send up sdk and sdk version to feature flag endpoint
  • ba8ca8a use search params instead of building query string by hand
  • facc119 add tests for fetchFlags
  • bd00f1d make GET calls to get feature flags
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by jakub.grz, a new releaser for mixpanel-browser since your current version.


Updates @types/mixpanel-browser from 2.54.0 to 2.66.0

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Upgrade mixpanel-browser and its types; lockfile updates swap rrweb deps for @mixpanel/rrweb fork and related packages.

  • Dependencies:
    • Upgrade mixpanel-browser 2.64.02.71.0.
    • Upgrade @types/mixpanel-browser 2.54.02.66.0.
  • Lockfile:
    • Replace rrweb/rrdom/rrweb-snapshot with Mixpanel fork: @mixpanel/rrweb, @mixpanel/rrdom, @mixpanel/rrweb-snapshot, @mixpanel/rrweb-types, @mixpanel/rrweb-utils.
    • Update transitive deps accordingly (e.g., mitt).

Written by Cursor Bugbot for commit 369fd15. This will update automatically on new commits. Configure here.

Bumps [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) and [@types/mixpanel-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mixpanel-browser). These dependencies needed to be updated together.

Updates `mixpanel-browser` from 2.64.0 to 2.71.0
- [Release notes](https://github.com/mixpanel/mixpanel-js/releases)
- [Changelog](https://github.com/mixpanel/mixpanel-js/blob/master/CHANGELOG.md)
- [Commits](mixpanel/mixpanel-js@v2.64.0...v2.71.0)

Updates `@types/mixpanel-browser` from 2.54.0 to 2.66.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mixpanel-browser)

---
updated-dependencies:
- dependency-name: mixpanel-browser
  dependency-version: 2.71.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/mixpanel-browser"
  dependency-version: 2.66.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 3, 2025
@vercel
Copy link

vercel bot commented Oct 3, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs Error Error Oct 3, 2025 9:03am

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 31, 2025

Superseded by #1572.

@dependabot dependabot bot closed this Oct 31, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/multi-b237a14a49 branch October 31, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants