From 088098daa41947ad4e763edbff807986929ddddf Mon Sep 17 00:00:00 2001 From: ntr Date: Wed, 23 Oct 2019 11:41:53 +1100 Subject: [PATCH] npm updates and password hints --- client/package.json | 26 +++++++++++----------- client/src/components/account.top.jsx | 2 ++ client/src/components/welcome.register.jsx | 2 ++ 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/client/package.json b/client/package.json index 4bd0df9e..c3f92b8c 100644 --- a/client/package.json +++ b/client/package.json @@ -15,9 +15,9 @@ "license": "UNLICENSED", "dependencies": { "anime": "^0.1.2", - "animejs": "^3.0.1", - "async": "^2.6.2", - "borc": "^2.0.3", + "animejs": "^3.1.0", + "async": "^2.6.3", + "borc": "^2.1.1", "docco": "^0.7.0", "hammerjs": "^2.0.8", "izitoast": "^1.4.0", @@ -26,15 +26,15 @@ "lodash": "^4.17.15", "logrocket": "^1.0.3", "node-sass": "^4.12.0", - "parcel": "^1.12.3", - "preact": "^8.4.2", + "parcel": "^1.12.4", + "preact": "^8.5.2", "preact-compat": "^3.19.0", - "preact-context": "^1.1.3", + "preact-context": "^1.1.4", "preact-redux": "^2.1.0", "query-string": "^6.8.3", "react-string-replace": "^0.4.4", - "react-stripe-elements": "^3.0.0", - "redux": "^4.0.0" + "react-stripe-elements": "^3.0.1", + "redux": "^4.0.4" }, "devDependencies": { "babel-core": "^6.26.3", @@ -42,11 +42,11 @@ "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "eslint": "^5.16.0", - "eslint-config-airbnb-base": "^13.1.0", - "eslint-plugin-import": "^2.14.0", - "eslint-plugin-react": "^7.11.1", - "jest": "^18.0.0", - "less": "^3.9.0" + "eslint-config-airbnb-base": "^13.2.0", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-react": "^7.16.0", + "jest": "^25.0.0", + "less": "^3.10.3" }, "alias": { "react": "preact-compat", diff --git a/client/src/components/account.top.jsx b/client/src/components/account.top.jsx index 351918b4..de983dd7 100644 --- a/client/src/components/account.top.jsx +++ b/client/src/components/account.top.jsx @@ -187,6 +187,7 @@ class AccountStatus extends Component { class="login-input" type="password" name="new" + autocomplete="new-password" value={passwordState.password} onInput={linkState(this, 'passwordState.password')} placeholder="new password" @@ -195,6 +196,7 @@ class AccountStatus extends Component { class="login-input" type="password" name="confirm" + autocomplete="new-password" value={passwordState.confirm} onInput={linkState(this, 'passwordState.confirm')} placeholder="confirm" diff --git a/client/src/components/welcome.register.jsx b/client/src/components/welcome.register.jsx index c5ab9f79..99f8baed 100644 --- a/client/src/components/welcome.register.jsx +++ b/client/src/components/welcome.register.jsx @@ -63,6 +63,7 @@ function Register(args) { class="login-input" type="password" placeholder="password" + autocomplete="new-password" value={this.state.password} onInput={linkState(this, 'password')} /> @@ -71,6 +72,7 @@ function Register(args) { class={`${registerConfirm() ? '' : 'red'} login-input`} type="password" placeholder="confirm" + autocomplete="new-password" value={this.state.confirm} onInput={linkState(this, 'confirm')} />