You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@vitest/utils

Package Overview
Dependencies
Maintainers
5
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/utils - npm Package Compare versions

Comparing version
4.0.9
to
4.0.10
+2
-2
dist/chunk-_commonjsHelpers.js

@@ -1,5 +0,5 @@

function getDefaultExportFromCjs (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
function getDefaultExportFromCjs(x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
}
export { getDefaultExportFromCjs as g };

@@ -21,3 +21,3 @@ import { PrettyFormatOptions } from '@vitest/pretty-format';

}
declare function stringify(object: unknown, maxDepth?: number, { maxLength,...options }?: StringifyOptions): string;
declare function stringify(object: unknown, maxDepth?: number, { maxLength, ...options }?: StringifyOptions): string;
declare const formatRegExp: RegExp;

@@ -24,0 +24,0 @@ declare function format(...args: unknown[]): string;

@@ -586,3 +586,3 @@ import { plugins, format as format$1 } from '@vitest/pretty-format';

];
function stringify(object, maxDepth = 10, { maxLength,...options } = {}) {
function stringify(object, maxDepth = 10, { maxLength, ...options } = {}) {
const MAX_LENGTH = maxLength ?? 1e4;

@@ -589,0 +589,0 @@ let result;

{
"name": "@vitest/utils",
"type": "module",
"version": "4.0.9",
"version": "4.0.10",
"description": "Shared Vitest utility functions",

@@ -85,3 +85,3 @@ "license": "MIT",

"tinyrainbow": "^3.0.3",
"@vitest/pretty-format": "4.0.9"
"@vitest/pretty-format": "4.0.10"
},

@@ -88,0 +88,0 @@ "devDependencies": {