Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@styled-system/prop-types

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@styled-system/prop-types - npm Package Compare versions

Comparing version 5.0.6 to 5.0.8

8

dist/index.esm.js
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import PropTypes from 'prop-types';
import { space, color, layout, typography, flexbox, border, background, position, grid } from 'styled-system';
import { space, color, layout, typography, flexbox, border, background, position, grid, shadow, buttonStyle, textStyle, colorStyle } from 'styled-system';
export var propType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.array, PropTypes.object]);

@@ -24,3 +24,7 @@

position: createPropTypes(position.propNames),
grid: createPropTypes(grid.propNames)
grid: createPropTypes(grid.propNames),
shadow: createPropTypes(shadow.propNames),
buttonStyle: createPropTypes(buttonStyle.propNames),
textStyle: createPropTypes(textStyle.propNames),
colorStyle: createPropTypes(colorStyle.propNames)
};

@@ -35,4 +35,8 @@ "use strict";

position: createPropTypes(_styledSystem.position.propNames),
grid: createPropTypes(_styledSystem.grid.propNames)
grid: createPropTypes(_styledSystem.grid.propNames),
shadow: createPropTypes(_styledSystem.shadow.propNames),
buttonStyle: createPropTypes(_styledSystem.buttonStyle.propNames),
textStyle: createPropTypes(_styledSystem.textStyle.propNames),
colorStyle: createPropTypes(_styledSystem.colorStyle.propNames)
};
exports["default"] = _default;
{
"name": "@styled-system/prop-types",
"version": "5.0.6",
"version": "5.0.8",
"main": "dist/index.js",

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

},
"gitHead": "1767bf03168f37c48990a53b654f00bcc90439dd"
"gitHead": "6ec2bf9c4f59acfba7ef1fb837fe8f20942f2aa5"
}
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