@cspell/cspell-json-reporter 8.7.0 → 8.8.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/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
+ import { promises as fs } from 'node:fs';
2
+ import * as path from 'node:path';
1
3
  import { MessageTypes } from '@cspell/cspell-types';
2
- import { promises as fs } from 'fs';
3
- import * as path from 'path';
4
4
  import { setToJSONReplacer } from './utils/setToJSONReplacer.js';
5
5
  import { validateSettings } from './utils/validateSettings.js';
6
6
  function mkdirp(p) {
@@ -1,4 +1,4 @@
1
- import { AssertionError } from 'assert';
1
+ import { AssertionError } from 'node:assert';
2
2
  function assertBooleanOrUndefined(key, value) {
3
3
  if (typeof value !== 'boolean' && value !== undefined) {
4
4
  throw new AssertionError({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/cspell-json-reporter",
3
- "version": "8.7.0",
3
+ "version": "8.8.0",
4
4
  "description": "JSON reporter for CSpell",
5
5
  "author": "Jason Dent",
6
6
  "license": "MIT",
@@ -41,14 +41,15 @@
41
41
  "clean-build": "pnpm run clean && pnpm run build",
42
42
  "coverage": "vitest run --coverage",
43
43
  "test:watch": "vitest",
44
- "test": "vitest run",
44
+ "test": "vitest run && pnpm test:run",
45
+ "test:run": "node ../../bin.mjs . --config cSpell.example.mjs",
45
46
  "watch": "tsc -b . -w"
46
47
  },
47
48
  "dependencies": {
48
- "@cspell/cspell-types": "8.7.0"
49
+ "@cspell/cspell-types": "8.8.0"
49
50
  },
50
51
  "engines": {
51
52
  "node": ">=18"
52
53
  },
53
- "gitHead": "5318079ed11fe77e981287ecf1c40d6f28dd91ed"
54
+ "gitHead": "a42bce675c00cb2d51809b3ae3894119ea4f5ce7"
54
55
  }