
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@wroud/di-tools-codemod
Advanced tools
@wroud/di-tools-codemod is a codemod utility that automates the migration of your codebase from Inversify to @wroud/di. It streamlines the transformation process, allowing for effortless and customizable transitions through configuration support.
Welcome to @wroud/di-tools-codemod, a tool designed to help you migrate your codebase from Inversify to @wroud/di effortlessly. This codemod automates the transformation process, ensuring a smooth transition to @wroud/di.
@wroud/di.di-tools-codemod.json configuration file.npm install @wroud/di-tools-codemod
Install via yarn
yarn add @wroud/di-tools-codemod
To use the codemod, run the following command in your terminal:
yarn di-tools-codemod ./packages/*/src/**/*.{ts,tsx}
You can provide a di-tools-codemod.json configuration file in the same folder where you run the codemod to customize the migration process.
{
"transformer": {
"esm": false,
"copyright": ""
},
"supportedPackages": [
{
"name": "inversify",
"replace": "@wroud/di",
"injectableDecorator": "injectable",
"injectDecorator": "inject",
"multiInjectDecorator": "multiInject"
}
],
"generateModule": true
}
import { injectable } from "inversify";
@injectable()
export class NotificationService {
constructor(
private readonly a: A,
private readonly b: B,
private readonly c: C,
) {}
}
import { injectable } from "@wroud/di";
@injectable(() => [A, B, C])
export class NotificationService {
constructor(
private readonly a: A,
private readonly b: B,
private readonly c: C,
) {}
}
All notable changes to this project will be documented in the CHANGELOG file.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
@wroud/di-tools-codemod is a codemod utility that automates the migration of your codebase from Inversify to @wroud/di. It streamlines the transformation process, allowing for effortless and customizable transitions through configuration support.
We found that @wroud/di-tools-codemod 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.