Skip to content

Update package-lock.json#535

Open
kriszyp wants to merge 6 commits into
mainfrom
update-package-lock
Open

Update package-lock.json#535
kriszyp wants to merge 6 commits into
mainfrom
update-package-lock

Conversation

@kriszyp
Copy link
Copy Markdown
Member

@kriszyp kriszyp commented May 14, 2026

No description provided.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 14, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​harperfast/​integration-testing@​0.2.0 ⏵ 0.3.178 +310010095 +5100

View full report

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 14, 2026

Reviewed; no blockers found.

kriszyp and others added 5 commits May 14, 2026 07:12
bufferutil, utf-8-validate, and their node-gyp-build@4.8.4 dep were
absent from the lock file (omitted when npm install --ignore-scripts
skipped their native build). npm ci rejected the lock as out of sync.
Manually added entries matching existing lock file style.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ws already declares these as optional peer deps so npm handles them
transitively. Removing them as top-level deps avoids the lock file
omission issue caused by npm install --ignore-scripts skipping their
prebuilt binary copy step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Optional peer deps (bufferutil, utf-8-validate) are absent from the
lock file because npm install --ignore-scripts skips their prebuilt
binary copy step. --omit=optional tells npm ci to skip both installing
and sync-checking optional packages, which is fine for linting.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bufferutil and utf-8-validate are optional peer deps of ws, not direct
optional deps, so --omit=optional alone does not suppress the lock file
sync check for them. Adding --omit=peer covers both categories. Safe
for linting since oxlint has no peer dep requirements.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
npm ci enforces lock file sync before applying --omit flags, so missing
optional peer dep entries (bufferutil, utf-8-validate) always cause
EUSAGE. The lint step only needs packages installed, not lock file
verification. npm install --ignore-scripts is consistent with the
--ignore-scripts supply chain policy and unblocks the workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kriszyp kriszyp marked this pull request as ready for review May 14, 2026 14:09
@kriszyp kriszyp requested review from a team as code owners May 14, 2026 14:09
node-version-file: '.node-version'
cache: 'npm'
- run: npm ci
- run: npm install --ignore-scripts
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is not going to honor the lock file. Can we do this?

Suggested change
- run: npm install --ignore-scripts
- run: npm ci --ignore-scripts

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