Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@voltiso/transform
Advanced tools
Readme
@voltiso/transform/inline
Type-alias-inlining using either:
@inline
JSDoc - to inline the type alias everywhere it's used (in .d.ts
files)@inline
comment before usage of any alias to attempt inlining it (in
.d.ts
files)Config:
onInlineError: 'fail'
- causes compiler to crash if type-inlining fails
(usually symbols out of scope) - this applies only to the JSDoc inlining
method (1.
)⚠️ Currently only checks if type names are in scope - but does not check if the types are equal!
@voltiso/transform/strip
Strip symbols such as asserts from production code.
Config:
modules: string[]
- comment-out import declarations with given prefixessymbols: string[]
- comment-out instructions containing tokens
(function
calls, etc.)FAQs
Type-alias-inlining using either:
The npm package @voltiso/transform receives a total of 12 weekly downloads. As such, @voltiso/transform popularity was classified as not popular.
We found that @voltiso/transform demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.