@vitest/snapshot 4.0.8 → 4.0.10

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 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -701,8 +701,8 @@ async function saveRawSnapshots(environment, snapshots) {
701
701
  }));
702
702
  }
703
703
 
704
- function getDefaultExportFromCjs (x) {
705
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
704
+ function getDefaultExportFromCjs(x) {
705
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
706
706
  }
707
707
 
708
708
  var naturalCompare$1 = {exports: {}};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/snapshot",
3
3
  "type": "module",
4
- "version": "4.0.8",
4
+ "version": "4.0.10",
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.21",
42
42
  "pathe": "^2.0.3",
43
- "@vitest/pretty-format": "4.0.8"
43
+ "@vitest/pretty-format": "4.0.10"
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.8"
48
+ "@vitest/utils": "4.0.10"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "premove dist && rollup -c",