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

@uiw/react-alert

Package Overview
Dependencies
Maintainers
2
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-alert - npm Package Compare versions

Comparing version 4.21.19 to 4.21.20

19

cjs/index.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
Object.defineProperty(exports, "__esModule", {

@@ -9,23 +8,16 @@ value: true

exports["default"] = void 0;
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var _react = _interopRequireDefault(require("react"));
var _reactModal = _interopRequireDefault(require("@uiw/react-modal"));
var _jsxRuntime = require("react/jsx-runtime");
var _excluded = ["prefixCls", "className", "width"];
var _default = function _default() {
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var _props$prefixCls = props.prefixCls,
prefixCls = _props$prefixCls === void 0 ? 'w-alert' : _props$prefixCls,
className = props.className,
_props$width = props.width,
width = _props$width === void 0 ? 400 : _props$width,
other = (0, _objectWithoutProperties2["default"])(props, _excluded);
prefixCls = _props$prefixCls === void 0 ? 'w-alert' : _props$prefixCls,
className = props.className,
_props$width = props.width,
width = _props$width === void 0 ? 400 : _props$width,
other = (0, _objectWithoutProperties2["default"])(props, _excluded);
var cls = [prefixCls, className].filter(Boolean).join(' ').trim();

@@ -38,5 +30,4 @@ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactModal["default"], (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, other), {}, {

};
exports["default"] = _default;
module.exports = exports.default;
//# sourceMappingURL=index.js.map

@@ -12,10 +12,8 @@ import _extends from "@babel/runtime/helpers/extends";

}
var {
prefixCls = 'w-alert',
className,
width = 400
} = props,
other = _objectWithoutPropertiesLoose(props, _excluded);
prefixCls = 'w-alert',
className,
width = 400
} = props,
other = _objectWithoutPropertiesLoose(props, _excluded);
var cls = [prefixCls, className].filter(Boolean).join(' ').trim();

@@ -22,0 +20,0 @@ return /*#__PURE__*/_jsx(Modal, _extends({}, other, {

{
"name": "@uiw/react-alert",
"version": "4.21.19",
"version": "4.21.20",
"description": "Alert component",

@@ -47,5 +47,5 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/react-modal": "^4.21.19",
"@uiw/utils": "^4.21.19"
"@uiw/react-modal": "^4.21.20",
"@uiw/utils": "^4.21.20"
}
}

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