diff --git a/.changeset/rich-turkeys-give.md b/.changeset/rich-turkeys-give.md new file mode 100644 index 0000000000..38da4e8f46 --- /dev/null +++ b/.changeset/rich-turkeys-give.md @@ -0,0 +1,10 @@ +--- +"@pnpm/git-resolver": patch +"@pnpm/npm-registry-agent": patch +"@pnpm/outdated": patch +"@pnpm/plugin-commands-outdated": patch +"@pnpm/plugin-commands-publishing": patch +"@pnpm/store-connection-manager": patch +--- + +Update lru-cache to v6 diff --git a/packages/git-resolver/package.json b/packages/git-resolver/package.json index fac6f6d16d..6e256d5f55 100644 --- a/packages/git-resolver/package.json +++ b/packages/git-resolver/package.json @@ -35,7 +35,7 @@ "@pnpm/fetch": "workspace:2.1.0", "@pnpm/resolver-base": "workspace:7.0.3", "graceful-git": "3.0.1", - "hosted-git-info": "3.0.4", + "hosted-git-info": "^3.0.5", "semver": "^7.3.2" }, "devDependencies": { diff --git a/packages/npm-registry-agent/package.json b/packages/npm-registry-agent/package.json index bd65ab3532..2bb869e0d8 100644 --- a/packages/npm-registry-agent/package.json +++ b/packages/npm-registry-agent/package.json @@ -22,14 +22,14 @@ "@types/http-proxy-agent": "^2.0.2", "@types/lru-cache": "^5.1.0", "@types/proxyquire": "^1.3.28", - "proxyquire": "2.1.3" + "proxyquire": "^2.1.3" }, "dependencies": { - "agentkeepalive": "4.0.0", - "http-proxy-agent": "4.0.1", - "https-proxy-agent": "3.0.1", - "lru-cache": "5.1.1", - "socks-proxy-agent": "5.0.0" + "agentkeepalive": "^4.0.0", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^3.0.1", + "lru-cache": "^6.0.0", + "socks-proxy-agent": "^5.0.0" }, "env": { "node": ">=10" diff --git a/packages/outdated/package.json b/packages/outdated/package.json index 96ce800dbc..e565dc132c 100644 --- a/packages/outdated/package.json +++ b/packages/outdated/package.json @@ -49,7 +49,7 @@ "@pnpm/types": "workspace:6.2.0", "credentials-by-uri": "^2.0.0", "dependency-path": "workspace:5.0.2", - "lru-cache": "^5.1.1", + "lru-cache": "^6.0.0", "mem": "^6.1.0", "ramda": "^0.27.0", "semver": "^7.3.2" diff --git a/packages/plugin-commands-outdated/package.json b/packages/plugin-commands-outdated/package.json index 7c80bf4bdc..9c2f508ae6 100644 --- a/packages/plugin-commands-outdated/package.json +++ b/packages/plugin-commands-outdated/package.json @@ -45,11 +45,11 @@ "@types/table": "^5.0.0", "@types/wrap-ansi": "^3.0.0", "mz": "2.7.0", - "strip-ansi": "6.0.0" + "strip-ansi": "^6.0.0" }, "dependencies": { "@pnpm/cli-utils": "workspace:0.4.13", - "@pnpm/colorize-semver-diff": "1.0.0", + "@pnpm/colorize-semver-diff": "^1.0.0", "@pnpm/command": "workspace:1.0.0", "@pnpm/common-cli-options-help": "workspace:0.1.6", "@pnpm/config": "workspace:11.0.1", @@ -59,14 +59,14 @@ "@pnpm/matcher": "workspace:1.0.3", "@pnpm/modules-yaml": "workspace:8.0.1", "@pnpm/outdated": "workspace:7.1.4", - "@pnpm/semver-diff": "1.0.2", + "@pnpm/semver-diff": "^1.0.2", "@pnpm/store-path": "^4.0.0", "chalk": "^4.1.0", - "lru-cache": "5.1.1", - "ramda": "0.27.0", - "render-help": "1.0.0", - "table": "5.4.6", - "wrap-ansi": "7.0.0" + "lru-cache": "^6.0.0", + "ramda": "^0.27.0", + "render-help": "^1.0.0", + "table": "^5.4.6", + "wrap-ansi": "^7.0.0" }, "funding": "https://opencollective.com/pnpm" } diff --git a/packages/plugin-commands-publishing/package.json b/packages/plugin-commands-publishing/package.json index 1a1144b4e3..af6a979a04 100644 --- a/packages/plugin-commands-publishing/package.json +++ b/packages/plugin-commands-publishing/package.json @@ -70,7 +70,7 @@ "credentials-by-uri": "^2.0.0", "enquirer": "^2.3.5", "fast-glob": "^3.2.4", - "lru-cache": "^5.1.1", + "lru-cache": "^6.0.0", "mem": "^6.1.0", "mz": "^2.7.0", "p-filter": "^2.1.0", diff --git a/packages/store-connection-manager/package.json b/packages/store-connection-manager/package.json index 4d97f088f0..620acf0328 100644 --- a/packages/store-connection-manager/package.json +++ b/packages/store-connection-manager/package.json @@ -45,7 +45,7 @@ "@zkochan/diable": "^1.0.2", "delay": "^4.3.0", "dir-is-case-sensitive": "^1.0.2", - "lru-cache": "^5.1.1", + "lru-cache": "^6.0.0", "mz": "^2.7.0" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 323d7f7ba6..4dbb50a7b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -596,7 +596,7 @@ importers: '@pnpm/fetch': 'link:../fetch' '@pnpm/resolver-base': 'link:../resolver-base' graceful-git: 3.0.1 - hosted-git-info: 3.0.4 + hosted-git-info: 3.0.5 semver: 7.3.2 devDependencies: '@pnpm/git-resolver': 'link:' @@ -612,7 +612,7 @@ importers: '@types/is-windows': ^1.0.0 '@types/semver': ^7.2.0 graceful-git: 3.0.1 - hosted-git-info: 3.0.4 + hosted-git-info: ^3.0.5 is-windows: 1.0.2 semver: ^7.3.2 packages/global-bin-dir: @@ -1084,7 +1084,7 @@ importers: agentkeepalive: 4.0.0 http-proxy-agent: 4.0.1 https-proxy-agent: 3.0.1 - lru-cache: 5.1.1 + lru-cache: 6.0.0 socks-proxy-agent: 5.0.0 devDependencies: '@types/http-proxy-agent': 2.0.2 @@ -1095,12 +1095,12 @@ importers: '@types/http-proxy-agent': ^2.0.2 '@types/lru-cache': ^5.1.0 '@types/proxyquire': ^1.3.28 - agentkeepalive: 4.0.0 - http-proxy-agent: 4.0.1 - https-proxy-agent: 3.0.1 - lru-cache: 5.1.1 - proxyquire: 2.1.3 - socks-proxy-agent: 5.0.0 + agentkeepalive: ^4.0.0 + http-proxy-agent: ^4.0.1 + https-proxy-agent: ^3.0.1 + lru-cache: ^6.0.0 + proxyquire: ^2.1.3 + socks-proxy-agent: ^5.0.0 packages/npm-resolver: dependencies: '@pnpm/error': 'link:../error' @@ -1175,7 +1175,7 @@ importers: '@pnpm/types': 'link:../types' credentials-by-uri: 2.0.0 dependency-path: 'link:../dependency-path' - lru-cache: 5.1.1 + lru-cache: 6.0.0 mem: 6.1.0 ramda: 0.27.0 semver: 7.3.2 @@ -1206,7 +1206,7 @@ importers: '@types/semver': ^7.2.0 credentials-by-uri: ^2.0.0 dependency-path: 'workspace:5.0.2' - lru-cache: ^5.1.1 + lru-cache: ^6.0.0 mem: ^6.1.0 npm-run-all: 4.1.5 ramda: ^0.27.0 @@ -1679,7 +1679,7 @@ importers: '@pnpm/semver-diff': 1.0.2 '@pnpm/store-path': 4.0.0 chalk: 4.1.0 - lru-cache: 5.1.1 + lru-cache: 6.0.0 ramda: 0.27.0 render-help: 1.0.0 table: 5.4.6 @@ -1700,7 +1700,7 @@ importers: strip-ansi: 6.0.0 specifiers: '@pnpm/cli-utils': 'workspace:0.4.13' - '@pnpm/colorize-semver-diff': 1.0.0 + '@pnpm/colorize-semver-diff': ^1.0.0 '@pnpm/command': 'workspace:1.0.0' '@pnpm/common-cli-options-help': 'workspace:0.1.6' '@pnpm/config': 'workspace:11.0.1' @@ -1715,7 +1715,7 @@ importers: '@pnpm/plugin-commands-installation': 'workspace:*' '@pnpm/plugin-commands-outdated': 'link:' '@pnpm/prepare': 'workspace:0.0.7' - '@pnpm/semver-diff': 1.0.2 + '@pnpm/semver-diff': ^1.0.2 '@pnpm/store-path': ^4.0.0 '@pnpm/types': 'workspace:6.2.0' '@types/lru-cache': ^5.1.0 @@ -1724,13 +1724,13 @@ importers: '@types/table': ^5.0.0 '@types/wrap-ansi': ^3.0.0 chalk: ^4.1.0 - lru-cache: 5.1.1 + lru-cache: ^6.0.0 mz: 2.7.0 - ramda: 0.27.0 - render-help: 1.0.0 - strip-ansi: 6.0.0 - table: 5.4.6 - wrap-ansi: 7.0.0 + ramda: ^0.27.0 + render-help: ^1.0.0 + strip-ansi: ^6.0.0 + table: ^5.4.6 + wrap-ansi: ^7.0.0 packages/plugin-commands-publishing: dependencies: '@pnpm/cli-utils': 'link:../cli-utils' @@ -1751,7 +1751,7 @@ importers: credentials-by-uri: 2.0.0 enquirer: 2.3.6 fast-glob: 3.2.4 - lru-cache: 5.1.1 + lru-cache: 6.0.0 mem: 6.1.0 mz: 2.7.0 p-filter: 2.1.0 @@ -1806,7 +1806,7 @@ importers: enquirer: ^2.3.5 execa: ^4.0.2 fast-glob: ^3.2.4 - lru-cache: ^5.1.1 + lru-cache: ^6.0.0 mem: ^6.1.0 mz: ^2.7.0 p-filter: ^2.1.0 @@ -2538,7 +2538,7 @@ importers: '@zkochan/diable': 1.0.2 delay: 4.3.0 dir-is-case-sensitive: 1.0.2 - lru-cache: 5.1.1 + lru-cache: 6.0.0 mz: 2.7.0 devDependencies: '@pnpm/logger': 3.2.2 @@ -2560,7 +2560,7 @@ importers: '@zkochan/diable': ^1.0.2 delay: ^4.3.0 dir-is-case-sensitive: ^1.0.2 - lru-cache: ^5.1.1 + lru-cache: ^6.0.0 mz: ^2.7.0 packages/store-controller-types: dependencies: @@ -7024,12 +7024,14 @@ packages: /hosted-git-info/2.8.8: resolution: integrity: sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== - /hosted-git-info/3.0.4: + /hosted-git-info/3.0.5: dependencies: - lru-cache: 5.1.1 + lru-cache: 6.0.0 dev: false + engines: + node: '>=10' resolution: - integrity: sha512-4oT62d2jwSDBbLLFLZE+1vPuQ1h8p9wjrJ8Mqx5TjsyWmBMV5B13eJqn8pvluqubLf3cJPTfiYCIwNwDNmzScQ== + integrity: sha512-i4dpK6xj9BIpVOTboXIlKG9+8HMKggcrMX7WA24xZtKwX0TPelq/rbaS5rCKeNX8sJXZJGdSxpnEGtta+wismQ== /html-encoding-sniffer/1.0.2: dependencies: whatwg-encoding: 1.0.5 @@ -8309,12 +8311,14 @@ packages: dev: true resolution: integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - /lru-cache/5.1.1: + /lru-cache/6.0.0: dependencies: - yallist: 3.1.1 + yallist: 4.0.0 dev: false + engines: + node: '>=10' resolution: - integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== /ltgt/2.2.1: dev: true resolution: @@ -12498,10 +12502,6 @@ packages: dev: true resolution: integrity: sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - /yallist/3.1.1: - dev: false - resolution: - integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== /yallist/4.0.0: resolution: integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==