
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@herdwatch/ts-migrate-server
Advanced tools
A package that contains the main migration runner and spawns a TSServer process
ts-migrate-server is a package that contains the main migration runner.
ts-migrate-server is designed around Airbnb projects. Use at your own risk.
Install ts-migrate-server using npm:
npm install --save-dev ts-migrate-server
Or yarn:
yarn add --dev ts-migrate-server
import path from 'path';
import { migrate, MigrateConfig } from 'ts-migrate-server';
// get input files folder
const inputDir = path.resolve(__dirname, 'input');
// create new migration config. You can add your plugins there
const config = new MigrateConfig();
// run migration
const exitCode = await migrate({ rootDir: inputDir, config });
process.exit(exitCode);
How can I use ts-migrate-server?
You can take a look at basic usage example. Another resource would be source code of the ts-migrate cli.
Why not just use codemods?
You actually can use codemods in your plugins! ts-migrate-server provides a more standardized API around TypeScript compiler usage and allows us to use the benefits of the TypeScript APIs without complicated setup.
I have an issue with a specific plugin, what should I do?
Please file an issue here.
See the Contributors Guide.
FAQs
A package that contains the main migration runner and spawns a TSServer process
We found that @herdwatch/ts-migrate-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.