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.16 to 5.0.18

4

dist/index.esm.js

@@ -6,4 +6,3 @@ 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); }

export var propType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.array, PropTypes.object]);
var createPropTypes = function createPropTypes(props) {
export var createPropTypes = function createPropTypes(props) {
return props.reduce(function (acc, name) {

@@ -15,3 +14,2 @@ var _extends2;

};
export default {

@@ -18,0 +16,0 @@ space: createPropTypes(space.propNames),

"use strict";
exports.__esModule = true;
exports["default"] = exports.propType = void 0;
exports["default"] = exports.createPropTypes = exports.propType = void 0;

@@ -26,2 +26,3 @@ var _propTypes = _interopRequireDefault(require("prop-types"));

exports.createPropTypes = createPropTypes;
var _default = {

@@ -28,0 +29,0 @@ space: createPropTypes(_styledSystem.space.propNames),

{
"name": "@styled-system/prop-types",
"version": "5.0.16",
"version": "5.0.18",
"main": "dist/index.js",

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

"devDependencies": {
"styled-system": "^5.0.16"
"styled-system": "^5.0.18"
},

@@ -21,3 +21,3 @@ "dependencies": {

},
"gitHead": "ba90b18c253dbce67125fb2ba65776ccfde68a9b"
"gitHead": "cfc5f75484d8b6c2639d7a92bb900f6134b6fea9"
}
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