Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/o-tracking

Package Overview
Dependencies
Maintainers
18
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/o-tracking - npm Package Compare versions

Comparing version 4.0.0-beta.0 to 4.0.0

7

MIGRATION.md
# Migration
- [Migrating from v3 to v4](#migrating-from-v3-to-v4)
- [Migrating from v2 to v3](#migrating-from-v2-to-v3)
- [Migrating from v1 to v2](#migrating-from-v1-to-v2)
## Migrating from v3 to v4
Support for Bower and version 2 of the Origami Build Service have been removed.
Follow [the migration guide on the Origami website](https://origami.ft.com/docs/tutorials/bower-to-npm/).
## Migrating from v2 to v3

@@ -8,0 +15,0 @@

8

package.json
{
"name": "@financial-times/o-tracking",
"version": "4.0.0-beta.0",
"version": "4.0.0",
"description": "Provides tracking for a product. Tracking requests are sent to the Spoor API.",

@@ -18,3 +18,3 @@ "keywords": [

"start": "npx serve ./demos/local",
"build": "npm_config_yes=true npx \"origami-build-tools@prerelease\" install && npm_config_yes=true npx \"origami-build-tools@prerelease\" demo"
"build": "npm_config_yes=true npx \"origami-build-tools@^11\" install && npm_config_yes=true npx \"origami-build-tools@^11\" demo"
},

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

"remark-lint": "^7.0.1",
"remark-preset-lint-origami-component": "prerelease",
"remark-preset-lint-origami-component": "^2.0.0",
"stylelint": "^13.12.0",

@@ -39,4 +39,4 @@ "stylelint-config-origami-component": "^1.0.4"

"dependencies": {
"ftdomdelegate": "^4.0.6"
"ftdomdelegate": "^5"
}
}

@@ -35,3 +35,3 @@ # o-tracking

*Recommendation:* Using a different `system.source` value from the one used in o-tracking JavaScript mode will help your project be able to more easily group the data for those users without JavaScript. The example below uses the source `o-tracking-fallback`.
_Recommendation:_ Using a different `system.source` value from the one used in o-tracking JavaScript mode will help your project be able to more easily group the data for those users without JavaScript. The example below uses the source `o-tracking-fallback`.

@@ -149,3 +149,3 @@ ```json

*Note: The attribute `data-o-tracking-skip-queue` is no longer used, it is now the default behaviour.*
_Note:_ The attribute `data-o-tracking-skip-queue` is no longer used, it is now the default behaviour.*

@@ -165,4 +165,4 @@ ##### oTracking.view.init

- `component`
*Note:* This feature requires `window.IntersectionObserver` in order to track the events
*Note:* `getContextData` should be a function which returns `{object}`. It accepts the viewed element as an argument
_Note:_ This feature requires `window.IntersectionObserver` in order to track the events
_Note:_ `getContextData` should be a function which returns `{object}`. It accepts the viewed element as an argument

@@ -299,7 +299,8 @@ Please refer to the [event document](docs/event.md) for information about all the possible properties which can be set.

| :---: | :---: | :---: | :---: |
| ✨ active | 3 | N/A | [migrate to v3](MIGRATION.md#migrating-from-v2-to-v3) |
| ⚠ maintained | 2 | 2.0.10 | [migrate to v2](MIGRATION.md#migrating-from-v1-to-v2) |
| ✨ active | 4 | N/A | [migrate to v4](MIGRATION.md#migrating-from-v3-to-v4) |
| ⚠ maintained | 3 | 3.1| [migrate to v3](MIGRATION.md#migrating-from-v2-to-v3) |
| ╳ deprecated | 2 | 2.0.10 | [migrate to v2](MIGRATION.md#migrating-from-v1-to-v2) |
| ╳ deprecated | 1 | 1.7.2 | N/A |
---
***

@@ -310,3 +311,3 @@ ## Contact

---
***

@@ -313,0 +314,0 @@ ## Licence

@@ -20,3 +20,3 @@ import {set, get, destroy as destroySetting} from './core/settings.js';

*/
const version = '3.0.4';
const version = '3.1.1';

@@ -23,0 +23,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