@vitest/snapshot 4.0.0-beta.4 → 4.0.0-beta.5

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -543,11 +543,6 @@ function traceSegmentInternal(segments, memo, line, column, bias) {
543
543
  return index;
544
544
  }
545
545
 
546
- /**
547
- * Get original stacktrace without source map support the most performant way.
548
- * - Create only 1 stack frame.
549
- * - Rewrite prepareStackTrace to bypass "support-stack-trace" (usually takes ~250ms).
550
- */
551
546
  function notNullish(v) {
552
547
  return v != null;
553
548
  }
@@ -612,6 +607,8 @@ const stackIgnorePatterns = [
612
607
  "/node_modules/chai/",
613
608
  "/node_modules/tinypool/",
614
609
  "/node_modules/tinyspy/",
610
+ "/vite/dist/node/module-runner",
611
+ "/rolldown-vite/dist/node/module-runner",
615
612
  "/deps/chunk-",
616
613
  "/deps/@vitest",
617
614
  "/deps/loupe",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/snapshot",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.4",
4
+ "version": "4.0.0-beta.5",
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": "4.0.0-beta.4"
43
+ "@vitest/pretty-format": "4.0.0-beta.5"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/natural-compare": "^1.4.3",
47
47
  "natural-compare": "^1.4.0",
48
- "@vitest/utils": "4.0.0-beta.4"
48
+ "@vitest/utils": "4.0.0-beta.5"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "rimraf dist && rollup -c",