
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@swc/types
Advanced tools
Typings for @swc/core APIs. This is a separate package because SWC is used by various tools but not all of them want to depend on @swc/core.
This package is very cheap, so feel free to depend on this.
Similar to @swc/types, @babel/types provides definitions and constructors for AST nodes for use with Babel. While both packages serve a similar purpose in providing tools for AST manipulation, @babel/types is tailored for the Babel ecosystem, which might make it more suitable for projects already using Babel for transpilation.
The TypeScript package itself includes utilities for working with TypeScript ASTs. While @swc/types is focused on SWC's AST format, the TypeScript package is essential for projects that need to work directly with TypeScript codebases, offering more comprehensive support for TypeScript-specific features.
FAQs
Typings for the swc project.
The npm package @swc/types receives a total of 27,285,212 weekly downloads. As such, @swc/types popularity was classified as popular.
We found that @swc/types 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
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.