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 3.0.0-9 to 3.0.0-10

CODE_OF_CONDUCT.md

34

CHANGELOG.md
# Changelog
## Unreleased
- Removes monorepo setup and optional packages
- Removes support for emotion
## [3.0.0-9] 2018-09-22
- Adds flexbox props back to Box component
## [3.0.0-6] 2018-09-13
- Adds emotion package
## [3.0.0-2] 2018-09-11
- Update styled-system
- Update docs
## [3.0.0-1] 2018-09-10
- Update docs for v3
## [3.0.0-0] 2018-09-08
- Smaller package
- Reduced number of components to 8
- Upgraded for styled-components v4
- Reduced dependencies to one
- Removed default theme and colors
- Removed Rebass Provider component
- Added variant theme support to Button and Card
- Removed `is` prop in favor of styled-components `as` prop
- Uses Box component as the base for all other components
## [2.3.2] 2018-09-08

@@ -5,0 +39,0 @@

4

dist/index.js

@@ -26,3 +26,5 @@ "use strict";

var Box = (0, _styledComponents.default)('div')(_styledSystem.space, _styledSystem.width, _styledSystem.fontSize, _styledSystem.color, _styledSystem.flex, _styledSystem.order, _styledSystem.alignSelf, themed('Box'), css);
var Box = (0, _styledComponents.default)('div')({
boxSizing: 'border-box'
}, _styledSystem.space, _styledSystem.width, _styledSystem.fontSize, _styledSystem.color, _styledSystem.flex, _styledSystem.order, _styledSystem.alignSelf, themed('Box'), css);
exports.Box = Box;

@@ -29,0 +31,0 @@ Box.propTypes = _extends({}, _styledSystem.space.propTypes, _styledSystem.width.propTypes, _styledSystem.fontSize.propTypes, _styledSystem.color.propTypes);

{
"name": "rebass",
"version": "3.0.0-9",
"version": "3.0.0-10",
"description": "React primitive UI components built with styled-system",

@@ -8,8 +8,7 @@ "main": "dist/index.js",

"scripts": {
"prepare": "npm run clean && babel src -d dist && npm run emotion",
"prepare": "npm run clean && babel src -d dist",
"clean": "rm -rf dist",
"emotion": "NODE_ENV=emotion babel src -d dist/emotion",
"start": "mdx-go docs",
"docs": "mdx-go build docs -d site",
"cover": "jest --coverage --coverageReporters html lcov && codecov",
"cover": "jest --coverage && npx codecov",
"test": "jest",

@@ -33,23 +32,22 @@ "size": "bundlesize"

"dependencies": {
"styled-system": "^3.1.4"
"styled-system": "^3.1.11"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-transform-rename-import": "^2.2.0",
"bundlesize": "^0.17.0",
"codecov": "^3.0.0",
"emotion": "^9.2.10",
"buble": "0.19.4",
"jest": "^23.6.0",
"jest-styled-components": "^6.2.0",
"mdx-go": "^1.1.10",
"jest-styled-components": "^6.2.1",
"mdx-go": "^2.0.0-29",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-emotion": "^9.2.10",
"react-test-renderer": "^16.5.2",
"styled-components": "^4.0.0-beta.8"
"styled-components": "^4.0.2"
},
"peerDependencies": {
"styled-components": ">=4.0.0"
},
"repository": {

@@ -64,8 +62,6 @@ "type": "git",

"jest": {
"roots": [
"<rootDir>/test/"
],
"testMatch": [
"**/test/**/*.js"
],
"setupTestFrameworkScriptFile": "jest-styled-components",
"coverageReporters": [

@@ -83,4 +79,5 @@ "html",

},
"projects": [
"<rootDir>"
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/"
]

@@ -87,0 +84,0 @@ },

@@ -44,7 +44,6 @@

To use Rebass with [emotion][], import from `rebass/emotion`:
Support for emotion in v3 is pending the addition of the `as` prop.
See [this issue][as-issue] for details.
```js
import { Box } from 'rebass/emotion'
```
[as-issue]: https://github.com/emotion-js/emotion/issues/837

@@ -57,3 +56,2 @@ ## Features

- Flexbox grid with the Box and Flex components
- Support for [styled-components][] & [emotion][]
- Extensible base components

@@ -116,3 +114,3 @@ - Design-system based consistency

- [styled-components][]
- [emotion][emotion]
- [emotion][]

@@ -119,0 +117,0 @@ [styled-system]: https://github.com/jxnblk/styled-system

Sorry, the diff of this file is not supported yet

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