@snowplow/browser-plugin-geolocation
Advanced tools
Comparing version 3.3.1 to 3.4.0
/*! | ||
* Attaches Geolocation data to Snowplow events v3.3.1 (http://bit.ly/sp-js) | ||
* Attaches Geolocation data to Snowplow events v3.4.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause |
/*! | ||
* Attaches Geolocation data to Snowplow events v3.3.1 (http://bit.ly/sp-js) | ||
* Attaches Geolocation data to Snowplow events v3.4.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -11,3 +11,3 @@ * Licensed under BSD-3-Clause | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.snowplowGeolocation = {})); | ||
}(this, (function (exports) { 'use strict'; | ||
})(this, (function (exports) { 'use strict'; | ||
@@ -118,3 +118,3 @@ /* | ||
}))); | ||
})); | ||
//# sourceMappingURL=index.umd.js.map |
/*! | ||
* Attaches Geolocation data to Snowplow events v3.3.1 (http://bit.ly/sp-js) | ||
* Attaches Geolocation data to Snowplow events v3.4.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-plugin-geolocation", | ||
"version": "3.3.1", | ||
"version": "3.4.0", | ||
"description": "Attaches Geolocation data to Snowplow events", | ||
@@ -21,26 +21,29 @@ "homepage": "http://bit.ly/sp-js", | ||
"dependencies": { | ||
"@snowplow/browser-tracker-core": "3.3.1", | ||
"@snowplow/tracker-core": "3.3.1", | ||
"tslib": "^2.3.0" | ||
"@snowplow/browser-tracker-core": "3.4.0", | ||
"@snowplow/tracker-core": "3.4.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0", | ||
"@rollup/plugin-commonjs": "^17.1.0", | ||
"@rollup/plugin-node-resolve": "^11.2.0", | ||
"@types/jest": "^26.0.20", | ||
"@typescript-eslint/eslint-plugin": "^4.9.0", | ||
"@typescript-eslint/parser": "^4.9.0", | ||
"rollup-plugin-ts": "^1.4.0", | ||
"eslint": "^7.7.0", | ||
"jest": "^26.6.3", | ||
"jest-standard-reporter": "^2.0.0", | ||
"rollup": "^2.41.1", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
"rollup-plugin-license": "^2.2.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"ts-jest": "^26.5.0", | ||
"typescript": "^4.3.5" | ||
"@ampproject/rollup-plugin-closure-compiler": "~0.27.0", | ||
"@rollup/plugin-commonjs": "~21.0.2", | ||
"@rollup/plugin-node-resolve": "~13.1.3", | ||
"@types/jest": "~27.4.1", | ||
"@types/jsdom": "~16.2.14", | ||
"@typescript-eslint/eslint-plugin": "~5.15.0", | ||
"@typescript-eslint/parser": "~5.15.0", | ||
"eslint": "~8.11.0", | ||
"jest": "~27.5.1", | ||
"jest-environment-jsdom": "~27.5.1", | ||
"jest-environment-jsdom-global": "~3.0.0", | ||
"jest-standard-reporter": "~2.0.0", | ||
"rollup": "~2.70.1", | ||
"rollup-plugin-cleanup": "~3.2.1", | ||
"rollup-plugin-license": "~2.6.1", | ||
"rollup-plugin-terser": "~7.0.2", | ||
"rollup-plugin-ts": "~2.0.5", | ||
"ts-jest": "~27.1.3", | ||
"typescript": "~4.6.2" | ||
}, | ||
"peerDependencies": { | ||
"@snowplow/browser-tracker": "~3.3.1" | ||
"@snowplow/browser-tracker": "~3.4.0" | ||
}, | ||
@@ -50,3 +53,4 @@ "scripts": { | ||
"test": "" | ||
} | ||
}, | ||
"readme": "# Snowplow Geolocation Tracking\n\n[![npm version][npm-image]][npm-url]\n[![License][license-image]](LICENSE)\n\nBrowser Plugin to be used with `@snowplow/browser-tracker`.\n\nAdds Geolocation to your Snowplow tracking.\n\n## Maintainer quick start\n\nPart of the Snowplow JavaScript Tracker monorepo. \nBuild with [Node.js](https://nodejs.org/en/) (12 LTS or 14 LTS) and [Rush](https://rushjs.io/).\n\n### Setup repository\n\n```bash\nnpm install -g @microsoft/rush \ngit clone https://github.com/snowplow/snowplow-javascript-tracker.git\nrush update\n```\n\n## Package Installation\n\nWith npm:\n\n```bash\nnpm install @snowplow/browser-plugin-geolocation\n```\n\n## Usage\n\nInitialize your tracker with the GeolocationPlugin:\n\n```js\nimport { newTracker } from '@snowplow/browser-tracker';\nimport { GeolocationPlugin, enableGeolocationContext } from '@snowplow/browser-plugin-geolocation';\n\n// Enables at tracker load - set to `false` to load later with `enableGeolocationContext`\nnewTracker('sp1', '{{collector}}', { plugins: [ GeolocationPlugin(true) ] }); \n\nenableGeolocationContext(); // If initializing with `false`, call this to switch it on\n```\n\n## Copyright and license\n\nLicensed and distributed under the [BSD 3-Clause License](LICENSE) ([An OSI Approved License][osi]).\n\nCopyright (c) 2022 Snowplow Analytics Ltd, 2010 Anthon Pang.\n\nAll rights reserved.\n\n[npm-url]: https://www.npmjs.com/package/@snowplow/browser-plugin-geolocation\n[npm-image]: https://img.shields.io/npm/v/@snowplow/browser-plugin-geolocation\n[docs]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-tracker/\n[osi]: https://opensource.org/licenses/BSD-3-Clause\n[license-image]: https://img.shields.io/npm/l/@snowplow/browser-plugin-geolocation\n" | ||
} |
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
55746
19
+ Added@snowplow/browser-tracker@3.4.0(transitive)
+ Added@snowplow/browser-tracker-core@3.4.0(transitive)
+ Added@snowplow/tracker-core@3.4.0(transitive)
- Removed@snowplow/browser-tracker@3.3.1(transitive)
- Removed@snowplow/browser-tracker-core@3.3.1(transitive)
- Removed@snowplow/tracker-core@3.3.1(transitive)
Updated@snowplow/tracker-core@3.4.0
Updatedtslib@^2.3.1