Skip to content

Commit

Permalink
chore: update ansi-escape types
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 7, 2019
1 parent b63b279 commit 5c726bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/jest-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"strip-ansi": "^5.0.0"
},
"devDependencies": {
"@types/ansi-escapes": "^3.0.0",
"@types/ansi-escapes": "^3.0.1",
"@types/exit": "^0.1.30",
"@types/graceful-fs": "^4.1.2",
"@types/micromatch": "^3.1.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/jest-core/src/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ export default function watch(
hasExitListener = true;
process.on('exit', () => {
if (activePlugin) {
// @ts-ignore: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/33423
outputStream.write(ansiEscapes.cursorDown());
outputStream.write(ansiEscapes.eraseDown);
}
Expand Down Expand Up @@ -404,7 +403,6 @@ export default function watch(
break;
case 'w':
if (!shouldDisplayWatchUsage && !isWatchUsageDisplayed) {
// @ts-ignore: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/33423
outputStream.write(ansiEscapes.cursorUp());
outputStream.write(ansiEscapes.eraseDown);
outputStream.write(usage(globalConfig, watchPlugins));
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1564,10 +1564,10 @@
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd"
integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==

"@types/ansi-escapes@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/ansi-escapes/-/ansi-escapes-3.0.0.tgz#619bbc6d46fc75da6d784e53b5a25d2efff07108"
integrity sha512-aamJrX6PdmIO8E9qhZaYmXiMGXwnkF2lcga/VbqLf8g90aaKGZ4cSFP5AabqxAbmp0h69C9yE3a4fUBtVpqtmg==
"@types/ansi-escapes@^3.0.0", "@types/ansi-escapes@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@types/ansi-escapes/-/ansi-escapes-3.0.1.tgz#328e46c6ac3177ca4cf2efdeed326cf77da01ef7"
integrity sha512-GD/QLUGxSvy3yGQb+m12qsRtP4p/dewNePDb5F8qV19CXuO+gtbsmMjjsClpG/Nu84y8SF1zPKrTnQZHDiPUgg==
dependencies:
"@types/node" "*"

Expand Down

0 comments on commit 5c726bd

Please sign in to comment.