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

nuke-mask

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-mask - npm Package Compare versions

Comparing version 2.2.11 to 2.2.13

21

CHANGELOG.md

@@ -6,2 +6,23 @@ # Change Log

<a name="2.2.13"></a>
## [2.2.13](https://gitlab.alibaba-inc.com/nuke/mask/compare/v2.2.12...v2.2.13) (2018-09-11)
### Bug Fixes
* fix mask defaultVisible issue ([1f16c05](https://gitlab.alibaba-inc.com/nuke/mask/commit/1f16c05))
<a name="2.2.12"></a>
## [2.2.12](https://gitlab.alibaba-inc.com/nuke/mask/compare/v2.2.11...v2.2.12) (2018-09-11)
**Note:** Version bump only for package nuke-mask
<a name="2.2.11"></a>

@@ -8,0 +29,0 @@ ## [2.2.11](https://gitlab.alibaba-inc.com/nuke/mask/compare/v2.2.10...v2.2.11) (2018-09-06)

2

docs/basic.md

@@ -60,3 +60,3 @@ # Mask 遮罩层 Demo

onHide={this.onHide}
defaultVisible={false}
defaultVisible={true}
onVisibleChanged={this.onVisibleChanged}

@@ -63,0 +63,0 @@ ref="myMask"

@@ -58,14 +58,3 @@ 'use strict';

}
// shouldComponentUpdate(nextProps, nextState) {
// if (!this.initFlag) {
// this.initFlag = true;
// return (
// nextProps.style !== this.props.style ||
// nextState.visible !== this.state.visible
// );
// }
// return true;
// }
_createClass(Mask, [{

@@ -89,3 +78,3 @@ key: 'componentDidMount',

}
this.setState({ visible: true });
this.setState({ visible: true, style: styles.shown });
this.props.onShow && this.props.onShow();

@@ -92,0 +81,0 @@ }

{
"name": "nuke-mask",
"version": "2.2.11",
"version": "2.2.13",
"description": "遮罩层",

@@ -55,13 +55,13 @@ "main": "lib/index",

"dependencies": {
"nuke-dimensions": "^2.2.11",
"nuke-env": "^2.2.11",
"nuke-transition": "^2.2.11",
"nuke-view": "^2.2.11"
"nuke-dimensions": "^2.2.13",
"nuke-env": "^2.2.13",
"nuke-transition": "^2.2.13",
"nuke-view": "^2.2.13"
},
"devDependencies": {
"nuke-button": "^2.2.11",
"nuke-checkbox": "^2.2.11",
"nuke-input": "^2.2.11",
"nuke-page": "^2.2.11",
"nuke-text": "^2.2.11"
"nuke-button": "^2.2.13",
"nuke-checkbox": "^2.2.13",
"nuke-input": "^2.2.13",
"nuke-page": "^2.2.13",
"nuke-text": "^2.2.13"
},

@@ -72,3 +72,3 @@ "publishConfig": {

"license": "Apache",
"gitHead": "2a89696e5b73e698847a4419c832ba04ed3ec3d0"
"gitHead": "4522265b3bf66dede00807ddfd834a5f760d80c1"
}

@@ -23,12 +23,2 @@ 'use strict';

}
// shouldComponentUpdate(nextProps, nextState) {
// if (!this.initFlag) {
// this.initFlag = true;
// return (
// nextProps.style !== this.props.style ||
// nextState.visible !== this.state.visible
// );
// }
// return true;
// }
componentDidMount() {

@@ -48,3 +38,3 @@ if (this.state.visible) {

}
this.setState({ visible: true });
this.setState({ visible: true, style: styles.shown });
this.props.onShow && this.props.onShow();

@@ -51,0 +41,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