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

react-notification-center

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-notification-center - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

lib/css/react-redux-notification.css

4

lib/index.js

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

return this.state.notifications.filter(function (item) {
return !item[_this3.mapOptions().new];
return item[_this3.mapOptions().new];
}).length;

@@ -161,3 +161,3 @@ };

if (notification[_this4.mapOptions().id] == item[_this4.mapOptions().id]) {
notification[_this4.mapOptions().new] = true;
notification[_this4.mapOptions().new] = false;
}

@@ -164,0 +164,0 @@ return notification;

{
"name": "react-notification-center",
"version": "1.2.1",
"version": "1.2.2",
"description": "react-notification-center keep all your notification in a single place",

@@ -10,3 +10,3 @@ "main": "lib/index.js",

"build:w": "better-npm-run build:w",
"build": "better-npm-run build",
"build": "better-npm-run build && npm run less && npm run less:m",
"less": "node_modules/.bin/lessc src/less/index.less --autoprefix=\"last 2 versions\" lib/css/react-redux-notification.css",

@@ -110,8 +110,2 @@ "less:m": "node_modules/.bin/lessc src/less/index.less --autoprefix=\"last 2 versions\" --clean-css lib/css/react-redux-notification.min.css",

"react-hot-loader": "^1.3.0",
"react-redux": "^4.4.0",
"redux": "^3.3.1",
"redux-devtools": "^3.1.1",
"redux-devtools-dock-monitor": "^1.1.0",
"redux-devtools-log-monitor": "^1.0.5",
"redux-logger": "^2.0.4",
"rimraf": "^2.4.4",

@@ -125,5 +119,4 @@ "style-loader": "^0.13.0",

"classnames": "^2.2.3",
"element-class": "^0.2.2",
"eventemitter3": "^1.1.1"
"element-class": "^0.2.2"
}
}

@@ -78,3 +78,3 @@ import React, {Component, PropTypes} from 'react';

getUnreadLength() {
return this.state.notifications.filter(item => !item[this.mapOptions().new]).length;
return this.state.notifications.filter(item => item[this.mapOptions().new]).length;
}

@@ -131,3 +131,3 @@

if (notification[this.mapOptions().id] == item[this.mapOptions().id]) {
notification[this.mapOptions().new] = true;
notification[this.mapOptions().new] = false;
}

@@ -134,0 +134,0 @@ return notification;

Sorry, the diff of this file is not supported yet

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