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.1.0 to 1.1.1

7

dist/prop-types.js

@@ -87,4 +87,8 @@ 'use strict';

var borderColor = {
borderColor: PropTypes.string
};
var boxShadow = {
boxShadow: PropTypes.string
boxShadow: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};

@@ -123,2 +127,3 @@

borderWidth: borderWidth,
borderColor: borderColor,
boxShadow: boxShadow,

@@ -125,0 +130,0 @@ hover: hover,

5

package.json
{
"name": "styled-system",
"version": "1.1.0",
"version": "1.1.1",
"description": "Design system utilities for styled-components, glamorous, and other css-in-js libraries",

@@ -66,3 +66,6 @@ "main": "dist/index.js",

"prop-types": "^15.6.0"
},
"peerDependencies": {
"react": "^0.14.x || ^15.x || ^16.x"
}
}

@@ -343,2 +343,4 @@ # styled-system

// props.theme.shadows[1]
// -- OR --
// <Box boxShadow={'1px 1px 0 black'} />
```

@@ -345,0 +347,0 @@

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