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

@mui/utils

Package Overview
Dependencies
Maintainers
11
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/utils - npm Package Compare versions

Comparing version 5.16.8 to 5.16.12

2

getValidReactChildren/getValidReactChildren.d.ts

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

*/
export default function getValidReactChildren(children: React.ReactNode): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>[];
export default function getValidReactChildren(children: React.ReactNode): React.ReactElement<unknown>[];
/**
* @mui/utils v5.16.8
* @mui/utils v5.16.12
*

@@ -4,0 +4,0 @@ * @license MIT

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

*/
declare function isHostComponent(element: React.ElementType): boolean;
declare function isHostComponent(element: React.ElementType): element is "symbol" | "object" | "center" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "clipPath" | "filter" | "menuitem" | "mask" | "marker" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "sup" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view";
export default isHostComponent;
/**
* @mui/utils v5.16.8
* @mui/utils v5.16.12
*

@@ -4,0 +4,0 @@ * @license MIT

/**
* @mui/utils v5.16.8
* @mui/utils v5.16.12
*

@@ -4,0 +4,0 @@ * @license MIT

{
"name": "@mui/utils",
"version": "5.16.8",
"version": "5.16.12",
"private": false,

@@ -33,3 +33,3 @@ "author": "MUI Team",

"prop-types": "^15.8.1",
"react-is": "^18.3.1",
"react-is": "^19.0.0",
"@mui/types": "^7.2.15"

@@ -36,0 +36,0 @@ },

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

*/
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.MutableRefObject<T>;
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.RefObject<T>;

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

declare function useSlotProps<ElementType extends React.ElementType, SlotProps, AdditionalProps, OwnerState>(parameters: UseSlotPropsParameters<ElementType, SlotProps, object, WithCommonProps<Record<string, any>>, AdditionalProps, OwnerState>): import("@mui/types").Simplify<import("@mui/types").Simplify<SlotProps & object & AdditionalProps & {
className?: string | undefined;
style?: React.CSSProperties | undefined;
className?: string;
style?: React.CSSProperties;
}> & {
ref: ((instance: any) => void) | null;
ref: ((instance: any | null) => void) | null;
} & {

@@ -40,0 +40,0 @@ ownerState: ElementType extends React.ComponentType<any> ? OwnerState : ElementType extends keyof React.JSX.IntrinsicElements ? undefined : OwnerState | undefined;

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

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