
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@voltiso/transform
Advanced tools
@voltiso/transform
A set of TS transformers to be applied using ts-patch
.
@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.)@voltiso/transform/compat
Removes numeric separators from the compiled code.
@typescript-eslint/explicit-module-boundary-types
rule.
Otherwise the transformer might fail for some fringe cases. This is not a big
issue, as exporting types explicitly might speed up type-checking anyway.FAQs
A set of TS transformers to be applied using `ts-patch`.
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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.