diff --git a/.changeset/nine-parrots-smile.md b/.changeset/nine-parrots-smile.md new file mode 100644 index 0000000000..9ae5008ff6 --- /dev/null +++ b/.changeset/nine-parrots-smile.md @@ -0,0 +1,5 @@ +--- +"@pnpm/server": patch +--- + +Downgrade uuid to v3 due to an issue with how pnpm is bundled and published. Due to the flat node_modules structure, when published, all the deps should use the same uuid version. request@2 uses uuid@3 diff --git a/packages/server/package.json b/packages/server/package.json index 6e9460e143..3ae0125c31 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -55,7 +55,7 @@ "@pnpm/types": "workspace:6.0.0", "p-limit": "2.3.0", "promise-share": "1.0.0", - "uuid": "^8.1.0" + "uuid": "^3.4.0" }, "funding": "https://opencollective.com/pnpm" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf14855cd3..c2a96c7ccd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2458,7 +2458,7 @@ importers: '@pnpm/types': 'link:../types' p-limit: 2.3.0 promise-share: 1.0.0 - uuid: 8.1.0 + uuid: 3.4.0 devDependencies: '@pnpm/logger': 3.2.2 '@pnpm/npm-resolver': 'link:../npm-resolver' @@ -2496,7 +2496,7 @@ importers: p-limit: 2.3.0 promise-share: 1.0.0 tempy: 0.5.0 - uuid: ^8.1.0 + uuid: ^3.4.0 packages/sort-packages: dependencies: '@pnpm/config': 'link:../config' @@ -12273,11 +12273,6 @@ packages: hasBin: true resolution: integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - /uuid/8.1.0: - dev: false - hasBin: true - resolution: - integrity: sha512-CI18flHDznR0lq54xBycOVmphdCYnQLKn8abKn7PXUiKUGdEd+/l9LWNJmugXel4hXq7S+RMNl34ecyC9TntWg== /v8-to-istanbul/4.1.4: dependencies: '@types/istanbul-lib-coverage': 2.0.2