New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@snowplow/browser-tracker-core

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snowplow/browser-tracker-core - npm Package Compare versions

Comparing version 3.21.0 to 3.22.0

28

dist/index.module.d.ts

@@ -409,2 +409,18 @@ /*

/**
* The format of state elements stored in the `id` cookie.
*/
type ParsedIdCookie = [
cookieDisabled: string,
domainUserId: string,
cookieCreateTs: number,
visitCount: number,
nowTs: number,
lastVisitTs: number | undefined,
sessionId: string,
previousSessionId: string,
firstEventId: string,
firstEventTs: number | undefined,
eventIndex: number
];
/**
* The Browser Tracker

@@ -426,3 +442,3 @@ */

*/
getDomainSessionIndex: () => void;
getDomainSessionIndex: () => number;
/**

@@ -445,3 +461,3 @@ * Get the current page view ID

*/
getCookieName: (basename: string) => void;
getCookieName: (basename: string) => string;
/**

@@ -452,3 +468,3 @@ * Get the current user ID (as set previously with setUserId()).

*/
getUserId: () => void;
getUserId: () => string | null | undefined;
/**

@@ -459,3 +475,3 @@ * Get visitor ID (from first party cookie)

*/
getDomainUserId: () => void;
getDomainUserId: () => string;
/**

@@ -466,3 +482,3 @@ * Get the visitor information (from first party cookie)

*/
getDomainUserInfo: () => void;
getDomainUserInfo: () => ParsedIdCookie;
/**

@@ -985,2 +1001,2 @@ * Override referrer

declare function fixupUrl(hostName: string, href: string, referrer: string): string[];
export { dispatchToTrackers, dispatchToTrackersInCollection, trackerExists, addTracker, getTracker, getTrackers, allTrackers, allTrackerNames, BuiltInContexts, AnonymousTrackingOptions, StateStorageStrategy, Platform, CookieSameSite, EventMethod, ExtendedCrossDomainLinkerAttributes, ExtendedCrossDomainLinkerOptions, TrackerConfiguration, ActivityCallbackData, ActivityCallback, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, PageViewEvent, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, ClearUserDataConfiguration, FlushBufferConfiguration, BrowserPluginConfiguration, BrowserTracker, ClientSession, GetBatch, PostBatch, EventBatch, RequestFailure, attemptGetLocalStorage, attemptWriteLocalStorage, attemptDeleteLocalStorage, attemptGetSessionStorage, attemptWriteSessionStorage, createCrossDomainParameterValue, urlSafeBase64Encode, FilterCriterion, isString, isInteger, isFunction, fixupTitle, getHostName, fixupDomain, getReferrer, addEventListener, fromQuerystring, decorateQuerystring, findRootDomain, isValueInArray, deleteCookie, getCookiesWithPrefix, cookie, parseAndValidateInt, parseAndValidateFloat, getFilterByClass, getFilterByName, getCssClasses, hasSessionStorage, hasLocalStorage, localStorageAccessible, fixupUrl, BrowserPlugin, SharedState, createSharedState };
export { dispatchToTrackers, dispatchToTrackersInCollection, trackerExists, addTracker, getTracker, getTrackers, allTrackers, allTrackerNames, BuiltInContexts, AnonymousTrackingOptions, StateStorageStrategy, Platform, CookieSameSite, EventMethod, ExtendedCrossDomainLinkerAttributes, ExtendedCrossDomainLinkerOptions, TrackerConfiguration, ActivityCallbackData, ActivityCallback, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, PageViewEvent, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, ClearUserDataConfiguration, FlushBufferConfiguration, BrowserPluginConfiguration, ParsedIdCookie, BrowserTracker, ClientSession, GetBatch, PostBatch, EventBatch, RequestFailure, attemptGetLocalStorage, attemptWriteLocalStorage, attemptDeleteLocalStorage, attemptGetSessionStorage, attemptWriteSessionStorage, createCrossDomainParameterValue, urlSafeBase64Encode, FilterCriterion, isString, isInteger, isFunction, fixupTitle, getHostName, fixupDomain, getReferrer, addEventListener, fromQuerystring, decorateQuerystring, findRootDomain, isValueInArray, deleteCookie, getCookiesWithPrefix, cookie, parseAndValidateInt, parseAndValidateFloat, getFilterByClass, getFilterByName, getCssClasses, hasSessionStorage, hasLocalStorage, localStorageAccessible, fixupUrl, BrowserPlugin, SharedState, createSharedState };

@@ -409,2 +409,18 @@ /*

/**
* The format of state elements stored in the `id` cookie.
*/
type ParsedIdCookie = [
cookieDisabled: string,
domainUserId: string,
cookieCreateTs: number,
visitCount: number,
nowTs: number,
lastVisitTs: number | undefined,
sessionId: string,
previousSessionId: string,
firstEventId: string,
firstEventTs: number | undefined,
eventIndex: number
];
/**
* The Browser Tracker

@@ -426,3 +442,3 @@ */

