fix(dependencies): update

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

14
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "early",
"name": "@pushrocks/early",
"version": "3.0.1",
"lockfileVersion": 1,
"requires": true,
@ -25,6 +25,14 @@
"typescript": "^2.9.1"
}
},
"@pushrocks/consolecolor": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@pushrocks/consolecolor/-/consolecolor-2.0.1.tgz",
"integrity": "sha512-iOFCHVeFZ2OywbdwSxVI4/wokkcLrXVdHLgvMmkNhJ220eeLgjNZWx3EJo3vNW3zq5ybCSCUIq0878djBxrWpw==",
"requires": {
"ansi-256-colors": "^1.1.0"
}
},
"@pushrocks/smartdelay": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@pushrocks/smartdelay/-/smartdelay-2.0.1.tgz",
@ -162,6 +170,7 @@
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/beautycolor/-/beautycolor-1.0.11.tgz",
"integrity": "sha512-Uxl/39+2uqixPzsrV+0NOHf0sJlWmsKnRTV0oz8+bfwnHPA/E+SZuh3Upn3OXobv0W7LZg5BVoLj1nkMj7m5jA==",
"dev": true,
"requires": {
"ansi-256-colors": "^1.1.0",
"typings-global": "^1.0.14"
@ -773,7 +782,8 @@
"typings-global": {
"version": "1.0.28",
"resolved": "https://registry.npmjs.org/typings-global/-/typings-global-1.0.28.tgz",
"integrity": "sha512-6VOwJWEY2971HOMHu/7sURzUXiD4/LiMJPsMAOqkHHAtS3MVpLFE5gzTiHilsH9KY5VE1mBQirWIgWFsDuo90A=="
"integrity": "sha512-6VOwJWEY2971HOMHu/7sURzUXiD4/LiMJPsMAOqkHHAtS3MVpLFE5gzTiHilsH9KY5VE1mBQirWIgWFsDuo90A==",
"dev": true
},
"universalify": {
"version": "0.1.2",

View File

@ -28,7 +28,7 @@
"@pushrocks/tapbundle": "^3.0.1"
},
"dependencies": {
"@pushrocks/smartpromise": "^2.0.5",
"beautycolor": "^1.0.11"
"@pushrocks/consolecolor": "^2.0.1",
"@pushrocks/smartpromise": "^2.0.5"
}
}

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;