New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rebass

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rebass - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

dist/components.js

@@ -29,2 +29,3 @@ 'use strict';

var numberOrString = (0, _propTypes.oneOfType)([_propTypes.number, _propTypes.string]);
var bold = function bold(props) {

@@ -516,8 +517,7 @@ return (0, _util.idx)('weights.1', props.theme);

return {
maxWidth: (0, _util.px)(props.width || (0, _util.idx)('maxWidth', props.theme) || 1024),
width: 'auto'
maxWidth: (0, _util.px)(props.maxWidth || (0, _util.idx)('maxWidth', props.theme) || 1024)
};
},
propTypes: {
width: _propTypes.number
maxWidth: numberOrString
}

@@ -524,0 +524,0 @@ }, {

{
"name": "rebass",
"version": "1.0.1",
"version": "1.0.2",
"description": "Functional React UI component library, built with styled-components",

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

@@ -7,2 +7,3 @@ import React from 'react'

oneOf,
oneOfType,
} from 'prop-types'

@@ -27,2 +28,3 @@ import {

const numberOrString = oneOfType([ number, string ])
const bold = props => idx('weights.1', props.theme)

@@ -513,7 +515,6 @@

style: props => ({
maxWidth: px(props.width || idx('maxWidth', props.theme) || 1024),
width: 'auto'
maxWidth: px(props.maxWidth || idx('maxWidth', props.theme) || 1024)
}),
propTypes: {
width: number
maxWidth: numberOrString
}

@@ -520,0 +521,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