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

vistar-html5player

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vistar-html5player - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

44

lib/proof_of_play.js

@@ -64,2 +64,8 @@ (function() {

ProofOfPlay.prototype._transform = function(ad, encoding, callback) {
var write;
write = (function(_this) {
return function() {
return _this.write(ad);
};
})(this);
if (this._wasDisplayed(ad)) {

@@ -70,2 +76,21 @@ return this.confirm(ad).then((function(_this) {

};
})(this))["catch"]((function(_this) {
return function(e) {
var _ref;
callback();
if ((e != null ? (_ref = e.currentTarget) != null ? _ref.status : void 0 : void 0) === 0) {
_this.log.write({
name: 'ProofOfPlay',
message: 'confirm failed, adding back to the queue.',
meta: ad
});
return setTimeout(write, 5000);
} else {
return _this.log.write({
name: 'ProofOfPlay',
message: 'confirm failed, dropping the request.',
meta: ad
});
}
};
})(this));

@@ -77,2 +102,21 @@ } else {

};
})(this))["catch"]((function(_this) {
return function(e) {
var _ref;
callback();
if ((e != null ? (_ref = e.currentTarget) != null ? _ref.status : void 0 : void 0) === 0) {
_this.log.write({
name: 'ProofOfPlay',
message: 'expire failed, adding back to the queue.',
meta: ad
});
return setTimeout(write, 5000);
} else {
return _this.log.write({
name: 'ProofOfPlay',
message: 'expire failed, dropping the request.',
meta: ad
});
}
};
})(this));

@@ -79,0 +123,0 @@ }

2

package.json

@@ -5,3 +5,3 @@ {

"description": "An HTML 5 Player for Vistar Media assets.",
"version": "1.2.5",
"version": "1.2.6",
"homepage": "http://kb.vistarmedia.com/display/sell/HTML5+Player",

@@ -8,0 +8,0 @@ "repository": {

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