Skip to content

Commit

Permalink
Bump react-dropzone from 12.1.0 to 13.0.0 (bh2smith#416)
Browse files Browse the repository at this point in the history
* Bump react-dropzone from 12.1.0 to 13.0.0

Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone) from 12.1.0 to 13.0.0.
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases)
- [Commits](react-dropzone/react-dropzone@v12.1.0...v13.0.0)

---
updated-dependencies:
- dependency-name: react-dropzone
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix dependabot PR

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Smith <bh2smith@users.noreply.github.com>
Co-authored-by: Ben Smith <bh2smith@gmail.com>
  • Loading branch information
3 people authored May 2, 2022
1 parent 0019df0 commit 5db4d2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-app-rewired": "^2.2.1",
"react-csv-reader": "^3.4.0",
"react-dom": "^17.0.2",
"react-dropzone": "^12.0.4",
"react-dropzone": "^13.0.0",
"react-scripts": "^4.0.3",
"react-svg": "^15.0.0",
"react-virtualized-auto-sizer": "^1.0.6",
Expand Down
4 changes: 3 additions & 1 deletion src/components/CSVUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export const CSVUpload = (props: CSVUploadProps): JSX.Element => {
const { getRootProps, getInputProps, isDragActive, isDragAccept, isDragReject } = useDropzone({
maxFiles: 1,
onDrop,
accept: "text/csv",
accept: {
text: [".csv"],
},
});

const style = useMemo(
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10425,10 +10425,10 @@ react-dom@^17.0.2:
object-assign "^4.1.1"
scheduler "^0.20.2"

react-dropzone@^12.0.4:
version "12.1.0"
resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-12.1.0.tgz#e097b37e9da6f9e324efc757b7434ebc6f3dc2cb"
integrity sha512-iBYHA1rbopIvtzokEX4QubO6qk5IF/x3BtKGu74rF2JkQDXnwC4uO/lHKpaw4PJIV6iIAYOlwLv2FpiGyqHNog==
react-dropzone@^13.0.0:
version "13.0.0"
resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-13.0.0.tgz#b29c331a1a7e9d21ac4d5666e7b763917f5f4b85"
integrity sha512-BwzHZlmwC2wFKtGbuWw6A+D+uUaJgUGuheALoVFwTNztwV+7NLzdUrHHUkF9mRkI9u5pJDivH3wo+BgSyYVoTQ==
dependencies:
attr-accept "^2.2.2"
file-selector "^0.5.0"
Expand Down

0 comments on commit 5db4d2f

Please sign in to comment.