fix(dependencies): update
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import * as beautycolor from 'beautycolor';
|
||||
import * as consolecolor from '@pushrocks/consolecolor';
|
||||
import * as smartpromise from '@pushrocks/smartpromise';
|
||||
import { HrtMeasurement } from './early.hrtMeasurement';
|
||||
|
||||
@ -20,7 +20,7 @@ export let start = function(moduleNameArg: string = '', loaderLengthArg: string
|
||||
startHrt = new HrtMeasurement();
|
||||
startHrt.start();
|
||||
if (doText) {
|
||||
console.log(`**** starting ${beautycolor.coloredString(moduleNameArg, 'green')} ****`);
|
||||
console.log(`**** starting ${consolecolor.coloredString(moduleNameArg, 'green')} ****`);
|
||||
}
|
||||
};
|
||||
|
||||
@ -29,7 +29,7 @@ export let stop = (): Promise<number> => {
|
||||
let earlyExecutionTime = startHrt.stop().milliSeconds;
|
||||
let earlyExecutionTimeString: string = (earlyExecutionTime / 1000).toString();
|
||||
console.log(
|
||||
`OK! -> finished loading within ${beautycolor.coloredString(earlyExecutionTimeString, 'blue')}`
|
||||
`OK! -> finished loading within ${consolecolor.coloredString(earlyExecutionTimeString, 'blue')}`
|
||||
);
|
||||
done.resolve(earlyExecutionTime);
|
||||
return done.promise;
|
||||
|
Reference in New Issue
Block a user