Socket
Socket
Sign inDemoInstall

react-base16-styling

Package Overview
Dependencies
4
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.2 to 0.5.3

lib/colorConverters.js

13

lib/index.js

@@ -44,10 +44,4 @@ 'use strict';

var _rgb = require('color-space/rgb');
var _colorConverters = require('./colorConverters');
var _rgb2 = _interopRequireDefault(_rgb);
var _yuv = require('color-space/yuv');
var _yuv2 = _interopRequireDefault(_yuv);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

@@ -59,3 +53,2 @@

var BASE16_KEYS = (0, _keys2.default)(DEFAULT_BASE16);

@@ -69,3 +62,3 @@

var invertColor = (0, _lodash4.default)(_parse2.default, _rgb2.default.yuv, function (_ref) {
var invertColor = (0, _lodash4.default)(_parse2.default, _colorConverters.rgb2yuv, function (_ref) {
var _ref2 = (0, _slicedToArray3.default)(_ref, 3),

@@ -77,3 +70,3 @@ y = _ref2[0],

return [flip(y), u, v];
}, _yuv2.default.rgb, _rgb2hex2.default);
}, _colorConverters.yuv2rgb, _rgb2hex2.default);

@@ -80,0 +73,0 @@ var merger = function merger(styling) {

{
"name": "react-base16-styling",
"version": "0.5.2",
"version": "0.5.3",
"description": "React styling with base16 color scheme support",

@@ -51,3 +51,2 @@ "main": "lib/index.js",

"base16": "^1.0.0",
"color-space": "^1.14.3",
"lodash.curry": "^4.0.1",

@@ -54,0 +53,0 @@ "lodash.flow": "^3.3.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc