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 1
1
import { 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'
6
6
7
7
import Logger from '../utilities/logger'
8
8
import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 1
1
import { Command , flags } from '@oclif/command'
2
2
import axios from 'axios'
3
- import * as chalk from 'chalk'
3
+ import chalk from 'chalk'
4
4
5
5
import Logger from '../utilities/logger'
6
6
import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 1
1
import { Command , flags } from '@oclif/command'
2
- import * as CryptoJS from 'crypto-js'
2
+ import CryptoJS from 'crypto-js'
3
3
4
4
import Logger from '../utilities/logger'
5
5
import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 1
1
import { 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
4
4
5
5
// @ts -ignore
6
6
moment . suppressDeprecationWarnings = true
Original file line number Diff line number Diff line change 1
1
import { Command , flags } from '@oclif/command'
2
- import * as CryptoJS from 'crypto-js'
2
+ import CryptoJS from 'crypto-js'
3
3
4
4
import Logger from '../utilities/logger'
5
5
import Utilities from '../utilities/utilities'
6
- // import * as Hashes from 'jshashes'
6
+ // import Hashes from 'jshashes'
7
7
8
8
// TODO: all are Hexadecimal encoding for now, can also add b64
9
9
Original file line number Diff line number Diff line change 1
1
// code here to write the tool for csv tool show
2
2
import { Command , flags } from '@oclif/command'
3
- import * as chalk from 'chalk'
3
+ import chalk from 'chalk'
4
4
5
5
import Logger from '../utilities/logger'
6
6
import Utilities from '../utilities/utilities'
Original file line number Diff line number Diff line change 1
1
// 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'
4
4
5
5
// tslint:disable-next-line:no-unnecessary-class
6
6
export default class Logger {
Original file line number Diff line number Diff line change 1
1
// tslint:disable-next-line:file-name-casing
2
2
import { 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'
5
5
6
6
import Logger from './logger'
7
7
// tslint:disable-next-line:no-unnecessary-class
Original file line number Diff line number Diff line change 1
1
import { 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
3
3
4
4
describe ( 'datetime' , ( ) => {
5
5
test
Original file line number Diff line number Diff line change 8
8
"strict" : true ,
9
9
"target" : " es2017" ,
10
10
"sourceMap" : true ,
11
- "composite" : true
11
+ "composite" : true ,
12
+ "esModuleInterop" : true
12
13
},
13
14
"include" : [
14
15
" src/**/*"
You can’t perform that action at this time.
0 commit comments