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
6
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.5 to 0.0.6

17

dist/cjs.js

@@ -333,3 +333,5 @@ 'use strict';

this.enabled = false;
this.googletag = window.googletag;
this.googletag = typeof window !== 'undefined' ? window.googletag : {
cmd: []
};
this.slots = [];

@@ -395,3 +397,3 @@ if (this.options.autoInit) {

}
const lineItems = window.refreshDisabledLineItems || [];
const lineItems = typeof window !== 'undefined' ? window.refreshDisabledLineItems || [] : [];
if (isArray__default["default"](lineItems) && lineItems.indexOf(lineItemId) > -1) {

@@ -1031,14 +1033,5 @@ renderSlot.setRefreshDisabled();

ref: refObserver,
style: isEmpty && !keepSize ? {
height: 0,
paddingBottom: 0,
overflow: 'hidden',
opacity: 0
} : null,
children: /*#__PURE__*/jsxRuntime.jsx("div", {
className: adClassName,
style: {
...sizeStyle,
margin: 'auto'
},
style: sizeStyle,
children: /*#__PURE__*/jsxRuntime.jsx("div", {

@@ -1045,0 +1038,0 @@ id: id

@@ -316,3 +316,5 @@ import PropTypes from 'prop-types';

this.enabled = false;
this.googletag = window.googletag;
this.googletag = typeof window !== 'undefined' ? window.googletag : {
cmd: []
};
this.slots = [];

@@ -378,3 +380,3 @@ if (this.options.autoInit) {

}
const lineItems = window.refreshDisabledLineItems || [];
const lineItems = typeof window !== 'undefined' ? window.refreshDisabledLineItems || [] : [];
if (isArray(lineItems) && lineItems.indexOf(lineItemId) > -1) {

@@ -1014,14 +1016,5 @@ renderSlot.setRefreshDisabled();

ref: refObserver,
style: isEmpty && !keepSize ? {
height: 0,
paddingBottom: 0,
overflow: 'hidden',
opacity: 0
} : null,
children: /*#__PURE__*/jsx("div", {
className: adClassName,
style: {
...sizeStyle,
margin: 'auto'
},
style: sizeStyle,
children: /*#__PURE__*/jsx("div", {

@@ -1028,0 +1021,0 @@ id: id

{
"name": "@folklore/ads",
"version": "0.0.5",
"version": "0.0.6",
"description": "Ads library",

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

},
"gitHead": "cbdee31b7e205f95c4ab462380feee74c076daa1",
"gitHead": "ee872d3b53d682519131cb2b1c570f4da8b2c991",
"dependencies": {

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

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