Skip to content

Commit

Permalink
fix(deps): update dependency execa to v3 (#31)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency execa to v3

* Fix execa API
  • Loading branch information
renovate[bot] authored and danez committed Nov 14, 2019
1 parent aa08a91 commit 29ce452
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 34 deletions.
2 changes: 1 addition & 1 deletion packages/spire-plugin-clean/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sergey Bekrin <sergey@bekrin.me> (https://bekrin.me)",
"license": "MIT",
"dependencies": {
"execa": "^2.0.2"
"execa": "^3.0.0"
},
"devDependencies": {
"spire-test-utils": "^1.8.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/spire-plugin-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"eslint-config-prettier": "^6.0.0",
"eslint-config-unobtrusive": "^1.2.3",
"eslint-plugin-prettier": "^3.1.0",
"execa": "^2.0.2"
"execa": "^3.0.0"
},
"devDependencies": {
"spire-test-utils": "^1.8.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/spire-plugin-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sergey Bekrin <sergey@bekrin.me> (https://bekrin.me)",
"license": "MIT",
"dependencies": {
"execa": "^2.0.2",
"execa": "^3.0.0",
"jest": "^24.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/spire-plugin-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sergey Bekrin <sergey@bekrin.me> (https://bekrin.me)",
"license": "MIT",
"dependencies": {
"execa": "^2.0.2",
"execa": "^3.0.0",
"prettier": "^1.18.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/spire-plugin-semantic-release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@semantic-release/git": "^7.0.15",
"@semantic-release/github": "^5.4.0",
"@semantic-release/release-notes-generator": "^7.2.1",
"execa": "^2.0.2",
"execa": "^3.0.0",
"semantic-release": "^15.13.18"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/spire-plugin-yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sergey Bekrin <sergey@bekrin.me> (https://bekrin.me)",
"license": "MIT",
"dependencies": {
"execa": "^2.0.2",
"execa": "^3.0.0",
"use-yarn": "^2.2.0",
"yarn-deduplicate": "^1.1.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/spire/lib/plugins/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ function git(
async setup({ cwd, env }) {
try {
setState({
root: await execa.stdout('git', ['rev-parse', '--show-toplevel'], {
root: (await execa('git', ['rev-parse', '--show-toplevel'], {
cwd,
}),
})).stdout,
});
} catch (reason) {
if (Boolean(env.SKIP_PREFLIGHT_CHECK)) {
Expand Down
30 changes: 4 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3134,25 +3134,10 @@ execa@^1.0.0:
signal-exit "^3.0.0"
strip-eof "^1.0.0"

execa@^2.0.2:
version "2.1.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-2.1.0.tgz#e5d3ecd837d2a60ec50f3da78fd39767747bbe99"
integrity sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw==
dependencies:
cross-spawn "^7.0.0"
get-stream "^5.0.0"
is-stream "^2.0.0"
merge-stream "^2.0.0"
npm-run-path "^3.0.0"
onetime "^5.1.0"
p-finally "^2.0.0"
signal-exit "^3.0.2"
strip-final-newline "^2.0.0"

execa@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-3.2.0.tgz#18326b79c7ab7fbd6610fd900c1b9e95fa48f90a"
integrity sha512-kJJfVbI/lZE1PZYDI5VPxp8zXPO9rtxOkhpZ0jMKha56AI9y2gGVC6bkukStQf0ka5Rh15BA5m7cCCH4jmHqkw==
execa@^3.0.0, execa@^3.2.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-3.3.0.tgz#7e348eef129a1937f21ecbbd53390942653522c1"
integrity sha512-j5Vit5WZR/cbHlqU97+qcnw9WHRCIL4V1SVe75VcHcD1JRBdt8fv0zw89b7CQHQdUHTt2VjuhcF5ibAgVOxqpg==
dependencies:
cross-spawn "^7.0.0"
get-stream "^5.0.0"
Expand Down Expand Up @@ -6276,13 +6261,6 @@ npm-run-path@^2.0.0:
dependencies:
path-key "^2.0.0"

npm-run-path@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-3.1.0.tgz#7f91be317f6a466efed3c9f2980ad8a4ee8b0fa5"
integrity sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==
dependencies:
path-key "^3.0.0"

npm-run-path@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.0.tgz#d644ec1bd0569187d2a52909971023a0a58e8438"
Expand Down

0 comments on commit 29ce452

Please sign in to comment.