Skip to content

Commit

Permalink
package: install @react-dropzone for Simple React hook to create
Browse files Browse the repository at this point in the history
HTML5-compliant drag'n'drop zone for files.
  • Loading branch information
lyj-pspace committed Jul 15, 2022
1 parent d8cabc7 commit fe52802
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 1 deletion.
71 changes: 71 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"next": "12.1.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.2",
"three": "^0.141.0"
},
"devDependencies": {
Expand Down
28 changes: 27 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,11 @@
"resolved" "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz"
"version" "0.0.7"

"attr-accept@^2.2.2":
"integrity" "sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg=="
"resolved" "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.2.tgz"
"version" "2.2.2"

"autoprefixer@^10.4.7":
"integrity" "sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA=="
"resolved" "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.7.tgz"
Expand Down Expand Up @@ -1284,6 +1289,13 @@
dependencies:
"flat-cache" "^3.0.4"

"file-selector@^0.6.0":
"integrity" "sha512-QlZ5yJC0VxHxQQsQhXvBaC7VRJ2uaxTf+Tfpu4Z/OcVQJVpZO+DGU0rkoVW5ce2SccxugvpBJoMvUs59iILYdw=="
"resolved" "https://registry.npmjs.org/file-selector/-/file-selector-0.6.0.tgz"
"version" "0.6.0"
dependencies:
"tslib" "^2.4.0"

"fill-range@^7.0.1":
"integrity" "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ=="
"resolved" "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz"
Expand Down Expand Up @@ -2375,6 +2387,15 @@
"loose-envify" "^1.1.0"
"scheduler" "^0.23.0"

"react-dropzone@^14.2.2":
"integrity" "sha512-5oyGN/B5rNhop2ggUnxztXBQ6q6zii+OMEftPzsxAR2hhpVWz0nAV+3Ktxo2h5bZzdcCKrpd8bfWAVsveIBM+w=="
"resolved" "https://registry.npmjs.org/react-dropzone/-/react-dropzone-14.2.2.tgz"
"version" "14.2.2"
dependencies:
"attr-accept" "^2.2.2"
"file-selector" "^0.6.0"
"prop-types" "^15.8.1"

"react-is@^16.13.1":
"integrity" "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
"resolved" "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"
Expand All @@ -2400,7 +2421,7 @@
dependencies:
"debounce" "^1.2.1"

"react@^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", "react@^16.11.0 || >=17.0.0 || >=18.0.0", "react@^16.8.0 || >=17.0.0 || >=18.0.0", "react@^17.0.2 || ^18.0.0-0", "react@^18.0.0", "react@^18.2.0", "react@>= 16.8.0", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", "react@>=16.13", "react@>=16.8", "react@>=17.0", "react@>=18.0", "react@18.2.0":
"react@^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", "react@^16.11.0 || >=17.0.0 || >=18.0.0", "react@^16.8.0 || >=17.0.0 || >=18.0.0", "react@^17.0.2 || ^18.0.0-0", "react@^18.0.0", "react@^18.2.0", "react@>= 16.8 || 18.0.0", "react@>= 16.8.0", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", "react@>=16.13", "react@>=16.8", "react@>=17.0", "react@>=18.0", "react@18.2.0":
"integrity" "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ=="
"resolved" "https://registry.npmjs.org/react/-/react-18.2.0.tgz"
"version" "18.2.0"
Expand Down Expand Up @@ -2751,6 +2772,11 @@
"resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
"version" "1.14.1"

"tslib@^2.4.0":
"integrity" "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
"resolved" "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz"
"version" "2.4.0"

"tsutils@^3.21.0":
"integrity" "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA=="
"resolved" "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz"
Expand Down

0 comments on commit fe52802

Please sign in to comment.