marionette-client
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -411,6 +411,9 @@ (function(module, ns) { | ||
* can use this opportunity to log some useful state for debugging. | ||
* By default this function logs screenshot image data. | ||
* | ||
* @type {Function} | ||
*/ | ||
onScriptTimeout: null, | ||
onScriptTimeout: function() { | ||
console.log('Screenshot: ' + 'data:image/png;base64,' + this.screenshot()); | ||
}, | ||
@@ -687,2 +690,3 @@ /** | ||
this.onScriptTimeout(); | ||
callback(new Error('timeout exceeded!')); | ||
@@ -702,2 +706,3 @@ }, | ||
if (Date.now() >= timeout) { | ||
this.onScriptTimeout(); | ||
return callback(new Error('timeout exceeded')); | ||
@@ -704,0 +709,0 @@ } |
{ | ||
"name": "marionette-client", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"main": "lib/marionette/index", | ||
@@ -5,0 +5,0 @@ "description": "Marionette Javascript Client", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94014
3061
3