Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
update feathers and fix uploading image with quill
Browse files Browse the repository at this point in the history
  • Loading branch information
RamRamez committed Apr 6, 2022
1 parent b5514ff commit f5dc017
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 53 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"@ant-design/icons": "^4.5.0",
"@davatar/react": "^1.8.1",
"@ethersproject/providers": "^5.5.2",
"@feathersjs/authentication-client": "^4.5.11",
"@feathersjs/feathers": "^4.5.11",
"@feathersjs/rest-client": "^4.5.11",
"@feathersjs/socketio-client": "^4.5.11",
"@feathersjs/authentication-client": "^4.5.13",
"@feathersjs/feathers": "^4.5.12",
"@feathersjs/rest-client": "^4.5.12",
"@feathersjs/socketio-client": "^4.5.13",
"@giveth/bridge-contract": "^1.0.6",
"@giveth/liquidpledging-contract": "^2.0.0-beta.6",
"@giveth/lpp-campaign": "^2.0.0-beta.1",
Expand Down Expand Up @@ -100,7 +100,7 @@
"author": {
"name": "Giveth",
"email": "[email protected]",
"url": "http://giveth.io"
"url": "https://giveth.io"
},
"license": "GPL-3.0",
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function Editor(props) {
quill.setSelection(range.index + 1);
quill.disable();

saveToServer(e.target.result, range);
saveToServer(file, range);
imageUploader.current.value = '';
};
reader.readAsDataURL(compressFile);
Expand Down
100 changes: 53 additions & 47 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2173,31 +2173,31 @@
"@feathersjs/errors" "^4.5.11"
"@feathersjs/feathers" "^4.5.11"

"@feathersjs/authentication-client@^4.5.11":
version "4.5.11"
resolved "https://registry.yarnpkg.com/@feathersjs/authentication-client/-/authentication-client-4.5.11.tgz#e43ba3dc1030519507f4795416e1f8bffbfb5f4e"
integrity sha512-yONvXZb09eg4bBOPi6jDJZw/ANA7fsQwOlcf4M0feqFjsulFpsRlmEv77fzakMZtY7Nq6Ax5i2iqZP+zZr5hgA==
"@feathersjs/authentication-client@^4.5.13":
version "4.5.13"
resolved "https://registry.yarnpkg.com/@feathersjs/authentication-client/-/authentication-client-4.5.13.tgz#975e48f2d2789f29e7c15b3da880c28cbe05fac3"
integrity sha512-qcrgJ+fRy11Gs7H0BVp8wy1NV3SSSDmWlLr3R5bEii2UBY0TSJu39swUpypDw/93F85aDghpuj1l/u44dF5/3g==
dependencies:
"@feathersjs/authentication" "^4.5.11"
"@feathersjs/commons" "^4.5.11"
"@feathersjs/errors" "^4.5.11"
"@feathersjs/feathers" "^4.5.11"
debug "^4.3.1"
"@feathersjs/authentication" "^4.5.12"
"@feathersjs/commons" "^4.5.12"
"@feathersjs/errors" "^4.5.12"
"@feathersjs/feathers" "^4.5.12"
debug "^4.3.3"

"@feathersjs/authentication@^4.5.11":
version "4.5.11"
resolved "https://registry.yarnpkg.com/@feathersjs/authentication/-/authentication-4.5.11.tgz#6fa356fedbf877eb1b722d2fa5bc7af349818da2"
integrity sha512-zLPbz+NIV6wYLstjZtLfozO7koJyzJTj+GyZYDsIK3N4GDhQc1mqWskuwWQtgeYZVpDdEsxPEohJ/7f576pFQQ==
"@feathersjs/authentication@^4.5.12":
version "4.5.12"
resolved "https://registry.yarnpkg.com/@feathersjs/authentication/-/authentication-4.5.12.tgz#fbe508b63fe51f1986e8be898b900709166f16a3"
integrity sha512-qNLSlSZ0lCM77ELf7Ae+mkgXE1HafwWU2q/2MbSQfva1zUTo34O59JHa3PKmDK+TqAQwYQVlAY9IR6SmK+MW1g==
dependencies:
"@feathersjs/errors" "^4.5.11"
"@feathersjs/feathers" "^4.5.11"
"@feathersjs/transport-commons" "^4.5.11"
"@types/jsonwebtoken" "^8.5.0"
debug "^4.3.1"
"@feathersjs/errors" "^4.5.12"
"@feathersjs/feathers" "^4.5.12"
"@feathersjs/transport-commons" "^4.5.12"
"@types/jsonwebtoken" "^8.5.6"
debug "^4.3.3"
jsonwebtoken "^8.5.1"
lodash "^4.17.20"
lodash "^4.17.21"
long-timeout "^0.1.1"
uuid "^8.3.1"
uuid "^8.3.2"

"@feathersjs/commons@^4.5.11", "@feathersjs/commons@^4.5.3":
version "4.5.11"
Expand Down Expand Up @@ -2233,34 +2233,33 @@
events "^3.2.0"
uberproto "^2.0.6"

