mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-01 10:42:28 -05:00
5
.changeset/cyan-dingos-switch.md
Normal file
5
.changeset/cyan-dingos-switch.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/outdated": minor
|
||||
---
|
||||
|
||||
Don't request the full metadata just for getting the list of dist-tags.
|
||||
5
.changeset/fluffy-kiwis-add.md
Normal file
5
.changeset/fluffy-kiwis-add.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/plugin-commands-publishing": minor
|
||||
---
|
||||
|
||||
Don't request the full metadata just for getting the list of published versions.
|
||||
@@ -15,7 +15,7 @@ export function createManifestGetter (
|
||||
opts: ManifestGetterOptions
|
||||
): (packageName: string, pref: string) => Promise<DependencyManifest | null> {
|
||||
const resolve = createResolver(Object.assign(opts, {
|
||||
fullMetadata: true,
|
||||
fullMetadata: false,
|
||||
metaCache: new LRU({
|
||||
max: 10000,
|
||||
maxAge: 120 * 1000, // 2 minutes
|
||||
|
||||
@@ -51,7 +51,7 @@ export default async function (
|
||||
const pkgs = Object.values(opts.selectedProjectsGraph).map((wsPkg) => wsPkg.package)
|
||||
const storeDir = await storePath(opts.workspaceDir, opts.storeDir)
|
||||
const resolve = createResolver(Object.assign(opts, {
|
||||
fullMetadata: true,
|
||||
fullMetadata: false,
|
||||
metaCache: new LRU({
|
||||
max: 10000,
|
||||
maxAge: 120 * 1000, // 2 minutes
|
||||
|
||||
Reference in New Issue
Block a user