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

@financial-times/o-ads

Package Overview
Dependencies
Maintainers
18
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 13.3.0 to 13.4.0

10

dist/js/ad-servers/gpt.js

@@ -552,2 +552,7 @@ "use strict";

}
} //https://developers.google.com/doubleclick-gpt/common_implementation_mistakes#scenario-2:-checking-the-googletag-object-to-know-whether-gpt-is-ready
function hasGPTLoaded() {
return window.googletag && window.googletag.apiReady;
}

@@ -573,6 +578,7 @@

clearPageTargetingForKey,
debug,
loadGPT
hasGPTLoaded,
loadGPT,
debug
};
exports.default = _default;
module.exports = exports.default;

7

dist/js/slot.js

@@ -408,3 +408,8 @@ "use strict";

this.destroySlot();
this.container.removeChild(this.outer);
if (this.outer.parentElement === this.container) {
this.container.removeChild(this.outer);
} else {
console.error('Error destroying ad slot. The parent node has already been removed.'); // eslint-disable-line no-console
}
}

@@ -411,0 +416,0 @@

"use strict";
// generated by genversion
module.exports = '13.3.0';
module.exports = '13.4.0';

@@ -28,3 +28,3 @@ {

"name": "@financial-times/o-ads",
"version": "13.3.0",
"version": "13.4.0",
"dependencies": {

@@ -31,0 +31,0 @@ "ftdomdelegate": ">=2.2.0 <4.0.0",

@@ -513,2 +513,6 @@ /*globals googletag: true */

}
//https://developers.google.com/doubleclick-gpt/common_implementation_mistakes#scenario-2:-checking-the-googletag-object-to-know-whether-gpt-is-ready
function hasGPTLoaded () {
return window.googletag && window.googletag.apiReady;
}

@@ -531,4 +535,5 @@ function debug() {

clearPageTargetingForKey,
debug,
loadGPT
hasGPTLoaded,
loadGPT,
debug
};

@@ -378,3 +378,7 @@ import utils from './utils';

this.destroySlot();
this.container.removeChild(this.outer);
if (this.outer.parentElement === this.container) {
this.container.removeChild(this.outer);
} else {
console.error('Error destroying ad slot. The parent node has already been removed.'); // eslint-disable-line no-console
}
}

@@ -381,0 +385,0 @@ return this;

// generated by genversion
module.exports = '13.3.0';
module.exports = '13.4.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