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

m-dialog

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m-dialog - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

20

index.js

@@ -18,2 +18,6 @@ 'use strict';

var _PropTypes = require('prop-types');
var _PropTypes2 = _interopRequireDefault(_PropTypes);
var _classnames = require('classnames');

@@ -194,12 +198,12 @@

Dialog.propTypes = {
title: _react.PropTypes.string,
content: _react.PropTypes.string.isRequired,
withCloseIcon: _react.PropTypes.bool,
hasFoot: _react.PropTypes.bool,
okBtnClass: _react.PropTypes.string,
okText: _react.PropTypes.string,
cancelText: _react.PropTypes.string,
onOk: _react.PropTypes.func
title: _PropTypes2.string,
content: _PropTypes2.string.isRequired,
withCloseIcon: _PropTypes2.bool,
hasFoot: _PropTypes2.bool,
okBtnClass: _PropTypes2.string,
okText: _PropTypes2.string,
cancelText: _PropTypes2.string,
onOk: _PropTypes2.func
};
exports.default = Dialog;
module.exports = exports['default'];

7

package.json
{
"name": "m-dialog",
"version": "1.1.2",
"version": "1.2.0",
"description": "m-dialog 移动端模态对话框",

@@ -33,5 +33,6 @@ "main": "index.js",

"dependencies": {
"react": "~15.2.0",
"react": "^15.5.4",
"prop-types": "^15.5.8",
"m-base": "^1.0.5",
"m-mask": "^1.0.0",
"m-mask": "^1.1.0",
"classnames": "~2.2.3"

@@ -38,0 +39,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