From 2b3081390f156547efcf59a86101373fb5b8f34d Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" <23040076+greenkeeper[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2020 08:31:44 -0800 Subject: [PATCH] chore(package): update @types/uuid to version 7.0.0 --- packages/authentication/package.json | 2 +- packages/authentication/src/core.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/authentication/package.json b/packages/authentication/package.json index 75b9121bfe..417a329d36 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -58,7 +58,7 @@ "@types/lodash": "^4.14.149", "@types/mocha": "^7.0.1", "@types/node": "^13.7.4", - "@types/uuid": "^3.4.7", + "@types/uuid": "^7.0.0", "feathers-memory": "^4.1.0", "mocha": "^7.0.1", "shx": "^0.3.2", diff --git a/packages/authentication/src/core.ts b/packages/authentication/src/core.ts index 30004077b1..b00104d51a 100644 --- a/packages/authentication/src/core.ts +++ b/packages/authentication/src/core.ts @@ -1,7 +1,7 @@ import { promisify } from 'util'; import { merge } from 'lodash'; import jsonwebtoken, { SignOptions, Secret, VerifyOptions } from 'jsonwebtoken'; -import uuidv4 from 'uuid/v4'; +import { v4 as uuidv4 } from 'uuid'; import { NotAuthenticated } from '@feathersjs/errors'; import Debug from 'debug'; import { Application, Params } from '@feathersjs/feathers';