[Snyk] Upgrade mixpanel-browser from 2.56.0 to 2.62.0 #150
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Snyk has created this PR to upgrade mixpanel-browser from 2.56.0 to 2.62.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 8 versions ahead of your current version.
The recommended version was released 22 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-NANOID-8492085
SNYK-JS-NEXT-9508709
Release notes
Package name: mixpanel-browser
-
2.62.0 - 2025-03-26
- UUIDs are now generated as UUIDv4. When available, the native randomUUID() from the Crypto API is used; otherwise the library falls back to a simple custom UUIDv4 implementation.
- When available, the library now consistently uses native
- Fixes a Session Recording race condition where sometimes the idle timeout is reset past when it should have fired due to a backgrounded tab.
-
2.61.2 - 2025-03-14
- Removes 10ms throttle of event / user data queueing that was added in 2.61.0. The additional 10ms regressed the reliability of firing tracking updates when a page is about to unload.
-
2.61.1 - 2025-03-11
- Stops recording when the initial full snapshot of the DOM fails to generate, preventing the ingestion of blank recordings
- Try/catch rrweb's
- Fix broken opt-out check that was spamming error messages when
-
2.61.0 - 2025-03-06
- Session recordings are now persisted and continue recording across HTML page loads in a single tab
- Session recording now uses IndexedDB when available to queue and persist data for reliability under poor network conditions etc.
-
2.60.0 - 2025-02-04
- Autocapture support. See: https://docs.mixpanel.com/docs/tracking-methods/autocapture
- prevent duplicate values in cookie storage when using union #354 by @ chrisdeely in #459
- @ chrisdeely made their first contribution in #459
-
2.59.0 - 2025-01-23
- Block more crawlers (AmazonBot, more Yandex bots)
-
2.58.0 - 2024-12-18
- New initialization option
- Session Replay checkpoint events now include a starting URL
-
2.57.1 - 2024-12-18
-
2.56.0 - 2024-11-08
- New debugging method
- The
- Recording payloads now include additional metadata: the current URL, library type, and library version.
- Sourcemaps are now generated for the recorder module.
- Added some additional error handling for when
from mixpanel-browser GitHub release notesJSON.stringify()for serializing request data, only falling back to the older custom JSON encoding implementation if the environment doesn't have native JSON APIs.recordto prevent any user facing errorsdebugmode is on (introduced in 2.61.0)This release focuses on continuing an active session recording across HTML page loads (different mixpanel.init() calls)
New Contributors
Full Changelog: v2.59.0...v2.60.0
Full Changelog: v2.58.0...v2.59.0
record_canvascan be turned on to enable the Session Recording module to capture contents of HTMLcanvaselementsThis release is largely an internal refactor of the batch/queue/retry subsystem introducing asynchronous abstractions (primarily Promise support). Includes a minimal Promise polyfill for continued support in older browsers.
This releases bundles several updates and fixes for the session recording feature:
mixpanel.get_session_replay_url()returns a mixpanel.com link to view the current replay if there is an active recording taking place.record_inline_imagesconfiguration option has been removed for now due to buggy behavior in the rrweb library.mixpanel.stop_session_recording()fails or rrweb silently fails to start recording.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Description
mixpanel-browserto version2.62.0to address vulnerabilities and improve functionality.Changes walkthrough 📝
package.json
Upgrade mixpanel-browser dependency to latest versionpackage.json
mixpanel-browserdependency from version2.56.0to2.62.0.