You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

image-capture

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-capture - npm Package Compare versions

Comparing version

to
0.1.1

4

lib/imagecapture.js

@@ -113,3 +113,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

value: function setOptions() {
var photoSettings = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var photoSettings = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -131,3 +131,3 @@ return new Promise(function (resolve, reject) {

value: function takePhoto() {
var photoSettings = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var photoSettings = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -134,0 +134,0 @@ var self = this;

{
"name": "image-capture",
"version": "0.1.0",
"version": "0.1.1",
"description": "MediaStream ImageCapture polyfill: takePhoto(), grabFrame() and more",

@@ -5,0 +5,0 @@ "main": "lib/imagecapture.js",

@@ -12,3 +12,3 @@ # ImageCapture polyfill

[The demo](https://github.com/dandv/imagecapture) currently shows grabFrame() and takePhoto().
[The demo](https://dandv.github.io/imagecapture) currently shows grabFrame() and takePhoto().

@@ -15,0 +15,0 @@ # Quick start

Sorry, the diff of this file is not supported yet