Merge pull request #3767 from nextcloud/dependabot/npm_and_yarn/nextcloud/auth-1.3.0

Bump @nextcloud/auth from 1.2.3 to 1.3.0
This commit is contained in:
Joas Schilling 2020-06-12 08:44:16 +02:00 коммит произвёл GitHub
Родитель 25f7e93305 5e63c6bc03
Коммит 750a11088b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 24 добавлений и 7 удалений

20
package-lock.json сгенерированный
Просмотреть файл

@ -3686,11 +3686,12 @@
}
},
"@nextcloud/auth": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/@nextcloud/auth/-/auth-1.2.3.tgz",
"integrity": "sha512-SN0g1nyflt2H34zkCFflOky/h0r9DNHb7T8l/JILyFTCoL8f+f67V2Q4jLLfyapEXgq0b3xG7p8FtrBX5/JhWA==",
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@nextcloud/auth/-/auth-1.3.0.tgz",
"integrity": "sha512-GfwRM9W7hat4psNdAt74UHEV+drEXQ53klCVp6JpON66ZLPeK5eJ1LQuiQDkpUxZpqNeaumXjiB98h5cug/uQw==",
"requires": {
"@nextcloud/event-bus": "^1.1.3",
"@nextcloud/typings": "^0.2.2",
"core-js": "^3.6.4"
}
},
@ -3854,6 +3855,14 @@
"core-js": "^3.6.4"
}
},
"@nextcloud/typings": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/@nextcloud/typings/-/typings-0.2.2.tgz",
"integrity": "sha512-LZrv1VV3vyDaKw4UKMcGM9dvLMpdI2tfMexHf/ixVn6OrsRDsRTbxByWMMdRF2ArHD5Q8RsICa72p6BcG9b80Q==",
"requires": {
"@types/jquery": "2.0.54"
}
},
"@nextcloud/vue": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-2.0.0.tgz",
@ -4088,6 +4097,11 @@
"jest-diff": "^24.3.0"
}
},
"@types/jquery": {
"version": "2.0.54",
"resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-2.0.54.tgz",
"integrity": "sha512-D/PomKwNkDfSKD13DEVQT/pq2TUjN54c6uB341fEZanIzkjfGe7UaFuuaLZbpEiS5j7Wk2MUHAZqZIoECw29lg=="
},
"@types/json-schema": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz",

Просмотреть файл

@ -17,7 +17,7 @@
},
"dependencies": {
"@juliushaertl/vue-richtext": "^0.3.1",
"@nextcloud/auth": "^1.2.3",
"@nextcloud/auth": "^1.3.0",
"@nextcloud/axios": "^1.3.2",
"@nextcloud/browser-storage": "^0.1.1",
"@nextcloud/dialogs": "^1.4.0",

Просмотреть файл

@ -5,9 +5,9 @@ describe('AvatarWrapper.vue', () => {
it('Renders user avatars properly', () => {
const wrapper = shallowMount(AvatarWrapper, {
propsData: {
id: 'mario',
id: 'test-id',
source: 'users',
name: 'mario',
name: 'test-name',
},
})
expect(wrapper.vm.iconClass).toBe('')
@ -46,7 +46,7 @@ describe('AvatarWrapper.vue', () => {
propsData: {
id: '',
name: '',
size: '24',
size: 24,
},
})
expect(wrapper.element.firstChild.classList).toContain('guest')

Просмотреть файл

@ -21,5 +21,8 @@
*/
global.OC = {
requestToken: '123',
isUserAdmin() {
return true
},
}
global.t = (app, text) => text