lint-staged 12.0.2 → 12.0.3
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/README.md +4 -0
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -42,6 +42,10 @@ See [Releases](https://github.com/okonet/lint-staged/releases).
|
|
|
42
42
|
|
|
43
43
|
### Migration
|
|
44
44
|
|
|
45
|
+
#### v12
|
|
46
|
+
|
|
47
|
+
- Since `v12.0.0` _lint-staged_ is a pure ESM module, so make sure your Node.js version is at least `12.20.0`, `14.13.1`, or `16.0.0`. Read more about ESM modules from the official [Node.js Documentation site here](https://nodejs.org/api/esm.html#introduction).
|
|
48
|
+
|
|
45
49
|
#### v10
|
|
46
50
|
|
|
47
51
|
- From `v10.0.0` onwards any new modifications to originally staged files will be automatically added to the commit.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lint-staged",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.3",
|
|
4
4
|
"description": "Lint files staged by git",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/okonet/lint-staged",
|
|
@@ -30,24 +30,25 @@
|
|
|
30
30
|
"test:watch": "jest --watch"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"cli-truncate": "3.1.0",
|
|
33
|
+
"cli-truncate": "^3.1.0",
|
|
34
34
|
"colorette": "^2.0.16",
|
|
35
35
|
"commander": "^8.3.0",
|
|
36
36
|
"cosmiconfig": "^7.0.1",
|
|
37
37
|
"debug": "^4.3.2",
|
|
38
|
+
"enquirer": "^2.3.6",
|
|
38
39
|
"execa": "^5.1.1",
|
|
39
40
|
"listr2": "^3.13.3",
|
|
40
41
|
"micromatch": "^4.0.4",
|
|
41
42
|
"normalize-path": "^3.0.0",
|
|
42
|
-
"object-inspect": "1.11.0",
|
|
43
|
-
"string-argv": "0.3.1",
|
|
44
|
-
"supports-color": "9.0.2"
|
|
43
|
+
"object-inspect": "^1.11.0",
|
|
44
|
+
"string-argv": "^0.3.1",
|
|
45
|
+
"supports-color": "^9.0.2"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@babel/core": "^7.16.0",
|
|
48
|
-
"@babel/eslint-parser": "7.16.3",
|
|
49
|
+
"@babel/eslint-parser": "^7.16.3",
|
|
49
50
|
"@babel/preset-env": "^7.16.0",
|
|
50
|
-
"babel-jest": "27.3.1",
|
|
51
|
+
"babel-jest": "^27.3.1",
|
|
51
52
|
"consolemock": "^1.1.0",
|
|
52
53
|
"eslint": "^8.2.0",
|
|
53
54
|
"eslint-config-prettier": "^8.3.0",
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"fs-extra": "^10.0.0",
|
|
58
59
|
"husky": "^7.0.4",
|
|
59
60
|
"jest": "^27.3.1",
|
|
60
|
-
"jest-mock-console": "1.2.3",
|
|
61
|
+
"jest-mock-console": "^1.2.3",
|
|
61
62
|
"jest-snapshot-serializer-ansi": "^1.0.0",
|
|
62
63
|
"prettier": "^2.4.1"
|
|
63
64
|
},
|