File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// babel.config.js
22module . exports = {
33 presets : [
4- [ '@babel/preset-env' , { targets : { node : 'current' } } ] ,
4+ [ '@babel/preset-env' , {
5+ modules : false ,
6+ targets : { node : 'current' } ,
7+ } ] ,
58 '@babel/preset-typescript' ,
69 ] ,
7- } ;
10+ } ;
Original file line number Diff line number Diff line change 4141 "commander" : " ^8.2.0" ,
4242 "typescript" : " ^4.4.3" ,
4343 "@aivenio/tsc-output-parser" : " ^2.1.1" ,
44- "codeclimate-types" : " ^0.3.1" ,
45- "get-stdin" : " ^9.0.0"
44+ "codeclimate-types" : " ^0.3.1"
4645 }
4746}
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
33import { Command } from "commander" ;
4- import getStdin from "get-stdin " ;
4+ import { text } from "node:stream/consumers " ;
55import format from "./format" ;
66import filter from "./filter" ;
77
@@ -14,7 +14,7 @@ program
1414program . parse ( process . argv ) ;
1515const options = program . opts ( ) ;
1616
17- getStdin ( ) . then ( ( stdIn ) => {
17+ text ( process . stdin ) . then ( ( stdIn ) => {
1818 let output = format ( stdIn ) ;
1919
2020 if ( options . exclude ) {
You can’t perform that action at this time.
0 commit comments