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

@snowplow/browser-plugin-geolocation

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-geolocation - npm Package Compare versions

Comparing version 3.24.4 to 4.0.0-beta.1

8

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

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

return [];
}
},
};

@@ -94,4 +94,4 @@ }

speed: coords.speed,
timestamp: Math.round(position.timestamp)
}
timestamp: Math.round(position.timestamp),
},
};

@@ -98,0 +98,0 @@ // Ensure all trackers with geolocation enabled have the context set

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

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

return [];
}
},
};

@@ -100,4 +100,4 @@ }

speed: coords.speed,
timestamp: Math.round(position.timestamp)
}
timestamp: Math.round(position.timestamp),
},
};

@@ -104,0 +104,0 @@ // Ensure all trackers with geolocation enabled have the context set

/*!
* Attaches Geolocation data to Snowplow events v3.24.4 (http://bit.ly/sp-js)
* Attaches Geolocation 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-geolocation",
"version": "3.24.4",
"version": "4.0.0-beta.1",
"description": "Attaches Geolocation 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 Geolocation 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

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