@uppy/webcam
Advanced tools
Comparing version 1.6.8 to 1.6.9
@@ -576,2 +576,2 @@ var _class, _temp; | ||
return Webcam; | ||
}(Plugin), _class.VERSION = "1.6.8", _temp); | ||
}(Plugin), _class.VERSION = "1.6.9", _temp); |
{ | ||
"name": "@uppy/webcam", | ||
"description": "Uppy plugin that takes photos or records videos using the device's camera.", | ||
"version": "1.6.8", | ||
"version": "1.6.9", | ||
"license": "MIT", | ||
@@ -29,3 +29,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^3.2.0", | ||
"@uppy/utils": "^3.2.1", | ||
"preact": "8.2.9" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "16686fc0cae55dd40f449f63005273145aba7df3" | ||
"gitHead": "2d91641ddd1efbb7b21ba850156d865491999106" | ||
} |
@@ -18,3 +18,3 @@ # @uppy/webcam | ||
const uppy = Uppy() | ||
const uppy = new Uppy() | ||
uppy.use(Webcam, { | ||
@@ -21,0 +21,0 @@ mirror: true, |
@@ -11,3 +11,3 @@ const Uppy = require('@uppy/core') | ||
const uppy = Uppy().use(Webcam) | ||
const uppy = new Uppy().use(Webcam) | ||
expect( | ||
@@ -23,3 +23,3 @@ uppy.getPlugin('Webcam')._getMediaRecorderOptions().mimeType | ||
const uppy = Uppy().use(Webcam, { preferredVideoMimeType: 'video/webm' }) | ||
const uppy = new Uppy().use(Webcam, { preferredVideoMimeType: 'video/webm' }) | ||
expect( | ||
@@ -35,3 +35,3 @@ uppy.getPlugin('Webcam')._getMediaRecorderOptions().mimeType | ||
const uppy = Uppy().use(Webcam, { preferredVideoMimeType: 'video/mp4' }) | ||
const uppy = new Uppy().use(Webcam, { preferredVideoMimeType: 'video/mp4' }) | ||
expect( | ||
@@ -47,3 +47,3 @@ uppy.getPlugin('Webcam')._getMediaRecorderOptions().mimeType | ||
const uppy = Uppy({ | ||
const uppy = new Uppy({ | ||
restrictions: { allowedFileTypes: ['video/mp4', 'video/webm'] } | ||
@@ -61,3 +61,3 @@ }).use(Webcam) | ||
const uppy = Uppy({ | ||
const uppy = new Uppy({ | ||
restrictions: { allowedFileTypes: ['video/mp4', 'video/webm'] } | ||
@@ -75,3 +75,3 @@ }).use(Webcam) | ||
const uppy = Uppy({ | ||
const uppy = new Uppy({ | ||
restrictions: { allowedFileTypes: ['video/mp4', 'video/webm'] } | ||
@@ -90,3 +90,3 @@ }) | ||
const uppy = Uppy({ | ||
const uppy = new Uppy({ | ||
restrictions: { allowedFileTypes: ['video/mp4', 'video/webm'] } | ||
@@ -93,0 +93,0 @@ }).use(Webcam) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
105442
Updated@uppy/utils@^3.2.1