fix(dependencies): update to latest versions
This commit is contained in:
@ -54,11 +54,11 @@ export class NpmRegistry {
|
||||
if (searchObjectArg.popularityWeight) { addToSearchString(`author:${searchObjectArg.popularityWeight}`) }
|
||||
if (searchObjectArg.maintenanceWeight) { addToSearchString(`author:${searchObjectArg.maintenanceWeight}`) }
|
||||
|
||||
plugins.beautylog.log(`Search on npm for ${plugins.beautycolor.coloredString(searchString, 'pink')}`)
|
||||
plugins.smartlog.defaultLogger.info(`Search on npm for ${plugins.consolecolor.coloredString(searchString, 'pink')}`)
|
||||
|
||||
let body: any;
|
||||
try {
|
||||
let response = (await plugins.smartrequest.get(this.searchDomain + searchString, {}))
|
||||
let response = (await plugins.smartrequest.getJson(this.searchDomain + searchString, {}))
|
||||
body = response.body
|
||||
} catch {
|
||||
// we do nothing
|
||||
|
@ -1,9 +1,6 @@
|
||||
import * as beautycolor from 'beautycolor'
|
||||
import * as beautylog from 'beautylog'
|
||||
import * as smartrequest from 'smartrequest'
|
||||
import * as consolecolor from '@pushrocks/consolecolor';
|
||||
import * as smartlog from '@pushrocks/smartlog';
|
||||
smartlog.defaultLogger.enableConsole();
|
||||
import * as smartrequest from '@pushrocks/smartrequest';
|
||||
|
||||
export {
|
||||
beautycolor,
|
||||
beautylog,
|
||||
smartrequest
|
||||
}
|
||||
export { consolecolor, smartlog, smartrequest };
|
||||
|
Reference in New Issue
Block a user