Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lint-staged/lint-staged
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v12.0.2
Choose a base ref
...
head repository: lint-staged/lint-staged
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.0.3
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Nov 18, 2021

  1. fix: install enquirer

    This package is a peer dependency of `listr2`, but it's not used by _lint-staged_.
    iiroj committed Nov 18, 2021
    Copy the full SHA
    e01585f View commit details
  2. Copy the full SHA
    6c2d504 View commit details
Showing with 20 additions and 14 deletions.
  1. +4 −0 README.md
  2. +8 −7 package-lock.json
  3. +8 −7 package.json
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -42,6 +42,10 @@ See [Releases](https://github.com/okonet/lint-staged/releases).

### Migration

#### v12

- 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).

#### v10

- From `v10.0.0` onwards any new modifications to originally staged files will be automatically added to the commit.
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -30,24 +30,25 @@
"test:watch": "jest --watch"
},
"dependencies": {
"cli-truncate": "3.1.0",
"cli-truncate": "^3.1.0",
"colorette": "^2.0.16",
"commander": "^8.3.0",
"cosmiconfig": "^7.0.1",
"debug": "^4.3.2",
"enquirer": "^2.3.6",
"execa": "^5.1.1",
"listr2": "^3.13.3",
"micromatch": "^4.0.4",
"normalize-path": "^3.0.0",
"object-inspect": "1.11.0",
"string-argv": "0.3.1",
"supports-color": "9.0.2"
"object-inspect": "^1.11.0",
"string-argv": "^0.3.1",
"supports-color": "^9.0.2"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "7.16.3",
"@babel/eslint-parser": "^7.16.3",
"@babel/preset-env": "^7.16.0",
"babel-jest": "27.3.1",
"babel-jest": "^27.3.1",
"consolemock": "^1.1.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
@@ -57,7 +58,7 @@
"fs-extra": "^10.0.0",
"husky": "^7.0.4",
"jest": "^27.3.1",
"jest-mock-console": "1.2.3",
"jest-mock-console": "^1.2.3",
"jest-snapshot-serializer-ansi": "^1.0.0",
"prettier": "^2.4.1"
},