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

@invrs/ads

Package Overview
Dependencies
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invrs/ads - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

6

dist/ids.js

@@ -22,6 +22,8 @@ "use strict";

store = _ref2.store,
unit = _ref2.unit;
unit = _ref2.unit,
unitIndex = _ref2.unitIndex;
var targets = store.get("article.dfp.rawTargets") || {};
var stag = targets.production ? "" : "z_";
var page = targetPage(targets.page);
var index = typeof unitIndex === "number" ? "_".concat(unitIndex) : "";
var sect = "";

@@ -41,4 +43,4 @@

return "/21054826/".concat(stag).concat(unit, "/").concat(page).concat(sect).concat(slide);
return "/21054826/".concat(stag).concat(unit).concat(index, "/").concat(page).concat(sect).concat(slide);
}
//# sourceMappingURL=ids.js.map

@@ -121,3 +121,3 @@ "use strict";

_regenerator.default.mark(function _callee3(_ref) {
var index, slide, targets, unit, id, path, dfpUnit, iframe;
var index, slide, targets, unit, unitIndex, id, path, dfpUnit, iframe;
return _regenerator.default.wrap(function _callee3$(_context3) {

@@ -127,3 +127,3 @@ while (1) {

case 0:
index = _ref.index, slide = _ref.slide, targets = _ref.targets, unit = _ref.unit;
index = _ref.index, slide = _ref.slide, targets = _ref.targets, unit = _ref.unit, unitIndex = _ref.unitIndex;

@@ -145,3 +145,4 @@ if (!(_config.units.indexOf(unit) < 0 && unit != "card")) {

store: store,
unit: unit
unit: unit,
unitIndex: unitIndex
});

@@ -148,0 +149,0 @@ dfpUnit = store.get("article.dfp.units.".concat(unit));

{
"name": "@invrs/ads",
"version": "1.2.0",
"version": "1.3.0",
"description": "Inverse ad code",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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