Skip to content

Commit 4a035e2

Browse files
haoqunjiangyyx990803
authored andcommitted
fix: upgrade lint-staged to v7.2.2 (vuejs#2183)
closes vuejs#2165
1 parent 8d63939 commit 4a035e2

File tree

5 files changed

+47
-4
lines changed

5 files changed

+47
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"inquirer": "^6.0.0",
5757
"jest": "^23.1.0",
5858
"lerna": "^2.8.0",
59-
"lint-staged": "^7.2.0",
59+
"lint-staged": "^7.2.2",
6060
"memfs": "^2.8.0",
6161
"minimist": "^1.2.0",
6262
"puppeteer": "^1.0.0",

packages/@vue/cli-plugin-eslint/generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = (api, { config, lintOn = [] }, _, invoking) => {
4141

4242
if (lintOn.includes('commit')) {
4343
Object.assign(pkg.devDependencies, {
44-
'lint-staged': '^7.2.0'
44+
'lint-staged': '^7.2.2'
4545
})
4646
pkg.gitHooks = {
4747
'pre-commit': 'lint-staged'

packages/@vue/cli-plugin-typescript/generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = (api, {
4040
if (lintOn.includes('commit')) {
4141
api.extendPackage({
4242
devDependencies: {
43-
'lint-staged': '^6.0.0'
43+
'lint-staged': '^7.2.2'
4444
},
4545
gitHooks: {
4646
'pre-commit': 'lint-staged'

packages/@vue/cli-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"cross-env": "^5.1.5",
6767
"eslint": "^4.16.0",
6868
"eslint-plugin-graphql": "^2.1.1",
69-
"lint-staged": "^7.2.0",
69+
"lint-staged": "^7.2.2",
7070
"lodash.debounce": "^4.0.8",
7171
"portal-vue": "^1.3.0",
7272
"rimraf": "^2.6.2",

yarn.lock

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7091,6 +7091,15 @@ jest-validate@^23.0.0, jest-validate@^23.4.0:
70917091
leven "^2.1.0"
70927092
pretty-format "^23.2.0"
70937093

7094+
jest-validate@^23.5.0:
7095+
version "23.5.0"
7096+
resolved "http://registry.npm.taobao.org/jest-validate/download/jest-validate-23.5.0.tgz#f5df8f761cf43155e1b2e21d6e9de8a2852d0231"
7097+
dependencies:
7098+
chalk "^2.0.1"
7099+
jest-get-type "^22.1.0"
7100+
leven "^2.1.0"
7101+
pretty-format "^23.5.0"
7102+
70947103
jest-watcher@^23.4.0:
70957104
version "23.4.0"
70967105
resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-23.4.0.tgz#d2e28ce74f8dad6c6afc922b92cabef6ed05c91c"
@@ -7625,6 +7634,33 @@ lint-staged@^7.2.0:
76257634
string-argv "^0.0.2"
76267635
stringify-object "^3.2.2"
76277636

7637+
lint-staged@^7.2.2:
7638+
version "7.2.2"
7639+
resolved "http://registry.npm.taobao.org/lint-staged/download/lint-staged-7.2.2.tgz#0983d55d497f19f36d11ff2c8242b2f56cc2dd05"
7640+
dependencies:
7641+
chalk "^2.3.1"
7642+
commander "^2.14.1"
7643+
cosmiconfig "^5.0.2"
7644+
debug "^3.1.0"
7645+
dedent "^0.7.0"
7646+
execa "^0.9.0"
7647+
find-parent-dir "^0.3.0"
7648+
is-glob "^4.0.0"
7649+
is-windows "^1.0.2"
7650+
jest-validate "^23.5.0"
7651+
listr "^0.14.1"
7652+
lodash "^4.17.5"
7653+
log-symbols "^2.2.0"
7654+
micromatch "^3.1.8"
7655+
npm-which "^3.0.1"
7656+
p-map "^1.1.1"
7657+
path-is-inside "^1.0.2"
7658+
pify "^3.0.0"
7659+
please-upgrade-node "^3.0.2"
7660+
staged-git-files "1.1.1"
7661+
string-argv "^0.0.2"
7662+
stringify-object "^3.2.2"
7663+
76287664
listr-silent-renderer@^1.1.1:
76297665
version "1.1.1"
76307666
resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e"
@@ -10019,6 +10055,13 @@ pretty-format@^23.2.0:
1001910055
ansi-regex "^3.0.0"
1002010056
ansi-styles "^3.2.0"
1002110057

10058+
pretty-format@^23.5.0:
10059+
version "23.5.0"
10060+
resolved "http://registry.npm.taobao.org/pretty-format/download/pretty-format-23.5.0.tgz#0f9601ad9da70fe690a269cd3efca732c210687c"
10061+
dependencies:
10062+
ansi-regex "^3.0.0"
10063+
ansi-styles "^3.2.0"
10064+
1002210065
pretty-time@^1.0.0:
1002310066
version "1.1.0"
1002410067
resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e"

0 commit comments

Comments
 (0)