Socket
Socket
Sign inDemoInstall

toastify-js

Package Overview
Dependencies
0
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.0 to 1.6.1

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## [1.6.1] - 2019-06-29
* Bugfix: Disabling `stopOnFocus`
## [1.6.0] - 2019-06-29

@@ -7,0 +11,0 @@

2

package.json
{
"name": "toastify-js",
"version": "1.6.0",
"version": "1.6.1",
"description": "Toastify is a lightweight, vanilla JS toast notification library.",

@@ -5,0 +5,0 @@ "main": "./src/toastify.js",

@@ -6,3 +6,3 @@ # Toastify

[![toastify-js](https://img.shields.io/badge/toastify--js-1.6.0-brightgreen.svg)](https://www.npmjs.com/package/toastify-js)
[![toastify-js](https://img.shields.io/badge/toastify--js-1.6.1-brightgreen.svg)](https://www.npmjs.com/package/toastify-js)

@@ -9,0 +9,0 @@ Toastify is a lightweight, vanilla JS toast notification library.

/*!
* Toastify js 1.6.0
* Toastify js 1.6.1
* https://github.com/apvarun/toastify-js

@@ -21,3 +21,3 @@ * @license MIT licensed

// Library version
version = "1.6.0";
version = "1.6.1";

@@ -56,3 +56,3 @@ // Defining the prototype of the object

this.options.className = options.className || ""; // additional class names for the toast
this.options.stopOnFocus = options.stopOnFocus || true; // stop timeout on focus
this.options.stopOnFocus = options.stopOnFocus === undefined? true: options.stopOnFocus; // stop timeout on focus

@@ -59,0 +59,0 @@ // Returning the current object for chaining functions

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc