@cronn/lib-file-snapshots 0.18.0 → 0.19.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -295,12 +295,13 @@ var ValidationFileMatcher = class {
295
295
  createMatcherResult(params) {
296
296
  const { actual, expected } = params;
297
297
  const { outputFilePath, validationFilePath } = this.filePaths;
298
+ const isValidationFileMissing = this.isValidationFileMissing;
298
299
  return {
299
300
  actual,
300
301
  expected,
301
302
  outputFilePath,
302
303
  validationFilePath,
303
- message: () => this.isValidationFileMissing ? `Missing validation file '${validationFilePath}'` : `Output file '${outputFilePath}'
304
+ message: () => isValidationFileMissing ? `Missing validation file '${validationFilePath}'` : `Output file '${outputFilePath}'
304
305
  does not match validation file '${validationFilePath}'`,
305
306
  writeFileSnapshots: () => this.writeFileSnapshots(params)
306
307
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cronn/lib-file-snapshots",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "The library agnostic core for testing file snapshots",
5
5
  "keywords": [
6
6
  "file snapshots"
@@ -22,12 +22,12 @@
22
22
  "devEngines": {
23
23
  "runtime": {
24
24
  "name": "node",
25
- "version": ">=24.11 <25",
25
+ "version": ">=24.13 <25",
26
26
  "onFail": "error"
27
27
  },
28
28
  "packageManager": {
29
29
  "name": "pnpm",
30
- "version": ">=10.27 <11",
30
+ "version": ">=10.28.2 <11",
31
31
  "onFail": "error"
32
32
  }
33
33
  },
@@ -44,15 +44,15 @@
44
44
  ],
45
45
  "devDependencies": {
46
46
  "@trivago/prettier-plugin-sort-imports": "6.0.2",
47
- "@types/node": "24.10.7",
47
+ "@types/node": "24.10.9",
48
48
  "@vitest/coverage-v8": "4.0.17",
49
49
  "eslint": "9.39.2",
50
50
  "eslint-config-prettier": "10.1.8",
51
51
  "eslint-plugin-unused-imports": "4.3.0",
52
- "prettier": "3.7.4",
52
+ "prettier": "3.8.0",
53
53
  "tsup": "8.5.1",
54
54
  "typescript": "5.9.3",
55
- "typescript-eslint": "8.53.0",
55
+ "typescript-eslint": "8.53.1",
56
56
  "vitest": "4.0.17",
57
57
  "@cronn/shared-configs": "0.0.0"
58
58
  },