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

@snowplow/browser-plugin-ga-cookies

Package Overview
Dependencies
Maintainers
0
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snowplow/browser-plugin-ga-cookies - npm Package Compare versions

Comparing version 3.24.4 to 4.0.0-beta.1

14

dist/index.module.js
/*!
* Attaches GA cookie data to Snowplow events v3.24.4 (http://bit.ly/sp-js)
* Attaches GA cookie data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -17,3 +17,3 @@ * Licensed under BSD-3-Clause

ga4MeasurementId: '',
cookiePrefix: []
cookiePrefix: [],
};

@@ -39,3 +39,3 @@ /**

schema: UNIVERSAL_ANALYTICS_COOKIES_SCHEMA,
data: {}
data: {},
};

@@ -64,3 +64,3 @@ ['__utma', '__utmb', '__utmc', '__utmv', '__utmz', GA_USER_COOKIE].forEach(function (cookieType) {

measurement_id: cookieIdentifier,
session_cookie: sessionCookieValue
session_cookie: sessionCookieValue,
});

@@ -78,4 +78,4 @@ }

session_cookies: sessionCookies.length ? sessionCookies : undefined,
cookie_prefix: prefix || undefined
}
cookie_prefix: prefix || undefined,
},
};

@@ -86,3 +86,3 @@ contexts.push(ga4CookiesContext);

return contexts;
}
},
};

@@ -89,0 +89,0 @@ }

/*!
* Attaches GA cookie data to Snowplow events v3.24.4 (http://bit.ly/sp-js)
* Attaches GA cookie data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -55,3 +55,3 @@ * Licensed under BSD-3-Clause

/*!
* Core functionality for Snowplow Browser trackers v3.24.4 (http://bit.ly/sp-js)
* Core functionality for Snowplow Browser trackers v4.0.0-beta.1 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -95,3 +95,3 @@ * Licensed under BSD-3-Clause

ga4MeasurementId: '',
cookiePrefix: []
cookiePrefix: [],
};

@@ -117,3 +117,3 @@ /**

schema: UNIVERSAL_ANALYTICS_COOKIES_SCHEMA,
data: {}
data: {},
};

@@ -142,3 +142,3 @@ ['__utma', '__utmb', '__utmc', '__utmv', '__utmz', GA_USER_COOKIE].forEach(function (cookieType) {

measurement_id: cookieIdentifier,
session_cookie: sessionCookieValue
session_cookie: sessionCookieValue,
});

@@ -156,4 +156,4 @@ }

session_cookies: sessionCookies.length ? sessionCookies : undefined,
cookie_prefix: prefix || undefined
}
cookie_prefix: prefix || undefined,
},
};

@@ -164,3 +164,3 @@ contexts.push(ga4CookiesContext);

return contexts;
}
},
};

@@ -167,0 +167,0 @@ }

/*!
* Attaches GA cookie data to Snowplow events v3.24.4 (http://bit.ly/sp-js)
* Attaches GA cookie data to Snowplow events v4.0.0-beta.1 (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-plugin-ga-cookies",
"version": "3.24.4",
"version": "4.0.0-beta.1",
"description": "Attaches GA cookie data to Snowplow events",

@@ -22,4 +22,4 @@ "homepage": "http://bit.ly/sp-js",

"tslib": "^2.3.1",
"@snowplow/browser-tracker-core": "3.24.4",
"@snowplow/tracker-core": "3.24.4"
"@snowplow/browser-tracker-core": "4.0.0-beta.1",
"@snowplow/tracker-core": "4.0.0-beta.1"
},

@@ -48,3 +48,3 @@ "devDependencies": {

"peerDependencies": {
"@snowplow/browser-tracker": "~3.24.4"
"@snowplow/browser-tracker": "~4.0.0-beta.1"
},

@@ -51,0 +51,0 @@ "scripts": {

@@ -13,3 +13,3 @@ # Snowplow GA Cookies Tracking

Part of the Snowplow JavaScript Tracker monorepo.
Build with [Node.js](https://nodejs.org/en/) (18 - 20) and [Rush](https://rushjs.io/).
Build with [Node.js](https://nodejs.org/en/) (14 or 16) and [Rush](https://rushjs.io/).

@@ -16,0 +16,0 @@ ### Setup repository

Sorry, the diff of this file is not supported yet

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