diff --git a/contentcuration/contentcuration/frontend/shared/data/changes.js b/contentcuration/contentcuration/frontend/shared/data/changes.js index 7285d6fd66..9cfd33b0d3 100644 --- a/contentcuration/contentcuration/frontend/shared/data/changes.js +++ b/contentcuration/contentcuration/frontend/shared/data/changes.js @@ -1,6 +1,6 @@ import { EventEmitter } from 'events'; import Dexie from 'dexie'; -import uuidv4 from 'uuid/v4'; +import { v4 as uuidv4 } from 'uuid'; import db, { CLIENTID } from 'shared/data/db'; import { promiseChunk } from 'shared/utils/helpers'; import { diff --git a/contentcuration/contentcuration/frontend/shared/data/db.js b/contentcuration/contentcuration/frontend/shared/data/db.js index e537c54677..482180fcde 100644 --- a/contentcuration/contentcuration/frontend/shared/data/db.js +++ b/contentcuration/contentcuration/frontend/shared/data/db.js @@ -1,6 +1,6 @@ import Dexie from 'dexie'; import 'dexie-observable'; -import uuidv4 from 'uuid/v4'; +import { v4 as uuidv4 } from 'uuid'; import { APP_ID } from './constants'; if (process.env.NODE_ENV !== 'production') { diff --git a/contentcuration/contentcuration/frontend/shared/data/resources.js b/contentcuration/contentcuration/frontend/shared/data/resources.js index 4503a0c94d..2f1e50936b 100644 --- a/contentcuration/contentcuration/frontend/shared/data/resources.js +++ b/contentcuration/contentcuration/frontend/shared/data/resources.js @@ -13,7 +13,7 @@ import sortBy from 'lodash/sortBy'; import uniq from 'lodash/uniq'; import uniqBy from 'lodash/uniqBy'; -import uuidv4 from 'uuid/v4'; +import { v4 as uuidv4 } from 'uuid'; import { CHANGE_TYPES, CHANGES_TABLE, diff --git a/contentcuration/contentcuration/frontend/shared/mixins/draggable/base.js b/contentcuration/contentcuration/frontend/shared/mixins/draggable/base.js index e435ab448e..db3ac8d9a1 100644 --- a/contentcuration/contentcuration/frontend/shared/mixins/draggable/base.js +++ b/contentcuration/contentcuration/frontend/shared/mixins/draggable/base.js @@ -1,5 +1,5 @@ import { mapState } from 'vuex'; -import uuidv4 from 'uuid/v4'; +import { v4 as uuidv4 } from 'uuid'; import { DraggableIdentityHelper } from 'shared/vuex/draggablePlugin/module/utils'; export default { diff --git a/contentcuration/contentcuration/frontend/shared/vuex/indexedDBPlugin/index.spec.js b/contentcuration/contentcuration/frontend/shared/vuex/indexedDBPlugin/index.spec.js index 6af26e45fe..9c24b32b67 100644 --- a/contentcuration/contentcuration/frontend/shared/vuex/indexedDBPlugin/index.spec.js +++ b/contentcuration/contentcuration/frontend/shared/vuex/indexedDBPlugin/index.spec.js @@ -1,5 +1,5 @@ import { EventEmitter } from 'events'; -import uuidv4 from 'uuid/v4'; +import { v4 as uuidv4 } from 'uuid'; import IndexedDBPlugin, { commitListener, dispatchListener,