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

@styled-system/css

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@styled-system/css - npm Package Compare versions

Comparing version 1.0.0-0 to 1.0.0-1

5

dist.js

@@ -39,5 +39,4 @@ "use strict";

return (0, _lodash.default)(props, systemProps);
}; // const notEmpty = n => Object.keys(n).length > 0
};
var system = (0, _styledSystem.compose)(styles, _styledSystem.space, _styledSystem.color, _styledSystem.fontFamily, _styledSystem.fontSize, _styledSystem.fontWeight, _styledSystem.lineHeight);

@@ -49,3 +48,3 @@ exports.system = system;

var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var theme = props.theme;
var theme = props.theme || props;
var styleProps = (0, _lodash2.default)(props, systemProps);

@@ -52,0 +51,0 @@

3

index.js

@@ -53,3 +53,2 @@ import {

const styles = props => omit(props, systemProps)
// const notEmpty = n => Object.keys(n).length > 0

@@ -67,3 +66,3 @@ export const system = compose(

export const css = style => (props = {}) => {
const { theme } = props
const theme = props.theme || props
const styleProps = pick(props, systemProps)

@@ -70,0 +69,0 @@ const styles = [

{
"name": "@styled-system/css",
"version": "1.0.0-0",
"version": "1.0.0-1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist.js",

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