From ab020fc32446f4c4843aedf9d0ecc861826f33e8 Mon Sep 17 00:00:00 2001 From: Maksim Eltyshev Date: Mon, 28 Sep 2020 04:40:10 +0500 Subject: [PATCH] Update dependencies --- client/package-lock.json | 105 ++--- client/package.json | 24 +- .../DueDateEditStep/DueDateEditStep.jsx | 7 +- client/src/styles.module.scss | 8 + package-lock.json | 116 ++--- package.json | 4 +- server/package-lock.json | 407 +++++++++--------- server/package.json | 22 +- 8 files changed, 369 insertions(+), 324 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index 159e3189..30cb2a96 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1170,17 +1170,17 @@ "integrity": "sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg==" }, "@fluentui/react-component-event-listener": { - "version": "0.51.0", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.51.0.tgz", - "integrity": "sha512-YzvtrqSOQIr19V5hLQ71Zt2HnBpHsPbgE6YNRI0fYkld1YbZWggiPSpk6nhmjB5U30h3EqwZzvsuQTvHbuP2Iw==", + "version": "0.51.2", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.51.2.tgz", + "integrity": "sha512-myfDuwU/MRGH5hqldLmwfMAn7FoXCCspdknWg+A0Tyf+mjUsgWlqRewLapon8mJqprZzrH1obPxONV/lVI3Quw==", "requires": { "@babel/runtime": "^7.10.4" } }, "@fluentui/react-component-ref": { - "version": "0.51.0", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.51.0.tgz", - "integrity": "sha512-eYTiZCGmcsU1RuKeHepd8i6XksnroSF5b2lqHJaQO9x+Ec62d7+M2i9FW/nhe2Mpb5f96inL0Oz3zzVMrSwJdw==", + "version": "0.51.2", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.51.2.tgz", + "integrity": "sha512-LE3NXMHJ5K2ZgTf+p/l4cDRYwmfXTw1XhjZLBI0sZaggbaUxMgrfvr0DHvkcZrbr3aLMaILYoQrTjP9Y1w0veA==", "requires": { "@babel/runtime": "^7.10.4", "react-is": "^16.6.3" @@ -2514,9 +2514,9 @@ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, "attr-accept": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.1.tgz", - "integrity": "sha512-GpefLMsbH5ojNgfTW+OBin2xKzuHfyeNA+qCktzZojBhbA/lPZdCFMWdwk5ajb989Ok7ZT+EADqvW3TAFNMjhA==" + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.2.tgz", + "integrity": "sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==" }, "autoprefixer": { "version": "9.8.6", @@ -4642,9 +4642,9 @@ } }, "date-fns": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.15.0.tgz", - "integrity": "sha512-ZCPzAMJZn3rNUvvQIMlXhDr4A+Ar07eLeGsGREoWU19a3Pqf5oYa+ccd+B3F6XVtQY6HANMFdOQ8A+ipFnvJdQ==" + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.16.1.tgz", + "integrity": "sha512-sAJVKx/FqrLYHAQeN7VpJrPhagZc9R4ImZIWYRFZaaohR3KzmuK88touwsSwSVT8Qcbd4zoDsnGfX4GFB4imyQ==" }, "debug": { "version": "4.1.1", @@ -5227,9 +5227,9 @@ } }, "enzyme-adapter-react-16": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.3.tgz", - "integrity": "sha512-98rqNI4n9HZslWIPuuwy4hK1bxRuMy+XX0CU1dS8iUqcgisTxeBaap6oPp2r4MWC8OphCbbqAT8EU/xHz3zIaQ==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.5.tgz", + "integrity": "sha512-33yUJGT1nHFQlbVI5qdo5Pfqvu/h4qPwi1o0a6ZZsjpiqq92a3HjynDhwd1IeED+Su60HDWV8mxJqkTnLYdGkw==", "dev": true, "requires": { "enzyme-adapter-utils": "^1.13.1", @@ -5562,9 +5562,9 @@ } }, "eslint-config-prettier": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz", - "integrity": "sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.12.0.tgz", + "integrity": "sha512-9jWPlFlgNwRUYVoujvWTQ1aMO8o6648r+K7qU7K5Jmkbyqav1fuEZC0COYpGBxyiAJb65Ra9hrmFx19xRGwXWw==", "dev": true, "requires": { "get-stdin": "^6.0.0" @@ -5897,9 +5897,9 @@ } }, "eslint-plugin-react": { - "version": "7.20.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.20.6.tgz", - "integrity": "sha512-kidMTE5HAEBSLu23CUDvj8dc3LdBU0ri1scwHBZjI41oDv4tjsWZKU7MQccFzH1QYPYhsnTF2ovh7JlcIcmxgg==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.2.tgz", + "integrity": "sha512-j3XKvrK3rpBzveKFbgAeGsWb9uz6iUOrR0jixRfjwdFeGSRsXvVTFtHDQYCjsd1/6Z/xvb8Vy3LiI5Reo7fDrg==", "dev": true, "requires": { "array-includes": "^3.1.1", @@ -5927,9 +5927,9 @@ } }, "eslint-plugin-react-hooks": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.1.0.tgz", - "integrity": "sha512-36zilUcDwDReiORXmcmTc6rRumu9JIM3WjSvV0nclHoUQ0CNrX866EwONvLR/UqaeqFutbAnVu8PEmctdo2SRQ==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.1.2.tgz", + "integrity": "sha512-ykUeqkGyUGgwTtk78C0o8UG2fzwmgJ0qxBGPp2WqRKsTwcLuVf01kTDRAtOsd4u6whX2XOC8749n2vPydP82fg==", "dev": true }, "eslint-scope": { @@ -6432,11 +6432,18 @@ } }, "file-selector": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-0.1.12.tgz", - "integrity": "sha512-Kx7RTzxyQipHuiqyZGf+Nz4vY9R1XGxuQl/hLoJwq+J4avk/9wxxgZyHKtbyIPJmbD4A66DWGYfyykWNpcYutQ==", + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-0.1.13.tgz", + "integrity": "sha512-T2efCBY6Ps+jLIWdNQsmzt/UnAjKOEAlsZVdnQztg/BtAZGNL4uX1Jet9cMM8gify/x4CSudreji2HssGBNVIQ==", "requires": { - "tslib": "^1.9.0" + "tslib": "^2.0.1" + }, + "dependencies": { + "tslib": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz", + "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==" + } } }, "file-uri-to-path": { @@ -11751,9 +11758,9 @@ "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=" }, "prettier": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.5.tgz", - "integrity": "sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz", + "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==", "dev": true }, "prettier-linter-helpers": { @@ -12093,9 +12100,9 @@ } }, "react-datepicker": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-3.1.3.tgz", - "integrity": "sha512-4KbdWWAxa/AZJIDhQZwiBpZE9hCYZ4/gTVstdo9WEpFCsfh69xHklB/FZrR95mgkIU7ecU36V2eCuGgIO+ci0A==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-3.2.2.tgz", + "integrity": "sha512-/3D6hfhXcCNCbO8LICuQeoNDItWFyitGo+aLcsi0tAyJLtCInamYRwPIXhsEF+N6/qWim1yNyr71mqjj4YEBmg==", "requires": { "classnames": "^2.2.6", "date-fns": "^2.0.1", @@ -12368,9 +12375,9 @@ } }, "react-dropzone": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-11.0.3.tgz", - "integrity": "sha512-+MoMOoKZfkZ9i1+qEFl2ZU29AB/c9K2bFxyACqGynguJunmqO+k2PJ2AcuiH51xVNl9R7q/x5QdBaIWb6RtoSw==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-11.2.0.tgz", + "integrity": "sha512-S/qaXQHCCg7MVlcrhqd05MLC6DupITLUB0CFn3iCLs6OTjzxdGDF1WTktTe5Jyq8jZdxYfMHNUZOHL0mg+K0Dw==", "requires": { "attr-accept": "^2.0.0", "file-selector": "^0.1.12", @@ -12383,9 +12390,9 @@ "integrity": "sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA==" }, "react-i18next": { - "version": "11.7.0", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-11.7.0.tgz", - "integrity": "sha512-8tvVkpuxQlubcszZON+jmoCgiA9gCZ74OAYli9KChPhETtq8pJsANBTe9KRLRLmX3ubumgvidURWr0VvKz1tww==", + "version": "11.7.3", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-11.7.3.tgz", + "integrity": "sha512-7sYZqVZgdaS9Z0ZH6nuJFErCD0zz5wK3jR4/xCrWjZcxHHF3GRu7BXdicbSPprZV4ZYz7LJzxxMHO7dg5Qb70A==", "requires": { "@babel/runtime": "^7.3.1", "html-parse-stringify2": "2.0.1" @@ -13564,9 +13571,9 @@ } }, "semantic-ui-react": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-1.2.1.tgz", - "integrity": "sha512-p0HKdHg8ZGhnanyNuGOyTp5M6mVGWzTULPY02uBYHxXMzsyRPoRDlUa/tbaU0UdFpg96CmToG4WrvkINqhcZ+Q==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-1.3.0.tgz", + "integrity": "sha512-7lIFD63XHDRBWo6blwiTq+AXQChMdX3aqcT/WkTkHGxV5wqOtL0NYYpt+shzqYPU3TRQbVT/0uvkD4cUwxIaGQ==", "requires": { "@babel/runtime": "^7.10.5", "@fluentui/react-component-event-listener": "~0.51.0", @@ -15452,9 +15459,9 @@ } }, "validator": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/validator/-/validator-13.1.1.tgz", - "integrity": "sha512-8GfPiwzzRoWTg7OV1zva1KvrSemuMkv07MA9TTl91hfhe+wKrsrgVN4H2QSFd/U/FhiU3iWPYVgvbsOGwhyFWw==" + "version": "13.1.17", + "resolved": "https://registry.npmjs.org/validator/-/validator-13.1.17.tgz", + "integrity": "sha512-zL5QBoemJ3jYFb2/j38y7ljhwYGXVLUp8H6W1nVxadnAOvUOytec+L7BHh1oBQ82/TzWXHd+GSaxUWp4lROkLg==" }, "value-equal": { "version": "1.0.1", @@ -16023,9 +16030,9 @@ } }, "whatwg-fetch": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.4.0.tgz", - "integrity": "sha512-rsum2ulz2iuZH08mJkT0Yi6JnKhwdw4oeyMjokgxd+mmqYSd9cPpOQf01TIWgjxG/U4+QR+AwKq6lSbXVxkyoQ==" + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.4.1.tgz", + "integrity": "sha512-sofZVzE1wKwO+EYPbWfiwzaKovWiZXf4coEzjGP9b2GBVgQRLQUZ2QcuPpQExGDAW5GItpEm6Tl4OU5mywnAoQ==" }, "whatwg-mimetype": { "version": "2.3.0", diff --git a/client/package.json b/client/package.json index 3a308b45..23d38532 100755 --- a/client/package.json +++ b/client/package.json @@ -58,7 +58,7 @@ "dependencies": { "classnames": "^2.2.6", "connected-react-router": "^6.8.0", - "date-fns": "^2.15.0", + "date-fns": "^2.16.1", "dequal": "^2.0.2", "history": "^4.10.1", "i18next": "^19.7.0", @@ -69,10 +69,10 @@ "prop-types": "^15.7.2", "react": "^16.13.1", "react-beautiful-dnd": "^13.0.0", - "react-datepicker": "^3.1.3", + "react-datepicker": "^3.2.2", "react-dom": "^16.13.1", - "react-dropzone": "^11.0.3", - "react-i18next": "^11.7.0", + "react-dropzone": "^11.2.0", + "react-i18next": "^11.7.3", "react-input-mask": "^2.0.4", "react-markdown": "^4.3.1", "react-redux": "^7.2.1", @@ -85,25 +85,25 @@ "redux-saga": "^1.1.3", "reselect": "^4.0.0", "sails.io.js": "^1.2.1", - "semantic-ui-react": "^1.2.1", + "semantic-ui-react": "^1.3.0", "socket.io-client": "^2.3.0", - "validator": "^13.1.1", - "whatwg-fetch": "^3.4.0" + "validator": "^13.1.17", + "whatwg-fetch": "^3.4.1" }, "devDependencies": { "chai": "^4.2.0", "enzyme": "^3.11.0", - "enzyme-adapter-react-16": "^1.15.3", + "enzyme-adapter-react-16": "^1.15.5", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.2.0", - "eslint-config-prettier": "^6.11.0", + "eslint-config-prettier": "^6.12.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-prettier": "^3.1.4", - "eslint-plugin-react": "^7.20.6", - "eslint-plugin-react-hooks": "^4.1.0", + "eslint-plugin-react": "^7.21.2", + "eslint-plugin-react-hooks": "^4.1.2", "jest-enzyme": "^7.1.2", - "prettier": "2.0.5", + "prettier": "2.1.2", "react-test-renderer": "^16.13.1" } } diff --git a/client/src/components/DueDateEditStep/DueDateEditStep.jsx b/client/src/components/DueDateEditStep/DueDateEditStep.jsx index 2e72e63c..a630c3de 100755 --- a/client/src/components/DueDateEditStep/DueDateEditStep.jsx +++ b/client/src/components/DueDateEditStep/DueDateEditStep.jsx @@ -118,7 +118,12 @@ const DueDateEditStep = React.memo(({ defaultValue, onUpdate, onBack, onClose }) - +