Socket
Socket
Sign inDemoInstall

@segment/snippet

Package Overview
Dependencies
Maintainers
191
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/snippet - npm Package Compare versions

Comparing version 4.15.1 to 4.15.2

2

dist/max.template.js

@@ -11,3 +11,3 @@ module.exports=function(settings) {

((__t = ( settings.optionalCDN )) == null ? '' : __t) +
'\n\n // Add a version to keep track of what\'s in the wild.\n analytics.SNIPPET_VERSION = \'4.15.1\';\n\n // Load Analytics.js with your key, which will automatically\n // load the tools you\'ve enabled for your account. Boosh!\n ' +
'\n\n // Add a version to keep track of what\'s in the wild.\n analytics.SNIPPET_VERSION = \'4.15.2\';\n\n // Load Analytics.js with your key, which will automatically\n // load the tools you\'ve enabled for your account. Boosh!\n ' +
((__t = ( settings.load )) == null ? '' : __t) +

@@ -14,0 +14,0 @@ '\n\n // Make the first page call to load the integrations. If\n // you\'d like to manually name or tag the page, edit or\n // move this call however you\'d like.\n ' +

@@ -11,3 +11,3 @@ module.exports=function(settings) {

((__t = ( settings.optionalCDN )) == null ? '' : __t) +
';analytics.SNIPPET_VERSION="4.15.1";\n' +
';analytics.SNIPPET_VERSION="4.15.2";\n' +
((__t = ( settings.load )) == null ? '' : __t) +

@@ -14,0 +14,0 @@ '\n' +

{
"name": "@segment/snippet",
"author": "Segment.io <friends@segment.com>",
"version": "4.15.1",
"version": "4.15.2",
"repository": "git://github.com/segmentio/snippet.git",

@@ -6,0 +6,0 @@ "description": "Templating methods for rendering the analytics.js snippet.",

@@ -34,2 +34,7 @@ declare module '@segment/snippet' {

load?: boolean | LoadOptions
/**
* If useHostForBundles is set, the snippet will include the `_cdn` property
* to tell Analytics JS where to fetch bundles from.
*/
useHostForBundles?: boolean
}

@@ -36,0 +41,0 @@

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