-
Notifications
You must be signed in to change notification settings - Fork 0
Harden supply chain security #18
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 |
|---|---|---|
|
|
@@ -8,9 +8,8 @@ packages: | |
| - '.' | ||
|
|
||
| # Supply-chain cooldown: don't resolve dependency versions until they | ||
| # are at least 2880 minutes (48h) old. pnpm 11's default is 1440 (24h); | ||
| # this preserves the explicit 48h policy from PR #14. | ||
| minimumReleaseAge: 2880 | ||
| # are at least 10080 minutes (7d) old. pnpm 11's default is 1440 (24h). | ||
| minimumReleaseAge: 10080 | ||
|
Comment on lines
+11
to
+12
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. Setting # are at least 2880 minutes (48h) old. pnpm 11's default is 1440 (24h).
minimumReleaseAge: 2880 |
||
|
|
||
| # Dependency build-script policy (pnpm 11 strictDepBuilds default). | ||
| # Both packages ship prebuilt native bindings via platform-specific | ||
|
|
||
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.
Pinning a dependency to an exact version in a library's
package.jsoncan lead to dependency conflicts for consumers. It prevents the package manager from deduplicating the dependency if other packages in the consumer's tree require a compatible but different version. For libraries, it is generally recommended to use semver ranges (e.g.,^3.2.0) and rely on the lockfile for reproducible development.