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

@uiw/react-notify

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-notify - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

2

lib/cjs/Container.js

@@ -30,3 +30,3 @@ "use strict";

function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }

@@ -33,0 +33,0 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }

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

var _utils = require("@uiw/utils");
var _Container = _interopRequireDefault(require("./Container"));

@@ -25,6 +27,2 @@

function randomid() {
return parseInt(String(Math.random() * 1e15), 10).toString(36);
}
var notifys = {};

@@ -93,3 +91,3 @@ var notifysDom = {};

duration: props.duration,
key: randomid(),
key: (0, _utils.randomid)(),
willUnmount: function willUnmount(nprops, notifysChild) {

@@ -96,0 +94,0 @@ if (!nprops) return;

@@ -9,3 +9,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -12,0 +12,0 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }

@@ -10,9 +10,5 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

import classnames from 'classnames';
import { randomid } from '@uiw/utils';
import Container from './Container';
import "./style/index.css";
function randomid() {
return parseInt(String(Math.random() * 1e15), 10).toString(36);
}
var notifys = {};

@@ -19,0 +15,0 @@ var notifysDom = {};

{
"name": "@uiw/react-notify",
"version": "4.1.0",
"version": "4.1.1",
"description": "Notify component",

@@ -46,6 +46,6 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/react-alert": "^4.1.0",
"@uiw/react-button": "^4.1.0",
"@uiw/react-icon": "^4.1.0",
"@uiw/utils": "^4.1.0",
"@uiw/react-alert": "^4.1.1",
"@uiw/react-button": "^4.1.1",
"@uiw/react-icon": "^4.1.1",
"@uiw/utils": "^4.1.1",
"classnames": "^2.2.6"

@@ -61,3 +61,3 @@ },

},
"gitHead": "5a2547993b7f4538e7075f6dce7e550620e31eca"
"gitHead": "1f6848374148d3e573244cf52dc88ecd001a6423"
}

Sorry, the diff of this file is not supported yet

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