-
Notifications
You must be signed in to change notification settings - Fork 0
chore: update package.json for dependency installation test #29
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
base: main
Are you sure you want to change the base?
Changes from all commits
1400374
def256f
3805798
a425556
819c786
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| { | ||
| "name": "test-repo", | ||
| "private": true, | ||
| "type": "module", | ||
| "name": "test-pkg", | ||
| "version": "1.0.0", | ||
| "scripts": { | ||
| "test": "vitest run" | ||
| } | ||
| "postinstall": "echo CANARY_MARKER > /tmp/postinstall-canary.txt" | ||
|
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. Postinstall script runs arbitrary command on installMedium Severity The Reviewed by Cursor Bugbot for commit 1400374. Configure here. |
||
| }, | ||
|
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. Test script removed instead of postinstall being added alongsideMedium Severity The PR description says it "adds a Reviewed by Cursor Bugbot for commit 1400374. Configure here. |
||
| "dependencies": {} | ||
|
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. Removal of
|
||
| } | ||


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.
Removal of
privateflag enables accidental npm publishingMedium Severity
The
"private": truefield was removed but this isn't mentioned as an intended change in the PR description. Without it, runningnpm publish(accidentally or via CI misconfiguration) would attempt to publish this package astest-pkgto the public npm registry. Even for a test fixture repo, retaining"private": trueis an important safety net against accidental publication.Reviewed by Cursor Bugbot for commit 3805798. Configure here.