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

cf-style-container

Package Overview
Dependencies
Maintainers
13
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-style-container - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

7

es/index.js

@@ -12,10 +12,5 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

import React, { Component, PropTypes } from 'react';
import cssColorFunction from 'css-color-function';
import { combineRules } from 'fela';
import { createComponent as createFelaComponent, ThemeProvider, connect } from 'react-fela';
var color = function color(input) {
return cssColorFunction.convert('color(' + input + ')');
};
var createComponent = function createComponent(rule) {

@@ -72,2 +67,2 @@ var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'div';

export { createComponent, applyTheme, ThemeProvider, color, connect, combineRules, createComponentStyles };
export { createComponent, applyTheme, ThemeProvider, connect, combineRules, createComponentStyles };

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

});
exports.createComponentStyles = exports.combineRules = exports.connect = exports.color = exports.ThemeProvider = exports.applyTheme = exports.createComponent = undefined;
exports.createComponentStyles = exports.combineRules = exports.connect = exports.ThemeProvider = exports.applyTheme = exports.createComponent = undefined;

@@ -17,6 +17,2 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _cssColorFunction = require('css-color-function');
var _cssColorFunction2 = _interopRequireDefault(_cssColorFunction);
var _fela = require('fela');

@@ -34,6 +30,2 @@

var color = function color(input) {
return _cssColorFunction2.default.convert('color(' + input + ')');
};
var createComponent = function createComponent(rule) {

@@ -93,5 +85,4 @@ var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'div';

exports.ThemeProvider = _reactFela.ThemeProvider;
exports.color = color;
exports.connect = _reactFela.connect;
exports.combineRules = _fela.combineRules;
exports.createComponentStyles = createComponentStyles;

3

package.json
{
"name": "cf-style-container",
"description": "Cloudflare Style Container",
"version": "0.2.2",
"version": "0.2.3",
"main": "lib/index.js",

@@ -14,3 +14,2 @@ "module": "es/index.js",

"dependencies": {
"css-color-function": "^1.3.0",
"fela": "^4.3.2",

@@ -17,0 +16,0 @@ "react-fela": "^4.2.5"

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