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/postcss-safe-parser
Advanced tools
TypeScript definitions for postcss-safe-parser
npm install --save @types/postcss-safe-parser
This package contains type definitions for postcss-safe-parser (https://github.com/postcss/postcss-safe-parser#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-safe-parser.
// Type definitions for postcss-safe-parser 5.0
// Project: https://github.com/postcss/postcss-safe-parser#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Fabian van der Veen <https://github.com/fvanderveen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.6
import { Parser, Root } from 'postcss';
/**
* A fault-tolerant CSS parser for PostCSS, which will find & fix syntax errors, capable of parsing any input.
* It is useful for:
* Parse legacy code with many hacks. For example, it can parse all examples from {@link http://browserhacks.com/|Browserhacks}.
* Works with demo tools with live input like {@link http://simevidas.jsbin.com/gufoko/quiet|Autoprefixer demo}.
*/
declare namespace safeParser {
type PostCssSafeParser = Parser<Root>;
}
declare const safeParser: safeParser.PostCssSafeParser;
export = safeParser;
These definitions were written by Piotr Błażejewicz, and Fabian van der Veen.
FAQs
TypeScript definitions for postcss-safe-parser
The npm package @types/postcss-safe-parser receives a total of 9,025 weekly downloads. As such, @types/postcss-safe-parser popularity was classified as popular.
We found that @types/postcss-safe-parser 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.