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

reapop

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reapop - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

46

lib/components/Notification.js

@@ -56,5 +56,5 @@ 'use strict';

var _props$notification = props.notification;
var dismissAfter = _props$notification.dismissAfter;
var buttons = _props$notification.buttons;
var _props$notification = props.notification,
dismissAfter = _props$notification.dismissAfter,
buttons = _props$notification.buttons;

@@ -114,5 +114,5 @@ var _this = _possibleConstructorReturn(this, (Notification.__proto__ || Object.getPrototypeOf(Notification)).call(this, props));

value: function componentWillReceiveProps(nextProps) {
var _nextProps$notificati = nextProps.notification;
var dismissAfter = _nextProps$notificati.dismissAfter;
var buttons = _nextProps$notificati.buttons;
var _nextProps$notificati = nextProps.notification,
dismissAfter = _nextProps$notificati.dismissAfter,
buttons = _nextProps$notificati.buttons;

@@ -133,5 +133,5 @@ this.setState({

value: function _remove() {
var _props = this.props;
var removeNotification = _props.removeNotification;
var id = _props.notification.id;
var _props = this.props,
removeNotification = _props.removeNotification,
id = _props.notification.id;

@@ -192,5 +192,5 @@ removeNotification(id);

value: function _renderButtons() {
var _props2 = this.props;
var className = _props2.className;
var buttons = _props2.notification.buttons;
var _props2 = this.props,
className = _props2.className,
buttons = _props2.notification.buttons;

@@ -223,13 +223,13 @@

value: function render() {
var _props3 = this.props;
var className = _props3.className;
var _props3$notification = _props3.notification;
var title = _props3$notification.title;
var message = _props3$notification.message;
var status = _props3$notification.status;
var dismissible = _props3$notification.dismissible;
var closeButton = _props3$notification.closeButton;
var buttons = _props3$notification.buttons;
var image = _props3$notification.image;
var allowHTML = _props3$notification.allowHTML;
var _props3 = this.props,
className = _props3.className,
_props3$notification = _props3.notification,
title = _props3$notification.title,
message = _props3$notification.message,
status = _props3$notification.status,
dismissible = _props3$notification.dismissible,
closeButton = _props3$notification.closeButton,
buttons = _props3$notification.buttons,
image = _props3$notification.image,
allowHTML = _props3$notification.allowHTML;
var timer = this.state.timer;

@@ -236,0 +236,0 @@

@@ -68,11 +68,11 @@ 'use strict';

// get all notifications and default values for notifications
var _props = this.props;
var position = _props.position;
var className = _props.theme.notification.className;
var _props$defaultValues = _props.defaultValues;
var status = _props$defaultValues.status;
var dismissible = _props$defaultValues.dismissible;
var dismissAfter = _props$defaultValues.dismissAfter;
var closeButton = _props$defaultValues.closeButton;
var allowHTML = _props$defaultValues.allowHTML;
var _props = this.props,
position = _props.position,
className = _props.theme.notification.className,
_props$defaultValues = _props.defaultValues,
status = _props$defaultValues.status,
dismissible = _props$defaultValues.dismissible,
dismissAfter = _props$defaultValues.dismissAfter,
closeButton = _props$defaultValues.closeButton,
allowHTML = _props$defaultValues.allowHTML;
var notifications = this.props.notifications;

@@ -116,8 +116,8 @@

value: function render() {
var _props$theme$notifica = this.props.theme.notificationsContainer;
var className = _props$theme$notifica.className;
var _props$theme$notifica2 = _props$theme$notifica.transition;
var name = _props$theme$notifica2.name;
var enterTimeout = _props$theme$notifica2.enterTimeout;
var leaveTimeout = _props$theme$notifica2.leaveTimeout;
var _props$theme$notifica = this.props.theme.notificationsContainer,
className = _props$theme$notifica.className,
_props$theme$notifica2 = _props$theme$notifica.transition,
name = _props$theme$notifica2.name,
enterTimeout = _props$theme$notifica2.enterTimeout,
leaveTimeout = _props$theme$notifica2.leaveTimeout;
var position = this.props.position;

@@ -124,0 +124,0 @@

@@ -106,6 +106,6 @@ 'use strict';

value: function _renderNotificationsContainers() {
var _props = this.props;
var notifications = _props.notifications;
var position = _props.defaultValues.position;
var theme = _props.theme;
var _props = this.props,
notifications = _props.notifications,
position = _props.defaultValues.position,
theme = _props.theme;
var windowWidth = this.state.windowWidth;

@@ -176,3 +176,3 @@ // render all notifications in the same container at the top for small screens

notificationsSystem: _react2.default.PropTypes.shape({
className: _react2.default.PropTypes.string.isRequired
className: _react2.default.PropTypes.string
})

@@ -179,0 +179,0 @@ }).isRequired

@@ -138,4 +138,4 @@ 'use strict';

var _ref = arguments[1];
var type = _ref.type;
var payload = _ref.payload;
var type = _ref.type,
payload = _ref.payload;

@@ -142,0 +142,0 @@ switch (type) {

{
"name": "reapop",
"version": "0.6.0",
"version": "0.6.1",
"description": "A React and Redux notifications system",

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

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