cspell-cli 6.31.2 → 7.0.1

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +1 -3
  3. package/package.json +6 -5
package/README.md CHANGED
@@ -10,7 +10,7 @@ This repository enables using [cspell](https://github.com/streetsidesoftware/csp
10
10
  # .pre-commit-config.yaml
11
11
  repos:
12
12
  - repo: https://github.com/streetsidesoftware/cspell-cli
13
- rev: v6.31.2
13
+ rev: v7.0.1
14
14
  hooks:
15
15
  - id: cspell
16
16
  ```
package/index.js CHANGED
@@ -1,5 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- "use strict";
4
-
5
- require("cspell/bin");
3
+ import "cspell/bin";
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "cspell-cli",
3
- "version": "6.31.2",
3
+ "version": "7.0.1",
4
4
  "description": "CLI for cspell; A Spelling Checker for Code!",
5
- "main": "index.js",
5
+ "type": "module",
6
+ "module": "index.js",
6
7
  "bin": {
7
8
  "cspell-cli": "index.js"
8
9
  },
@@ -34,13 +35,13 @@
34
35
  "index.js"
35
36
  ],
36
37
  "engines": {
37
- "node": ">=14"
38
+ "node": ">=16"
38
39
  },
39
40
  "dependencies": {
40
- "cspell": "^6.31.3"
41
+ "cspell": "^7.0.1"
41
42
  },
42
43
  "devDependencies": {
43
44
  "inject-markdown": "^2.0.0",
44
- "prettier": "^3.0.1"
45
+ "prettier": "^3.0.2"
45
46
  }
46
47
  }