diff --git a/README.md b/README.md index 411f7d842..1e305b201 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Build Status](https://travis-ci.com/Human-Connection/Human-Connection.svg?branch=master)](https://travis-ci.com/Human-Connection/Human-Connection) [![Codecov Coverage](https://img.shields.io/codecov/c/github/Human-Connection/Human-Connection/master.svg?style=flat-square)](https://codecov.io/gh/Human-Connection/Human-Connection/) [![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/Human-Connection/Nitro-Backend/blob/backend/LICENSE.md) -[![Discord Channel](https://img.shields.io/discord/489522408076738561.svg)](https://discord.gg/6ub73U3) +[![Discord Channel](https://img.shields.io/discord/489522408076738561.svg)](https://discordapp.com/invite/DFSjPaX) Human Connection is a nonprofit social, action and knowledge network that connects information to action and promotes positive local and global change in all areas of life. @@ -45,7 +45,7 @@ Thank you lokalise for providing us with a premium account :raised_hands:. ## Developer Chat -Join our friendly open-source community on [Discord](https://discord.gg/6ub73U3) :heart_eyes_cat: +Join our friendly open-source community on [Discord](https://discordapp.com/invite/DFSjPaX) :heart_eyes_cat: Just introduce yourself at `#introduce-yourself` and mention `@@Mentor` to get you onboard :neckbeard: Check out the [contribution guideline](./CONTRIBUTING.md), too! diff --git a/backend/package.json b/backend/package.json index ef847b4b9..508040b6b 100644 --- a/backend/package.json +++ b/backend/package.json @@ -118,7 +118,7 @@ "eslint-config-prettier": "~6.0.0", "eslint-config-standard": "~13.0.1", "eslint-plugin-import": "~2.18.2", - "eslint-plugin-jest": "~22.14.1", + "eslint-plugin-jest": "~22.15.0", "eslint-plugin-node": "~9.1.0", "eslint-plugin-prettier": "~3.1.0", "eslint-plugin-promise": "~4.2.1", diff --git a/backend/yarn.lock b/backend/yarn.lock index f92762ac7..d327c1bd0 100644 --- a/backend/yarn.lock +++ b/backend/yarn.lock @@ -3292,10 +3292,10 @@ eslint-plugin-import@~2.18.2: read-pkg-up "^2.0.0" resolve "^1.11.0" -eslint-plugin-jest@~22.14.1: - version "22.14.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.14.1.tgz#32287dade9bc0a1920c61e25a71cf11363d78015" - integrity sha512-mpLjhADl+HjagrlaGNx95HIji089S18DhnU/Ee8P8VP+dhEnuEzb43BXEaRmDgQ7BiSUPcSCvt1ydtgPkjOF/Q== +eslint-plugin-jest@~22.15.0: + version "22.15.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.15.0.tgz#fe70bfff7eeb47ca0ab229588a867f82bb8592c5" + integrity sha512-hgnPbSqAIcLLS9ePb12hNHTRkXnkVaCfOwCt2pzQ8KpOKPWGA4HhLMaFN38NBa/0uvLfrZpcIRjT+6tMAfr58Q== dependencies: "@typescript-eslint/experimental-utils" "^1.13.0" diff --git a/webapp/components/Modal/ConfirmModal.spec.js b/webapp/components/Modal/ConfirmModal.spec.js index 86a6dd39d..f6adecb81 100644 --- a/webapp/components/Modal/ConfirmModal.spec.js +++ b/webapp/components/Modal/ConfirmModal.spec.js @@ -1,4 +1,4 @@ -import { shallowMount, mount, createLocalVue } from '@vue/test-utils' +import { config, shallowMount, mount, createLocalVue } from '@vue/test-utils' import Vuex from 'vuex' import Styleguide from '@human-connection/styleguide' import ConfirmModal from './ConfirmModal.vue' @@ -8,6 +8,7 @@ const localVue = createLocalVue() localVue.use(Vuex) localVue.use(Styleguide) +config.stubs['sweetalert-icon'] = '' describe('ConfirmModal.vue', () => { let Wrapper diff --git a/webapp/components/Modal/ReportModal.spec.js b/webapp/components/Modal/ReportModal.spec.js index 7f6fb33f1..bcbb85931 100644 --- a/webapp/components/Modal/ReportModal.spec.js +++ b/webapp/components/Modal/ReportModal.spec.js @@ -1,4 +1,4 @@ -import { shallowMount, mount, createLocalVue } from '@vue/test-utils' +import { config, shallowMount, mount, createLocalVue } from '@vue/test-utils' import ReportModal from './ReportModal.vue' import Vuex from 'vuex' import Styleguide from '@human-connection/styleguide' @@ -7,6 +7,7 @@ const localVue = createLocalVue() localVue.use(Vuex) localVue.use(Styleguide) +config.stubs['sweetalert-icon'] = '' describe('ReportModal.vue', () => { let wrapper diff --git a/webapp/components/PasswordReset/ChangePassword.spec.js b/webapp/components/PasswordReset/ChangePassword.spec.js index 62488c916..a6722f016 100644 --- a/webapp/components/PasswordReset/ChangePassword.spec.js +++ b/webapp/components/PasswordReset/ChangePassword.spec.js @@ -1,10 +1,11 @@ -import { mount, createLocalVue } from '@vue/test-utils' +import { config, mount, createLocalVue } from '@vue/test-utils' import ChangePassword from './ChangePassword' import Styleguide from '@human-connection/styleguide' const localVue = createLocalVue() localVue.use(Styleguide) +config.stubs['sweetalert-icon'] = '' describe('ChangePassword ', () => { let wrapper diff --git a/webapp/components/PasswordReset/Request.spec.js b/webapp/components/PasswordReset/Request.spec.js index c9128a70e..1804be6a6 100644 --- a/webapp/components/PasswordReset/Request.spec.js +++ b/webapp/components/PasswordReset/Request.spec.js @@ -1,10 +1,11 @@ -import { mount, createLocalVue } from '@vue/test-utils' +import { config, mount, createLocalVue } from '@vue/test-utils' import Request from './Request' import Styleguide from '@human-connection/styleguide' const localVue = createLocalVue() localVue.use(Styleguide) +config.stubs['sweetalert-icon'] = '' describe('Request', () => { let wrapper diff --git a/webapp/components/Registration/CreateUserAccount.spec.js b/webapp/components/Registration/CreateUserAccount.spec.js index ca1335e0b..e3f7503a3 100644 --- a/webapp/components/Registration/CreateUserAccount.spec.js +++ b/webapp/components/Registration/CreateUserAccount.spec.js @@ -1,10 +1,11 @@ -import { mount, createLocalVue } from '@vue/test-utils' +import { config, mount, createLocalVue } from '@vue/test-utils' import CreateUserAccount, { SignupVerificationMutation } from './CreateUserAccount' import Styleguide from '@human-connection/styleguide' const localVue = createLocalVue() localVue.use(Styleguide) +config.stubs['sweetalert-icon'] = '' describe('CreateUserAccount', () => { let wrapper diff --git a/webapp/components/Registration/Signup.spec.js b/webapp/components/Registration/Signup.spec.js index e66b39bb7..afcf94c37 100644 --- a/webapp/components/Registration/Signup.spec.js +++ b/webapp/components/Registration/Signup.spec.js @@ -1,10 +1,11 @@ -import { mount, createLocalVue } from '@vue/test-utils' +import { config, mount, createLocalVue } from '@vue/test-utils' import Signup, { SignupMutation, SignupByInvitationMutation } from './Signup' import Styleguide from '@human-connection/styleguide' const localVue = createLocalVue() localVue.use(Styleguide) +config.stubs['sweetalert-icon'] = '' describe('Signup', () => { let wrapper diff --git a/webapp/package.json b/webapp/package.json index d2bd5134e..85b0f28e8 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -54,7 +54,7 @@ "@nuxtjs/apollo": "^4.0.0-rc10", "@nuxtjs/axios": "~5.5.4", "@nuxtjs/dotenv": "~1.4.0", - "@nuxtjs/style-resources": "~0.1.2", + "@nuxtjs/style-resources": "~1.0.0", "accounting": "~0.4.1", "apollo-cache-inmemory": "~1.6.2", "apollo-client": "~2.6.3", @@ -73,7 +73,7 @@ "stack-utils": "^1.0.2", "string-hash": "^1.1.3", "tiptap": "~1.24.0", - "tiptap-extensions": "~1.26.0", + "tiptap-extensions": "~1.26.1", "v-tooltip": "~2.0.2", "vue-count-to": "~1.0.13", "vue-izitoast": "1.1.2", diff --git a/webapp/yarn.lock b/webapp/yarn.lock index 4860dab28..825cb8a14 100644 --- a/webapp/yarn.lock +++ b/webapp/yarn.lock @@ -1409,10 +1409,10 @@ consola "^2.5.6" http-proxy-middleware "^0.19.1" -"@nuxtjs/style-resources@~0.1.2": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@nuxtjs/style-resources/-/style-resources-0.1.2.tgz#6d90637611d3a445158224c34e42ec5769e13aaa" - integrity sha512-hF4kxO3ETHnJlscBOHM/UKasMwrdlODb+y6mv9mnsyn1Ujvp7kMqOmUmhKcemDexXEzpc5eniIOOq+Nul8JAKA== +"@nuxtjs/style-resources@~1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@nuxtjs/style-resources/-/style-resources-1.0.0.tgz#7c4d6be19d7f7cc5d687d689f2ab16c0b94773a1" + integrity sha512-tDRcC/pm8B0Kpxtzb/1/HOBkv3/kPD+2FiCiUBGMB7YriRud9OUPw1pnYCsAH9ftwpMJS4k4XOyUY8FCTk6OxA== dependencies: consola "^2.4.0" glob-all "^3.1.0" @@ -12115,10 +12115,10 @@ prosemirror-state@^1.0.0, prosemirror-state@^1.2.2, prosemirror-state@^1.2.3: prosemirror-model "^1.0.0" prosemirror-transform "^1.0.0" -prosemirror-tables@^0.8.1: - version "0.8.1" - resolved "https://registry.yarnpkg.com/prosemirror-tables/-/prosemirror-tables-0.8.1.tgz#ea99ad4effec99dd4e2fdb0b33cce4d2547eed83" - integrity sha512-6eY8I+NkyrXAQ1gmYkKo7XDLZaj0iGutdc/zT0+VMY15IzgBINwcRP62+miaCTuneLTKufMYzfUB37NjGJaetw== +prosemirror-tables@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/prosemirror-tables/-/prosemirror-tables-0.9.1.tgz#1669100ee9f64b0c269824dcd1c0584c66075acb" + integrity sha512-n5h2OvlnQGsW1ToT1WOIlemV/3PDw4miUQoHEpawOk2oDhi46czKdzEg/rq3z0f/aZ3CwoyxviuqAZChBILC4A== dependencies: prosemirror-keymap "^1.0.0" prosemirror-model "^1.0.0" @@ -12133,21 +12133,12 @@ prosemirror-transform@^1.0.0, prosemirror-transform@^1.1.0, prosemirror-transfor dependencies: prosemirror-model "^1.0.0" -prosemirror-utils@^0.9.4: - version "0.9.5" - resolved "https://registry.yarnpkg.com/prosemirror-utils/-/prosemirror-utils-0.9.5.tgz#34d7e5bc12f3e6774261cc664bac9499899663d4" - integrity sha512-JT3H//Cq2ljNhWadMYRMdlNj2gylFA7L4RC0zmUF9l0IgDpc/gTpPRCmfcDUomDgCrciz57C3MCnZ+058hSTaA== +prosemirror-utils@^0.9.6: + version "0.9.6" + resolved "https://registry.yarnpkg.com/prosemirror-utils/-/prosemirror-utils-0.9.6.tgz#3d97bd85897e3b535555867dc95a51399116a973" + integrity sha512-UC+j9hQQ1POYfMc5p7UFxBTptRiGPR7Kkmbl3jVvU8VgQbkI89tR/GK+3QYC8n+VvBZrtAoCrJItNhWSxX3slA== -prosemirror-view@^1.0.0, prosemirror-view@^1.1.0: - version "1.9.8" - resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.9.8.tgz#47b961204a0b2e8ff87370c270d4f82598e81273" - integrity sha512-yS4yrqxydvi7ddz9VFLeJgbfVd5g3/bMcRxb1PbWtG0i9OrPSsiHaEBJHLVeTbraGqRlAu+tbNLakO7RhUhp1w== - dependencies: - prosemirror-model "^1.1.0" - prosemirror-state "^1.0.0" - prosemirror-transform "^1.1.0" - -prosemirror-view@^1.9.12: +prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.9.13: version "1.9.13" resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.9.13.tgz#8f146038e776fd0aa6d7811c8b9cb11813b9e319" integrity sha512-afJxCZR4EH04u4thl7xYHSIgyQiGALstLi+5SW9t3868ghrgcFhpQvbJAN17Yb9nwtnltD64t15Msk2UlXkPeQ== @@ -14232,51 +14223,51 @@ tippy.js@^4.3.5: dependencies: popper.js "^1.14.7" -tiptap-commands@^1.10.11: - version "1.10.11" - resolved "https://registry.yarnpkg.com/tiptap-commands/-/tiptap-commands-1.10.11.tgz#9df1ef7b553e601598892074f9faa6d836fd8238" - integrity sha512-SD1Ep18qKGiCOodUttQrJtOfEC4/sx1pQWfROc4t8xeuxS5FLcrXZ+u9mELRSHkBJ+nDAJsn/ewG+yo58T1+Xg== +tiptap-commands@^1.10.12: + version "1.10.12" + resolved "https://registry.yarnpkg.com/tiptap-commands/-/tiptap-commands-1.10.12.tgz#9d3f001b371319c6b1a131623ca8e74a46363b9d" + integrity sha512-cNIYIbP2gvdP08mFivezNmyJscBLthjPtVzlbXNu4963an7guOSpKYl4aImJLVbKlAIk5W1P/TlhjyPQodDIgw== dependencies: prosemirror-commands "^1.0.8" prosemirror-inputrules "^1.0.4" prosemirror-model "^1.7.1" prosemirror-schema-list "^1.0.3" prosemirror-state "^1.2.3" - prosemirror-tables "^0.8.1" - prosemirror-utils "^0.9.4" - tiptap-utils "^1.6.0" + prosemirror-tables "^0.9.1" + prosemirror-utils "^0.9.6" + tiptap-utils "^1.6.1" -tiptap-extensions@~1.26.0: - version "1.26.0" - resolved "https://registry.yarnpkg.com/tiptap-extensions/-/tiptap-extensions-1.26.0.tgz#d3ee033d121c7243a7e8648c69ec6343a2853ccc" - integrity sha512-icQYbfl6Cu3XkAoz9y+4x1URuB/EzryF2rZT6GsURghcelaxpjIPoMDBMyi00zlSIKJUvkS14NbnjJ2eT0CG6w== +tiptap-extensions@~1.26.1: + version "1.26.1" + resolved "https://registry.yarnpkg.com/tiptap-extensions/-/tiptap-extensions-1.26.1.tgz#f0fa492f268f73e4a4313de5de8d22799988ae39" + integrity sha512-Qzr63TOhZLLKw4A/F/EnxwWtdDELA0w6ogk/cKI+xmDUM14RN6VsVoz3QVZyuyzC/ceiQ6dV/iP67PJJ6kvKTw== dependencies: lowlight "^1.12.1" prosemirror-collab "^1.1.2" prosemirror-history "^1.0.4" prosemirror-model "^1.7.1" prosemirror-state "^1.2.3" - prosemirror-tables "^0.8.1" + prosemirror-tables "^0.9.1" prosemirror-transform "^1.1.3" - prosemirror-utils "^0.9.4" - prosemirror-view "^1.9.12" - tiptap "^1.24.0" - tiptap-commands "^1.10.11" + prosemirror-utils "^0.9.6" + prosemirror-view "^1.9.13" + tiptap "^1.24.1" + tiptap-commands "^1.10.12" -tiptap-utils@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/tiptap-utils/-/tiptap-utils-1.6.0.tgz#6af0bf52f93b291b9be5f6adb92c9afc35dd8d62" - integrity sha512-8ehQyNCe1CJvgBBqS3rKM58MFqcwlJQXS6XtZyhOjJDGQbUKNVR/GbAXTPlHnuVBm0kKKTjTqnrEt/PS4d2aXg== +tiptap-utils@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/tiptap-utils/-/tiptap-utils-1.6.1.tgz#4bd1aa160728286274512d0b3773f5b5d39b70cb" + integrity sha512-N7UPvOjTW8bCdY9EsZki7MBdFKIFoZ8V1whjxuwBu6VSvLKpIKGaHsGDAnYgvrAhPVYVIdZU7OreU/805JmwWg== dependencies: prosemirror-model "^1.7.1" prosemirror-state "^1.2.3" - prosemirror-tables "^0.8.1" - prosemirror-utils "^0.9.4" + prosemirror-tables "^0.9.1" + prosemirror-utils "^0.9.6" -tiptap@^1.24.0, tiptap@~1.24.0: - version "1.24.0" - resolved "https://registry.yarnpkg.com/tiptap/-/tiptap-1.24.0.tgz#f386c8fca71275a4794a0e95eca2ea37267d370d" - integrity sha512-izw0FM5bbOQRtNczqEgo9/EoUI7X/TAj1LEsteMuDqxaZKmYn6so482UnnQUv13+4DtXHYGj5U+60lVNuZlWJw== +tiptap@^1.24.1, tiptap@~1.24.0: + version "1.24.1" + resolved "https://registry.yarnpkg.com/tiptap/-/tiptap-1.24.1.tgz#ecbc4c42be37c26dd73bf3969af1fe20befad8b7" + integrity sha512-/4ABBDoEoDbFCHQQ65clEAjTxqR3DX1PQDsjp7LnYjPiVMGLL11NKnyT1kAn8QNaNGzV+uSSgkROBArcsiF5eA== dependencies: prosemirror-commands "^1.0.8" prosemirror-dropcursor "^1.1.1" @@ -14285,9 +14276,9 @@ tiptap@^1.24.0, tiptap@~1.24.0: prosemirror-keymap "^1.0.1" prosemirror-model "^1.7.1" prosemirror-state "^1.2.3" - prosemirror-view "^1.9.12" - tiptap-commands "^1.10.11" - tiptap-utils "^1.6.0" + prosemirror-view "^1.9.13" + tiptap-commands "^1.10.12" + tiptap-utils "^1.6.1" title-case@^2.1.0: version "2.1.1"