Socket
Socket
Sign inDemoInstall

@uppy/webcam

Package Overview
Dependencies
10
Maintainers
5
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.27.4 to 0.28.0

6

lib/index.js

@@ -89,8 +89,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

_this.locale = _extends({}, defaultLocale, _this.opts.locale);
_this.locale.strings = _extends({}, defaultLocale.strings, _this.opts.locale.strings);
// i18n
_this.translator = new Translator({ locale: _this.locale });
_this.translator = new Translator([defaultLocale, _this.uppy.locale, _this.opts.locale]);
_this.i18n = _this.translator.translate.bind(_this.translator);
_this.i18nArray = _this.translator.translateArray.bind(_this.translator);

@@ -97,0 +95,0 @@ _this.install = _this.install.bind(_this);

{
"name": "@uppy/webcam",
"description": "Uppy plugin that takes photos or records videos using the device's camera.",
"version": "0.27.4",
"version": "0.28.0",
"license": "MIT",

@@ -30,12 +30,12 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/utils": "0.27.1",
"@uppy/utils": "0.28.0",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.27.3"
"@uppy/core": "0.28.0"
},
"peerDependencies": {
"@uppy/core": "^0.27.0"
"@uppy/core": "^0.28.0"
},
"gitHead": "113d6f09bbe248ca156af87054244cd9e6ee9d8b"
"gitHead": "47a68a6148a41c7b8a1e10e78b6cd6794a53f7e5"
}

@@ -75,8 +75,6 @@ const { h } = require('preact')

this.locale = Object.assign({}, defaultLocale, this.opts.locale)
this.locale.strings = Object.assign({}, defaultLocale.strings, this.opts.locale.strings)
// i18n
this.translator = new Translator({locale: this.locale})
this.translator = new Translator([ defaultLocale, this.uppy.locale, this.opts.locale ])
this.i18n = this.translator.translate.bind(this.translator)
this.i18nArray = this.translator.translateArray.bind(this.translator)

@@ -83,0 +81,0 @@ this.install = this.install.bind(this)

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc