Socket
Socket
Sign inDemoInstall

@material-ui/utils

Package Overview
Dependencies
3
Maintainers
7
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.3.0 to 4.4.0

es/refType.js

7

chainPropTypes.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports.default = chainPropTypes;

@@ -19,5 +19,2 @@ function chainPropTypes(propType1, propType2) {

};
}
var _default = chainPropTypes;
exports.default = _default;
}

@@ -5,4 +5,2 @@ "use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {

@@ -13,3 +11,3 @@ value: true

var PropTypes = _interopRequireWildcard(require("prop-types"));
var _propTypes = _interopRequireDefault(require("prop-types"));

@@ -56,5 +54,5 @@ var _chainPropTypes = _interopRequireDefault(require("./chainPropTypes"));

var elementAcceptingRef = (0, _chainPropTypes.default)(PropTypes.element, acceptingRef);
elementAcceptingRef.isRequired = (0, _chainPropTypes.default)(PropTypes.element.isRequired, acceptingRef);
var elementAcceptingRef = (0, _chainPropTypes.default)(_propTypes.default.element, acceptingRef);
elementAcceptingRef.isRequired = (0, _chainPropTypes.default)(_propTypes.default.element.isRequired, acceptingRef);
var _default = elementAcceptingRef;
exports.default = _default;

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

function chainPropTypes(propType1, propType2) {
export default function chainPropTypes(propType1, propType2) {
if (process.env.NODE_ENV === 'production') {

@@ -9,4 +9,2 @@ return () => null;

};
}
export default chainPropTypes;
}

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

import * as PropTypes from 'prop-types';
import PropTypes from 'prop-types';
import chainPropTypes from './chainPropTypes';

@@ -3,0 +3,0 @@

@@ -7,4 +7,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

export const specialProperty = 'exact-prop: \u200b';
function exactProp(propTypes) {
export default function exactProp(propTypes) {
if (process.env.NODE_ENV === 'production') {

@@ -25,4 +24,2 @@ return propTypes;

});
}
export default exactProp;
}

@@ -34,3 +34,3 @@ import { ForwardRef } from 'react-is'; // Simplified polyfill for IE 11 support

function getDisplayName(Component) {
export default function getDisplayName(Component) {
if (Component == null) {

@@ -59,4 +59,2 @@ return undefined;

return undefined;
}
export default getDisplayName;
}

@@ -6,2 +6,3 @@ export { default as chainPropTypes } from './chainPropTypes';

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

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

function chainPropTypes(propType1, propType2) {
export default function chainPropTypes(propType1, propType2) {
if (process.env.NODE_ENV === 'production') {

@@ -11,4 +11,2 @@ return function () {

};
}
export default chainPropTypes;
}

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

import * as PropTypes from 'prop-types';
import PropTypes from 'prop-types';
import chainPropTypes from './chainPropTypes';

@@ -3,0 +3,0 @@

@@ -8,4 +8,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

export var specialProperty = "exact-prop: \u200B";
function exactProp(propTypes) {
export default function exactProp(propTypes) {
if (process.env.NODE_ENV === 'production') {

@@ -28,4 +27,2 @@ return propTypes;

}));
}
export default exactProp;
}

@@ -36,3 +36,3 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";

function getDisplayName(Component) {
export default function getDisplayName(Component) {
if (Component == null) {

@@ -61,4 +61,2 @@ return undefined;

return undefined;
}
export default getDisplayName;
}

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

/** @license Material-UI v4.3.0
/** @license Material-UI v4.4.0
*

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

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

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

});
exports.default = exports.specialProperty = void 0;
exports.default = exactProp;
exports.specialProperty = void 0;

@@ -40,5 +41,2 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

}));
}
var _default = exactProp;
exports.default = _default;
}

@@ -9,3 +9,3 @@ "use strict";

exports.getFunctionName = getFunctionName;
exports.default = void 0;
exports.default = getDisplayName;

@@ -75,5 +75,2 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));

return undefined;
}
var _default = getDisplayName;
exports.default = _default;
}

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

/** @license Material-UI v4.3.0
/** @license Material-UI v4.4.0
*

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

});
Object.defineProperty(exports, "refType", {
enumerable: true,
get: function get() {
return _refType.default;
}
});

@@ -61,2 +67,4 @@ var _chainPropTypes = _interopRequireDefault(require("./chainPropTypes"));

var _ponyfillGlobal = _interopRequireDefault(require("./ponyfillGlobal"));
var _ponyfillGlobal = _interopRequireDefault(require("./ponyfillGlobal"));
var _refType = _interopRequireDefault(require("./refType"));
{
"name": "@material-ui/utils",
"version": "4.3.0",
"version": "4.4.0",
"private": false,

@@ -5,0 +5,0 @@ "author": "Material-UI Team",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc