New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

linkhub

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkhub - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

19

index.js

@@ -259,9 +259,9 @@ var crypto = require("crypto");

} else {
try {
// try {
var response = request("GET", targetURL + "/Time");
return response.body.toString("utf8");
} catch (err) {
var response = request("GET", "https://" + targetURL + "/Time");
return response.body.toString("utf8");
}
// } catch (err) {
// var response = request("GET", "https://" + targetURL + "/Time");
// return response.body.toString("utf8");
// }
}

@@ -271,9 +271,12 @@ };

exports.getTargetURL = function (UseStaticIP, UseGAIP) {
var url = "";
if (UseGAIP) {
return "ga-auth.linkhub.co.kr";
url = "ga-auth.linkhub.co.kr";
} else if (UseStaticIP) {
return "static-auth.linkhub.co.kr";
url = "static-auth.linkhub.co.kr";
} else {
return "auth.linkhub.co.kr";
url = "auth.linkhub.co.kr";
}
return this._options.UseLocalTimeYN ? url : "https://" + url;
};
{
"name": "linkhub",
"version": "1.7.1",
"version": "1.7.2",
"description": "linkhub auth modules for www.linkhub.co.kr",

@@ -5,0 +5,0 @@ "author": "Kim Seongjun <pallet027@gmail.com>",

# node-linkhub
링크허브 node.js SDK v1.7.0
링크허브 node.js SDK v1.7.2

@@ -4,0 +4,0 @@ ## Install

@@ -6,3 +6,2 @@ var linkhub = require("./");

SecretKey: "SwWxqU+0TErBXy/9TVjIPEnI0VTUMMSQZtJf3Ed8q3I=",
UseLocalTimeYN: false,
//AuthURL : 'http://192.168.0.228:9080',

@@ -9,0 +8,0 @@ defaultErrorHandler: function (linkhubException) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc