fix(deps): update uuid

This commit is contained in:
Zoltan Kochan
2022-06-10 15:04:31 +03:00
parent 1c884e8f57
commit 8c81561658
4 changed files with 554 additions and 683 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/server": patch
---
Update uuid.

View File

@@ -53,7 +53,7 @@
"@pnpm/types": "workspace:8.1.0",
"p-limit": "^3.1.0",
"promise-share": "^1.0.0",
"uuid": "^3.4.0"
"uuid": "^8.3.2"
},
"funding": "https://opencollective.com/pnpm",
"exports": {

View File

@@ -11,7 +11,7 @@ import { DependencyManifest } from '@pnpm/types'
import pLimit from 'p-limit'
import pShare from 'promise-share'
import uuid from 'uuid'
import { v4 as uuidv4 } from 'uuid'
export type StoreServerController = StoreController & {
stop: () => Promise<void>
@@ -88,7 +88,7 @@ async function requestPackage (
wantedDependency: WantedDependency,
options: RequestPackageOptions
): Promise<PackageResponse> {
const msgId = uuid.v4()
const msgId = uuidv4()
return limitedFetch(`${remotePrefix}/requestPackage`, {
msgId,
@@ -133,7 +133,7 @@ function fetchPackage (
finishing: () => Promise<void>
inStoreLocation: string
} {
const msgId = uuid.v4()
const msgId = uuidv4()
return limitedFetch(`${remotePrefix}/fetchPackage`, {
msgId,

1224
pnpm-lock.yaml generated
View File

File diff suppressed because it is too large Load Diff