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.20 to 5.0.0-alpha.21

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<string | ((props: any, context?: any) => any) | (new (props: any, context?: any) => any) | null | undefined>;
export default _default;

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

import { ValidationMap } from 'prop-types';
export default function exactProp<T>(propTypes: ValidationMap<T>): ValidationMap<T>;

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

@@ -0,0 +0,0 @@ "use strict";

@@ -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;

@@ -0,0 +0,0 @@ export { default as chainPropTypes } from './chainPropTypes';

2

index.js

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

/** @license Material-UI v5.0.0-alpha.20
/** @license Material-UI v5.0.0-alpha.21
*

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

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

/** @license Material-UI v5.0.0-alpha.20
/** @license Material-UI v5.0.0-alpha.21
*

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

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

/** @license Material-UI v5.0.0-alpha.20
/** @license Material-UI v5.0.0-alpha.21
*

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

export default function ownerDocument(node: Node | undefined): Document;
export default function ownerWindow(node: Node | undefined): Window;
{
"name": "@material-ui/utils",
"version": "5.0.0-alpha.20",
"version": "5.0.0-alpha.21",
"private": false,

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

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

@@ -29,0 +28,0 @@ "dependencies": {

declare const _default: any;
export default _default;
# @material-ui/utils
Shared utilities used by Material-UI packages.
import PropTypes from 'prop-types';
declare const refType: PropTypes.Requireable<object>;
export default refType;

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

declare const usePreviousProps: (value: object) => object;
export default usePreviousProps;
import type { CSSProperties } from 'react';
declare const visuallyHidden: CSSProperties;
export default visuallyHidden;

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

Sorry, the diff of this file is not supported yet

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