getscreenmedia
Advanced tools
Comparing version 1.5.6 to 2.0.0
@@ -35,3 +35,3 @@ // getScreenMedia helper by @HenrikJoreteg | ||
var error = new Error('NavigatorUserMediaError'); | ||
error.name = 'PERMISSION_DENIED'; | ||
error.name = 'NotAllowedError'; | ||
callback(error); | ||
@@ -146,3 +146,3 @@ } else { | ||
var error = new Error('NavigatorUserMediaError'); | ||
error.name = 'PERMISSION_DENIED'; | ||
error.name = 'NotAllowedError'; | ||
callback(error); | ||
@@ -149,0 +149,0 @@ } else { |
{ | ||
"name": "getscreenmedia", | ||
"version": "1.5.6", | ||
"version": "2.0.0", | ||
"description": "A browser module for attempting to get access to a MediaStream of a user's screen. With a nice node-like API.", | ||
@@ -5,0 +5,0 @@ "main": "getscreenmedia.js", |
Sorry, the diff of this file is too big to display
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
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
0
122530