fix(dependencies): update

This commit is contained in:
2018-07-18 08:33:23 +02:00
parent a0b237ca8c
commit 98f9c51613
3 changed files with 17 additions and 7 deletions

View File

@ -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;