
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@types/webpack
Advanced tools
TypeScript definitions for webpack
npm install --save @types/webpack
This package contains type definitions for webpack (https://github.com/webpack/webpack).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack.
/// <reference types="node" />
/* eslint-disable-next-line @definitelytyped/no-self-import */
import webpack = require("webpack");
export = webpack;
These definitions were written by Qubo, Benjamin Lim, Boris Cherny, Tommy Troy Lin, Mohsen Azimi, Jonathan Creamer, Alan Agius, Dennis George, Christophe Hurpeau, ZSkycat, John Reilly, Ryan Waskiewicz, Kyle Uehlein, Grgur Grisogono, Rubens Pinheiro Gonçalves Cavalcante, Anders Kaseorg, Felix Haus, Daniel Chin, Daiki Ihara, Dion Shi, Piotr Błażejewicz, and Michał Grzegorzewski.
A TypeScript loader for Webpack. It allows TypeScript files to be understood and bundled by Webpack. Unlike @types/webpack, which provides type definitions for Webpack itself, ts-loader is focused on integrating TypeScript compilation into the Webpack process.
Another TypeScript loader for Webpack, similar to ts-loader. It also enables TypeScript files to be compiled and bundled by Webpack. It offers some different features and optimizations compared to ts-loader, but like ts-loader, it is focused on the integration of TypeScript with Webpack rather than providing type definitions.
Provides type definitions for the Webpack environment variables. While @types/webpack offers comprehensive type definitions for configuring and using Webpack, webpack-env focuses specifically on the types related to Webpack's environment variables, enhancing development experience by offering autocompletion and type checking for these variables.
FAQs
TypeScript definitions for webpack
The npm package @types/webpack receives a total of 4,660,495 weekly downloads. As such, @types/webpack popularity was classified as popular.
We found that @types/webpack demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.