@vitest/utils 3.0.3 → 3.0.4

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.
@@ -920,7 +920,7 @@ function parseSingleV8Stack(raw) {
920
920
  if (file.startsWith("file://")) {
921
921
  file = file.slice(7);
922
922
  }
923
- file = resolve(file);
923
+ file = file.startsWith("node:") || file.startsWith("internal:") ? file : resolve(file);
924
924
  if (method) {
925
925
  method = method.replace(/__vite_ssr_import_\d+__\./g, "");
926
926
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/utils",
3
3
  "type": "module",
4
- "version": "3.0.3",
4
+ "version": "3.0.4",
5
5
  "description": "Shared Vitest utility functions",
6
6
  "license": "MIT",
7
7
  "funding": "https://opencollective.com/vitest",
@@ -62,7 +62,7 @@
62
62
  "dependencies": {
63
63
  "loupe": "^3.1.2",
64
64
  "tinyrainbow": "^2.0.0",
65
- "@vitest/pretty-format": "3.0.3"
65
+ "@vitest/pretty-format": "3.0.4"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@jridgewell/trace-mapping": "^0.3.25",