@vitest/snapshot 3.2.0-beta.3 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -807,7 +807,7 @@ function parseErrorStacktrace(e, options = {}) {
|
|
807
807
|
if (e.stacks) {
|
808
808
|
return e.stacks;
|
809
809
|
}
|
810
|
-
const stackStr = e.stack ||
|
810
|
+
const stackStr = e.stack || "";
|
811
811
|
// if "stack" property was overwritten at runtime to be something else,
|
812
812
|
// ignore the value because we don't know how to process it
|
813
813
|
let stackFrames = typeof stackStr === "string" ? parseStacktrace(stackStr, options) : [];
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitest/snapshot",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.2.0
|
4
|
+
"version": "3.2.0",
|
5
5
|
"description": "Vitest snapshot manager",
|
6
6
|
"license": "MIT",
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
@@ -40,12 +40,12 @@
|
|
40
40
|
"dependencies": {
|
41
41
|
"magic-string": "^0.30.17",
|
42
42
|
"pathe": "^2.0.3",
|
43
|
-
"@vitest/pretty-format": "3.2.0
|
43
|
+
"@vitest/pretty-format": "3.2.0"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@types/natural-compare": "^1.4.3",
|
47
47
|
"natural-compare": "^1.4.0",
|
48
|
-
"@vitest/utils": "3.2.0
|
48
|
+
"@vitest/utils": "3.2.0"
|
49
49
|
},
|
50
50
|
"scripts": {
|
51
51
|
"build": "rimraf dist && rollup -c",
|