@vitest/utils
Advanced tools
@@ -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; |
+1
-1
@@ -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; |
+2
-2
| { | ||
| "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": { |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
178615
0+ Added
- Removed
Updated