New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mui/toolpad-utils

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/toolpad-utils - npm Package Compare versions

Comparing version 0.1.41 to 0.1.42

dist/chunk-I3OJXPC4.js

4

dist/errors.js
import {
errorFrom,
serializeError
} from "./chunk-TA4VWWF6.js";
import "./chunk-ENOBQVEO.js";
} from "./chunk-I3OJXPC4.js";
import "./chunk-MEKVZBNS.js";
import "./chunk-ZIL547LD.js";

@@ -7,0 +7,0 @@ export {

@@ -12,3 +12,3 @@ /// <reference types="node" />

export declare function readMaybeFile(filePath: string): Promise<string | null>;
export declare function readMaybeDir(dirPath: string): Promise<Dirent[] | null>;
export declare function readMaybeDir(dirPath: string): Promise<Dirent[]>;
export type WriteFileOptions = Parameters<typeof fs.writeFile>[2];

@@ -15,0 +15,0 @@ export declare function writeFileRecursive(filePath: string, content: string | Buffer, options?: WriteFileOptions): Promise<void>;

import {
errorFrom
} from "./chunk-TA4VWWF6.js";
import "./chunk-ENOBQVEO.js";
} from "./chunk-I3OJXPC4.js";
import "./chunk-MEKVZBNS.js";
import "./chunk-ZIL547LD.js";

@@ -29,3 +29,3 @@

const error = errorFrom(rawError);
if (error.code === "ENOENT") {
if (error.code === "ENOENT" || error.code === "EISDIR") {
return null;

@@ -41,4 +41,4 @@ }

const error = errorFrom(rawError);
if (errorFrom(error).code === "ENOENT") {
return null;
if (error.code === "ENOENT" || error.code === "ENOTDIR") {
return [];
}

@@ -45,0 +45,0 @@ throw error;

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

export { default as useBoolean } from './useBoolean.js';
export { default as usePageTitle } from './usePageTitle.js';
export { default as useBoolean } from './useBoolean';
export { default as usePageTitle } from './usePageTitle';

@@ -73,1 +73,2 @@ /**

export declare function isValidJsIdentifier(base: string): boolean;
export declare function guessTitle(str: string): string;

@@ -9,2 +9,3 @@ import {

generateUniqueString,
guessTitle,
indent,

@@ -20,3 +21,3 @@ isAbsoluteUrl,

uncapitalize
} from "./chunk-ENOBQVEO.js";
} from "./chunk-MEKVZBNS.js";
export {

@@ -30,2 +31,3 @@ camelCase,

generateUniqueString,
guessTitle,
indent,

@@ -32,0 +34,0 @@ isAbsoluteUrl,

import {
errorFrom,
serializeError
} from "./chunk-TA4VWWF6.js";
import "./chunk-ENOBQVEO.js";
} from "./chunk-I3OJXPC4.js";
import "./chunk-MEKVZBNS.js";
import "./chunk-ZIL547LD.js";

@@ -7,0 +7,0 @@

{
"name": "@mui/toolpad-utils",
"version": "0.1.41",
"version": "0.1.42",
"description": "Build MUI apps quickly",

@@ -58,2 +58,3 @@ "author": "MUI Toolpad team",

"react-is": "18.2.0",
"title": "3.5.3",
"yaml": "2.3.4",

@@ -65,6 +66,7 @@ "yaml-diff-patch": "2.0.0"

"@types/prettier": "2.7.3",
"@types/react": "18.2.43",
"@types/react-is": "18.2.4"
"@types/react": "18.2.45",
"@types/react-is": "18.2.4",
"@types/title": "3.4.3"
},
"gitHead": "a87af6f6c4937a578dcb32c31433edae6fcacf6c"
"gitHead": "637320d4865ef483a6767bd3657f28fc9eef5e6f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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