biomedical-id-autocomplete
Advanced tools
Comparing version 1.2.4 to 1.2.5
11
index.js
@@ -82,5 +82,5 @@ const ID_RESOLVING_APIS = require('./config').ID_RESOLVING_APIS; | ||
}, | ||
timeout: 5000, | ||
timeout: 3000, | ||
type: semantic_type | ||
}) | ||
}).catch(err => console.warn(err)); | ||
} | ||
@@ -149,5 +149,6 @@ | ||
let result = {}; | ||
let res; | ||
for (res of responses) { | ||
result = Object.assign(result, this.parse_single_response(res)); | ||
for (let res of responses) { | ||
if (res) { | ||
result = Object.assign(result, this.parse_single_response(res)); | ||
} | ||
}; | ||
@@ -154,0 +155,0 @@ for (const semantic_type of Object.keys(ID_RESOLVING_APIS)) { |
{ | ||
"name": "biomedical-id-autocomplete", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "autocomplete biomedical ids", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
16418
436