yarn: Upgrade packages

- react: 16.13.1
- react-admin: 3.4.0
- prettier: 2.0.0

Change-Id: Ibbd4ff2bd8054a7086d194229ec732c1a256579c
This commit is contained in:
Manuel Stahl 2020-04-06 11:42:49 +02:00
parent 445c7fc327
commit 2240559f74
4 changed files with 277 additions and 486 deletions

View file

@ -6,5 +6,6 @@
"singleQuote": false, "singleQuote": false,
"trailingComma": "es5", "trailingComma": "es5",
"bracketSpacing": true, "bracketSpacing": true,
"jsxBracketSameLine": false "jsxBracketSameLine": false,
"arrowParens": "avoid",
} }

View file

@ -10,22 +10,22 @@
}, },
"devDependencies": { "devDependencies": {
"@testing-library/jest-dom": "^5.1.1", "@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.4.0", "@testing-library/react": "^10.0.2",
"@testing-library/user-event": "^8.1.0", "@testing-library/user-event": "^10.0.1",
"enzyme": "^3.11.0", "enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2", "enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0", "eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2", "eslint-plugin-prettier": "^3.1.2",
"prettier": "^1.19.1" "prettier": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"ra-language-german": "^2.1.2", "ra-language-german": "^2.1.2",
"react": "^16.12.0", "react": "^16.13.1",
"react-admin": "^3.1.3", "react-admin": "^3.4.0",
"react-dom": "^16.12.0", "react-dom": "^16.13.1",
"react-scripts": "^3.3.0" "react-scripts": "^3.4.1"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",

View file

@ -141,13 +141,7 @@ const dataProvider = {
return jsonClient(url).then(({ headers, json }) => ({ return jsonClient(url).then(({ headers, json }) => ({
data: json, data: json,
total: parseInt( total: parseInt(headers.get("content-range").split("/").pop(), 10),
headers
.get("content-range")
.split("/")
.pop(),
10
),
})); }));
}, },

736
yarn.lock

File diff suppressed because it is too large Load diff