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

dot-store-iframe

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot-store-iframe - npm Package Compare versions

Comparing version 2.4.8 to 2.4.9

59

dist/dfp.js

@@ -135,6 +135,2 @@ "use strict";

dfp = state.dfp, iframes = state.iframes;
_context2.next = 4;
return store.onceExists("dfp.loaded");
case 4:
iframe = iframes[iframeId];

@@ -144,3 +140,3 @@ valid = iframe && iframe.dfp;

if (!(!valid || props.length != 2 || prev)) {
_context2.next = 8;
_context2.next = 6;
break;

@@ -151,2 +147,6 @@ }

case 6:
_context2.next = 8;
return store.onceExists("dfp.loaded");
case 8:

@@ -202,3 +202,3 @@ divId = iframe.divId;

_regenerator.default.mark(function _callee3(_ref6) {
var iframeId, store;
var iframeId, state, store, iframes, iframe, valid;
return _regenerator.default.wrap(function _callee3$(_context3) {

@@ -208,11 +208,23 @@ while (1) {

case 0:
iframeId = _ref6.iframeId, store = _ref6.store;
_context3.next = 3;
iframeId = _ref6.iframeId, state = _ref6.state, store = _ref6.store;
iframes = state.iframes;
iframe = iframes[iframeId];
valid = iframe && iframe.dfp;
if (valid) {
_context3.next = 6;
break;
}
return _context3.abrupt("return");
case 6:
_context3.next = 8;
return store.onceExists("dfp.loaded");
case 3:
case 8:
window.googletag.destroySlots([slots[iframeId]]);
slots[iframeId] = undefined;
case 5:
case 10:
case "end":

@@ -235,3 +247,3 @@ return _context3.stop();

_regenerator.default.mark(function _callee4(_ref7) {
var iframeId, state, store, iframes, divId;
var iframeId, state, store, iframes, iframe, valid, divId;
return _regenerator.default.wrap(function _callee4$(_context4) {

@@ -242,11 +254,18 @@ while (1) {

iframeId = _ref7.iframeId, state = _ref7.state, store = _ref7.store;
_context4.next = 3;
return store.onceExists("dfp.loaded");
iframes = state.iframes;
iframe = iframes[iframeId];
valid = iframe && iframe.dfp;
case 3:
iframes = state.iframes;
if (valid) {
_context4.next = 6;
break;
}
return _context4.abrupt("return");
case 6:
divId = iframes[iframeId].divId;
if (slots[divId]) {
_context4.next = 7;
_context4.next = 9;
break;

@@ -257,3 +276,7 @@ }

case 7:
case 9:
_context4.next = 11;
return store.onceExists("dfp.loaded");
case 11:
window.googletag.pubads().refresh([slots[divId]], {

@@ -263,3 +286,3 @@ changeCorrelator: false

case 8:
case 12:
case "end":

@@ -266,0 +289,0 @@ return _context4.stop();

{
"name": "dot-store-iframe",
"version": "2.4.8",
"version": "2.4.9",
"description": "Iframe controller integration for dot-store",

@@ -22,3 +22,2 @@ "keywords": [

"prepublishOnly": "npm run build",
"pretest": "npm run build",
"pretty": "prettier --write **/*.css **/*.json **/*.md",

@@ -40,3 +39,3 @@ "lint": "eslint --ignore-path .gitignore --ext=js .",

"babel-core": "^7.0.0-bridge.0",
"dot-store": "^2.4.8",
"dot-store": "^2.4.9",
"fxtr": "1",

@@ -76,8 +75,29 @@ "jest": "22",

"starters": [
"basics",
"babel",
"babel-scripts",
"babel-web",
"jest"
]
"basics",
"jest",
"watchman-babel"
],
"watchman": {
"triggers": [
{
"name": "babel",
"expression": [
"anyof",
[
"match",
"lib/**/*.js",
"wholename"
]
],
"command": [
"npm",
"run",
"build"
]
}
]
}
}

Sorry, the diff of this file is not supported yet

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