@uppy/webcam
Advanced tools
Comparing version 1.8.12 to 1.8.13
@@ -32,4 +32,2 @@ var _class, _temp; | ||
var PermissionsScreen = require('./PermissionsScreen'); | ||
var packageJsonVersion = "1.8.12"; | ||
/** | ||
@@ -42,2 +40,3 @@ * Normalize a MIME type or file extension into a MIME type. | ||
function toMimeType(fileType) { | ||
@@ -107,2 +106,3 @@ if (fileType[0] === '.') { | ||
// eslint-disable-next-line global-require | ||
function Webcam(uppy, opts) { | ||
@@ -744,2 +744,2 @@ var _this; | ||
return Webcam; | ||
}(Plugin), _class.VERSION = packageJsonVersion, _temp); | ||
}(Plugin), _class.VERSION = "1.8.13", _temp); |
{ | ||
"name": "@uppy/webcam", | ||
"description": "Uppy plugin that takes photos or records videos using the device's camera.", | ||
"version": "1.8.12", | ||
"version": "1.8.13", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "4b782ffbbb443672843d7b4096956bed3b11d612" | ||
"gitHead": "28997bc5c733e3f7ab7183d6cd61d2dfd74f71e4" | ||
} |
@@ -11,3 +11,2 @@ const { h } = require('preact') | ||
const PermissionsScreen = require('./PermissionsScreen') | ||
const packageJsonVersion = require('../package.json').version | ||
@@ -75,3 +74,4 @@ /** | ||
module.exports = class Webcam extends Plugin { | ||
static VERSION = packageJsonVersion | ||
// eslint-disable-next-line global-require | ||
static VERSION = require('../package.json').version | ||
@@ -78,0 +78,0 @@ constructor (uppy, opts) { |
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
148771