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

rc-notification

Package Overview
Dependencies
Maintainers
7
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-notification - npm Package Compare versions

Comparing version 5.0.0-alpha.7 to 5.0.0-alpha.8

12

es/useNotification.js

@@ -12,2 +12,4 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";

var uniqueKey = 0;
function mergeConfig() {

@@ -73,7 +75,9 @@ var clone = {};

open: function open(config) {
var _config$key;
var mergedConfig = mergeConfig(shareConfig, config);
var mergedConfig = mergeConfig(shareConfig, config, {
key: (_config$key = config.key) !== null && _config$key !== void 0 ? _config$key : Date.now()
});
if (mergedConfig.key === null || mergedConfig.key === undefined) {
mergedConfig.key = "rc-notification-".concat(uniqueKey);
uniqueKey += 1;
}
setTaskQueue(function (queue) {

@@ -80,0 +84,0 @@ return [].concat(_toConsumableArray(queue), [{

@@ -28,2 +28,4 @@ "use strict";

var uniqueKey = 0;
function mergeConfig() {

@@ -88,7 +90,9 @@ var clone = {};

open: function open(config) {
var _config$key;
var mergedConfig = mergeConfig(shareConfig, config);
var mergedConfig = mergeConfig(shareConfig, config, {
key: (_config$key = config.key) !== null && _config$key !== void 0 ? _config$key : Date.now()
});
if (mergedConfig.key === null || mergedConfig.key === undefined) {
mergedConfig.key = "rc-notification-".concat(uniqueKey);
uniqueKey += 1;
}
setTaskQueue(function (queue) {

@@ -95,0 +99,0 @@ return [].concat((0, _toConsumableArray2.default)(queue), [{

{
"name": "rc-notification",
"version": "5.0.0-alpha.7",
"version": "5.0.0-alpha.8",
"description": "notification ui component for react",

@@ -5,0 +5,0 @@ "engines": {

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