chore: update package.json for postinstall canary test#22
chore: update package.json for postinstall canary test#22pullfrog[bot] wants to merge 15 commits into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d26668d. Configure here.
| } | ||
| "postinstall": "echo CANARY_MARKER > /tmp/postinstall-canary.txt" | ||
| }, | ||
| "dependencies": {} |
There was a problem hiding this comment.
Test artifact overwrites production package.json configuration
High Severity
The real package.json has been entirely replaced by a test fixture. This removes "private": true (risking accidental npm publish), removes "type": "module" (breaking ES module resolution for the existing .ts source files), and replaces the "test": "vitest run" script with a postinstall canary that writes to /tmp. The repository still contains real source and test files that depend on the original configuration.
Reviewed by Cursor Bugbot for commit d26668d. Configure here.
…nary' into pullfrog/test-pkg-postinstall-canary
…nary' into pullfrog/test-pkg-postinstall-canary
…nary' into pullfrog/test-pkg-postinstall-canary
…nary' into pullfrog/test-pkg-postinstall-canary
…nary' into pullfrog/test-pkg-postinstall-canary
…nary' into pullfrog/test-pkg-postinstall-canary
…nary' into pullfrog/test-pkg-postinstall-canary


Captures the
package.jsonmodification made during the dependency installation behavior test. The file was updated totest-pkgwith apostinstallscript as part of the test task.Claude Opus| 𝕏Note
Medium Risk
Adds a
postinstallscript that writes to/tmp, which will execute on dependency install and can affect CI/build environments despite the small diff.Overview
Updates
package.jsonto rename the package totest-pkg, add aversion, and replace the test script with apostinstallcanary that writesCANARY_MARKERto/tmp/postinstall-canary.txtduring installs.Also removes
private/typefields and leaves an emptydependenciesblock.Reviewed by Cursor Bugbot for commit 1379474. Bugbot is set up for automated code reviews on this repo. Configure here.