Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-notification

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-notification - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

2

dist/notificationStack.js

@@ -50,3 +50,3 @@ 'use strict';

notifications: _react.PropTypes.array.isRequired,
onDismiss: _react.PropTypes.func
onDismiss: _react.PropTypes.func.isRequired
};

@@ -53,0 +53,0 @@

{
"name": "react-notification",
"version": "5.0.5",
"version": "5.0.6",
"description": "Snackbar style notification component for React.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -129,3 +129,3 @@ import { Notification, NotificationStack } from '../src/index';

);
expect(handleDismiss.calledOnce).to.equal(false);

@@ -153,3 +153,3 @@ wrapper.setProps({ isActive: true });

);
wrapper.setProps({ isActive: true });

@@ -156,0 +156,0 @@ setTimeout(() => {

@@ -23,3 +23,3 @@ import { Notification, NotificationStack } from '../src/index';

);
wrapper.update();

@@ -46,3 +46,3 @@ setTimeout(() => {

);
wrapper.update();

@@ -56,3 +56,3 @@ setTimeout(() => {

}
// Add transition time + 1000ms per each Notification
// Add transition time + 1000ms per each Notification
}, mockNotification.dismissAfter + 1340);

@@ -59,0 +59,0 @@ });

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