File tree Expand file tree Collapse file tree 10 files changed +18
-17
lines changed Expand file tree Collapse file tree 10 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 11import { Command , flags } from '@oclif/command'
2- import * as avro from 'avsc'
3- import * as chalk from 'chalk'
4- import * as fs from 'fs' // includes all from avro-js and some more
5- import * as Json2Csv from 'json-2-csv'
2+ import avro from 'avsc'
3+ import chalk from 'chalk'
4+ import fs from 'fs' // includes all from avro-js and some more
5+ import Json2Csv from 'json-2-csv'
66
77import Logger from '../utilities/logger'
88import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 11import { Command , flags } from '@oclif/command'
22import axios from 'axios'
3- import * as chalk from 'chalk'
3+ import chalk from 'chalk'
44
55import Logger from '../utilities/logger'
66import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 11import { Command , flags } from '@oclif/command'
2- import * as CryptoJS from 'crypto-js'
2+ import CryptoJS from 'crypto-js'
33
44import Logger from '../utilities/logger'
55import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 11import { Command , flags } from '@oclif/command'
2- import * as chalk from 'chalk'
3- import * as moment from 'moment-timezone' //has both momentjs and timezone support
2+ import chalk from 'chalk'
3+ import moment from 'moment-timezone' //has both momentjs and timezone support
44
55// @ts -ignore
66moment . suppressDeprecationWarnings = true
Original file line number Diff line number Diff line change 11import { Command , flags } from '@oclif/command'
2- import * as CryptoJS from 'crypto-js'
2+ import CryptoJS from 'crypto-js'
33
44import Logger from '../utilities/logger'
55import Utilities from '../utilities/utilities'
6- // import * as Hashes from 'jshashes'
6+ // import Hashes from 'jshashes'
77
88// TODO: all are Hexadecimal encoding for now, can also add b64
99
Original file line number Diff line number Diff line change 11// code here to write the tool for csv tool show
22import { Command , flags } from '@oclif/command'
3- import * as chalk from 'chalk'
3+ import chalk from 'chalk'
44
55import Logger from '../utilities/logger'
66import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 11// tslint:disable-next-line:file-name-casing
2- import * as Ora from 'ora'
3- import * as signale from 'signale'
2+ import Ora from 'ora'
3+ import signale from 'signale'
44
55// tslint:disable-next-line:no-unnecessary-class
66export default class Logger {
Original file line number Diff line number Diff line change 11// tslint:disable-next-line:file-name-casing
22import { Command } from '@oclif/command'
3- import * as chalk from 'chalk'
4- import * as fs from 'fs'
3+ import chalk from 'chalk'
4+ import fs from 'fs'
55
66import Logger from './logger'
77// tslint:disable-next-line:no-unnecessary-class
Original file line number Diff line number Diff line change 11import { expect , test } from '@oclif/test'
2- import * as moment from 'moment-timezone' //has both momentjs and timezone support
2+ import moment from 'moment-timezone' //has both momentjs and timezone support
33
44describe ( 'datetime' , ( ) => {
55 test
Original file line number Diff line number Diff line change 88 "strict" : true ,
99 "target" : " es2017" ,
1010 "sourceMap" : true ,
11- "composite" : true
11+ "composite" : true ,
12+ "esModuleInterop" : true
1213 },
1314 "include" : [
1415 " src/**/*"
You can’t perform that action at this time.
0 commit comments