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

styled-system

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-system - npm Package Compare versions

Comparing version 1.0.0-12 to 1.0.0-13

4

dist/constants.js

@@ -5,3 +5,3 @@ "use strict";

var scale = [0, 8, 16, 32, 64];
var space = [0, 8, 16, 32, 64];

@@ -12,4 +12,4 @@ var fontSizes = [12, 14, 16, 20, 24, 32, 48, 64, 72];

breakpoints: breakpoints,
scale: scale,
space: space,
fontSizes: fontSizes
};

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

var _require2 = require('./constants'),
scale = _require2.scale;
space = _require2.space;

@@ -29,3 +29,3 @@ var REG = /^[mp][trblxy]?$/;

var bp = breaks(props);
var sc = idx(['theme', 'space'], props) || scale;
var sc = idx(['theme', 'space'], props) || space;

@@ -32,0 +32,0 @@ return keys.map(function (key) {

{
"name": "styled-system",
"version": "1.0.0-12",
"version": "1.0.0-13",
"description": "Design system utilities for styled-components, glamorous, and other css-in-js libraries",

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

@@ -7,3 +7,3 @@ const breakpoints = [

const scale = [
const space = [
0,

@@ -30,4 +30,4 @@ 8,

breakpoints,
scale,
space,
fontSizes,
}

@@ -12,3 +12,3 @@ const {

} = require('./util')
const { scale } = require('./constants')
const { space } = require('./constants')

@@ -22,3 +22,3 @@ const REG = /^[mp][trblxy]?$/

const bp = breaks(props)
const sc = idx([ 'theme', 'space' ], props) || scale
const sc = idx([ 'theme', 'space' ], props) || space

@@ -25,0 +25,0 @@ return keys.map(key => {

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