Skip to content

feat(ACQ-6385): increase pnpm security settings for @airtasker/spot#2541

Merged
justinnais merged 2 commits intomasterfrom
feat/ACQ-6385-pnpm-security-settings
Mar 3, 2026
Merged

feat(ACQ-6385): increase pnpm security settings for @airtasker/spot#2541
justinnais merged 2 commits intomasterfrom
feat/ACQ-6385-pnpm-security-settings

Conversation

@justinnais
Copy link
Copy Markdown
Contributor

@justinnais justinnais commented Mar 2, 2026

Description, Motivation and Context

Apply supply chain security configuration to pnpm-workspace.yaml per the JavaScript Package Manager Configuration guide.

  • Add strictDepBuilds: true — installation fails if any unlisted package attempts to run a lifecycle script
    • Blocks corejs from running post install script
  • Add blockExoticSubdeps: true — blocks transitive dependencies from non-registry sources
  • Normalise minimumReleaseAgeExclude to inline string format
  • Moves overrides to pnpm workspace instead of package.json

Closes ACQ-6385

Checklist:

  • I've added/updated tests to cover my changes
  • I've created an issue associated with this PR

Apply supply chain security configuration per JS Package Manager guide:
- strictDepBuilds: fail if unlisted packages attempt to run scripts
- blockExoticSubdeps: block non-registry dependency sources
- normalise minimumReleaseAgeExclude to inline string format

Note: allowBuilds entries to be populated separately.

Reference: https://airtasker.atlassian.net/wiki/spaces/ENG/pages/4767645728/JavaScript+Package+Manager+Configuration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@justinnais justinnais self-assigned this Mar 2, 2026
@justinnais justinnais marked this pull request as ready for review March 3, 2026 00:34
@justinnais justinnais requested a review from a team as a code owner March 3, 2026 00:34
@justinnais justinnais requested a review from jordanbinskin March 3, 2026 00:34
@justinnais justinnais merged commit 6c1166d into master Mar 3, 2026
21 checks passed
@justinnais justinnais deleted the feat/ACQ-6385-pnpm-security-settings branch March 3, 2026 03:59
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