File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 5454 "babel-cli" : " ^6.6.5" ,
5555 "babel-preset-env" : " ^1.7.0" ,
5656 "babel-register" : " ^6.7.2" ,
57- "concurrently" : " ^2.1 .0" ,
57+ "concurrently" : " ^5.3 .0" ,
5858 "eslint" : " ^5.16.0" ,
59- "eslint-config-airbnb-base" : " ^13.1.0 " ,
60- "eslint-plugin-import" : " ^2.17.3 " ,
59+ "eslint-config-airbnb-base" : " ^14.2.1 " ,
60+ "eslint-plugin-import" : " ^2.26.0 " ,
6161 "js-yaml" : " ^3.12.0" ,
62- "mocha" : " ^6.1.4 " ,
62+ "mocha" : " ^6.2.3 " ,
6363 "nyc" : " ^14.1.1" ,
6464 "rimraf" : " ^2.5.2" ,
6565 "shelljs-changelog" : " ^0.2.6" ,
6666 "shelljs-plugin-open" : " ^0.2.1" ,
67- "shelljs-release" : " ^0.5.1 " ,
67+ "shelljs-release" : " ^0.5.2 " ,
6868 "should" : " ^13.2.3" ,
6969 "watch" : " ^1.0.2"
7070 },
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const run = (input) => {
2020if ( shouldReadStdin ( parsedArgs . _ ) ) {
2121 // Read all stdin first, and then pass that onto ShellJS
2222 const chunks = [ ] ;
23- process . stdin . on ( 'data' , data => chunks . push ( data ) ) ;
23+ process . stdin . on ( 'data' , ( data ) => chunks . push ( data ) ) ;
2424 process . stdin . on ( 'end' , ( ) => run ( chunks . join ( '' ) ) ) ;
2525} else {
2626 // There's no stdin, so we can immediately invoke the ShellJS function
Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ import { CMD_BLOCKLIST, OPTION_BLOCKLIST } from './config';
55const locallyDefinedOptions = [ 'version' ] ;
66
77const shxOptions = Object . keys ( shell . config )
8- . filter ( key => typeof shell . config [ key ] !== 'function' )
9- . filter ( key => OPTION_BLOCKLIST . indexOf ( key ) === - 1 )
8+ . filter ( ( key ) => typeof shell . config [ key ] !== 'function' )
9+ . filter ( ( key ) => OPTION_BLOCKLIST . indexOf ( key ) === - 1 )
1010 . concat ( locallyDefinedOptions )
11- . map ( key => ` * --${ key } ` ) ;
11+ . map ( ( key ) => ` * --${ key } ` ) ;
1212
1313export default ( ) => {
1414 // Note: compute this at runtime so that we have all plugins loaded.
1515 const commandList = Object . keys ( shell )
16- . filter ( cmd => typeof shell [ cmd ] === 'function' )
17- . filter ( cmd => CMD_BLOCKLIST . indexOf ( cmd ) === - 1 )
18- . map ( cmd => ` * ${ cmd } ` ) ;
16+ . filter ( ( cmd ) => typeof shell [ cmd ] === 'function' )
17+ . filter ( ( cmd ) => CMD_BLOCKLIST . indexOf ( cmd ) === - 1 )
18+ . map ( ( cmd ) => ` * ${ cmd } ` ) ;
1919
2020 return `
2121shx: A wrapper for shelljs UNIX commands.
You can’t perform that action at this time.
0 commit comments