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 1.0.1 to 1.0.2

4

HISTORY.md
# Changelog
## 1.0.2 / 2017-11-07
* [[9502ec9](http://gitlab.alibaba-inc.com/nuke/mask/commit/9502ec9a593ff1e8641e68a89267a4e987eb7d37)] - `fix` change view to div
## 1.0.1 / 2017-11-04

@@ -5,0 +9,0 @@

12

lib/index.js

@@ -242,9 +242,8 @@ 'use strict';

return visible ? (0, _rax.createElement)(
_nukeView2.default,
_extends({
'div',
_extends({}, others, {
ref: function ref(n) {
_this5.maskNode = (0, _rax.findDOMNode)(n);
},
style: [styles.maskPosition, { opacity: this.state.styleOpacity }, style]
}, others, {
style: [styles.maskPosition, { opacity: this.state.styleOpacity }, style],
onClick: function onClick(e) {

@@ -265,2 +264,7 @@ return _this5.maskPress(e);

maskPosition: {
display: 'flex',
boxSizing: 'border-box',
flexDirection: 'column',
alignContent: 'flex-start',
flexShrink: 0,
position: 'fixed',

@@ -267,0 +271,0 @@ top: 0,

{
"name": "nuke-mask",
"version": "1.0.1",
"version": "1.0.2",
"description": "遮罩层",

@@ -5,0 +5,0 @@ "main": "lib/index",

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