@mui/x-internals
Advanced tools
Comparing version 7.25.0 to 7.26.0
import * as React from 'react'; | ||
import { unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils'; | ||
const isDevEnvironment = process.env.NODE_ENV === 'development'; | ||
const isDevEnvironment = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test'; | ||
const noop = () => {}; | ||
@@ -5,0 +5,0 @@ export function useResizeObserver(ref, fn, enabled) { |
import * as React from 'react'; | ||
import { unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils'; | ||
const isDevEnvironment = process.env.NODE_ENV === 'development'; | ||
const isDevEnvironment = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test'; | ||
const noop = () => {}; | ||
@@ -5,0 +5,0 @@ export function useResizeObserver(ref, fn, enabled) { |
{ | ||
"name": "@mui/x-internals", | ||
"version": "7.25.0", | ||
"version": "7.26.0", | ||
"description": "Utility functions for the MUI X packages (internal use only).", | ||
@@ -5,0 +5,0 @@ "author": "MUI Team", |
@@ -10,3 +10,3 @@ "use strict"; | ||
var _utils = require("@mui/utils"); | ||
const isDevEnvironment = process.env.NODE_ENV === 'development'; | ||
const isDevEnvironment = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test'; | ||
const noop = () => {}; | ||
@@ -13,0 +13,0 @@ function useResizeObserver(ref, fn, enabled) { |
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
283030
0
6