mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-15 12:06:02 -04:00
fix(deps): update uuid
This commit is contained in:
5
.changeset/tender-ravens-nail.md
Normal file
5
.changeset/tender-ravens-nail.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/server": patch
|
||||
---
|
||||
|
||||
Update uuid.
|
||||
@@ -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": {
|
||||
|
||||
@@ -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
1224
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user