@uppy/file-input
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -15,2 +15,4 @@ "use strict"; | ||
const locale = require('./locale'); | ||
module.exports = (_temp = _class = class FileInput extends UIPlugin { | ||
@@ -22,10 +24,3 @@ constructor(uppy, opts) { | ||
this.type = 'acquirer'; | ||
this.defaultLocale = { | ||
strings: { | ||
// The same key is used for the same purpose by @uppy/robodog's `form()` API, but our | ||
// locale pack scripts can't access it in Robodog. If it is updated here, it should | ||
// also be updated there! | ||
chooseFiles: 'Choose files' | ||
} | ||
}; // Default options | ||
this.defaultLocale = locale; // Default options | ||
@@ -127,2 +122,2 @@ const defaultOptions = { | ||
}, _class.VERSION = "2.0.4", _temp); | ||
}, _class.VERSION = "2.0.5", _temp); |
{ | ||
"name": "@uppy/file-input", | ||
"description": "Simple UI of a file input button that works with Uppy right out of the box", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"license": "MIT", | ||
@@ -25,9 +25,8 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^4.0.3", | ||
"@uppy/utils": "^4.0.4", | ||
"preact": "^10.5.13" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^2.0.0" | ||
}, | ||
"gitHead": "b8b4127bd55b8e7395889048407c074fce944295" | ||
} | ||
"@uppy/core": "^2.1.3" | ||
} | ||
} |
@@ -5,2 +5,4 @@ const { UIPlugin } = require('@uppy/core') | ||
const locale = require('./locale') | ||
module.exports = class FileInput extends UIPlugin { | ||
@@ -15,10 +17,3 @@ static VERSION = require('../package.json').version | ||
this.defaultLocale = { | ||
strings: { | ||
// The same key is used for the same purpose by @uppy/robodog's `form()` API, but our | ||
// locale pack scripts can't access it in Robodog. If it is updated here, it should | ||
// also be updated there! | ||
chooseFiles: 'Choose files', | ||
}, | ||
} | ||
this.defaultLocale = locale | ||
@@ -25,0 +20,0 @@ // Default options |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
19613
16
258
1
Updated@uppy/utils@^4.0.4