Socket
Socket
Sign inDemoInstall

@material-ui/utils

Package Overview
Dependencies
13
Maintainers
6
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-alpha.27 to 5.0.0-alpha.28

esm/integerPropType.js

0

chainPropTypes.d.ts
import PropTypes from 'prop-types';
export default function chainPropTypes<A, B>(propType1: PropTypes.Validator<A>, propType2: PropTypes.Validator<B>): PropTypes.Validator<A & B>;

@@ -0,0 +0,0 @@ export declare function isPlainObject(item: unknown): item is Record<keyof any, unknown>;

import PropTypes from 'prop-types';
declare const elementAcceptingRef: PropTypes.Requireable<unknown>;
export default elementAcceptingRef;
import PropTypes from 'prop-types';
declare const _default: PropTypes.Validator<PropTypes.ReactComponentLike | null | undefined>;
export default _default;

3

esm/index.js

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

export { default as usePreviousProps } from './usePreviousProps';
export { default as visuallyHidden } from './visuallyHidden';
export { default as visuallyHidden } from './visuallyHidden';
export { default as integerPropType } from './integerPropType';
import { ValidationMap } from 'prop-types';
export default function exactProp<T>(propTypes: ValidationMap<T>): ValidationMap<T>;

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import * as React from 'react';

export default function getScrollbarSize(doc: Document): number;
export default function HTMLElementType(props: {
[key: string]: unknown;
}, propName: string, componentName: string, location: string, propFullName: string): Error | null;

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

export { default as visuallyHidden } from './visuallyHidden';
export { default as integerPropType } from './integerPropType';

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

/** @license Material-UI v5.0.0-alpha.27
/** @license Material-UI v5.0.0-alpha.28
*

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

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

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

var _visuallyHidden = _interopRequireDefault(require("./visuallyHidden"));
var _visuallyHidden = _interopRequireDefault(require("./visuallyHidden"));
var _integerPropType = _interopRequireDefault(require("./integerPropType"));
export default function isMuiElement(element: any, muiNames: string[]): boolean;

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

/** @license Material-UI v5.0.0-alpha.27
/** @license Material-UI v5.0.0-alpha.28
*

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

export { default as usePreviousProps } from './usePreviousProps';
export { default as visuallyHidden } from './visuallyHidden';
export { default as visuallyHidden } from './visuallyHidden';
export { default as integerPropType } from './integerPropType';

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

/** @license Material-UI v5.0.0-alpha.27
/** @license Material-UI v5.0.0-alpha.28
*

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

export { default as usePreviousProps } from './usePreviousProps';
export { default as visuallyHidden } from './visuallyHidden';
export { default as visuallyHidden } from './visuallyHidden';
export { default as integerPropType } from './integerPropType';
export default function ownerDocument(node: Node | null | undefined): Document;
export default function ownerWindow(node: Node | undefined): Window;
{
"name": "@material-ui/utils",
"version": "5.0.0-alpha.27",
"version": "5.0.0-alpha.28",
"private": false,

@@ -25,3 +25,3 @@ "author": "Material-UI Team",

"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
"react": "^17.0.0"
},

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

"prop-types": "^15.7.2",
"react-is": "^16.8.0 || ^17.0.0"
"react-is": "^17.0.0"
},

@@ -36,0 +36,0 @@ "sideEffects": false,

declare const _default: any;
export default _default;
import PropTypes from 'prop-types';
declare const refType: PropTypes.Requireable<object>;
export default refType;

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -22,2 +22,2 @@ export interface UseControlledProps<T = unknown> {

props: UseControlledProps<T>
): [T, (newValue: T) => void];
): [T, (newValue: T | ((prevValue: T) => T)) => void];

@@ -0,0 +0,0 @@ /**

import * as React from 'react';
export default function useForkRef<T>(refA: React.Ref<T>, refB: React.Ref<T>): React.Ref<T>;
export default function useForkRef<Instance>(refA: React.Ref<Instance> | null | undefined, refB: React.Ref<Instance> | null | undefined): React.Ref<Instance> | null;
declare const usePreviousProps: (value: object) => object;
export default usePreviousProps;

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

import type { CSSProperties } from 'react';
declare const visuallyHidden: CSSProperties;
declare const visuallyHidden: import('react').CSSProperties;
export default visuallyHidden;

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