Skip to content

Commit ab55cdf

Browse files
authored
Merge pull request #119 from codingtools/snyk-upgrade-488252ed6c0b75cde0a4796cab8b3647
[Snyk] Upgrade moment from 2.24.0 to 2.25.0
2 parents a6f0fef + 909256e commit ab55cdf

File tree

12 files changed

+22
-22
lines changed

12 files changed

+22
-22
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@
2626
"jshashes": "^1.0.8",
2727
"json-2-csv": "^3.7.0",
2828
"minify": "^5.1.1",
29-
"moment": "^2.24.0",
3029
"moment-timezone": "^0.5.29",
31-
"nyc": "^15.0.1",
30+
"nyc": "^15.1.0",
3231
"ora": "^4.0.4",
3332
"signale": "^1.4.0",
3433
"test": "^0.6.0",

src/commands/avro.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
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'
66

77
import Logger from '../utilities/logger'
88
import Utilities from '../utilities/utilities'

src/commands/bundlephobia.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Command, flags} from '@oclif/command'
22
import axios from 'axios'
3-
import * as chalk from 'chalk'
3+
import chalk from 'chalk'
44

55
import Logger from '../utilities/logger'
66
import Utilities from '../utilities/utilities'

src/commands/crypto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Command, flags} from '@oclif/command'
2-
import * as CryptoJS from 'crypto-js'
2+
import CryptoJS from 'crypto-js'
33

44
import Logger from '../utilities/logger'
55
import Utilities from '../utilities/utilities'

src/commands/datetime.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
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
44

55
// @ts-ignore
66
moment.suppressDeprecationWarnings = true

src/commands/hash.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import {Command, flags} from '@oclif/command'
2-
import * as CryptoJS from 'crypto-js'
2+
import CryptoJS from 'crypto-js'
33

44
import Logger from '../utilities/logger'
55
import 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

src/commands/view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// code here to write the tool for csv tool show
22
import {Command, flags} from '@oclif/command'
3-
import * as chalk from 'chalk'
3+
import chalk from 'chalk'
44

55
import Logger from '../utilities/logger'
66
import Utilities from '../utilities/utilities'

src/utilities/logger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
66
export default class Logger {

src/utilities/utilities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// tslint:disable-next-line:file-name-casing
22
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'
55

66
import Logger from './logger'
77
// tslint:disable-next-line:no-unnecessary-class

0 commit comments

Comments
 (0)