Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@types/css-modules
Advanced tools
TypeScript definitions for css-modules
npm install --save @types/css-modules
This package contains type definitions for css-modules (https://github.com/css-modules/css-modules).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-modules.
interface CSSModule {
/**
* Returns the specific selector from imported stylesheet as string.
*/
[key: string]: string;
}
declare module "*.css" {
/**
* A CSS module.
*/
const styles: CSSModule;
export default styles;
}
declare module "*.scss" {
/**
* An SCSS based CSS module.
*
* https://sass-lang.com
*/
const styles: CSSModule;
export default styles;
}
declare module "*.sass" {
/**
* A Sass based CSS module.
*
* https://sass-lang.com
*/
const styles: CSSModule;
export default styles;
}
declare module "*.less" {
/**
* A Less based CSS module.
*
* http://lesscss.org
*/
const styles: CSSModule;
export default styles;
}
declare module "*.styl" {
/**
* A Stylus based CSS module.
*
* https://stylus-lang.com
*/
const styles: CSSModule;
export default styles;
}
These definitions were written by NeekSandhu, and Remco Haszing.
FAQs
TypeScript definitions for css-modules
We found that @types/css-modules 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.