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.5 to 1.0.6

7

dist/components.js

@@ -1130,3 +1130,5 @@ 'use strict';

type: 'div',
props: {},
props: {
direction: 'down'
},
style: function style(props) {

@@ -1146,5 +1148,2 @@ var borderTop = props.direction === 'down' ? { borderTop: '.4375em solid' } : null;

direction: (0, _propTypes.oneOf)(['up', 'down'])
},
defaultProps: {
direction: 'down'
}

@@ -1151,0 +1150,0 @@ }, {

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

Component.propTypes = propTypes;
Component.defaultProps = config.defaultProps || {};
Component.defaultProps = config.props || {};

@@ -33,0 +33,0 @@ return Component;

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

// Clean this up after styled-components removes whitelisting
var Comp = (0, _styledComponents2.default)(Base).attrs(props)([], style);
var Comp = (0, _styledComponents2.default)(Base)([], style);

@@ -66,0 +66,0 @@ return Comp;

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

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

@@ -1144,3 +1144,5 @@ import React from 'react'

type: 'div',
props: {},
props: {
direction: 'down'
},
style: props => {

@@ -1160,5 +1162,2 @@ const borderTop = props.direction === 'down' ? { borderTop: '.4375em solid' } : null

direction: oneOf([ 'up', 'down' ])
},
defaultProps: {
direction: 'down'
}

@@ -1165,0 +1164,0 @@ },

@@ -19,3 +19,3 @@ import hoc from './hoc'

Component.propTypes = propTypes
Component.defaultProps = config.defaultProps || {}
Component.defaultProps = config.props || {}

@@ -22,0 +22,0 @@ return Component

@@ -62,5 +62,3 @@ import React from 'react'

// Clean this up after styled-components removes whitelisting
const Comp = styled(Base)
.attrs(props)
([], style)
const Comp = styled(Base)([], style)

@@ -67,0 +65,0 @@ return Comp

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