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/react-notification-system-redux
Advanced tools
TypeScript definitions for react-notification-system-redux
npm install --save @types/react-notification-system-redux
This package contains type definitions for react-notification-system-redux (https://github.com/gor181/react-notification-system-redux).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-notification-system-redux.
// Type definitions for react-notification-system-redux 1.1
// Project: https://github.com/gor181/react-notification-system-redux
// Definitions by: Karol Janyst <https://github.com/LKay>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import { Component } from "react";
import { Action } from "redux";
import { Attributes, Notification } from "react-notification-system";
export as namespace Notifications;
export = Notifications;
declare class Notifications extends Component<Notifications.NotificationsProps> {}
declare namespace Notifications {
type NotificationsState = Notification[];
type NotificationLevel = "error" | "warning" | "info" | "success";
type NotificationsReducer<A extends Action> = (state: NotificationsState, action: A) => NotificationsState;
type NotificationShow = (opts?: Notification) => Action;
interface NotificationsProps extends Attributes {
notifications?: Notification[] | undefined;
}
const reducer: NotificationsReducer<any>;
function show(opts?: Notification, level?: NotificationLevel): Action;
const error: NotificationShow;
function hide(opts?: Notification | string | number): Action;
const info: NotificationShow;
const success: NotificationShow;
const warning: NotificationShow;
function removeAll(): Action;
}
Notifications
These definitions were written by Karol Janyst.
FAQs
TypeScript definitions for react-notification-system-redux
The npm package @types/react-notification-system-redux receives a total of 1,845 weekly downloads. As such, @types/react-notification-system-redux popularity was classified as popular.
We found that @types/react-notification-system-redux 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.