From d178d1b4439f1e95dc53f2dd0d71f005ce2a0fba Mon Sep 17 00:00:00 2001 From: deyaaeldeen Date: Mon, 12 Jul 2021 19:44:29 +0000 Subject: [PATCH] Upgrade uuid dependency to v8 --- lib/util/utils.ts | 2 +- package.json | 2 +- rollup.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/util/utils.ts b/lib/util/utils.ts index 57f9716..462ebe2 100644 --- a/lib/util/utils.ts +++ b/lib/util/utils.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -import uuidv4 from "uuid/v4"; +import { v4 as uuidv4 } from 'uuid'; import { HttpOperationResponse } from "../httpOperationResponse"; import { RestError } from "../restError"; import { WebResourceLike } from "../webResource"; diff --git a/package.json b/package.json index d5650d9..23337d5 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "tough-cookie": "^3.0.1", "tslib": "^1.10.0", "tunnel": "0.0.6", - "uuid": "^3.3.2", + "uuid": "^8.3.2", "xml2js": "^0.4.19" }, "devDependencies": { diff --git a/rollup.config.ts b/rollup.config.ts index 92faeae..6a556bb 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -30,7 +30,7 @@ const nodeConfig = { "tough-cookie", "tslib", "tunnel", - "uuid/v4", + "uuid", "xml2js", ], output: {