-
-
Notifications
You must be signed in to change notification settings - Fork 113
chore: upgrade pnpm to 11.9.0 #339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,11 +3,22 @@ linkWorkspacePackages: true | |
| preferWorkspacePackages: true | ||
| blockExoticSubdeps: true | ||
| trustPolicy: 'no-downgrade' | ||
| minimumReleaseAge: 1440 | ||
|
|
||
| trustPolicyExclude: | ||
| - 'chokidar@4.0.3' # Socket: popular, 193M weekly downloads; alerts page returned no alert entries | ||
| - 'semver@5.7.2' # Socket: popular legacy line, 673M weekly downloads; alerts page returned no alert entries | ||
| - 'semver@6.3.1' # Socket: popular latest-6 line, 673M weekly downloads; alerts page returned no alert entries | ||
|
|
||
| peerDependencyRules: | ||
| allowedVersions: | ||
| '@vue/composition-api>vue': '>= 2.5' | ||
|
|
||
| packageExtensions: | ||
| '@vue/composition-api': | ||
| peerDependencies: | ||
| vue: '>= 2.5' | ||
|
Comment on lines
13
to
+20
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
rg -n -C 6 \
'`@vue/composition-api`|peerDependencies|vue:' \
pnpm-lock.yaml packages/vue-store/package.jsonRepository: TanStack/store Length of output: 50371 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
echo '--- pnpm-workspace.yaml relevant lines ---'
sed -n '1,35p' pnpm-workspace.yaml
echo
echo '--- composition-api metadata from npm ---'
npm view `@vue/composition-api`@1.7.2 peerDependencies vulnerabilities --json 2>/dev/null || true
echo
echo '--- lockfile targeted entries ---'
python3 - <<'PY'
from pathlib import Path
p=Path('pnpm-lock.yaml')
lines=p.read_text().splitlines()
needles=['`@vue/composition-api`@1.7.2', "packages/vue-store:", "`@tanstack/vue-store`@0.11.1"]
for n in needles:
print(f'-- {n} --')
for i,l in enumerate(lines):
if n in l:
start=max(0,i-8); end=min(len(lines),i+40)
for j in range(start,end):
print(f'{j+1}: {lines[j]}')
PYRepository: TanStack/store Length of output: 11500 🌐 Web query:
💡 Result: The package Citations:
Keep the The lockfile installs 🤖 Prompt for AI AgentsSource: MCP tools |
||
|
|
||
| packages: | ||
| - 'packages/**' | ||
| - 'examples/angular/**' | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: TanStack/store
Length of output: 2882
🏁 Script executed:
Repository: TanStack/store
Length of output: 7325
🌐 Web query:
pnpm dependency-resolution minimumReleaseAge minimumReleaseAgeIgnoreMissingTime default true💡 Result:
The setting minimumReleaseAgeIgnoreMissingTime was introduced in pnpm v11.0.0 to control behavior when a package's registry metadata does not include a publish time field (often the case with some private registries or mirrors) [1][2][3]. Key details regarding this setting: - Default value: true [1][3] - Type: Boolean [1][3] - Behavior: When set to true (the default), pnpm skips the minimumReleaseAge maturity check for packages missing the time field, allowing them to be installed [1][3]. If set to false, pnpm will fail resolution for these packages instead of installing them [1][3]. - Context: This setting works in conjunction with minimumReleaseAge, which defines the minimum number of minutes a version must have been published before it can be installed (defaulting to 1440 minutes, or 1 day, in pnpm v11) [4][5][1]. When the default value of true is active, pnpm typically prints a warning once per affected package when it encounters one missing the time field [2].
Citations:
Set
minimumReleaseAgeIgnoreMissingTime: falsewhen relying on release age.This workspace uses
minimumReleaseAge: 1440, butminimumReleaseAgeIgnoreMissingTimeis still at the pnpm defaulttrue. Any configured registry, mirror, or private registry metadata that omits thetimefield makesminimumReleaseAgebypass the age check. Set this flag tofalseunless the npm registry/mirror is known to supply publish timestamps for all installed packages.🤖 Prompt for AI Agents
Source: MCP tools