Merge branch 'chore/update-deps' into 'master'

Update dependencies

See merge request sahkoinsinoorikilta/vtmk/web2.0-frontend!38
This commit is contained in:
Aarni Halinen
2021-03-04 21:17:42 +00:00
5 changed files with 749 additions and 1817 deletions
+724 -1791
View File
File diff suppressed because it is too large Load Diff
+22 -23
View File
@@ -16,9 +16,9 @@
"starter",
"boilerplate"
],
"author": "Jan Tuomi",
"author": "Aarni Halinen",
"license": "MIT",
"homepage": "https://sik.ayy.fi",
"homepage": "https://sahkoinsinoorikilta.fi",
"scripts": {
"build": "next build",
"export": "next export",
@@ -39,18 +39,18 @@
"prepare": "husky install"
},
"devDependencies": {
"@types/js-cookie": "2.2.4",
"@types/react": "16.8.18",
"@types/js-cookie": "2.2.6",
"@types/react": "17.0.2",
"@types/react-beautiful-dnd": "13.0.0",
"@types/react-csv": "1.1.1",
"@types/react-dom": "16.8.4",
"@types/react-jsonschema-form": "1.7.3",
"@types/react-dom": "17.0.1",
"@types/react-jsonschema-form": "1.7.4",
"@types/shortid": "0.0.29",
"@types/styled-components": "5.1.1",
"@typescript-eslint/eslint-plugin": "4.15.0",
"@typescript-eslint/parser": "4.15.0",
"babel-plugin-styled-components": "1.10.7",
"eslint": "7.19.0",
"@types/styled-components": "5.1.7",
"@typescript-eslint/eslint-plugin": "4.16.1",
"@typescript-eslint/parser": "4.16.1",
"babel-plugin-styled-components": "1.12.0",
"eslint": "7.21.0",
"eslint-config-airbnb-typescript": "12.3.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
@@ -58,32 +58,31 @@
"eslint-plugin-react-hooks": "4.2.0",
"husky": "5.1.3",
"npm-run-all": "4.1.5",
"stylelint": "13.8.0",
"stylelint": "13.11.0",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"testcafe": "1.10.1",
"typescript": "4.1.5",
"typescript-plugin-styled-components": "1.4.4"
"testcafe": "1.12.0",
"typescript": "4.2.2"
},
"dependencies": {
"@next/bundle-analyzer": "10.0.5",
"@next/bundle-analyzer": "10.0.7",
"axios": "0.21.1",
"date-fns": "2.0.0-alpha.27",
"js-cookie": "2.2.0",
"lodash": "4.17.20",
"date-fns": "2.18.0",
"js-cookie": "2.2.1",
"lodash": "4.17.21",
"next": "10.0.7",
"normalize.css": "8.0.1",
"query-string": "6.5.0",
"query-string": "6.14.1",
"react": "17.0.1",
"react-beautiful-dnd": "13.0.0",
"react-csv": "2.0.3",
"react-dom": "17.0.1",
"react-jsonschema-form": "1.8.1",
"react-markdown": "5.0.3",
"react-mde": "11.0.0",
"shortid": "2.2.14",
"react-mde": "11.0.6",
"shortid": "2.2.16",
"styled-components": "5.2.1",
"swr": "0.3.11"
"swr": "0.4.2"
}
}
+1 -1
View File
@@ -69,7 +69,7 @@ const StyledCard = styled.article`
const WrappedCard: React.FC<WrappedCardProps> = ({
title, text, link, image, imageAlt, start_time, buttonOnClick, ...props
}) => {
const options = {
const options: Intl.DateTimeFormatOptions = {
day: "numeric",
month: "numeric",
year: "numeric",
+1 -1
View File
@@ -77,7 +77,7 @@ test("Logged in user can create event", async (t) => {
await t.click(submit);
const parsed = JSON.parse(LOGGER.requests[0].response.body);
const parsed = JSON.parse(LOGGER.requests[0].response.body as string);
// eslint-disable-next-line no-param-reassign
t.fixtureCtx.eventId = parsed.id;
+1 -1
View File
@@ -82,7 +82,7 @@ test("Logged in user can create signup", async (t) => {
await t.click(submit);
const parsed = JSON.parse(LOGGER.requests[0].response.body);
const parsed = JSON.parse(LOGGER.requests[0].response.body as string);
// eslint-disable-next-line no-param-reassign
t.fixtureCtx.formId = parsed.id;