Socket
Socket
Sign inDemoInstall

@styled-system/space

Package Overview
Dependencies
2
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.5 to 5.0.6

4

package.json
{
"name": "@styled-system/space",
"version": "5.0.5",
"version": "5.0.6",
"main": "dist/index.js",

@@ -8,3 +8,3 @@ "module": "dist/index.esm.js",

"license": "MIT",
"gitHead": "d585cc19c2064684cf9f3b317d0acf982bdf137b",
"gitHead": "1767bf03168f37c48990a53b654f00bcc90439dd",
"dependencies": {

@@ -11,0 +11,0 @@ "@styled-system/core": "^5.0.5"

@@ -151,1 +151,20 @@ import { space } from '../src'

})
test('handles overriding margin/padding shortcut props', () => {
const styles = space({
m: 4,
mx: 3,
mr: 2,
p: 4,
py: 3,
pt: 2,
})
expect(styles).toEqual({
margin: 32,
marginLeft: 16,
marginRight: 8,
padding: 32,
paddingBottom: 16,
paddingTop: 8,
})
})
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