mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-15 09:24:34 +00:00
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1709-send-feedbacks-in-report-processes
This commit is contained in:
commit
23626fdaf5
7
.versionrc.json
Normal file
7
.versionrc.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"bumpFiles": [
|
||||
"package.json",
|
||||
"backend/package.json",
|
||||
"webapp/package.json"
|
||||
]
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "human-connection-backend",
|
||||
"version": "0.0.1",
|
||||
"version": "0.2.1",
|
||||
"description": "GraphQL Backend for Human Connection",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
@ -62,24 +62,24 @@
|
||||
"linkifyjs": "~2.1.8",
|
||||
"lodash": "~4.17.14",
|
||||
"merge-graphql-schemas": "^1.7.6",
|
||||
"metascraper": "^5.10.2",
|
||||
"metascraper-audio": "^5.9.5",
|
||||
"metascraper": "^5.10.5",
|
||||
"metascraper-audio": "^5.10.3",
|
||||
"metascraper-author": "^5.10.3",
|
||||
"metascraper-clearbit-logo": "^5.3.0",
|
||||
"metascraper-date": "^5.10.3",
|
||||
"metascraper-description": "^5.9.5",
|
||||
"metascraper-image": "^5.9.5",
|
||||
"metascraper-description": "^5.10.5",
|
||||
"metascraper-image": "^5.10.3",
|
||||
"metascraper-lang": "^5.10.3",
|
||||
"metascraper-lang-detector": "^4.10.2",
|
||||
"metascraper-logo": "^5.10.3",
|
||||
"metascraper-publisher": "^5.10.3",
|
||||
"metascraper-soundcloud": "^5.9.5",
|
||||
"metascraper-soundcloud": "^5.10.5",
|
||||
"metascraper-title": "^5.10.3",
|
||||
"metascraper-url": "^5.10.3",
|
||||
"metascraper-video": "^5.9.5",
|
||||
"metascraper-youtube": "^5.9.5",
|
||||
"metascraper-video": "^5.10.3",
|
||||
"metascraper-youtube": "^5.10.5",
|
||||
"minimatch": "^3.0.4",
|
||||
"mustache": "^3.2.1",
|
||||
"mustache": "^4.0.0",
|
||||
"neo4j-driver": "^4.0.1",
|
||||
"neo4j-graphql-js": "^2.11.5",
|
||||
"neode": "^0.3.7",
|
||||
@ -91,7 +91,7 @@
|
||||
"sanitize-html": "~1.20.1",
|
||||
"slug": "~2.1.0",
|
||||
"trunc-html": "~1.1.2",
|
||||
"uuid": "~3.3.3",
|
||||
"uuid": "~3.4.0",
|
||||
"validator": "^12.1.0",
|
||||
"wait-on": "~3.3.0",
|
||||
"xregexp": "^4.2.4"
|
||||
|
||||
@ -1099,10 +1099,10 @@
|
||||
url-regex "~4.1.1"
|
||||
video-extensions "~1.1.0"
|
||||
|
||||
"@metascraper/helpers@^5.10.3", "@metascraper/helpers@^5.9.5":
|
||||
version "5.10.3"
|
||||
resolved "https://registry.yarnpkg.com/@metascraper/helpers/-/helpers-5.10.3.tgz#38abd95ffbcfaf0bd6afbaa85853d4b9aa780c87"
|
||||
integrity sha512-ZiDS3aGIK3OSGBMaYORvUVZAVFKmjh1KZaaFnmjIPi6vWPFOrtLK8r4OrkwroJ0IK6Hg6ZiuDjQo63LDcmLqdA==
|
||||
"@metascraper/helpers@^5.10.3", "@metascraper/helpers@^5.10.5":
|
||||
version "5.10.5"
|
||||
resolved "https://registry.yarnpkg.com/@metascraper/helpers/-/helpers-5.10.5.tgz#c3558533f30144bacecf9599fd02ac88d839a0cc"
|
||||
integrity sha512-noTBDk3cF3UzKoPrC9/Sye1f9945PVEDju6br7S19YWyUpceEXoDrPF1YaqN37ku62f1s7bul11+Lv/xAYuEVQ==
|
||||
dependencies:
|
||||
audio-extensions "0.0.0"
|
||||
chrono-node "~1.4.2"
|
||||
@ -3834,7 +3834,8 @@ extsprintf@^1.2.0:
|
||||
|
||||
faker@Marak/faker.js#master:
|
||||
version "4.1.0"
|
||||
resolved "https://codeload.github.com/Marak/faker.js/tar.gz/9fd8d7d37b398842d0784a116a340f7aa6afb89b"
|
||||
uid "3b2fa4aebccee52ae1bafc15d575061fb30c3cf1"
|
||||
resolved "https://codeload.github.com/Marak/faker.js/tar.gz/3b2fa4aebccee52ae1bafc15d575061fb30c3cf1"
|
||||
|
||||
fast-deep-equal@^2.0.1:
|
||||
version "2.0.1"
|
||||
@ -5961,12 +5962,12 @@ merge2@^1.3.0:
|
||||
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.3.0.tgz#5b366ee83b2f1582c48f87e47cf1a9352103ca81"
|
||||
integrity sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==
|
||||
|
||||
metascraper-audio@^5.9.5:
|
||||
version "5.9.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-audio/-/metascraper-audio-5.9.5.tgz#e20c6a6b2d436a5c84655063655b342dfe4b0432"
|
||||
integrity sha512-UBvyF0MQe1NUDPNXYAOuprPhVasXNYVRof65CGeAxyD4tWA4FgMzeUlrtCSkWtR8BA70BsJ7UZgxJ04nfGij2g==
|
||||
metascraper-audio@^5.10.3:
|
||||
version "5.10.3"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-audio/-/metascraper-audio-5.10.3.tgz#ce0c3a895f8d45c488c5b5916038f6479c8b0f31"
|
||||
integrity sha512-L4ft5y36MJPZt8Odzbpzm5/iazNaDPHy6EkQtzDYwr7yoOJTrUE+RMkiYRz81HBl/ThRh0Ez4RuTNVNQfNsQZA==
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.9.5"
|
||||
"@metascraper/helpers" "^5.10.3"
|
||||
|
||||
metascraper-author@^5.10.3:
|
||||
version "5.10.3"
|
||||
@ -5990,19 +5991,19 @@ metascraper-date@^5.10.3:
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.10.3"
|
||||
|
||||
metascraper-description@^5.9.5:
|
||||
version "5.9.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-description/-/metascraper-description-5.9.5.tgz#1b397ff97eeee963c254416d16f0d13ee7bce319"
|
||||
integrity sha512-dZwk/x6dUHKCaSvtBCsTECftCi2ZGoEQbjCyvVXF3aTGz9KRxLMePkWFhrG4UXdBPvlYFwGkHp7scoIDwCXNPQ==
|
||||
metascraper-description@^5.10.5:
|
||||
version "5.10.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-description/-/metascraper-description-5.10.5.tgz#5db8a3fe05ea19e75058fb55d72aed1d50539aff"
|
||||
integrity sha512-LAEO8s0CkV5B/unBZR8hNpA/b18zedQuE0gP3KusBXQYTm0z+1wsdDdulxhoLmgEJPUjYwnn5LKS0jUME7PXaA==
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.9.5"
|
||||
"@metascraper/helpers" "^5.10.5"
|
||||
|
||||
metascraper-image@^5.9.5:
|
||||
version "5.9.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-image/-/metascraper-image-5.9.5.tgz#f3e3aa4ee1a442aa4ef813ceef8150bf10c83fdc"
|
||||
integrity sha512-O3v6QQD/gUsUuNpW1zS+1+Rj/MffuilSnq64w8lDnGnO0/8P/MwBIJikcIfq5kTVCwk1tBsHdoKDvQMaE+b1yg==
|
||||
metascraper-image@^5.10.3:
|
||||
version "5.10.3"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-image/-/metascraper-image-5.10.3.tgz#853eb464c3b717f8fe4ac8bf31c4b2bc39b83216"
|
||||
integrity sha512-22/WPf9A+jUc/Unvpfursi6FAfo/s71Pq/N9jiTNxBgOjfrUWjrzzw8qUKBxTc7Dwz1mERfDn2B0f/tKdsBAFA==
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.9.5"
|
||||
"@metascraper/helpers" "^5.10.3"
|
||||
|
||||
metascraper-lang-detector@^4.10.2:
|
||||
version "4.10.2"
|
||||
@ -6034,12 +6035,12 @@ metascraper-publisher@^5.10.3:
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.10.3"
|
||||
|
||||
metascraper-soundcloud@^5.9.5:
|
||||
version "5.9.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-soundcloud/-/metascraper-soundcloud-5.9.5.tgz#a7dce92dce5c99b1816096e3501655bbf032e8bd"
|
||||
integrity sha512-Um7mIu1EW8yQvgstaLUqmk+twt+ZENLD6jtcUmHNAlq3qm0DnmYBrUuLWtZWy6tT93id9ngiJC5FLL3c9wIKVw==
|
||||
metascraper-soundcloud@^5.10.5:
|
||||
version "5.10.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-soundcloud/-/metascraper-soundcloud-5.10.5.tgz#741e1e1fb127192a295b77bf55a694c6ed510eec"
|
||||
integrity sha512-h3hXX0msfEIozsH06Cca+X29ZLP73+nEbMPPsQWt1nQPDkM0nW+JiJ+Ai9AygqLe28X/KAo5p1T7nWNQD30xNA==
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.9.5"
|
||||
"@metascraper/helpers" "^5.10.5"
|
||||
tldts "~5.6.3"
|
||||
|
||||
metascraper-title@^5.10.3:
|
||||
@ -6057,30 +6058,30 @@ metascraper-url@^5.10.3:
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.10.3"
|
||||
|
||||
metascraper-video@^5.9.5:
|
||||
version "5.9.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-video/-/metascraper-video-5.9.5.tgz#707eb9726a96a64ecd8f234a7716c021ccf10f3f"
|
||||
integrity sha512-ApYCnVpEPy3+sLHxjMVXUVolHgdEOwpaiH41win4h5HmDX6jz/gWg3ENaHWfRLTn94Gc3c2Fjkqg/dwShRK0/A==
|
||||
metascraper-video@^5.10.3:
|
||||
version "5.10.3"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-video/-/metascraper-video-5.10.3.tgz#deb0510b247aff0c9f1777a9d790f0aa55fa2890"
|
||||
integrity sha512-xXGtPWX1RYSEOkLDvIzD20+o4hrSYycN31briMwQkjL7ZcuSfGgILDOCXSnT+WcpEbRNNxAOmODvAxU5qGnqjQ==
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.9.5"
|
||||
"@metascraper/helpers" "^5.10.3"
|
||||
lodash "~4.17.15"
|
||||
|
||||
metascraper-youtube@^5.9.5:
|
||||
version "5.9.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-youtube/-/metascraper-youtube-5.9.5.tgz#0d67c3619cfaf5434fe51bd3d18be6a6f1b31c7f"
|
||||
integrity sha512-xC6e6l08/qdqNp7rtyMWPumIh0tCqNhWJkL8F5BjMZCGA3iL2OYh82v26qH/H4GdMZlxSsglNJQTjl8ywcdEmw==
|
||||
metascraper-youtube@^5.10.5:
|
||||
version "5.10.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper-youtube/-/metascraper-youtube-5.10.5.tgz#ce0ff223fc50aaf9572f0e12c33d8eb752aa8201"
|
||||
integrity sha512-Y0pVcQWXghdXb7rNZ/i459bCIFWpt43sc4zkvjn6+tsMYqQC9gn2ZLCy7eF5AWcZ/aReTychO6HPVGWal10oWQ==
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.9.5"
|
||||
"@metascraper/helpers" "^5.10.5"
|
||||
get-video-id "~3.1.4"
|
||||
is-reachable "~4.0.0"
|
||||
p-locate "~4.1.0"
|
||||
|
||||
metascraper@^5.10.2:
|
||||
version "5.10.2"
|
||||
resolved "https://registry.yarnpkg.com/metascraper/-/metascraper-5.10.2.tgz#3e2d5c3f8cbe40a8fbd60319bc648d9efd922d13"
|
||||
integrity sha512-h89HZ1jMSzHcp9xAN51/rqOh9oKuY9UBNlar0hdOp9D5v71+e0y4i+lJEly9wJqLAwgVOjRKK5dirTzkj3GdTQ==
|
||||
metascraper@^5.10.5:
|
||||
version "5.10.5"
|
||||
resolved "https://registry.yarnpkg.com/metascraper/-/metascraper-5.10.5.tgz#d23a6f76ea0ae3222aa88ed4e93026926bdacbdd"
|
||||
integrity sha512-2ZeEbI9668ByIurvyZC8fmE6PGMgJ3kWWQYtmGUVsfK2USuoq4z1e9SpP9s4+fSRpZNyaAZFrnRUtpu9E9chiQ==
|
||||
dependencies:
|
||||
"@metascraper/helpers" "^5.9.5"
|
||||
"@metascraper/helpers" "^5.10.5"
|
||||
cheerio "~1.0.0-rc.3"
|
||||
cheerio-advanced-selectors "~2.0.1"
|
||||
lodash "~4.17.15"
|
||||
@ -6239,10 +6240,10 @@ ms@^2.1.1:
|
||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
|
||||
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
||||
|
||||
mustache@^3.2.1:
|
||||
version "3.2.1"
|
||||
resolved "https://registry.yarnpkg.com/mustache/-/mustache-3.2.1.tgz#89e78a9d207d78f2799b1e95764a25bf71a28322"
|
||||
integrity sha512-RERvMFdLpaFfSRIEe632yDm5nsd0SDKn8hGmcUwswnyiE5mtdZLDybtHAz6hjJhawokF0hXvGLtx9mrQfm6FkA==
|
||||
mustache@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/mustache/-/mustache-4.0.0.tgz#7f02465dbb5b435859d154831c032acdfbbefb31"
|
||||
integrity sha512-FJgjyX/IVkbXBXYUwH+OYwQKqWpFPLaLVESd70yHjSDunwzV2hZOoTBvPf4KLoxesUzzyfTH6F784Uqd7Wm5yA==
|
||||
|
||||
mute-stream@0.0.8:
|
||||
version "0.0.8"
|
||||
@ -8697,10 +8698,10 @@ utils-merge@1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
|
||||
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
|
||||
|
||||
uuid@^3.1.0, uuid@^3.3.2, uuid@~3.3.3:
|
||||
version "3.3.3"
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
|
||||
integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==
|
||||
uuid@^3.1.0, uuid@^3.3.2, uuid@~3.4.0:
|
||||
version "3.4.0"
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
|
||||
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
|
||||
|
||||
v8-compile-cache@^2.0.3:
|
||||
version "2.1.0"
|
||||
|
||||
@ -60,7 +60,6 @@ Cypress.Commands.add("login", ({ email, password }) => {
|
||||
.as("submitButton")
|
||||
.click();
|
||||
cy.get(".iziToast-message").should("contain", "You are logged in!");
|
||||
cy.get(".iziToast-close").click();
|
||||
});
|
||||
|
||||
Cypress.Commands.add("logout", (email, password) => {
|
||||
|
||||
@ -4,6 +4,10 @@
|
||||
"description": "Fullstack and API tests with cypress and cucumber for Human Connection",
|
||||
"author": "Human Connection gGmbh",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Human-Connection/Human-Connection.git"
|
||||
},
|
||||
"cypress-cucumber-preprocessor": {
|
||||
"nonGlobalStepDefinitions": true
|
||||
},
|
||||
@ -18,7 +22,7 @@
|
||||
"cypress:open": "cross-env cypress open --browser chromium",
|
||||
"cucumber:setup": "cd backend && yarn run dev",
|
||||
"cucumber": "wait-on tcp:4000 && cucumber-js --require-module @babel/register --exit",
|
||||
"version": "auto-changelog -p"
|
||||
"release": "standard-version"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.3",
|
||||
@ -41,7 +45,8 @@
|
||||
"neo4j-driver": "^4.0.1",
|
||||
"neode": "^0.3.7",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"slug": "^2.1.0"
|
||||
"slug": "^2.1.0",
|
||||
"standard-version": "^7.1.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"set-value": "^2.0.1"
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
ROOT_DIR=$(dirname "$0")/..
|
||||
# BUILD_COMMIT=${TRAVIS_COMMIT:-$(git rev-parse HEAD)}
|
||||
|
||||
IFS='.' read -r major minor patch < $ROOT_DIR/VERSION
|
||||
VERSION=$(jq -r '.version' $ROOT_DIR/package.json)
|
||||
IFS='.' read -r major minor patch <<< $VERSION
|
||||
apps=(nitro-web nitro-backend neo4j maintenance)
|
||||
tags=($major $major.$minor $major.$minor.$patch)
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
ROOT_DIR=$(dirname "$0")/..
|
||||
RELEASE_DIR="${ROOT_DIR}/release"
|
||||
|
||||
VERSION=$(<$ROOT_DIR/VERSION)
|
||||
VERSION=$(jq -r ".version" $ROOT_DIR/package.json)
|
||||
|
||||
# mkdir -p $RELEASE_DIR
|
||||
|
||||
@ -13,4 +13,4 @@ VERSION=$(<$ROOT_DIR/VERSION)
|
||||
# docker image save "humanconnection/${app}:latest" | gzip > "${RELEASE_DIR}/${app}.${VERSION}.tar.gz"
|
||||
# done
|
||||
|
||||
ghr -soft "${VERSION}"
|
||||
ghr -c "${VERSION}" "${VERSION}"
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
import CategoriesSelect from './CategoriesSelect'
|
||||
import Vue from 'vue'
|
||||
|
||||
const localVue = global.localVue
|
||||
|
||||
@ -55,8 +56,9 @@ describe('CategoriesSelect.vue', () => {
|
||||
})
|
||||
|
||||
describe('toggleCategory', () => {
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
wrapper.vm.categories = categories
|
||||
await Vue.nextTick()
|
||||
democracyAndPolitics = wrapper.findAll('button').at(0)
|
||||
democracyAndPolitics.trigger('click')
|
||||
})
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
import CommentForm from './CommentForm'
|
||||
|
||||
import Vue from 'vue'
|
||||
import MutationObserver from 'mutation-observer'
|
||||
|
||||
global.MutationObserver = MutationObserver
|
||||
@ -74,6 +74,7 @@ describe('CommentForm.vue', () => {
|
||||
|
||||
it('calls `clear` method when the cancel button is clicked', async () => {
|
||||
wrapper.vm.updateEditorContent('ok')
|
||||
await Vue.nextTick()
|
||||
await wrapper.find('[data-test="cancel-button"]').trigger('submit')
|
||||
expect(cancelMethodSpy).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { config, mount } from '@vue/test-utils'
|
||||
import ContributionForm from './ContributionForm.vue'
|
||||
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
import PostMutations from '~/graphql/PostMutations.js'
|
||||
import CategoriesSelect from '~/components/CategoriesSelect/CategoriesSelect'
|
||||
@ -147,31 +148,31 @@ describe('ContributionForm.vue', () => {
|
||||
dataPrivacyButton.trigger('click')
|
||||
})
|
||||
|
||||
it('title should not be empty', async () => {
|
||||
it('title cannot be empty', async () => {
|
||||
postTitleInput.setValue('')
|
||||
wrapper.find('form').trigger('submit')
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('title should not be too long', async () => {
|
||||
it('title cannot be too long', async () => {
|
||||
postTitleInput.setValue(postTitleTooLong)
|
||||
wrapper.find('form').trigger('submit')
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('title should not be too short', async () => {
|
||||
it('title cannot be too short', async () => {
|
||||
postTitleInput.setValue(postTitleTooShort)
|
||||
wrapper.find('form').trigger('submit')
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('content should not be empty', async () => {
|
||||
it('content cannot be empty', async () => {
|
||||
await wrapper.vm.updateEditorContent('')
|
||||
await wrapper.find('form').trigger('submit')
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('should have at least one category', async () => {
|
||||
it('has at least one category', async () => {
|
||||
dataPrivacyButton = await wrapper
|
||||
.find(CategoriesSelect)
|
||||
.find('[data-test="category-buttons-cat12"]')
|
||||
@ -180,8 +181,9 @@ describe('ContributionForm.vue', () => {
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('should have not have more than three categories', async () => {
|
||||
it('has no more than three categories', async () => {
|
||||
wrapper.vm.form.categoryIds = ['cat4', 'cat9', 'cat15', 'cat27']
|
||||
await Vue.nextTick()
|
||||
wrapper.find('form').trigger('submit')
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
@ -209,10 +211,12 @@ describe('ContributionForm.vue', () => {
|
||||
wrapper.find(CategoriesSelect).setData({ categories })
|
||||
englishLanguage = wrapper.findAll('li').filter(language => language.text() === 'English')
|
||||
englishLanguage.trigger('click')
|
||||
await Vue.nextTick()
|
||||
dataPrivacyButton = await wrapper
|
||||
.find(CategoriesSelect)
|
||||
.find('[data-test="category-buttons-cat12"]')
|
||||
dataPrivacyButton.trigger('click')
|
||||
await Vue.nextTick()
|
||||
})
|
||||
|
||||
it('creates a post with valid title, content, and at least one category', async () => {
|
||||
@ -278,10 +282,12 @@ describe('ContributionForm.vue', () => {
|
||||
wrapper.find(CategoriesSelect).setData({ categories })
|
||||
englishLanguage = wrapper.findAll('li').filter(language => language.text() === 'English')
|
||||
englishLanguage.trigger('click')
|
||||
await Vue.nextTick()
|
||||
dataPrivacyButton = await wrapper
|
||||
.find(CategoriesSelect)
|
||||
.find('[data-test="category-buttons-cat12"]')
|
||||
dataPrivacyButton.trigger('click')
|
||||
await Vue.nextTick()
|
||||
})
|
||||
|
||||
it('shows an error toaster when apollo mutation rejects', async () => {
|
||||
@ -370,6 +376,7 @@ describe('ContributionForm.vue', () => {
|
||||
it('supports updating categories', async () => {
|
||||
expectedParams.variables.categoryIds.push('cat3')
|
||||
wrapper.find(CategoriesSelect).setData({ categories })
|
||||
await Vue.nextTick()
|
||||
const healthWellbeingButton = await wrapper
|
||||
.find(CategoriesSelect)
|
||||
.find('[data-test="category-buttons-cat3"]')
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
import DeleteData from './DeleteData.vue'
|
||||
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
|
||||
const localVue = global.localVue
|
||||
@ -168,6 +168,7 @@ describe('DeleteData.vue', () => {
|
||||
it('shows an error toaster when the mutation rejects', async () => {
|
||||
enableDeletionInput = wrapper.find('.enable-deletion-input input')
|
||||
enableDeletionInput.setValue(deleteAccountName)
|
||||
await Vue.nextTick()
|
||||
deleteAccountBtn = wrapper.find('[data-test="delete-button"]')
|
||||
await deleteAccountBtn.trigger('click')
|
||||
// second submission causes mutation to reject
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
|
||||
import Vue from 'vue'
|
||||
import MasonryGrid from './MasonryGrid'
|
||||
|
||||
const localVue = global.localVue
|
||||
@ -13,29 +13,29 @@ describe('MasonryGrid', () => {
|
||||
masonryGridItem = wrapper.vm.$children[0]
|
||||
})
|
||||
|
||||
it('adds the "reset-grid-height" class when itemsCalculating is more than 0', () => {
|
||||
it('adds the "reset-grid-height" class when itemsCalculating is more than 0', async () => {
|
||||
wrapper.setData({ itemsCalculating: 1 })
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(wrapper.classes()).toContain('reset-grid-height')
|
||||
})
|
||||
|
||||
it('removes the "reset-grid-height" class when itemsCalculating is 0', () => {
|
||||
it('removes the "reset-grid-height" class when itemsCalculating is 0', async () => {
|
||||
wrapper.setData({ itemsCalculating: 0 })
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(wrapper.classes()).not.toContain('reset-grid-height')
|
||||
})
|
||||
|
||||
it('adds 1 to itemsCalculating when a child emits "calculating-item-height"', () => {
|
||||
it('adds 1 to itemsCalculating when a child emits "calculating-item-height"', async () => {
|
||||
wrapper.setData({ itemsCalculating: 0 })
|
||||
masonryGridItem.$emit('calculating-item-height')
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(wrapper.vm.itemsCalculating).toBe(1)
|
||||
})
|
||||
|
||||
it('subtracts 1 from itemsCalculating when a child emits "finished-calculating-item-height"', () => {
|
||||
it('subtracts 1 from itemsCalculating when a child emits "finished-calculating-item-height"', async () => {
|
||||
wrapper.setData({ itemsCalculating: 2 })
|
||||
masonryGridItem.$emit('finished-calculating-item-height')
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(wrapper.vm.itemsCalculating).toBe(1)
|
||||
})
|
||||
})
|
||||
|
||||
@ -5,6 +5,7 @@ import DisableModal from './Modal/DisableModal.vue'
|
||||
import ReportModal from './Modal/ReportModal.vue'
|
||||
import Vuex from 'vuex'
|
||||
import { getters, mutations } from '../store/modal'
|
||||
import Vue from 'vue'
|
||||
|
||||
const localVue = global.localVue
|
||||
|
||||
@ -89,8 +90,9 @@ describe('Modal.vue', () => {
|
||||
})
|
||||
|
||||
describe('child component emits close', () => {
|
||||
it('turns empty', () => {
|
||||
it('turns empty', async () => {
|
||||
wrapper.find(DisableModal).vm.$emit('close')
|
||||
await Vue.nextTick()
|
||||
expect(wrapper.contains(DisableModal)).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { config, shallowMount, mount } from '@vue/test-utils'
|
||||
import ReportModal from './ReportModal.vue'
|
||||
import Vue from 'vue'
|
||||
|
||||
const localVue = global.localVue
|
||||
|
||||
@ -151,9 +152,11 @@ describe('ReportModal.vue', () => {
|
||||
})
|
||||
|
||||
describe('click confirm button', () => {
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
wrapper.find('.ds-radio-option-label').trigger('click')
|
||||
await Vue.nextTick()
|
||||
wrapper.find('button.confirm').trigger('click')
|
||||
await Vue.nextTick()
|
||||
})
|
||||
|
||||
it('calls report mutation', () => {
|
||||
|
||||
@ -18,12 +18,23 @@
|
||||
{{ $t('site.faq') }}
|
||||
</a>
|
||||
<span>-</span>
|
||||
<a href="https://github.com/Human-Connection/Human-Connection/releases" target="_blank">
|
||||
{{ $t('site.changelog') }}
|
||||
<a
|
||||
href="https://github.com/Human-Connection/Human-Connection/blob/master/CHANGELOG.md"
|
||||
target="_blank"
|
||||
>
|
||||
{{ version }}
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return { version: `v${process.env.release}` }
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.ds-footer {
|
||||
text-align: center;
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import { config, mount } from '@vue/test-utils'
|
||||
import Vue from 'vue'
|
||||
import { VERSION } from '~/constants/terms-and-conditions-version.js'
|
||||
import CreateUserAccount from './CreateUserAccount'
|
||||
import { SignupVerificationMutation } from '~/graphql/Registration.js'
|
||||
|
||||
const localVue = global.localVue
|
||||
|
||||
config.stubs['sweetalert-icon'] = '<span><slot /></span>'
|
||||
@ -110,6 +110,7 @@ describe('CreateUserAccount', () => {
|
||||
|
||||
it('displays success', async () => {
|
||||
await action()
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$t).toHaveBeenCalledWith(
|
||||
'components.registration.create-user-account.success',
|
||||
)
|
||||
@ -140,6 +141,7 @@ describe('CreateUserAccount', () => {
|
||||
|
||||
it('displays form errors', async () => {
|
||||
await action()
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$t).toHaveBeenCalledWith(
|
||||
'components.registration.create-user-account.error',
|
||||
)
|
||||
|
||||
@ -70,14 +70,6 @@ export default {
|
||||
showCropper: false,
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
error() {
|
||||
const that = this
|
||||
setTimeout(function() {
|
||||
that.error = false
|
||||
}, 2000)
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
template() {
|
||||
return `<div class="dz-preview dz-file-preview">
|
||||
@ -90,6 +82,9 @@ export default {
|
||||
verror(file, message) {
|
||||
this.error = true
|
||||
this.$toast.error(file.status, message)
|
||||
setTimeout(() => {
|
||||
this.error = false
|
||||
}, 2000)
|
||||
},
|
||||
transformImage(file) {
|
||||
this.file = file
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import { shallowMount } from '@vue/test-utils'
|
||||
import Vue from 'vue'
|
||||
import Upload from '.'
|
||||
|
||||
const localVue = global.localVue
|
||||
@ -57,8 +58,9 @@ describe('Upload', () => {
|
||||
expect(mocks.$toast.error).toHaveBeenCalledWith(fileError.status, message)
|
||||
})
|
||||
|
||||
it('changes error status from false to true to false', () => {
|
||||
it('changes error status from false to true to false', async () => {
|
||||
wrapper.vm.verror(fileError, message)
|
||||
await Vue.nextTick()
|
||||
expect(wrapper.vm.error).toEqual(true)
|
||||
jest.runAllTimers()
|
||||
expect(wrapper.vm.error).toEqual(false)
|
||||
|
||||
@ -87,11 +87,10 @@ describe('SearchableInput.vue', () => {
|
||||
select.trigger('input')
|
||||
const post = wrapper.find('.search-post')
|
||||
post.trigger('click')
|
||||
await Vue.nextTick().then(() => {
|
||||
expect(mocks.$router.push).toHaveBeenCalledWith({
|
||||
name: 'post-id-slug',
|
||||
params: { id: 'post-by-jenny', slug: 'user-post-by-jenny' },
|
||||
})
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$router.push).toHaveBeenCalledWith({
|
||||
name: 'post-id-slug',
|
||||
params: { id: 'post-by-jenny', slug: 'user-post-by-jenny' },
|
||||
})
|
||||
})
|
||||
|
||||
@ -101,11 +100,10 @@ describe('SearchableInput.vue', () => {
|
||||
const users = wrapper.findAll('.userinfo')
|
||||
const bob = users.filter(item => item.text() === '@bob-der-baumeister')
|
||||
bob.trigger('click')
|
||||
await Vue.nextTick().then(() => {
|
||||
expect(mocks.$router.push).toHaveBeenCalledWith({
|
||||
name: 'profile-id-slug',
|
||||
params: { id: 'u2', slug: 'bob-der-baumeister' },
|
||||
})
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$router.push).toHaveBeenCalledWith({
|
||||
name: 'profile-id-slug',
|
||||
params: { id: 'u2', slug: 'bob-der-baumeister' },
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@ -624,7 +624,6 @@
|
||||
"imprint": "Impressum",
|
||||
"termsAndConditions": "Nutzungsbedingungen",
|
||||
"data-privacy": "Datenschutz",
|
||||
"changelog": "Änderungen",
|
||||
"contact": "Kontakt",
|
||||
"tribunal": "Registergericht",
|
||||
"register": "Registernummer",
|
||||
@ -771,8 +770,7 @@
|
||||
"4": "Temporärer Entzug von Schreibrechten",
|
||||
"5": "Vorübergehender Ausschluss aus dem Netzwerk",
|
||||
"6": "Endgültiger Ausschluss aus dem Netzwerk",
|
||||
"7": "Verstöße gegen deutsches Recht können zur Anzeige gebracht werden.",
|
||||
"8": "Meldung von Vorkommnissen"
|
||||
"7": "Verstöße gegen deutsches Recht können zur Anzeige gebracht werden."
|
||||
}
|
||||
},
|
||||
"get-help": "Wenn Du einem inakzeptablen Verhalten ausgesetzt bist, es miterlebst oder andere Bedenken hast, benachrichtige bitte so schnell wie möglich einen Organisator der Gemeinschaft und verlinke oder verweise auf den entsprechenden Inhalt:"
|
||||
|
||||
@ -107,7 +107,6 @@
|
||||
"imprint": "Imprint",
|
||||
"termsAndConditions": "Terms and conditions",
|
||||
"data-privacy": "Data privacy",
|
||||
"changelog": "Changes",
|
||||
"contact": "Contact",
|
||||
"tribunal": "Registry court",
|
||||
"register": "Registry number",
|
||||
@ -764,8 +763,7 @@
|
||||
"4": "Temporary withdrawal of write permissions",
|
||||
"5": "Temporary exclusion from the network",
|
||||
"6": "Final exclusion from the network",
|
||||
"7": "Violations of German law can be reported.",
|
||||
"8": "Advocacy or encouragement to these behaviors."
|
||||
"7": "Violations of German law can be reported."
|
||||
}
|
||||
},
|
||||
"get-help": "If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible and link or refer to the corresponding content:"
|
||||
|
||||
@ -619,7 +619,6 @@
|
||||
"imprint": "Pie de imprenta",
|
||||
"termsAndConditions": "Términos y condiciones",
|
||||
"data-privacy": "Protección de datos",
|
||||
"changelog": "Cambios e historia",
|
||||
"contact": "Contacto",
|
||||
"tribunal": "Tribunal de registro",
|
||||
"register": "Número de registro",
|
||||
@ -757,8 +756,7 @@
|
||||
"4": "Retirada temporal de permisos de escritura",
|
||||
"5": "Exclusión temporal de la red.",
|
||||
"6": "Exclusión definitiva de la red",
|
||||
"7": "Las violaciones de la ley alemana pueden ser denunciadas.",
|
||||
"8": "Notificación de incidentes"
|
||||
"7": "Las violaciones de la ley alemana pueden ser denunciadas."
|
||||
}
|
||||
},
|
||||
"get-help": "Si usted está sujeto a un comportamiento inaceptable, lo experimenta o tiene otras preocupaciones, por favor notifique a un organizador de la comunidad tan pronto como sea posible y enlace o apunte el contenido relevante:"
|
||||
|
||||
@ -561,7 +561,6 @@
|
||||
"imprint": "Mentions légales",
|
||||
"termsAndConditions": "Conditions générales",
|
||||
"data-privacy": "Protection des données",
|
||||
"changelog": "Changements et historique",
|
||||
"contact": "Contacter",
|
||||
"tribunal": "Tribunal de registre",
|
||||
"register": "Numéro de registre",
|
||||
@ -699,8 +698,7 @@
|
||||
"4": "Retrait temporaire des droits d'écriture",
|
||||
"5": "Exclusion temporaire du réseau",
|
||||
"6": "Exclusion définitive du réseau",
|
||||
"7": "Des violations du droit allemand peuvent être signalées.",
|
||||
"8": "Plaidoyer ou encouragement à ces comportements."
|
||||
"7": "Des violations du droit allemand peuvent être signalées."
|
||||
}
|
||||
},
|
||||
"get-help": "Si vous êtes victime ou témoin d'un comportement inacceptable, ou si vous avez d'autres préoccupations, veuillez en aviser un organisateur communautaire dès que possible et établir un lien ou vous référer au contenu correspondant:"
|
||||
|
||||
@ -561,7 +561,6 @@
|
||||
"imprint": "Impressum",
|
||||
"termsAndConditions": "",
|
||||
"data-privacy": "protezione dei dati",
|
||||
"changelog": "Cambiamenti e storia",
|
||||
"contact": "Contatto",
|
||||
"tribunal": "registro tribunale",
|
||||
"register": "numero di registro",
|
||||
@ -699,8 +698,7 @@
|
||||
"4": "Revoca temporanea delle autorizzazioni di scrittura",
|
||||
"5": "Esclusione temporanea dalla rete",
|
||||
"6": "Esclusione definitiva dalla rete",
|
||||
"7": "Violazioni della legge tedesca possono essere segnalate.",
|
||||
"8": "Sostegno o incoraggiamento a questi comportamenti."
|
||||
"7": "Violazioni della legge tedesca possono essere segnalate."
|
||||
}
|
||||
},
|
||||
"get-help": "Se sei soggetto o testimone di un comportamento inaccettabile, o se hai altre preoccupazioni, ti preghiamo di avvisare al più presto un organizzatore della comunità e di fare riferimento al contenuto corrispondente:"
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
"imprint": "Afdruk",
|
||||
"termsAc": "Gebruiksvoorwaarden",
|
||||
"data-privacy": "gegevensbescherming",
|
||||
"changelog": "Veranderingen & Geschiedenis",
|
||||
"contact": "contact",
|
||||
"tribunal": "registerrechtbank",
|
||||
"register": "inschrijfnummer",
|
||||
|
||||
@ -34,7 +34,6 @@
|
||||
"imprint": "Nadruk",
|
||||
"termsAc": "Warunki użytkowania",
|
||||
"data-privacy": "ochrona danych",
|
||||
"changelog": "Zmiany i historia",
|
||||
"contact": "Kontakt",
|
||||
"tribunal": "sąd rejestrowy",
|
||||
"register": "numer rejestracyjny",
|
||||
|
||||
@ -561,7 +561,6 @@
|
||||
"imprint": "Impressão",
|
||||
"termsAndConditions": "Termos e Condições",
|
||||
"data-privacy": "Proteção de Dados",
|
||||
"changelog": "Mudanças e Histórico",
|
||||
"contact": "Contato",
|
||||
"tribunal": "tribunal de registo",
|
||||
"register": "número de registo",
|
||||
@ -699,8 +698,7 @@
|
||||
"4": "Retirada temporária de permissão de escrita",
|
||||
"5": "Exclusão temporária da rede",
|
||||
"6": "Exclusão definitiva da rede",
|
||||
"7": "Violações da lei alemã podem ser denunciadas",
|
||||
"8": "Divulgação ou incentivo a estes comportamentos."
|
||||
"7": "Violações da lei alemã podem ser denunciadas"
|
||||
}
|
||||
},
|
||||
"get-help": "Se você for vítima ou testemunhar um comportamento inaceitável, ou tiver qualquer outra preocupação, por favor notifique um organizador da comunidade o mais rápido possível e inclua o link ou mencione o conteúdo correspondente:"
|
||||
@ -749,4 +747,4 @@
|
||||
"donate-now": "Doe agora",
|
||||
"amount-of-total": "{amount} dos {total} € foram coletados"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -91,8 +91,7 @@
|
||||
"4": "Временный запрет на добавление контента",
|
||||
"5": "Временное исключение из сети",
|
||||
"6": "Окончательное исключение из сети",
|
||||
"7": "Передача сведений о нарушениях немецкого законодательства.",
|
||||
"8": "Пропаганда или поощрение такого поведения."
|
||||
"7": "Передача сведений о нарушениях немецкого законодательства."
|
||||
},
|
||||
"title": "Последствия неприемлемого поведения"
|
||||
},
|
||||
@ -734,7 +733,6 @@
|
||||
"site": {
|
||||
"back-to-login": "Вернуться на страницу входа",
|
||||
"bank": "банковский счет",
|
||||
"changelog": "Изменения",
|
||||
"code-of-conduct": "Кодекс поведения",
|
||||
"contact": "Контакт",
|
||||
"data-privacy": "Конфиденциальность",
|
||||
@ -811,4 +809,4 @@
|
||||
"submitted": "Успешная загрузка!"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,6 +35,7 @@ export default {
|
||||
},
|
||||
|
||||
env: {
|
||||
release: pkg.version,
|
||||
// pages which do NOT require a login
|
||||
publicPages: [
|
||||
'login',
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hc-webapp-next",
|
||||
"version": "1.0.0",
|
||||
"name": "human-connection-webapp",
|
||||
"version": "0.2.1",
|
||||
"description": "Human Connection Frontend",
|
||||
"authors": [
|
||||
"Grzegorz Leoniec (appinteractive)",
|
||||
@ -99,14 +99,14 @@
|
||||
"@babel/core": "~7.8.3",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||
"@babel/preset-env": "~7.8.3",
|
||||
"@storybook/addon-a11y": "^5.3.3",
|
||||
"@storybook/addon-actions": "^5.3.3",
|
||||
"@storybook/addon-notes": "^5.3.3",
|
||||
"@storybook/vue": "~5.3.3",
|
||||
"@storybook/addon-a11y": "^5.3.6",
|
||||
"@storybook/addon-actions": "^5.3.5",
|
||||
"@storybook/addon-notes": "^5.3.6",
|
||||
"@storybook/vue": "~5.3.6",
|
||||
"@vue/cli-shared-utils": "~4.1.2",
|
||||
"@vue/eslint-config-prettier": "~6.0.0",
|
||||
"@vue/server-test-utils": "~1.0.0-beta.30",
|
||||
"@vue/test-utils": "~1.0.0-beta.29",
|
||||
"@vue/test-utils": "~1.0.0-beta.30",
|
||||
"async-validator": "^3.2.3",
|
||||
"babel-core": "~7.0.0-bridge.0",
|
||||
"babel-eslint": "~10.0.3",
|
||||
@ -133,7 +133,7 @@
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "~24.9.0",
|
||||
"mutation-observer": "^1.0.3",
|
||||
"node-sass": "~4.13.0",
|
||||
"node-sass": "~4.13.1",
|
||||
"prettier": "~1.19.1",
|
||||
"sass-loader": "~8.0.2",
|
||||
"storybook-design-token": "^0.5.0",
|
||||
|
||||
@ -56,7 +56,7 @@ export default {
|
||||
},
|
||||
{
|
||||
key: 'consequences',
|
||||
items: [...Array(9).keys()],
|
||||
items: [...Array(8).keys()],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ import { mount } from '@vue/test-utils'
|
||||
import flushPromises from 'flush-promises'
|
||||
import MySocialMedia from './my-social-media.vue'
|
||||
import Vuex from 'vuex'
|
||||
import Vue from 'vue'
|
||||
|
||||
const localVue = global.localVue
|
||||
|
||||
@ -48,10 +49,10 @@ describe('my-social-media.vue', () => {
|
||||
submitButton = wrapper.find('button')
|
||||
})
|
||||
|
||||
it('requires the link to be a valid url', () => {
|
||||
it('requires the link to be a valid url', async () => {
|
||||
input.setValue('some value')
|
||||
form.trigger('submit')
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
@ -59,19 +60,19 @@ describe('my-social-media.vue', () => {
|
||||
mocks.$apollo.mutate.mockRejectedValue({ message: 'Ouch!' })
|
||||
input.setValue(newSocialMediaUrl)
|
||||
form.trigger('submit')
|
||||
|
||||
await Vue.nextTick()
|
||||
await flushPromises()
|
||||
|
||||
expect(mocks.$toast.error).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
describe('success', () => {
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
mocks.$apollo.mutate.mockResolvedValue({
|
||||
data: { CreateSocialMedia: { id: 's2', url: newSocialMediaUrl } },
|
||||
})
|
||||
input.setValue(newSocialMediaUrl)
|
||||
form.trigger('submit')
|
||||
await Vue.nextTick()
|
||||
})
|
||||
|
||||
it('sends the new url to the backend', () => {
|
||||
@ -84,13 +85,11 @@ describe('my-social-media.vue', () => {
|
||||
|
||||
it('displays a success message', async () => {
|
||||
await flushPromises()
|
||||
|
||||
expect(mocks.$toast.success).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
it('clears the form', async () => {
|
||||
await flushPromises()
|
||||
|
||||
expect(input.value).toBe(undefined)
|
||||
expect(submitButton.vm.$attrs.disabled).toBe(true)
|
||||
})
|
||||
@ -127,19 +126,18 @@ describe('my-social-media.vue', () => {
|
||||
})
|
||||
})
|
||||
|
||||
it('does not accept a duplicate url', () => {
|
||||
input = wrapper.find('input#addSocialMedia')
|
||||
|
||||
input.setValue(socialMediaUrl)
|
||||
it('does not accept a duplicate url', async () => {
|
||||
wrapper.find('input#addSocialMedia').setValue(socialMediaUrl)
|
||||
form.trigger('submit')
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$apollo.mutate).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
describe('editing social media link', () => {
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
const editButton = wrapper.find('.base-button[data-test="edit-button"]')
|
||||
editButton.trigger('click')
|
||||
await Vue.nextTick()
|
||||
input = wrapper.find('input#editSocialMedia')
|
||||
})
|
||||
|
||||
@ -149,28 +147,29 @@ describe('my-social-media.vue', () => {
|
||||
expect(addInput.exists()).toBe(false)
|
||||
})
|
||||
|
||||
it('sends the new url to the backend', () => {
|
||||
it('sends the new url to the backend', async () => {
|
||||
const expected = expect.objectContaining({
|
||||
variables: { id: 's1', url: newSocialMediaUrl },
|
||||
})
|
||||
input.setValue(newSocialMediaUrl)
|
||||
form.trigger('submit')
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$apollo.mutate).toHaveBeenCalledWith(expected)
|
||||
})
|
||||
|
||||
it('allows the user to cancel editing', () => {
|
||||
it('allows the user to cancel editing', async () => {
|
||||
const cancelButton = wrapper.find('button#cancel')
|
||||
cancelButton.trigger('click')
|
||||
|
||||
await Vue.nextTick()
|
||||
expect(wrapper.find('input#editSocialMedia').exists()).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
describe('deleting social media link', () => {
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
const deleteButton = wrapper.find('.base-button[data-test="delete-button"]')
|
||||
deleteButton.trigger('click')
|
||||
await Vue.nextTick()
|
||||
})
|
||||
|
||||
it('sends the link id to the backend', () => {
|
||||
@ -184,7 +183,6 @@ describe('my-social-media.vue', () => {
|
||||
|
||||
it('displays a success message', async () => {
|
||||
await flushPromises()
|
||||
|
||||
expect(mocks.$toast.success).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
})
|
||||
|
||||
456
webapp/yarn.lock
456
webapp/yarn.lock
@ -2145,17 +2145,17 @@
|
||||
source-map-support "^0.5.7"
|
||||
tslib "^1.9.3"
|
||||
|
||||
"@storybook/addon-a11y@^5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-5.3.3.tgz#1412bb9ef7acae1e5eb59479b47b392a2c13a080"
|
||||
integrity sha512-ToppQLcijMNEvncH7QsuYIkz+27j1+O6P63/q86XAKx1qJdVOyKY+XGNGR5y0UxtBpUT+iX1wOcrEEWxjqDfhQ==
|
||||
"@storybook/addon-a11y@^5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-5.3.6.tgz#d713a245331aca38c064c027ded8ed6f2946684b"
|
||||
integrity sha512-nVGh9pZkcjtR4irtzCsxv+NbmqzU/Me2+sdjwVo9B7PYCcLUnRwo4ri1j3g7m85W20eS1hyaKe5yLzkaentPNg==
|
||||
dependencies:
|
||||
"@storybook/addons" "5.3.3"
|
||||
"@storybook/api" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/components" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
"@storybook/theming" "5.3.3"
|
||||
"@storybook/addons" "5.3.6"
|
||||
"@storybook/api" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/components" "5.3.6"
|
||||
"@storybook/core-events" "5.3.6"
|
||||
"@storybook/theming" "5.3.6"
|
||||
axe-core "^3.3.2"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
@ -2167,17 +2167,17 @@
|
||||
ts-dedent "^1.1.0"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/addon-actions@^5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-5.3.3.tgz#f4ca93b842a74a07fbdd9adf209a4f616899286e"
|
||||
integrity sha512-IZsM3mNpwUBdOIeSNaak3tVntw9TVHWFo6jC4rQKGSSKoi7hE2bL/tTYogxgtMw+99rNFNBFcmumTtX+jDXPyw==
|
||||
"@storybook/addon-actions@^5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-5.3.5.tgz#a6324f5263064567eb20f86dc9b32b9eefb3dcbc"
|
||||
integrity sha512-tP+f3psEFf/F97d1cyL/xRw7oKbm1pdAIu/oF37LHH8y1kSCNwJwGnoJBtA8ldLtYms0UZq8Pg4gpYlFPhiXCA==
|
||||
dependencies:
|
||||
"@storybook/addons" "5.3.3"
|
||||
"@storybook/api" "5.3.3"
|
||||
"@storybook/client-api" "5.3.3"
|
||||
"@storybook/components" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
"@storybook/theming" "5.3.3"
|
||||
"@storybook/addons" "5.3.5"
|
||||
"@storybook/api" "5.3.5"
|
||||
"@storybook/client-api" "5.3.5"
|
||||
"@storybook/components" "5.3.5"
|
||||
"@storybook/core-events" "5.3.5"
|
||||
"@storybook/theming" "5.3.5"
|
||||
core-js "^3.0.1"
|
||||
fast-deep-equal "^2.0.1"
|
||||
global "^4.3.2"
|
||||
@ -2187,18 +2187,18 @@
|
||||
react-inspector "^4.0.0"
|
||||
uuid "^3.3.2"
|
||||
|
||||
"@storybook/addon-notes@^5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addon-notes/-/addon-notes-5.3.3.tgz#910f6b5c22126d0b2bd68b8fa4f5aad40332a53d"
|
||||
integrity sha512-HTAGejqXlKg6tsGKKRoaDvDy16feGHWC90WopP1CHl2j+ws2BIBdwPUTuzkIp9sV0Es9vLzMfyzShoV2yKQxGw==
|
||||
"@storybook/addon-notes@^5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addon-notes/-/addon-notes-5.3.6.tgz#02b40c0b034b75f8142f36d39074cf4c9bae3f1a"
|
||||
integrity sha512-hJK1tMerdyFPcfL/e3E1pSMc4vpqCTBvQISp1m3JuMwg4K399eWXJpRpIFLGh2MEKvnLEjZb7o1qzuNDQMuyMQ==
|
||||
dependencies:
|
||||
"@storybook/addons" "5.3.3"
|
||||
"@storybook/api" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/components" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
"@storybook/router" "5.3.3"
|
||||
"@storybook/theming" "5.3.3"
|
||||
"@storybook/addons" "5.3.6"
|
||||
"@storybook/api" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/components" "5.3.6"
|
||||
"@storybook/core-events" "5.3.6"
|
||||
"@storybook/router" "5.3.6"
|
||||
"@storybook/theming" "5.3.6"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
markdown-to-jsx "^6.10.3"
|
||||
@ -2219,15 +2219,28 @@
|
||||
global "^4.3.2"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/addons@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-5.3.3.tgz#d1383379c27c205bd36961a5a833f1eec3850dd4"
|
||||
integrity sha512-B7X21g+mlH0SMmP9MEgLPJltRjr36n9OtUtXkMhPae/B4AwiAm+krXmE4OxC5IEyl6m9Tmp4DJDYyZ2afzLBDg==
|
||||
"@storybook/addons@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-5.3.5.tgz#0ee41838d8fde8787ca7366bc42039adae55cab3"
|
||||
integrity sha512-s7zWmnNxpwnEpb3kG1+dRudaK+RRezOH6WC3QlNqU8j1trlhFgbooqV2nIsC6yj57OZn4MLHtzuFelxs9jqTzg==
|
||||
dependencies:
|
||||
"@storybook/api" "5.3.3"
|
||||
"@storybook/channels" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
"@storybook/api" "5.3.5"
|
||||
"@storybook/channels" "5.3.5"
|
||||
"@storybook/client-logger" "5.3.5"
|
||||
"@storybook/core-events" "5.3.5"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/addons@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-5.3.6.tgz#93c5492f09b54cee4885192a0fa79465aa91751f"
|
||||
integrity sha512-WXsIWOO9/0ydl0C2cGwGd6qrd4L49SoXLNiErDxmjIgLXOVicylCC3JRsExcBOlvmcfPpQniBDNFTXnl6NUldw==
|
||||
dependencies:
|
||||
"@storybook/api" "5.3.6"
|
||||
"@storybook/channels" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/core-events" "5.3.6"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
util-deprecate "^1.0.2"
|
||||
@ -2255,18 +2268,18 @@
|
||||
telejson "^3.0.2"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/api@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/api/-/api-5.3.3.tgz#a9d4f6a61167bfc2bf1197f361f4d3c5ae7d9143"
|
||||
integrity sha512-ZxehdzUelOABCWvDT33PukMD1eJhum3K60NMb5Pf46zvMJYbLLgPPszf6hBPjv1FmeZlYzfReyLVOhhUixYUyQ==
|
||||
"@storybook/api@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/api/-/api-5.3.5.tgz#0641daac9b734e5260397b8789b774026126636a"
|
||||
integrity sha512-fDRxpD1fUD/16Z+OnG6rFD71o9A2TyCXGS0Ey1yaNiqnroPplD2kwjz2T4iLsJwvIu3pSnvDCjijbLqYsfeaPg==
|
||||
dependencies:
|
||||
"@reach/router" "^1.2.1"
|
||||
"@storybook/channels" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
"@storybook/channels" "5.3.5"
|
||||
"@storybook/client-logger" "5.3.5"
|
||||
"@storybook/core-events" "5.3.5"
|
||||
"@storybook/csf" "0.0.1"
|
||||
"@storybook/router" "5.3.3"
|
||||
"@storybook/theming" "5.3.3"
|
||||
"@storybook/router" "5.3.5"
|
||||
"@storybook/theming" "5.3.5"
|
||||
"@types/reach__router" "^1.2.3"
|
||||
core-js "^3.0.1"
|
||||
fast-deep-equal "^2.0.1"
|
||||
@ -2281,13 +2294,50 @@
|
||||
telejson "^3.2.0"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/channel-postmessage@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-5.3.3.tgz#085e0af0ebe2b32d2ba0efced90a1036ac5614a3"
|
||||
integrity sha512-2MxXF/7TI8QXi+ATr5kzU06SsOSFuzX5s244Lp016VFdBj5o93rEpOdpDjanh+2AWYTeJY1lvk6QLUzuMqydpA==
|
||||
"@storybook/api@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/api/-/api-5.3.6.tgz#687b58cf31994304d0262f873e611b283b6603a4"
|
||||
integrity sha512-ka05nIo+KGR1kaZZUqQ0Mmn9wVgXGi7yYzfAdtdqrK2WB2xBt78pEHU00U84Qav4rk85g/U68b7tek+oE1wmUw==
|
||||
dependencies:
|
||||
"@storybook/channels" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@reach/router" "^1.2.1"
|
||||
"@storybook/channels" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/core-events" "5.3.6"
|
||||
"@storybook/csf" "0.0.1"
|
||||
"@storybook/router" "5.3.6"
|
||||
"@storybook/theming" "5.3.6"
|
||||
"@types/reach__router" "^1.2.3"
|
||||
core-js "^3.0.1"
|
||||
fast-deep-equal "^2.0.1"
|
||||
global "^4.3.2"
|
||||
lodash "^4.17.15"
|
||||
memoizerific "^1.11.3"
|
||||
prop-types "^15.6.2"
|
||||
react "^16.8.3"
|
||||
semver "^6.0.0"
|
||||
shallow-equal "^1.1.0"
|
||||
store2 "^2.7.1"
|
||||
telejson "^3.2.0"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/channel-postmessage@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-5.3.5.tgz#cdf6b41d5e07ba913443c37b1d0e5c978eebfbfb"
|
||||
integrity sha512-wpKXbrh3lYgZc7RFHyyFvxyYaf1XLiIz1tN5ANpahjF1vp0rnZbNcUDqTHFAG1EDvIPMPcIdrUfdfu4RDXG44A==
|
||||
dependencies:
|
||||
"@storybook/channels" "5.3.5"
|
||||
"@storybook/client-logger" "5.3.5"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
telejson "^3.2.0"
|
||||
|
||||
"@storybook/channel-postmessage@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-5.3.6.tgz#fca25bd26ad3365901e2e7941e9d39d9fa92a816"
|
||||
integrity sha512-mCRc4vkIKIylu0V2T6fmTDnpIT9Gp2nEFKgG0Q7QnUlITAYdM0mhrm/5jDH1BmpbFhAvaX2EBI1GYnuS/bEa0Q==
|
||||
dependencies:
|
||||
"@storybook/channels" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
telejson "^3.2.0"
|
||||
@ -2299,23 +2349,52 @@
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/channels@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-5.3.3.tgz#839b02ce5527326e73af2e9003b3ab5d4642e1d6"
|
||||
integrity sha512-HmIviGw9yv3T19PNBizHW0H67exqQQcwk82AJ76upEJ6iE5CMRZd7WYU7UM6ul00yfy8F+afAVlYCg2p79bQ+g==
|
||||
"@storybook/channels@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-5.3.5.tgz#8c9959aa8d8281d6416605f276f85082ceee8afb"
|
||||
integrity sha512-er5H7xklnQEuY1E+Ai20ROgsIIu0vSVL3TgvHUGBn5x4gjJnZay86l5qYwknXHMDZdiZjLjIzTez1KRPT/vtnQ==
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/client-api@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-5.3.3.tgz#e9693c0c765d00e6dd1522350ff7ee03c1a815ee"
|
||||
integrity sha512-CexHAvfdHvYVJbVvEwDA+2WGKeVr+QDIHgI/n16CPPSQ4LwWbe2DXD4Iy7lZj5+WiziZ7B6jAzpM+lTwhbSQHQ==
|
||||
"@storybook/channels@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-5.3.6.tgz#ed4a504fb64829d6d1bdb2ee3d48b70a33847b73"
|
||||
integrity sha512-di3BcoM/O1MR749TW7NDI5q3IXAF4Tqt73CVWOLqc/ZE4c/a70rGJ8rHbWKRfXBdJlgvEU7e82SmJz0MiW0A5Q==
|
||||
dependencies:
|
||||
"@storybook/addons" "5.3.3"
|
||||
"@storybook/channel-postmessage" "5.3.3"
|
||||
"@storybook/channels" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/client-api@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-5.3.5.tgz#4388e85f99b63c128989b82dcb7be60fe515b14c"
|
||||
integrity sha512-tRw2gPi8IVEhQw6G26ppyudd/ThDk2KJbzWHDru8Tbl8f75Ir2Z1PMmRe5XVhy689NYYT/fBfuhOlignjkrlWw==
|
||||
dependencies:
|
||||
"@storybook/addons" "5.3.5"
|
||||
"@storybook/channel-postmessage" "5.3.5"
|
||||
"@storybook/channels" "5.3.5"
|
||||
"@storybook/client-logger" "5.3.5"
|
||||
"@storybook/core-events" "5.3.5"
|
||||
"@storybook/csf" "0.0.1"
|
||||
core-js "^3.0.1"
|
||||
eventemitter3 "^4.0.0"
|
||||
global "^4.3.2"
|
||||
is-plain-object "^3.0.0"
|
||||
lodash "^4.17.15"
|
||||
memoizerific "^1.11.3"
|
||||
qs "^6.6.0"
|
||||
stable "^0.1.8"
|
||||
ts-dedent "^1.1.0"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/client-api@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-5.3.6.tgz#458141e85f8e564a2819b51b062bac2618821b6a"
|
||||
integrity sha512-bp6MMsjprb7R1lrX4491WDaKKUItvzkh/GXU19GEOPdf490w8+dqZHisoNvVoMr6fACdiMwagxdN/+ZPHxd+Rg==
|
||||
dependencies:
|
||||
"@storybook/addons" "5.3.6"
|
||||
"@storybook/channel-postmessage" "5.3.6"
|
||||
"@storybook/channels" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/core-events" "5.3.6"
|
||||
"@storybook/csf" "0.0.1"
|
||||
core-js "^3.0.1"
|
||||
eventemitter3 "^4.0.0"
|
||||
@ -2335,10 +2414,17 @@
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/client-logger@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.3.3.tgz#c4cffb0523c2a5ca53c9ec2060e9433d135172e6"
|
||||
integrity sha512-iyW8aZBNWm2xN4vfRsNC27/b6i7s8hg6aWvtJ+7y91MPn+NL6QgWi5YOaNc8hA3RY5fe+yEOM6H6fkLk0PsWEQ==
|
||||
"@storybook/client-logger@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.3.5.tgz#6709098482b69d248df6908f6b25f172def62ca9"
|
||||
integrity sha512-KBLSZCELjaktkDVuPw6qe+P1V4CPev/JyYsCkaGwkVUVudFJd0pZQ2tNHWLdEXpwn95k2OFoG3oLtzox5LptlA==
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/client-logger@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.3.6.tgz#d37ac813701e8a3cc1e25b6ec017808142a421a0"
|
||||
integrity sha512-B9FOMLJOmqgibxfPY9yEKXZjNWoSZ9uW7tzdwTFydvcXVf3hSGdJa102w0jEGmgautRRRQOnJ1MXkVJlMnI3MQ==
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
@ -2367,13 +2453,40 @@
|
||||
react-textarea-autosize "^7.1.0"
|
||||
simplebar-react "^1.0.0-alpha.6"
|
||||
|
||||
"@storybook/components@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.3.3.tgz#06e18f8b4872b17cd0a303cee7e989221ac7ba57"
|
||||
integrity sha512-8S02WhMHBHD7CRpQTmWQXUWcbWiJ7kJ6fy0arTzM3MGe/TD9sR2691F0aXeZPljodkPBqj4JKUSTi+HujLAT5A==
|
||||
"@storybook/components@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.3.5.tgz#3b2e93ed140c351775f43f4c8e4947144feb3a05"
|
||||
integrity sha512-B8z5GwL5LL9lCwCTuJ1Amod6QJC1FfRfnTZYxUgRxG1EfiYsejoFeB2tOKlIy/EaX8Lmm3XE47A9I1FhBWvCHw==
|
||||
dependencies:
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/theming" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.5"
|
||||
"@storybook/theming" "5.3.5"
|
||||
"@types/react-syntax-highlighter" "11.0.2"
|
||||
"@types/react-textarea-autosize" "^4.3.3"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
lodash "^4.17.15"
|
||||
markdown-to-jsx "^6.9.1"
|
||||
memoizerific "^1.11.3"
|
||||
polished "^3.3.1"
|
||||
popper.js "^1.14.7"
|
||||
prop-types "^15.7.2"
|
||||
react "^16.8.3"
|
||||
react-dom "^16.8.3"
|
||||
react-focus-lock "^2.1.0"
|
||||
react-helmet-async "^1.0.2"
|
||||
react-popper-tooltip "^2.8.3"
|
||||
react-syntax-highlighter "^11.0.2"
|
||||
react-textarea-autosize "^7.1.0"
|
||||
simplebar-react "^1.0.0-alpha.6"
|
||||
ts-dedent "^1.1.0"
|
||||
|
||||
"@storybook/components@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.3.6.tgz#6fe38ac9ba62c982842bfcb06690c3f4fef8be06"
|
||||
integrity sha512-9XhQyTF884XFdCdsJT2/xRTmMW2a1CBpZCHHC/Xvs85AZ9YeLcp7eDfeu72KMa7FApKH5wuh4JiY5nBgmkQShg==
|
||||
dependencies:
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/theming" "5.3.6"
|
||||
"@types/react-syntax-highlighter" "11.0.2"
|
||||
"@types/react-textarea-autosize" "^4.3.3"
|
||||
core-js "^3.0.1"
|
||||
@ -2401,33 +2514,40 @@
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/core-events@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-5.3.3.tgz#ab09b2dc1219253888e11dd85fd58005121b8e9c"
|
||||
integrity sha512-D1NpSMUCmd4N1n6iiIo3E2S5bGgZUao8EvQRgQUC15yX/cgvUwZ2bN5QLoekK0ybxTzLQMcicMxt+ti3tiTBSg==
|
||||
"@storybook/core-events@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-5.3.5.tgz#ec09846ec21a130906014837bdd755cc1e4eb9e0"
|
||||
integrity sha512-+nXv/yh6RiVQXO0OzkdclDmHrYUS42ora5xyeoEmWc6z6i46wi8KG4XQSrWQ+gHi+ORY6poGIFYMNlk78fmb9g==
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/core@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/core/-/core-5.3.3.tgz#4fae6ddce6a84fb181b98867c468329c54676958"
|
||||
integrity sha512-JO9iTeRCYWeqF7Gtl00lru0Zx69dCGhFPAvP/deGI12ZQX3psdyS3Vq9IgLUpqXTs4uf/aGAzsbxq56vaAdrbg==
|
||||
"@storybook/core-events@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-5.3.6.tgz#41760f8a61958cfa2a468084460da08339c74d9b"
|
||||
integrity sha512-EO9fyMY9O+jjPb9tKIjh+laMy33UPcejnkKq03uv82+VymwU4O9G/FW/JHzjDM0h0ycGy07/5JLfbMtXyCXT3w==
|
||||
dependencies:
|
||||
core-js "^3.0.1"
|
||||
|
||||
"@storybook/core@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/core/-/core-5.3.6.tgz#689073a6d92a4dbeaa23013356e1f411edcde84f"
|
||||
integrity sha512-0ROrZi4VlX48/bBMywy94Er5kzktiyYttiL0A7V90PB8U6cRQE73ec8lWKlgz7uSLqBt9jHc00AWIQbNeHNRxw==
|
||||
dependencies:
|
||||
"@babel/plugin-proposal-class-properties" "^7.7.0"
|
||||
"@babel/plugin-proposal-object-rest-spread" "^7.6.2"
|
||||
"@babel/plugin-syntax-dynamic-import" "^7.2.0"
|
||||
"@babel/plugin-transform-react-constant-elements" "^7.2.0"
|
||||
"@babel/preset-env" "^7.4.5"
|
||||
"@storybook/addons" "5.3.3"
|
||||
"@storybook/channel-postmessage" "5.3.3"
|
||||
"@storybook/client-api" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
"@storybook/addons" "5.3.6"
|
||||
"@storybook/channel-postmessage" "5.3.6"
|
||||
"@storybook/client-api" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/core-events" "5.3.6"
|
||||
"@storybook/csf" "0.0.1"
|
||||
"@storybook/node-logger" "5.3.3"
|
||||
"@storybook/router" "5.3.3"
|
||||
"@storybook/theming" "5.3.3"
|
||||
"@storybook/ui" "5.3.3"
|
||||
"@storybook/node-logger" "5.3.6"
|
||||
"@storybook/router" "5.3.6"
|
||||
"@storybook/theming" "5.3.6"
|
||||
"@storybook/ui" "5.3.6"
|
||||
airbnb-js-shims "^2.2.1"
|
||||
ansi-to-html "^0.6.11"
|
||||
autoprefixer "^9.7.2"
|
||||
@ -2494,10 +2614,10 @@
|
||||
dependencies:
|
||||
lodash "^4.17.15"
|
||||
|
||||
"@storybook/node-logger@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-5.3.3.tgz#7a28519b485a89da668743e8ca974751bb3b7dd1"
|
||||
integrity sha512-x2bvZQomd/XFp7TIdeLjaY0SEfNxEu3Z/PQwvwCV2RHaxc7teKuKRDMY6OzDrFEdxX3qzCO6Qe9lc/pL0Q0O9Q==
|
||||
"@storybook/node-logger@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-5.3.6.tgz#6fd62d46ba6972e332bf5da290f87fae971645e2"
|
||||
integrity sha512-NqymsJCArX1TIAe6Hs5hS5PGI57Yrz7UqyRtPMiOoNhWVkAyFip+hGbHbA3Qe4dQCirBK0F9tSZ96Xy5wvVRNg==
|
||||
dependencies:
|
||||
chalk "^3.0.0"
|
||||
core-js "^3.0.1"
|
||||
@ -2518,10 +2638,25 @@
|
||||
memoizerific "^1.11.3"
|
||||
qs "^6.6.0"
|
||||
|
||||
"@storybook/router@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.3.3.tgz#841c988620678366bcc483ccfc19324a2534cbf7"
|
||||
integrity sha512-zmZ3TIU5wBsn3ez5f7n9XkUGpS0guszvFcFx5Q1vpSj6WJr0f6lyLG+Sj6hNPLoBXhUtXPRmIPHn5+vPQ7UDMg==
|
||||
"@storybook/router@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.3.5.tgz#fd75cc3c3f5c9dd3cb815158d50934338389449f"
|
||||
integrity sha512-XiLMybUhccm8mkO9KKec95wNNUgWnRpeO4f2q2RH8ii41HP2f3jd6SgDrBHdjEaNVeoeNvl1N3XbaBM9h/MYOA==
|
||||
dependencies:
|
||||
"@reach/router" "^1.2.1"
|
||||
"@storybook/csf" "0.0.1"
|
||||
"@types/reach__router" "^1.2.3"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
lodash "^4.17.15"
|
||||
memoizerific "^1.11.3"
|
||||
qs "^6.6.0"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/router@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.3.6.tgz#0e2dc80070b88d550303e43c333ffdf52d1cae1b"
|
||||
integrity sha512-g3gri0j2VYM0YFyERL8KGMwYbkASneOm6MZdasS6EWXdE6+piONNC5lTPk03v5Js8LJA8LPTjyNlUwfK3plJWw==
|
||||
dependencies:
|
||||
"@reach/router" "^1.2.1"
|
||||
"@storybook/csf" "0.0.1"
|
||||
@ -2551,14 +2686,14 @@
|
||||
prop-types "^15.7.2"
|
||||
resolve-from "^5.0.0"
|
||||
|
||||
"@storybook/theming@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.3.3.tgz#3c58b696a608143cf436d6c511c3454c48c8087f"
|
||||
integrity sha512-K5UK8xMlX2VQcSv4+5NM3MgUyHa5VGZ5lVTAFp8YYW30gdt3rskO1aih8TVx9HI4gpn+6OdMVp1I+IN+hvk5/Q==
|
||||
"@storybook/theming@5.3.5":
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.3.5.tgz#b53f87357c92aa85f149e33651fe85ad86b3fdf6"
|
||||
integrity sha512-7L26KJn1tNIMrH+Lu6Y2Uiyk/q9QBQO+uFrOg6x8sNj0YY5ENU+pgA6EG8XF8itHZbw88iJvJ1da+mY406I4+g==
|
||||
dependencies:
|
||||
"@emotion/core" "^10.0.20"
|
||||
"@emotion/styled" "^10.0.17"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.5"
|
||||
core-js "^3.0.1"
|
||||
deep-object-diff "^1.1.0"
|
||||
emotion-theming "^10.0.19"
|
||||
@ -2569,20 +2704,38 @@
|
||||
resolve-from "^5.0.0"
|
||||
ts-dedent "^1.1.0"
|
||||
|
||||
"@storybook/ui@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-5.3.3.tgz#a8e2d8ade181dfe09822176d7858f98a7f16ba90"
|
||||
integrity sha512-p0qGYncwKLshzLZYq/6X8PntdUD1Sz73BI6XpLTwfV3jJYZMZD3v7QwXjucOyd/VfVF8gmJXZmhd/GCfVBdmMw==
|
||||
"@storybook/theming@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.3.6.tgz#e37f5cbfbadb888e462d60c6db7cd6bc976a4767"
|
||||
integrity sha512-Z7T+qyrjN2ag5/djmM5adZ6CbBKdPLHGwTgyZiKi3YWbWF1KcRTk3RgK7gtgeqqEFHA6KJsD0ubZ7kqHO2e9Sg==
|
||||
dependencies:
|
||||
"@emotion/core" "^10.0.20"
|
||||
"@storybook/addons" "5.3.3"
|
||||
"@storybook/api" "5.3.3"
|
||||
"@storybook/channels" "5.3.3"
|
||||
"@storybook/client-logger" "5.3.3"
|
||||
"@storybook/components" "5.3.3"
|
||||
"@storybook/core-events" "5.3.3"
|
||||
"@storybook/router" "5.3.3"
|
||||
"@storybook/theming" "5.3.3"
|
||||
"@emotion/styled" "^10.0.17"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
core-js "^3.0.1"
|
||||
deep-object-diff "^1.1.0"
|
||||
emotion-theming "^10.0.19"
|
||||
global "^4.3.2"
|
||||
memoizerific "^1.11.3"
|
||||
polished "^3.3.1"
|
||||
prop-types "^15.7.2"
|
||||
resolve-from "^5.0.0"
|
||||
ts-dedent "^1.1.0"
|
||||
|
||||
"@storybook/ui@5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-5.3.6.tgz#43f72ad1adf95e9b50b83f812373d5853706f72a"
|
||||
integrity sha512-yYzS4zZPa3Uoc4O/IYO7GdKrkJWAuEpcrRy1FNxpSxboXm1HMomgK1Iv1+Sptoy85lRJ79d9qGzi1r/Pt1FjcQ==
|
||||
dependencies:
|
||||
"@emotion/core" "^10.0.20"
|
||||
"@storybook/addons" "5.3.6"
|
||||
"@storybook/api" "5.3.6"
|
||||
"@storybook/channels" "5.3.6"
|
||||
"@storybook/client-logger" "5.3.6"
|
||||
"@storybook/components" "5.3.6"
|
||||
"@storybook/core-events" "5.3.6"
|
||||
"@storybook/router" "5.3.6"
|
||||
"@storybook/theming" "5.3.6"
|
||||
copy-to-clipboard "^3.0.8"
|
||||
core-js "^3.0.1"
|
||||
core-js-pure "^3.0.1"
|
||||
@ -2609,13 +2762,13 @@
|
||||
telejson "^3.2.0"
|
||||
util-deprecate "^1.0.2"
|
||||
|
||||
"@storybook/vue@~5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/vue/-/vue-5.3.3.tgz#348f157e2af4c1b6d12e5107f06fcb317edcbdd7"
|
||||
integrity sha512-N29jwKA+r1H1PlSB043Ij78FNMJiaZFQ0SnjEfWTnEzNgMbhFy+fzCSzyeg5nZk2sBSo8CZ0u4VnffacdchATA==
|
||||
"@storybook/vue@~5.3.6":
|
||||
version "5.3.6"
|
||||
resolved "https://registry.yarnpkg.com/@storybook/vue/-/vue-5.3.6.tgz#f8cbb52594a51d5f0f4d3088572cc4b39168184c"
|
||||
integrity sha512-Mzyf9n9GRKeEviuXkb8Ab7m0FrQCOek8lV2QJDbKNKGiW6J9QNKeU9a1RIdy80vGifZpp2IDhShNJWBsDfkPIw==
|
||||
dependencies:
|
||||
"@storybook/addons" "5.3.3"
|
||||
"@storybook/core" "5.3.3"
|
||||
"@storybook/addons" "5.3.6"
|
||||
"@storybook/core" "5.3.6"
|
||||
"@types/webpack-env" "^1.13.9"
|
||||
core-js "^3.0.1"
|
||||
global "^4.3.2"
|
||||
@ -3159,13 +3312,14 @@
|
||||
"@types/cheerio" "^0.22.10"
|
||||
cheerio "^1.0.0-rc.2"
|
||||
|
||||
"@vue/test-utils@~1.0.0-beta.29":
|
||||
version "1.0.0-beta.29"
|
||||
resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-1.0.0-beta.29.tgz#c942cf25e891cf081b6a03332b4ae1ef430726f0"
|
||||
integrity sha512-yX4sxEIHh4M9yAbLA/ikpEnGKMNBCnoX98xE1RwxfhQVcn0MaXNSj1Qmac+ZydTj6VBSEVukchBogXBTwc+9iA==
|
||||
"@vue/test-utils@~1.0.0-beta.30":
|
||||
version "1.0.0-beta.30"
|
||||
resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-1.0.0-beta.30.tgz#d5f26d1e2411fdb7fa7fdedb61b4b4ea4194c49d"
|
||||
integrity sha512-Wyvcha9fNk8+kzTDwb3xWGjPkCPzHSYSwKP6MplrPTG/auhqoad7JqUEceZLc6u7AU4km2pPQ8/m9s0RgCZ0NA==
|
||||
dependencies:
|
||||
dom-event-types "^1.0.0"
|
||||
lodash "^4.17.4"
|
||||
lodash "^4.17.15"
|
||||
pretty "^2.0.0"
|
||||
|
||||
"@webassemblyjs/ast@1.8.5":
|
||||
version "1.8.5"
|
||||
@ -5917,6 +6071,15 @@ concat-stream@^1.5.0:
|
||||
readable-stream "^2.2.2"
|
||||
typedarray "^0.0.6"
|
||||
|
||||
condense-newlines@^0.2.1:
|
||||
version "0.2.1"
|
||||
resolved "https://registry.yarnpkg.com/condense-newlines/-/condense-newlines-0.2.1.tgz#3de985553139475d32502c83b02f60684d24c55f"
|
||||
integrity sha1-PemFVTE5R10yUCyDsC9gaE0kxV8=
|
||||
dependencies:
|
||||
extend-shallow "^2.0.1"
|
||||
is-whitespace "^0.3.0"
|
||||
kind-of "^3.0.2"
|
||||
|
||||
config-chain@^1.1.12:
|
||||
version "1.1.12"
|
||||
resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa"
|
||||
@ -9802,6 +9965,11 @@ is-utf8@^0.2.0:
|
||||
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
|
||||
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=
|
||||
|
||||
is-whitespace@^0.3.0:
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/is-whitespace/-/is-whitespace-0.3.0.tgz#1639ecb1be036aec69a54cbb401cfbed7114ab7f"
|
||||
integrity sha1-Fjnssb4DauxppUy7QBz77XEUq38=
|
||||
|
||||
is-window@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/is-window/-/is-window-1.0.2.tgz#2c896ca53db97de45d3c33133a65d8c9f563480d"
|
||||
@ -10304,6 +10472,17 @@ js-base64@^2.1.8:
|
||||
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.5.1.tgz#1efa39ef2c5f7980bb1784ade4a8af2de3291121"
|
||||
integrity sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==
|
||||
|
||||
js-beautify@^1.6.12:
|
||||
version "1.10.2"
|
||||
resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.10.2.tgz#88c9099cd6559402b124cfab18754936f8a7b178"
|
||||
integrity sha512-ZtBYyNUYJIsBWERnQP0rPN9KjkrDfJcMjuVGcvXOUJrD1zmOGwhRwQ4msG+HJ+Ni/FA7+sRQEMYVzdTQDvnzvQ==
|
||||
dependencies:
|
||||
config-chain "^1.1.12"
|
||||
editorconfig "^0.15.3"
|
||||
glob "^7.1.3"
|
||||
mkdirp "~0.5.1"
|
||||
nopt "~4.0.1"
|
||||
|
||||
js-beautify@^1.6.14:
|
||||
version "1.10.0"
|
||||
resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.10.0.tgz#9753a13c858d96828658cd18ae3ca0e5783ea672"
|
||||
@ -11739,10 +11918,10 @@ node-res@^5.0.1:
|
||||
on-finished "^2.3.0"
|
||||
vary "^1.1.2"
|
||||
|
||||
node-sass@^4.12.0, node-sass@~4.13.0:
|
||||
version "4.13.0"
|
||||
resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.13.0.tgz#b647288babdd6a1cb726de4545516b31f90da066"
|
||||
integrity sha512-W1XBrvoJ1dy7VsvTAS5q1V45lREbTlZQqFbiHb3R3OTTCma0XBtuG6xZ6Z4506nR4lmHPTqVRwxT6KgtWC97CA==
|
||||
node-sass@^4.12.0, node-sass@~4.13.1:
|
||||
version "4.13.1"
|
||||
resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.13.1.tgz#9db5689696bb2eec2c32b98bfea4c7a2e992d0a3"
|
||||
integrity sha512-TTWFx+ZhyDx1Biiez2nB0L3YrCZ/8oHagaDalbuBSlqXgUPsdkUSzJsVxeDO9LtPB49+Fh3WQl3slABo6AotNw==
|
||||
dependencies:
|
||||
async-foreach "^0.1.3"
|
||||
chalk "^1.1.1"
|
||||
@ -13369,6 +13548,15 @@ pretty-time@^1.1.0:
|
||||
resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e"
|
||||
integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==
|
||||
|
||||
pretty@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/pretty/-/pretty-2.0.0.tgz#adbc7960b7bbfe289a557dc5f737619a220d06a5"
|
||||
integrity sha1-rbx5YLe7/iiaVX3F9zdhmiINBqU=
|
||||
dependencies:
|
||||
condense-newlines "^0.2.1"
|
||||
extend-shallow "^2.0.1"
|
||||
js-beautify "^1.6.12"
|
||||
|
||||
prismjs@^1.8.4, prismjs@~1.17.0:
|
||||
version "1.17.1"
|
||||
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user