"@feathersjs/rest-client@^4.5.11":
version "4.5.11"
resolved "https://registry.yarnpkg.com/@feathersjs/rest-client/-/rest-client-4.5.11.tgz#0844bd0544bfb02a71d5ee677e71c0bf7e950ba9"
integrity sha512-OFvV7A3gk6MhTFpuz+hYBG9Do7AdStNtF6Kol/HSFPfaQv34VdOLD7M60EliCA2/7QykvuYU1uhwhhkNGUeWXg==
"@feathersjs/feathers@^4.5.12":
version "4.5.12"
resolved "https://registry.yarnpkg.com/@feathersjs/feathers/-/feathers-4.5.12.tgz#86a99e601a99cd3a30f9e8841039b052676f5168"
integrity sha512-24bxpMpheBrDmVwwByNPPfXnXk2KkeiW3NvE3xXHbt7QzZj3OrPJ8WS5MqUZMPMFSLMyqlhRKs+hpQgfWhuxrA==
dependencies:
"@feathersjs/commons" "^4.5.11"
"@feathersjs/errors" "^4.5.11"
qs "^6.9.4"
"@feathersjs/commons" "^4.5.12"
debug "^4.3.3"
events "^3.3.0"
uberproto "^2.0.6"

"@feathersjs/socketio-client@^4.5.11":
"@feathersjs/rest-client@^4.5.12":
version "4.5.12"
resolved "https://registry.yarnpkg.com/@feathersjs/rest-client/-/rest-client-4.5.12.tgz#402e6eea0c752166de21611dd8e9a44dcb783317"
integrity sha512-P1UZODZyrTL6UHaXKBR9cwZgUr/hcTbhWVaLzl7fgs1xoTFRYCXdHcuJlxGia203Cj3spU1ImPhJlZipsxayFg==
dependencies:
"@feathersjs/commons" "^4.5.12"
"@feathersjs/errors" "^4.5.12"
qs "^6.10.2"

"@feathersjs/socketio-client@^4.5.13":
version "4.5.13"
resolved "https://registry.yarnpkg.com/@feathersjs/socketio-client/-/socketio-client-4.5.13.tgz#bf2c013fa1a4743f3d3a66c18569e18b7bc254fd"
integrity sha512-WPjBNR6+tiIwsPyO89s+HrasIPqouNNALR8MENYLZzRaKo+najMjVwLVMzVUgJ6Ztxs/WmPTs17Hbjv5iY11jA==
dependencies:
"@feathersjs/transport-commons" "^4.5.12"
"@types/socket.io-client" "^1.4.36"

"@feathersjs/transport-commons@^4.5.11":
version "4.5.11"
resolved "https://registry.yarnpkg.com/@feathersjs/transport-commons/-/transport-commons-4.5.11.tgz#dfb31ecd1e66eb80cc6fab77b41d62e46b0a844b"
integrity sha512-YuQZnHQWOnhDLggwcMHdWGfIwZ5xabZCQ9/g18Nx770SWYwYPSLyvvbwsxs52LVvHyXW7j1VojcNixdUrOnFHQ==
dependencies:
"@feathersjs/commons" "^4.5.11"
"@feathersjs/errors" "^4.5.11"
debug "^4.3.1"
lodash "^4.17.20"
radix-router "^3.0.1"

"@feathersjs/transport-commons@^4.5.12":
version "4.5.12"
resolved "https://registry.yarnpkg.com/@feathersjs/transport-commons/-/transport-commons-4.5.12.tgz#3993d03a1cfed630b0fc42e5dc1e92c76738fb28"
Expand Down Expand Up @@ -3297,10 +3296,10 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=

"@types/jsonwebtoken@^8.5.0":
version "8.5.1"
resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#56958cb2d80f6d74352bd2e501a018e2506a8a84"
integrity sha512-rNAPdomlIUX0i0cg2+I+Q1wOUr531zHBQ+cV/28PJ39bSPKjahatZZ2LMuhiguETkCgLVzfruw/ZvNMNkKoSzw==
"@types/jsonwebtoken@^8.5.6":
version "8.5.8"
resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz#01b39711eb844777b7af1d1f2b4cf22fda1c0c44"
integrity sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==
dependencies:
"@types/node" "*"

Expand Down Expand Up @@ -14703,7 +14702,14 @@ [email protected]:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc"
integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==

qs@^6.5.1, qs@^6.9.4:
qs@^6.10.2:
version "6.10.3"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e"
integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==
dependencies:
side-channel "^1.0.4"

qs@^6.5.1:
version "6.10.1"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a"
integrity sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==
Expand Down Expand Up @@ -18237,7 +18243,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.2.tgz#7ff5c203467e91f5e0d85cfcbaaf7d2ebbca9be6"
integrity sha512-vy9V/+pKG+5ZTYKf+VcphF5Oc6EFiu3W8Nv3P3zIh0EqVI80ZxOzuPfe9EHjkFNvf8+xuTHVeei4Drydlx4zjw==

[email protected], uuid@^8.3.0, uuid@^8.3.1, uuid@^8.3.2:
[email protected], uuid@^8.3.0, uuid@^8.3.2:
version "8.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
Expand Down Expand Up @@ -19460,7 +19466,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.3.tgz#1f9643de34a543b8edb124bdcbc457ae55a6e5cd"
integrity sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA==

[email protected]:
[email protected], ws@~7.4.2:
version "7.4.6"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
Expand Down Expand Up @@ -19488,7 +19494,7 @@ ws@^6.2.1:
dependencies:
async-limiter "~1.0.0"

ws@^7.4.4, ws@~7.4.2:
ws@^7.4.4:
version "7.4.5"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1"
integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==
Expand Down

0 comments on commit f5dc017

Please sign in to comment.