Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@types/uglifyjs-webpack-plugin
Advanced tools
TypeScript definitions for uglifyjs-webpack-plugin
npm install --save @types/uglifyjs-webpack-plugin
This package contains type definitions for uglifyjs-webpack-plugin (https://github.com/webpack-contrib/uglifyjs-webpack-plugin).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uglifyjs-webpack-plugin.
import { Plugin } from "webpack";
export = UglifyJsPlugin;
declare class UglifyJsPlugin extends Plugin {
constructor(options?: UglifyJsPlugin.UglifyJsPluginOptions);
}
declare namespace UglifyJsPlugin {
interface UglifyJsPluginOptions {
test?: RegExp | RegExp[] | undefined;
include?: RegExp | RegExp[] | undefined;
exclude?: RegExp | RegExp[] | undefined;
cache?: boolean | string | undefined;
parallel?: boolean | number | undefined;
sourceMap?: boolean | undefined;
uglifyOptions?: UglifyJsOptions | undefined;
extractComments?:
| boolean
| RegExp
| ((node: object, comment: string) => boolean)
| ExtractCommentsOptions
| undefined;
warningsFilter?: ((source: string) => boolean) | undefined;
}
interface UglifyJsOptions {
ie8?: boolean | undefined;
ecma?: number | undefined;
parse?: object | undefined;
mangle?: boolean | object | undefined;
output?: object | undefined;
compress?: boolean | object | undefined;
warnings?: boolean | undefined;
toplevel?: boolean | undefined;
nameCache?: object | undefined;
keep_classnames?: boolean | undefined;
keep_fnames?: boolean | undefined;
safari10?: boolean | undefined;
}
interface ExtractCommentsOptions {
condition?: RegExp | ((node: object, comment: string) => boolean) | undefined;
filename?: string | ((originalFileName: string) => string) | undefined;
banner?: boolean | string | ((fileName: string) => string) | undefined;
}
}
These definitions were written by Rene Vajkay.
FAQs
TypeScript definitions for uglifyjs-webpack-plugin
We found that @types/uglifyjs-webpack-plugin 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.