Skip to content

Conversation

@jdalton
Copy link
Contributor

@jdalton jdalton commented Jan 13, 2026

Summary

Improves and fixes the update script to match the pattern used across all Socket repositories.

Changes

  • Add -w flag to taze command to always write dependency changes to package.json
  • Simplify conditional logic by checking !quiet first, reducing nesting
  • Remove trailing period from comment for consistency
  • Fix: Socket package updates now run regardless of taze result
    • Previously required taze to succeed (exit code 0) before updating Socket packages
    • This caused Socket packages to be skipped when taze found no updates due to maturity period
    • Socket-controlled packages (@socketsecurity/*, @socketregistry/*) should bypass maturity period

Motivation

This change ensures consistency across all Socket repositories' update scripts and fixes a bug where Socket packages weren't being updated when taze skipped them due to the 7-day maturity period.

@jdalton jdalton force-pushed the chore/standardize-update-script branch 2 times, most recently from a9097c6 to a71e47f Compare January 13, 2026 03:55
- Add -w flag to taze by default to write changes automatically
- Simplify conditional logic by checking !quiet first
- Remove trailing period from comment for consistency
- Fix Socket package updates to run regardless of taze result
- Previously required taze to succeed (exit code 0) before updating Socket packages
- This caused Socket packages to be skipped when taze found no updates due to maturity period
- Socket-controlled packages (@socketsecurity/*, @socketregistry/*) should bypass maturity period
@jdalton jdalton force-pushed the chore/standardize-update-script branch from a71e47f to caa28a2 Compare January 13, 2026 04:28
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