*/
getDomainSessionIndex: () => void;
getDomainSessionIndex: () => number;
/**

@@ -445,3 +461,3 @@ * Get the current page view ID

*/
getCookieName: (basename: string) => void;
getCookieName: (basename: string) => string;
/**

@@ -452,3 +468,3 @@ * Get the current user ID (as set previously with setUserId()).

*/
getUserId: () => void;
getUserId: () => string | null | undefined;
/**

@@ -459,3 +475,3 @@ * Get visitor ID (from first party cookie)

*/
getDomainUserId: () => void;
getDomainUserId: () => string;
/**

@@ -466,3 +482,3 @@ * Get the visitor information (from first party cookie)

*/
getDomainUserInfo: () => void;
getDomainUserInfo: () => ParsedIdCookie;
/**

@@ -985,2 +1001,2 @@ * Override referrer

declare function fixupUrl(hostName: string, href: string, referrer: string): string[];
export { dispatchToTrackers, dispatchToTrackersInCollection, trackerExists, addTracker, getTracker, getTrackers, allTrackers, allTrackerNames, BuiltInContexts, AnonymousTrackingOptions, StateStorageStrategy, Platform, CookieSameSite, EventMethod, ExtendedCrossDomainLinkerAttributes, ExtendedCrossDomainLinkerOptions, TrackerConfiguration, ActivityCallbackData, ActivityCallback, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, PageViewEvent, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, ClearUserDataConfiguration, FlushBufferConfiguration, BrowserPluginConfiguration, BrowserTracker, ClientSession, GetBatch, PostBatch, EventBatch, RequestFailure, attemptGetLocalStorage, attemptWriteLocalStorage, attemptDeleteLocalStorage, attemptGetSessionStorage, attemptWriteSessionStorage, createCrossDomainParameterValue, urlSafeBase64Encode, FilterCriterion, isString, isInteger, isFunction, fixupTitle, getHostName, fixupDomain, getReferrer, addEventListener, fromQuerystring, decorateQuerystring, findRootDomain, isValueInArray, deleteCookie, getCookiesWithPrefix, cookie, parseAndValidateInt, parseAndValidateFloat, getFilterByClass, getFilterByName, getCssClasses, hasSessionStorage, hasLocalStorage, localStorageAccessible, fixupUrl, BrowserPlugin, SharedState, createSharedState };
export { dispatchToTrackers, dispatchToTrackersInCollection, trackerExists, addTracker, getTracker, getTrackers, allTrackers, allTrackerNames, BuiltInContexts, AnonymousTrackingOptions, StateStorageStrategy, Platform, CookieSameSite, EventMethod, ExtendedCrossDomainLinkerAttributes, ExtendedCrossDomainLinkerOptions, TrackerConfiguration, ActivityCallbackData, ActivityCallback, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, PageViewEvent, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, ClearUserDataConfiguration, FlushBufferConfiguration, BrowserPluginConfiguration, ParsedIdCookie, BrowserTracker, ClientSession, GetBatch, PostBatch, EventBatch, RequestFailure, attemptGetLocalStorage, attemptWriteLocalStorage, attemptDeleteLocalStorage, attemptGetSessionStorage, attemptWriteSessionStorage, createCrossDomainParameterValue, urlSafeBase64Encode, FilterCriterion, isString, isInteger, isFunction, fixupTitle, getHostName, fixupDomain, getReferrer, addEventListener, fromQuerystring, decorateQuerystring, findRootDomain, isValueInArray, deleteCookie, getCookiesWithPrefix, cookie, parseAndValidateInt, parseAndValidateFloat, getFilterByClass, getFilterByName, getCssClasses, hasSessionStorage, hasLocalStorage, localStorageAccessible, fixupUrl, BrowserPlugin, SharedState, createSharedState };

@@ -409,2 +409,18 @@ /*

/**
* The format of state elements stored in the `id` cookie.
*/
type ParsedIdCookie = [
cookieDisabled: string,
domainUserId: string,
cookieCreateTs: number,
visitCount: number,
nowTs: number,
lastVisitTs: number | undefined,
sessionId: string,
previousSessionId: string,
firstEventId: string,
firstEventTs: number | undefined,
eventIndex: number
];
/**
* The Browser Tracker

@@ -426,3 +442,3 @@ */

*/
getDomainSessionIndex: () => void;
getDomainSessionIndex: () => number;
/**

@@ -445,3 +461,3 @@ * Get the current page view ID

*/
getCookieName: (basename: string) => void;
getCookieName: (basename: string) => string;
/**

@@ -452,3 +468,3 @@ * Get the current user ID (as set previously with setUserId()).

*/
getUserId: () => void;
getUserId: () => string | null | undefined;
/**

@@ -459,3 +475,3 @@ * Get visitor ID (from first party cookie)

*/
getDomainUserId: () => void;
getDomainUserId: () => string;
/**

@@ -466,3 +482,3 @@ * Get the visitor information (from first party cookie)

*/
getDomainUserInfo: () => void;
getDomainUserInfo: () => ParsedIdCookie;
/**

@@ -985,2 +1001,2 @@ * Override referrer

declare function fixupUrl(hostName: string, href: string, referrer: string): string[];
export { dispatchToTrackers, dispatchToTrackersInCollection, trackerExists, addTracker, getTracker, getTrackers, allTrackers, allTrackerNames, BuiltInContexts, AnonymousTrackingOptions, StateStorageStrategy, Platform, CookieSameSite, EventMethod, ExtendedCrossDomainLinkerAttributes, ExtendedCrossDomainLinkerOptions, TrackerConfiguration, ActivityCallbackData, ActivityCallback, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, PageViewEvent, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, ClearUserDataConfiguration, FlushBufferConfiguration, BrowserPluginConfiguration, BrowserTracker, ClientSession, GetBatch, PostBatch, EventBatch, RequestFailure, attemptGetLocalStorage, attemptWriteLocalStorage, attemptDeleteLocalStorage, attemptGetSessionStorage, attemptWriteSessionStorage, createCrossDomainParameterValue, urlSafeBase64Encode, FilterCriterion, isString, isInteger, isFunction, fixupTitle, getHostName, fixupDomain, getReferrer, addEventListener, fromQuerystring, decorateQuerystring, findRootDomain, isValueInArray, deleteCookie, getCookiesWithPrefix, cookie, parseAndValidateInt, parseAndValidateFloat, getFilterByClass, getFilterByName, getCssClasses, hasSessionStorage, hasLocalStorage, localStorageAccessible, fixupUrl, BrowserPlugin, SharedState, createSharedState };
export { dispatchToTrackers, dispatchToTrackersInCollection, trackerExists, addTracker, getTracker, getTrackers, allTrackers, allTrackerNames, BuiltInContexts, AnonymousTrackingOptions, StateStorageStrategy, Platform, CookieSameSite, EventMethod, ExtendedCrossDomainLinkerAttributes, ExtendedCrossDomainLinkerOptions, TrackerConfiguration, ActivityCallbackData, ActivityCallback, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, PageViewEvent, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, ClearUserDataConfiguration, FlushBufferConfiguration, BrowserPluginConfiguration, ParsedIdCookie, BrowserTracker, ClientSession, GetBatch, PostBatch, EventBatch, RequestFailure, attemptGetLocalStorage, attemptWriteLocalStorage, attemptDeleteLocalStorage, attemptGetSessionStorage, attemptWriteSessionStorage, createCrossDomainParameterValue, urlSafeBase64Encode, FilterCriterion, isString, isInteger, isFunction, fixupTitle, getHostName, fixupDomain, getReferrer, addEventListener, fromQuerystring, decorateQuerystring, findRootDomain, isValueInArray, deleteCookie, getCookiesWithPrefix, cookie, parseAndValidateInt, parseAndValidateFloat, getFilterByClass, getFilterByName, getCssClasses, hasSessionStorage, hasLocalStorage, localStorageAccessible, fixupUrl, BrowserPlugin, SharedState, createSharedState };
/*!
* Core functionality for Snowplow Browser trackers v3.21.0 (http://bit.ly/sp-js)
* Core functionality for Snowplow Browser trackers v3.22.0 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause

{
"name": "@snowplow/browser-tracker-core",
"version": "3.21.0",
"version": "3.22.0",
"description": "Core functionality for Snowplow Browser trackers",

@@ -21,3 +21,3 @@ "homepage": "http://bit.ly/sp-js",

"dependencies": {
"@snowplow/tracker-core": "3.21.0",
"@snowplow/tracker-core": "3.22.0",
"sha1": "^1.1.1",

@@ -24,0 +24,0 @@ "tslib": "^2.3.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc