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

@wildberries/notifications

Package Overview
Dependencies
Maintainers
5
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wildberries/notifications - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11-beta.1

4

dist/_components/portal/index.js

@@ -15,3 +15,3 @@ var __extends = (this && this.__extends) || (function () {

import { PureComponent } from 'react';
import { uniqueId } from 'lodash-es';
import uniqid from 'uniqid';
import { createPortal } from 'react-dom';

@@ -41,3 +41,3 @@ // default z-index for portal container

_this.portalElement = document.createElement('div');
_this.portalElement.className = rootPortalPrefix + "__" + uniqueId();
_this.portalElement.className = rootPortalPrefix + "__" + uniqid();
return _this;

@@ -44,0 +44,0 @@ }

@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {

};
import { uniqueId } from 'lodash-es';
import uniqid from 'uniqid';
export var SET_MODAL = '@notifications/SET_MODAL';
export var setModalAction = function (actionPayload) { return ({
type: SET_MODAL,
payload: __assign(__assign({}, actionPayload), { id: uniqueId('notification_') }),
payload: __assign(__assign({}, actionPayload), { id: uniqid('notification_') }),
}); };

@@ -19,0 +19,0 @@ export var REMOVE_MODAL = '@notifications/REMOVE_MODAL';

{
"name": "@wildberries/notifications",
"version": "1.0.10",
"version": "1.0.11-beta.1",
"description": "notifications module",

@@ -34,3 +34,4 @@ "main": "dist/index.js",

"dependencies": {
"react-transition-group": "4.4.1"
"react-transition-group": "4.4.1",
"uniqid": "5.3.0"
},

@@ -46,2 +47,3 @@ "devDependencies": {

"@storybook/addon-links": "6.0.26",
"@types/uniqid": "5.2.0",
"@storybook/addon-viewport": "6.0.26",

@@ -51,3 +53,2 @@ "@storybook/react": "6.0.26",

"@types/jest": "24.9.1",
"@types/lodash-es": "4.17.3",
"@types/node-sass": "4.11.0",

@@ -102,3 +103,2 @@ "@types/react": "16.9.11",

"classnames": "2.2.6",
"lodash-es": "4.17.15",
"react": "16.13.0",

@@ -105,0 +105,0 @@ "react-dom": "16.13.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