Bump prettier from 1.19.1 to 2.0.2
Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Родитель
0384764612
Коммит
4d2d44e8b1
|
@ -1756,6 +1756,12 @@
|
|||
"vue-template-es2015-compiler": "^1.9.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"prettier": {
|
||||
"version": "1.19.1",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz",
|
||||
"integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==",
|
||||
"dev": true
|
||||
},
|
||||
"source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||
|
@ -7459,9 +7465,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"prettier": {
|
||||
"version": "1.19.1",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz",
|
||||
"integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==",
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz",
|
||||
"integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==",
|
||||
"dev": true
|
||||
},
|
||||
"prettier-linter-helpers": {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"jsdom-global": "^3.0.2",
|
||||
"mocha": "^7.1.1",
|
||||
"mocha-webpack": "^2.0.0-beta.0",
|
||||
"prettier": "1.19.1",
|
||||
"prettier": "2.0.2",
|
||||
"sass-loader": "^8.0.2",
|
||||
"sinon": "^9.0.1",
|
||||
"url-loader": "^4.0.0",
|
||||
|
|
|
@ -108,7 +108,7 @@ export default {
|
|||
this.loading =
|
||||
this.$store.state.totpState === state.STATE_CREATED
|
||||
})
|
||||
.catch(e => {
|
||||
.catch((e) => {
|
||||
OC.Notification.showTemporary(
|
||||
t('twofactor_totp', 'Could not enable TOTP')
|
||||
)
|
||||
|
@ -117,7 +117,7 @@ export default {
|
|||
// Restore on error
|
||||
this.loading = false
|
||||
})
|
||||
.catch(e => Logger.error(e))
|
||||
.catch((e) => Logger.error(e))
|
||||
},
|
||||
|
||||
enableTOTP() {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
import Axios from '@nextcloud/axios'
|
||||
import { generateUrl } from '@nextcloud/router'
|
||||
|
||||
export const saveState = async data => {
|
||||
export const saveState = async (data) => {
|
||||
const url = generateUrl('/apps/twofactor_totp/settings/enable')
|
||||
|
||||
const resp = await Axios.post(url, data)
|
||||
|
|
Загрузка…
Ссылка в новой задаче