
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@types/postcss-modules-scope
Advanced tools
TypeScript definitions for postcss-modules-scope
npm install --save @types/postcss-modules-scope
This package contains type definitions for postcss-modules-scope (https://github.com/css-modules/postcss-modules-scope).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-scope.
// Type definitions for postcss-modules-scope 3.0
// Project: https://github.com/css-modules/postcss-modules-scope
// Definitions by: Jeow Li Huan <https://github.com/huan086>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
import { PluginCreator } from "postcss";
declare namespace scope {
interface Options {
generateScopedName?: ((
name: string,
path: string,
css: string
) => string) | undefined;
generateExportEntry?: ((
name: string,
scopedName: string,
path: string,
css: string
) => { key: string; value: string }) | undefined;
exportGlobals?: boolean | undefined;
}
}
declare const creator: PluginCreator<scope.Options>;
export = creator;
These definitions were written by Jeow Li Huan.
FAQs
TypeScript definitions for postcss-modules-scope
The npm package @types/postcss-modules-scope receives a total of 368,415 weekly downloads. As such, @types/postcss-modules-scope popularity was classified as popular.
We found that @types/postcss-modules-scope 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.