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

awesome-notifications

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-notifications - npm Package Versions

134

3.0.0

Diff

Changelog

Source

[3.0.0] - 04.13.2019

Massive update which changed a big part of internal logic and added some new features.

Added

  • Optional options paramater for every public method. It used to override global options per call.
  • Durations settings for each toast separately. It's available under options.durations property.
  • Minimum durations settings for each async element. It's available under options.minDurations property.
  • New default function which formats errors. It's available under options.formatError property.
  • Now all messages passed to alert() method will be formatted by options.formatError.
  • All toasts and popups methods, now return HTMLElement which was created by them.
  • New default messages. It's available under options.messages
  • Enhanced design for toasts and popups.
  • Brand new handsome and detailed documentation.
  • New JS bundle for modern browsers.
  • _addToast method
  • _addPopup method
  • _afterAsync method
  • _responseHandler method, which is specific for _afterAsync
  • container getter
  • Webpack compress bundles to gzip format

Changed

  • New library gzipped sizes: 4kb - default bundle, 3kb - modern bundle.
  • Now icons are use Font Awesome 5 by default.
  • html parameter of all elements, now named message. It's no longer mandatory.
  • options.modal.okLabel to options.labels.confirmOk
  • options.modal.okLabel to options.labels.confirmCancel
  • options.modal.okLabel to options.labels.confirmCancel
  • options.asyncBlockMinDuration to options.minDurations["async-block"]
  • options.duration to options.durations.global
  • options.handleReject to options.formatError
  • Internal name of Modal class changed to Popup
  • Change browserlist setting for default bundle
  • Rename defaults.js file to options.js
  • Rename modal.js file to popup.js

Removed

  • notify method
  • _runFunction method
  • _getContainer method
  • options.modal.maxWidth property, use CSS instead

Fixed

  • Now NPM dist contains index.var.js
f3oall
published 2.2.9 •

Changelog

Source

[2.2.9] - 04.27.2018

Changed

  • Rename styles.css to style.css to remove breaking change.
f3oall
published 2.2.8 •

Changelog

Source

[2.2.8] - 04.03.2018

Changed

  • Update .npmignore to decrease package size
f3oall
published 2.2.7 •

Changelog

Source

[2.2.7] - 04.03.2018

Changed

  • Update readme.md
f3oall
published 2.2.6 •

Changelog

Source

[2.2.6] - 04.03.2018

Added

  • test/defaults.spec.js for testing defaults.js file.

Changed

  • DefaultsDeep function has been changed.
  • Change Babel config. Now project supports only 2 last versions of browsers.
  • Start using Webpack 4. webpack.config.js has been changed.
  • Start using Yarn instead of NPM.
  • Refactoring of defaults.js code.

Removed

  • Remove lodash.defaultsdeep dependency.
  • Remove few old unneeded development dependencies.
f3oall
published 2.2.5 •

f3oall
published 2.2.4 •

f3oall
published 2.2.3 •

f3oall
published 2.2.2 •

f3oall
published 2.2.1 •

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