Comparing version 1.2.0 to 1.2.1
17
index.js
@@ -85,16 +85,5 @@ /* | ||
var res = this._parser.parse(userAgent); | ||
if (!res) | ||
return undefined; | ||
var ret = JSON.parse(res.output); | ||
ret.method = this.method; | ||
ret.data = res; | ||
for (var k in ret) { | ||
if (ret[k] === 'True') | ||
ret[k] = true; | ||
else if (ret[k] === 'False') | ||
ret[k] = false; | ||
} | ||
return ret; | ||
if (!res) return undefined; | ||
res.method = this.method; | ||
return res; | ||
} | ||
@@ -101,0 +90,0 @@ |
{ | ||
"name": "51degrees", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "51degrees c-sdk native bindings for nodejs", | ||
@@ -13,3 +13,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git@github.com:yorkie/51degress.node.git" | ||
"url": "git@github.com:yorkie/51degrees.node.git" | ||
}, | ||
@@ -20,5 +20,5 @@ "author": "Yorkie Neil <yorkiefixer@gmail.com>", | ||
"bugs": { | ||
"url": "https://github.com/yorkie/51degress.node/issues" | ||
"url": "https://github.com/yorkie/51degrees.node/issues" | ||
}, | ||
"homepage": "https://github.com/yorkie/51degress.node", | ||
"homepage": "https://github.com/yorkie/51degrees.node", | ||
"dependencies": { | ||
@@ -25,0 +25,0 @@ "nan": "^1.3.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
194253
20
1
0
180