Skip to content

Commit

Permalink
Update uuid imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Sep 2, 2022
1 parent 3686966 commit e0710ed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion contentcuration/contentcuration/frontend/shared/data/db.js
Original file line number Diff line number Diff line change
@@ -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') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EventEmitter } from 'events';
import uuidv4 from 'uuid/v4';
import { v4 as uuidv4 } from 'uuid';
import IndexedDBPlugin, {
commitListener,
dispatchListener,
Expand Down

0 comments on commit e0710ed

Please sign in to comment.