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

@uppy/webcam

Package Overview
Dependencies
Maintainers
5
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/webcam - npm Package Compare versions

Comparing version 1.6.10 to 1.6.11

4

lib/index.js

@@ -287,2 +287,4 @@ var _class, _temp;

// only used if supportsMediaRecorder() returned true
// eslint-disable-next-line compat/compat
this.recorder = new MediaRecorder(this.stream, this._getMediaRecorderOptions());

@@ -577,2 +579,2 @@ this.recordingChunks = [];

return Webcam;
}(Plugin), _class.VERSION = "1.6.10", _temp);
}(Plugin), _class.VERSION = "1.6.11", _temp);
module.exports = function supportsMediaRecorder() {
/* eslint-disable compat/compat */
return typeof MediaRecorder === 'function' && !!MediaRecorder.prototype && typeof MediaRecorder.prototype.start === 'function';
/* eslint-enable compat/compat */
};
{
"name": "@uppy/webcam",
"description": "Uppy plugin that takes photos or records videos using the device's camera.",
"version": "1.6.10",
"version": "1.6.11",
"license": "MIT",

@@ -35,3 +35,3 @@ "main": "lib/index.js",

},
"gitHead": "36ab6f1d492edca678327a98629a0a53ba37604e"
"gitHead": "32e5445facad7257d32d83b7c915a80bf2c7b65a"
}

@@ -243,2 +243,4 @@ const { h } = require('preact')

_startRecording () {
// only used if supportsMediaRecorder() returned true
// eslint-disable-next-line compat/compat
this.recorder = new MediaRecorder(this.stream, this._getMediaRecorderOptions())

@@ -245,0 +247,0 @@ this.recordingChunks = []

module.exports = function supportsMediaRecorder () {
/* eslint-disable compat/compat */
return typeof MediaRecorder === 'function' && !!MediaRecorder.prototype &&
typeof MediaRecorder.prototype.start === 'function'
/* eslint-enable compat/compat */
}

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