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

@folklore/ads

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@folklore/ads - npm Package Compare versions

Comparing version 0.0.90 to 0.0.91

10

dist/cjs.js

@@ -525,5 +525,2 @@ 'use strict';

displaySlot(slot) {
if (!slot.canBeDisplayed()) {
return;
}
this.callDisplaySlot(slot);

@@ -538,8 +535,11 @@ }

googletag.cmd.push(() => {
if (!slot.canBeDisplayed()) {
return;
}
const id = slot.getElementId();
const path = slot.getAdPath();
debug$1('Displaying slot #%s(%s)...', id, path);
googletag.display(slot.getAdSlot());
googletag.display(id);
if (googletag.pubads().isInitialLoadDisabled()) {
googletag.pubads().refresh([slot.getAdSlot()]);
googletag.pubads().refresh([id]);
}

@@ -546,0 +546,0 @@ slot.setDisplayed(true);

@@ -523,5 +523,2 @@ import PropTypes from 'prop-types';

displaySlot(slot) {
if (!slot.canBeDisplayed()) {
return;
}
this.callDisplaySlot(slot);

@@ -536,8 +533,11 @@ }

googletag.cmd.push(() => {
if (!slot.canBeDisplayed()) {
return;
}
const id = slot.getElementId();
const path = slot.getAdPath();
debug$1('Displaying slot #%s(%s)...', id, path);
googletag.display(slot.getAdSlot());
googletag.display(id);
if (googletag.pubads().isInitialLoadDisabled()) {
googletag.pubads().refresh([slot.getAdSlot()]);
googletag.pubads().refresh([id]);
}

@@ -544,0 +544,0 @@ slot.setDisplayed(true);

{
"name": "@folklore/ads",
"version": "0.0.90",
"version": "0.0.91",
"description": "Ads library",

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

},
"gitHead": "65b5d27ef88f7fa8f39385476cb9764194417870",
"gitHead": "43c75c431f508b5550824e00bc26bffe52a0cc7f",
"dependencies": {

@@ -56,0 +56,0 @@ "@folklore/hooks": "^0.0.71",

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