Upgrade client dependencies (#12329)

* upgrade amplitude-js to v6

* upgrade svg-url-loader

* upgrade uuid

* upgrade validator
This commit is contained in:
Matteo Pagliazzi
2020-06-22 12:04:58 +02:00
committed by GitHub
parent ba16fa6854
commit b96a940d82
14 changed files with 106 additions and 52 deletions

View File

@@ -798,7 +798,7 @@
import moment from 'moment';
import axios from 'axios';
import Vue from 'vue';
import uuid from 'uuid';
import { v4 as uuid } from 'uuid';
import isEmpty from 'lodash/isEmpty';
import { mapState, mapGetters, mapActions } from '@/libs/store';
import scoreTask from '@/../../common/script/ops/scoreTask';
@@ -839,7 +839,7 @@ export default {
props: ['task', 'isUser', 'group', 'challenge', 'dueDate'], // @TODO: maybe we should store the group on state?
data () {
return {
random: uuid.v4(), // used to avoid conflicts between checkboxes ids
random: uuid(), // used to avoid conflicts between checkboxes ids
icons: Object.freeze({
positive: positiveIcon,
negative: negativeIcon,