New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/toastr

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/toastr - npm Package Compare versions

Comparing version 2.1.39 to 2.1.40

15

toastr/index.d.ts

@@ -7,3 +7,2 @@ // Type definitions for Toastr 2.1.3

/// <reference types="jquery" />

@@ -80,3 +79,3 @@

*/
onCloseClick?: ((ev: JQueryMouseEventObject) => void) | undefined;
onCloseClick?: ((ev: JQuery.ClickEvent) => void) | undefined;
/**

@@ -122,3 +121,3 @@ * Should clicking on toast dismiss it?

onHidden?: (() => void) | undefined;
/**
/**
* Time in milliseconds the toast should be displayed after leaving mouse over.

@@ -213,3 +212,3 @@ * Set timeOut and extendedTimeOut to 0 to make it sticky.

*/
onclick?: ((ev: JQueryMouseEventObject) => void) | undefined;
onclick?: ((ev: JQuery.ClickEvent) => void) | undefined;
/**

@@ -231,7 +230,7 @@ * Should the title and message text be escaped?

*
* @param message Message to display in toast
* @param message Message to display in toast, or HTML content
* @param title Title to display on toast
* @param overrides Option values for toast
*/
(message: string, title?: string, overrides?: ToastrOptions): JQuery;
(message: string | JQuery, title?: string, overrides?: ToastrOptions): JQuery;
}

@@ -310,3 +309,3 @@

* Removes all toasts (without animation)
*/
*/
(): void;

@@ -317,3 +316,3 @@ /**

* @param toast Toast to remove
*/
*/
(toast: JQuery): void;

@@ -320,0 +319,0 @@ };

{
"name": "@types/toastr",
"version": "2.1.39",
"version": "2.1.40",
"description": "TypeScript definitions for Toastr",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toastr",

},
"typesPublisherContentHash": "1228d8fff713d5f818431bf70bafce000a57491b232f44292c1a4a1c3f4ce4be",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "cebb37f45b3b2421bf444a2b255a6e07256897669be7b97718b77a7d7399af44",
"typeScriptVersion": "4.0"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 02 Jul 2021 19:37:12 GMT
* Last updated: Mon, 15 Aug 2022 19:32:38 GMT
* Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

@@ -14,0 +14,0 @@ * Global values: `toastr`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc