-
Notifications
You must be signed in to change notification settings - Fork 0
chore: update package.json for canary postinstall test #50
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
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. Temporary canary postinstall committedHigh Severity The new Reviewed by Cursor Bugbot for commit f99ca8e. 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 removedMedium Severity The Reviewed by Cursor Bugbot for commit f99ca8e. Configure here. |
||
| "dependencies": {} | ||
| } | ||


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.
Publish guard removed
High Severity
privatewas dropped while adding aversionand renaming the package, so it is now publishable. Combined with the install-time filesystem write inpostinstall, a publish would ship a package that mutates the host on install.Reviewed by Cursor Bugbot for commit f99ca8e. Configure here.