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

nuke-switch

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-switch - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

4

HISTORY.md
# Changelog
## 2.0.9 / 2018-04-16
* [[892bf82](http://gitlab.alibaba-inc.com/nuke/switch/commit/892bf82878b3900e586b919d44bc414bb758ab0d)] - `fix` helper import
## 2.0.8 / 2018-04-10

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

8

lib/styles/index.js

@@ -7,3 +7,3 @@ 'use strict';

var _hex = require('nuke-helper/lib/hex');
var _nukeHelper = require('nuke-helper');

@@ -16,2 +16,4 @@ var _variable = require('./variable');

var rgba = _nukeHelper.hex.rgba;
function StyleMix() {

@@ -56,3 +58,3 @@ var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

disabledCheckedWrap: {
borderColor: (0, _hex.rgba)(Variables['dis-c-border-color-android'], 0.5),
borderColor: rgba(Variables['dis-c-border-color-android'], 0.5),
backgroundColor: Variables['dis-c-bg-color-android']

@@ -117,3 +119,3 @@ },

disabledCheckedWrapIOS: {
borderColor: (0, _hex.rgba)(Variables['dis-c-border-color-ios'], 0.5),
borderColor: rgba(Variables['dis-c-border-color-ios'], 0.5),
backgroundColor: Variables['dis-c-bg-color-ios']

@@ -120,0 +122,0 @@ },

{
"name": "nuke-switch",
"version": "2.0.8",
"version": "2.0.9",
"description": "开关",

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

@@ -1,4 +0,4 @@

import { rgba } from 'nuke-helper/lib/hex';
import { hex } from 'nuke-helper';
import VariableMix from './variable';
const { rgba } = hex;
function StyleMix(theme = {}) {

@@ -5,0 +5,0 @@ const Variables = VariableMix(theme);

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