Skip to content

root - chore: defense - drop tilde range preference - #486

Merged
jaredwray merged 1 commit into
mainfrom
cursor/drop-tilde-range-preference-73ce
Aug 18, 2026
Merged

root - chore: defense - drop tilde range preference#486
jaredwray merged 1 commit into
mainfrom
cursor/drop-tilde-range-preference-73ce

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

Remove the defense-in-depth checklist item that preferred ~ ranges over ^. This repo uses caret ranges for direct dependencies.

Status update

DEFENSE_IN_DEPTH.md: drop “New direct dependencies get human review; prefer ~ ranges over ^”.

How this was checked off

It was marked done in PR #464 when the security-docs scaffold reconciled the defense-in-depth-nodejs catalog. The note was:

verified 2026-08-16 (all changes via PR; existing runtime deps stay on ^; new runtime deps prefer ~)

That mixed two things: PRs for dependency changes (true) with a catalog policy this repo does not follow. Every direct dependency in package.json already uses ^. Nothing ever switched new runtime deps to ~.

Verification

  • package.json dependencies and devDependencies all use ^
  • pnpm test — 17 files, 866 tests, 100% coverage
Open in Web Open in Cursor 

This repo uses caret ranges for direct dependencies. Remove the catalog
item that claimed new runtime deps prefer ~.

Co-authored-by: Jared Wray <me@jaredwray.com>
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6c40b19) to head (4e7f7c9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #486   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         2760      2760           
  Branches       837       837           
=========================================
  Hits          2760      2760           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray marked this pull request as ready for review August 18, 2026 00:20
@jaredwray
jaredwray merged commit 9916b05 into main Aug 18, 2026
15 checks passed
@jaredwray
jaredwray deleted the cursor/drop-tilde-range-preference-73ce branch August 18, 2026 00:20

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4e7f7c9f34

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread DEFENSE_IN_DEPTH.md
- [x] Lockfile committed; CI installs with `pnpm install --frozen-lockfile` — PR #465
- [x] Dependency-update tooling opens PRs only — never auto-merge — verified 2026-08-16 (no auto-merge config in-repo; upgrades via reviewed PRs)
- [x] New direct dependencies get human review; prefer `~` ranges over `^` — verified 2026-08-16 (all changes via PR; existing runtime deps stay on `^`; new runtime deps prefer `~`)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Retain the human-review dependency control

When this checklist is used to assess dependency hardening, deleting the combined entry removes the separately valid requirement that new direct dependencies receive human review, not merely the rejected preference for ~ ranges. The commit description itself distinguishes these two policies and says the PR-based review claim is true, so keep that portion as its own checklist item while dropping only the range recommendation.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants