Socket
Socket
Sign inDemoInstall

styled-system

Package Overview
Dependencies
5
Maintainers
2
Versions
149
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.6 to 3.1.7

12

CHANGELOG.md
# Changelog
## v3.1.7 2018-10-10
- Fix for `breakpoints` numbers not being converted to pixels
## v3.1.6 2018-09-23
- Fix `.npmignore`
## v3.1.5 2018-09-23
- Update docs
## v3.1.4 2018-09-19

@@ -5,0 +17,0 @@

2

dist/index.cjs.js

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

var createMediaQuery = function createMediaQuery(n) {
return "@media screen and (min-width: " + n + ")";
return "@media screen and (min-width: " + px(n) + ")";
};

@@ -106,0 +106,0 @@

@@ -68,3 +68,3 @@ function _extends() { _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; }; return _extends.apply(this, arguments); }

export var createMediaQuery = function createMediaQuery(n) {
return "@media screen and (min-width: " + n + ")";
return "@media screen and (min-width: " + px(n) + ")";
};

@@ -71,0 +71,0 @@ export var style = function style(_ref) {

{
"name": "styled-system",
"version": "3.1.6",
"version": "3.1.7",
"description": "Responsive, theme-based style props for building design systems with React",

@@ -43,3 +43,3 @@ "main": "dist/index.cjs.js",

"is-ci": "^1.1.0",
"mdx-go": "^2.0.0-21",
"mdx-go": "^2.0.0-22",
"nyc": "^12.0.2",

@@ -46,0 +46,0 @@ "react": "^16.4.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