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

@uppy/drag-drop

Package Overview
Dependencies
Maintainers
5
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/drag-drop - npm Package Compare versions

Comparing version 0.27.4 to 0.28.0

5

lib/index.js

@@ -58,7 +58,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

_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);

@@ -65,0 +62,0 @@ _this.i18nArray = _this.translator.translateArray.bind(_this.translator);

10

package.json
{
"name": "@uppy/drag-drop",
"description": "Droppable zone UI for Uppy. Drag and drop files into it to upload.",
"version": "0.27.4",
"version": "0.28.0",
"license": "MIT",

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

"dependencies": {
"@uppy/utils": "0.27.1",
"@uppy/utils": "0.28.0",
"drag-drop": "2.13.3",

@@ -35,8 +35,8 @@ "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"
}

@@ -41,7 +41,4 @@ const { Plugin } = require('@uppy/core')

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)

@@ -48,0 +45,0 @@ this.i18nArray = this.translator.translateArray.bind(this.translator)

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