Skip to content

Commit

Permalink
chore: replace through with @ljharb/through (#1268)
Browse files Browse the repository at this point in the history
Fixes #1266
  • Loading branch information
ljharb authored Jul 21, 2023
1 parent 33677f2 commit 22187a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/inquirer/lib/ui/bottom-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Sticky bottom bar user interface
*/

import through from 'through';
import through from '@ljharb/through';
import Base from './baseUI.js';
import * as rlUtils from '../utils/readline.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/inquirer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
},
"license": "MIT",
"dependencies": {
"@ljharb/through": "^2.3.9",
"ansi-escapes": "^4.3.2",
"chalk": "^5.3.0",
"cli-cursor": "^3.1.0",
Expand All @@ -72,7 +73,6 @@
"rxjs": "^7.8.1",
"string-width": "^4.2.3",
"strip-ansi": "^6.0.1",
"through": "^2.3.6",
"wrap-ansi": "^6.0.1"
},
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/inquirer/README.md"
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,11 @@
validate-npm-package-name "5.0.0"
yargs-parser "20.2.4"

"@ljharb/through@^2.3.9":
version "2.3.9"
resolved "https://registry.yarnpkg.com/@ljharb/through/-/through-2.3.9.tgz#85f221eb82f9d555e180e87d6e50fb154af85408"
integrity sha512-yN599ZBuMPPK4tdoToLlvgJB4CLK8fGl7ntfy0Wn7U6ttNvHYurd81bfUiK/6sMkiIwm65R6ck4L6+Y3DfVbNQ==

"@nodelib/[email protected]":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
Expand Down

0 comments on commit 22187a5

Please sign in to comment.