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

@material-ui/utils

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material-ui/utils - npm Package Compare versions

Comparing version 3.0.0-alpha.0 to 3.0.0-alpha.1

componentPropType.js

5

es/exactProp.js

@@ -1,2 +0,2 @@

import _objectSpread from "@babel/runtime/helpers/objectSpread";
import _extends from "@babel/runtime/helpers/extends";
// This module is based on https://github.com/airbnb/prop-types-exact repository.

@@ -14,4 +14,3 @@ // However, in order to reduce the number of dependencies and to remove some extra safe checks

return _objectSpread({}, propTypes, {
// eslint-disable-next-line prefer-arrow-callback
return _extends({}, propTypes, {
[specialProperty]: props => {

@@ -18,0 +17,0 @@ const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));

1

es/index.js

@@ -0,3 +1,4 @@

export { default as componentPropType } from './componentPropType';
export { default as exactProp } from './exactProp';
export { default as getDisplayName } from './getDisplayName';
export { default as ponyfillGlobal } from './ponyfillGlobal';

@@ -1,2 +0,2 @@

/** @license Material-UI v3.0.0-alpha.0
/** @license Material-UI v3.0.0-alpha.1
*

@@ -6,4 +6,5 @@ * This source code is licensed under the MIT license found in the

*/
export { default as componentPropType } from './componentPropType';
export { default as exactProp } from './exactProp';
export { default as getDisplayName } from './getDisplayName';
export { default as ponyfillGlobal } from './ponyfillGlobal';

@@ -1,2 +0,2 @@

/** @license Material-UI v3.0.0-alpha.0
/** @license Material-UI v3.0.0-alpha.1
*

@@ -13,2 +13,8 @@ * This source code is licensed under the MIT license found in the

});
Object.defineProperty(exports, "componentPropType", {
enumerable: true,
get: function get() {
return _componentPropType.default;
}
});
Object.defineProperty(exports, "exactProp", {

@@ -33,2 +39,4 @@ enumerable: true,

var _componentPropType = _interopRequireDefault(require("./componentPropType"));
var _exactProp = _interopRequireDefault(require("./exactProp"));

@@ -35,0 +43,0 @@

@@ -5,3 +5,3 @@ {

"author": "Material-UI Team",
"version": "3.0.0-alpha.0",
"version": "3.0.0-alpha.1",
"description": "Material-UI Utils - Utility functions for Material-UI.",

@@ -30,3 +30,4 @@ "main": "./index.js",

"dependencies": {
"@babel/runtime": "7.1.2"
"@babel/runtime": "7.2.0",
"react-is": "^16.6.3"
},

@@ -33,0 +34,0 @@ "sideEffects": false,

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