react-dropzone 14.3.0 → 14.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/utils/index.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/src/utils/index.js +1 -0
- package/src/utils/index.spec.js +1 -0
package/package.json
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
},
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"attr-accept": "^2.2.4",
|
|
121
|
-
"file-selector": "^1.
|
|
121
|
+
"file-selector": "^2.1.0",
|
|
122
122
|
"prop-types": "^15.8.1"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"webpack-blocks": "^2.1.0"
|
|
191
191
|
},
|
|
192
192
|
"typings": "typings/react-dropzone.d.ts",
|
|
193
|
-
"version": "14.3.
|
|
193
|
+
"version": "14.3.2",
|
|
194
194
|
"engines": {
|
|
195
195
|
"node": ">= 10.13"
|
|
196
196
|
},
|
package/src/utils/index.js
CHANGED
package/src/utils/index.spec.js
CHANGED
|
@@ -461,6 +461,7 @@ describe("isMIMEType()", () => {
|
|
|
461
461
|
expect(utils.isMIMEType("image/*")).toBe(true);
|
|
462
462
|
expect(utils.isMIMEType("video/*")).toBe(true);
|
|
463
463
|
expect(utils.isMIMEType("audio/*")).toBe(true);
|
|
464
|
+
expect(utils.isMIMEType("application/*")).toBe(true);
|
|
464
465
|
expect(utils.isMIMEType("test/*")).toBe(false);
|
|
465
466
|
expect(utils.isMIMEType("text")).toBe(false);
|
|
466
467
|
expect(utils.isMIMEType("")).toBe(false);
|