@financial-times/ads-display
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -69,3 +69,3 @@ import { getRootID } from '@financial-times/o-tracking/dist/javascript/core.js'; | ||
// We don't want to waste time trying to parse postMessage that we know aren't for us | ||
if (!data.match(/oAds/)) { | ||
if (typeof data !== 'string' || !data.match(/oAds/)) { | ||
return | ||
@@ -72,0 +72,0 @@ } |
{ | ||
"name": "@financial-times/ads-display", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Bring ads to your page with the FT specific o-ads configuration", | ||
@@ -12,3 +12,3 @@ "browser": "dist/client.js", | ||
"test": "jest --colors", | ||
"dev": "NODE_ENV=development rollup -c rollup.config.dev.js --watch", | ||
"dev": "NODE_ENV=development rollup -c", | ||
"build": "npm run clean && rollup -c", | ||
@@ -42,3 +42,3 @@ "certs": "source ./scripts/demo.sh && certs", | ||
"dependencies": { | ||
"@financial-times/ads-permutive": "^0.4.0", | ||
"@financial-times/ads-permutive": "^0.4.1", | ||
"@financial-times/n-tracking": "^1.3.1", | ||
@@ -45,0 +45,0 @@ "@financial-times/o-ads": "18.3.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50652
12