1
0
mirror of https://github.com/kremalicious/ipfs.git synced 2024-11-22 01:37:07 +01:00

package updates

This commit is contained in:
Matthias Kretschmann 2020-07-02 20:26:44 +02:00
parent ccbe0f32c6
commit 8f859afa9c
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 19498 additions and 17 deletions

1
.gitignore vendored
View File

@ -4,5 +4,4 @@ npm-debug.log
.next .next
out out
build build
package-lock.json
coverage coverage

19483
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,8 @@
"dependencies": { "dependencies": {
"axios": "^0.19.2", "axios": "^0.19.2",
"ipfs-http-client": "^44.0.3", "ipfs-http-client": "^44.0.3",
"next": "^9.3.0", "next": "^9.4.4",
"next-seo": "^4.4.0", "next-seo": "^4.7.1",
"next-svgr": "^0.0.2", "next-svgr": "^0.0.2",
"react": "^16.13.0", "react": "^16.13.0",
"react-dom": "^16.13.0", "react-dom": "^16.13.0",
@ -26,26 +26,26 @@
"use-dark-mode": "^2.3.1" "use-dark-mode": "^2.3.1"
}, },
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "^9.3.0", "@next/bundle-analyzer": "^9.4.4",
"@testing-library/jest-dom": "^5.1.1", "@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.0.4", "@testing-library/react": "^10.0.4",
"@types/jest": "^26.0.0", "@types/jest": "^26.0.0",
"@types/next-seo": "^1.10.0", "@types/next-seo": "^1.10.0",
"@types/node": "^14.0.1", "@types/node": "^14.0.1",
"@types/react": "^16.9.23", "@types/react": "^16.9.41",
"@typescript-eslint/eslint-plugin": "^2.23.0", "@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.23.0", "@typescript-eslint/parser": "^2.34.0",
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"eslint": "^6.8.0", "eslint": "^7.3.1",
"eslint-config-prettier": "^6.10.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.2", "eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.19.0", "eslint-plugin-react": "^7.20.3",
"jest": "^25.1.0", "jest": "^25.5.4",
"postcss-preset-env": "^6.7.0", "postcss-preset-env": "^6.7.0",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"ts-jest": "^25.2.1", "ts-jest": "^25.5.1",
"typescript": "^3.8.3" "typescript": "^3.9.6"
}, },
"engines": { "engines": {
"node": "10.x" "node": "10.x"

View File

@ -13,7 +13,6 @@ export default function useIpfsApi(config: IpfsConfig) {
useEffect(() => { useEffect(() => {
async function initIpfs() { async function initIpfs() {
if (ipfs !== null) return if (ipfs !== null) return
// eslint-disable-next-line
ipfs = await ipfsClient(config) ipfs = await ipfsClient(config)
try { try {