From 484e9b0afaf8427956b0d29cf25eaa0ea93a25f1 Mon Sep 17 00:00:00 2001 From: Ryan Burnette Date: Fri, 5 Jul 2019 19:42:53 -0500 Subject: [PATCH] use root request --- keyfetch.js | 2 +- package-lock.json | 10 +++++----- package.json | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/keyfetch.js b/keyfetch.js index 94dce86..02924a6 100644 --- a/keyfetch.js +++ b/keyfetch.js @@ -3,7 +3,7 @@ var keyfetch = module.exports; var promisify = require('util').promisify; -var requestAsync = promisify(require('@coolaj86/urequest')); +var requestAsync = promisify(require('@root/request')); var Rasha = require('rasha'); var Eckles = require('eckles'); var mincache = 1 * 60 * 60; diff --git a/package-lock.json b/package-lock.json index 1a7bd50..f49a171 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { "name": "keyfetch", - "version": "1.1.8", + "version": "1.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { - "@coolaj86/urequest": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@coolaj86/urequest/-/urequest-1.3.7.tgz", - "integrity": "sha512-PPrVYra9aWvZjSCKl/x1pJ9ZpXda1652oJrPBYy5rQumJJMkmTBN3ux+sK2xAUwVvv2wnewDlaQaHLxLwSHnIA==" + "@root/request": { + "version": "1.3.11", + "resolved": "https://registry.npmjs.org/@root/request/-/request-1.3.11.tgz", + "integrity": "sha512-3a4Eeghcjsfe6zh7EJ+ni1l8OK9Fz2wL1OjP4UCa0YdvtH39kdXB9RGWuzyNv7dZi0+Ffkc83KfH0WbPMiuJFw==" }, "eckles": { "version": "1.4.1", diff --git a/package.json b/package.json index 4172505..bbfd009 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "keyfetch.js", "files": [], "dependencies": { - "@coolaj86/urequest": "^1.3.7", + "@root/request": "^1.3.11", "eckles": "^1.4.1", "rasha": "^1.2.4" }, @@ -33,4 +33,3 @@ "author": "AJ ONeal (https://coolaj86.com/)", "license": "MPL-2.0" } - -- 2.38.5