minor: s/breq/brq/g

This commit is contained in:
Christopher Jeffrey 2017-11-02 08:10:21 -07:00
parent 73892701e8
commit 7bdd6e3519
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
'use strict';
const breq = require('breq');
const brq = require('brq');
const IP = require('binet');
/**
@ -23,7 +23,7 @@ const external = exports;
external.getIPv4 = async function getIPv4() {
try {
const res = await breq({
const res = await brq({
method: 'GET',
url: 'http://ipv4.icanhazip.com',
expect: 'txt',
@ -50,7 +50,7 @@ external.getIPv4 = async function getIPv4() {
*/
external.getIPv42 = async function getIPv42() {
const res = await breq({
const res = await brq({
method: 'GET',
url: 'http://checkip.dyndns.org',
expect: 'html',
@ -78,7 +78,7 @@ external.getIPv42 = async function getIPv42() {
*/
external.getIPv6 = async function getIPv6() {
const res = await breq({
const res = await brq({
method: 'GET',
url: 'http://ipv6.icanhazip.com',
expect: 'txt',

View File

@ -32,7 +32,7 @@
"bfilter": "^0.0.1",
"binet": "^0.0.1",
"bmutex": "^0.0.1",
"breq": "^0.0.1",
"brq": "^0.0.1",
"bsock": "^0.0.1",
"bstr": "^0.0.1",
"bweb": "^0.0.1",