
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
@types/postcss-inline-svg
Advanced tools
TypeScript definitions for postcss-inline-svg
npm install --save @types/postcss-inline-svg
This package contains type definitions for postcss-inline-svg (https://github.com/TrySound/postcss-inline-svg).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-inline-svg.
import { PluginCreator } from "postcss";
declare namespace postcssInlineSvg {
interface Options {
/**
* Array of paths to resolve URL. Paths are tried in order, until an existing file is found.
* If omitted, path will be relative to source file if it was specified
*/
paths?: readonly string[];
/**
* Removes all `fill` attributes before applying specified. Passed `RegExp` filters files by ID
* @default false
*/
readonly removeFill?: RegExp | boolean;
/**
* Removes all `stroke` attributes before applying specified. Passed `RegExp` filters files by ID
* @default false
*/
removeStroke?: RegExp | boolean;
/**
* Processes SVG after applying parameters
*/
encode?: (svg: string) => string;
/**
* Transforms SVG after `encode` function and generates URL
*/
transform?: (svg: string, path: string) => string;
/**
* Adds `xmlns` attribute to SVG if not present
* @default true
*/
xmlns?: boolean;
}
}
declare const postcssInlineSvg: PluginCreator<postcssInlineSvg.Options>;
export = postcssInlineSvg;
These definitions were written by .
FAQs
TypeScript definitions for postcss-inline-svg
We found that @types/postcss-inline-svg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.