-
Notifications
You must be signed in to change notification settings - Fork 7
Change build scripts to use tsup instead of tsc #26
Conversation
New dependency changes detected. Learn more about Socket for GitHub ↗︎ 🚨 Potential security issues found in this pull request. To accept the risk, merge this PR and you will not be notified again. Bot CommandsTo ignore an alert, reply with a comment starting with
📜 Install scriptsInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.
|
Package | Module | Location | Source |
---|---|---|---|
esbuild@0.14.54 (added) | child_process | install.js | package.json via tsup@5.12.9 |
esbuild@0.14.54 (added) | child_process | lib/main.js | package.json via tsup@5.12.9 |
mz@2.7.0 (added) | child_process | child_process.js | package.json via tsup@5.12.9 |
rollup@2.79.1 (added) | child_process | dist/shared/watch-cli.js | package.json via tsup@5.12.9 |
tree-kill@1.2.2 (added) | child_process | index.js | package.json via tsup@5.12.9 |
⚠️ Uses eval
Package uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Avoid packages that use eval, since this could potentially execute any code.
Package | Eval Type | Location | Source |
---|---|---|---|
load-tsconfig@0.2.5 (added) | Function | dist/index.cjs | package.json via tsup@5.12.9 |
load-tsconfig@0.2.5 (added) | Function | dist/index.js | package.json via tsup@5.12.9 |
rollup@2.79.1 (added) | Function | dist/shared/loadConfigFile.js | package.json via tsup@5.12.9 |
rollup@2.79.1 (added) | Function | dist/shared/loadConfigFile.js | package.json via tsup@5.12.9 |
tsup@5.12.9 (added) | Function | dist/chunk-Q2NKY6R2.js | package.json |
tsup@5.12.9 (added) | Function | dist/rollup.js | package.json |
⚠️ New author
A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.
Package | New Author | Previous Author | Source |
---|---|---|---|
source-map@0.8.0-beta.0 (added) | loganfsmyth | nickfitzgerald | package.json via tsup@5.12.9 |
Pull request alert summary
Issue | Status |
---|---|
Install scripts | |
Native code | ✅ 0 issues |
Bin script confusion | ✅ 0 issues |
Bin script shell injection | ✅ 0 issues |
Shell access | |
Uses eval | |
Unresolved require | ✅ 0 issues |
Invalid package.json | ✅ 0 issues |
HTTP dependency | ✅ 0 issues |
Git dependency | ✅ 0 issues |
GitHub dependency | ✅ 0 issues |
New author | |
Potential typo squat | ✅ 0 issues |
Known Malware | ✅ 0 issues |
Telemetry | ✅ 0 issues |
Protestware/Troll package | ✅ 0 issues |
📊 Modified Dependency Overview:
➕ Added Package | Capability Access | +/- Transitive Count |
Publisher |
---|---|---|---|
tsup@5.12.9 | eval, network, filesystem, environment | +45 |
egoist |
⬆️ Updated Package | Version Diff | Added Capability Access | +/- Transitive Count |
Publisher |
---|---|---|---|---|
typescript@5.0.4 | 4.9.5...5.0.4 | None | +0/-0 |
typescript-bot |
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.
LGTM! Thanks for this :))
similar to storybookjs/jest#26
🚀 PR was released in |
Change Type
Indicate the type of change your pull request is:
maintenance
documentation
patch
minor
major
📦 Published PR as canary version:
0.1.1--canary.26.df816e6.0
✨ Test out this PR locally via:
npm install @storybook/jest@0.1.1--canary.26.df816e6.0 # or yarn add @storybook/jest@0.1.1--canary.26.df816e6.0
Version
Published prerelease version:
v0.1.1-future.2
Changelog
🎉 This release contains work from a new contributor! 🎉
Thank you, Norbert de Langen (@ndelangen), for all your work!
🐛 Bug Fix
future
📝 Documentation
Authors: 2