wikibase-sdk
Advanced tools
Comparing version 7.14.0 to 7.14.1
@@ -9,2 +9,8 @@ const { getSitelinkUrl } = require('./sitelinks') | ||
const aggregateValues = (sitelinks, addUrl) => (index, key) => { | ||
// Accomodating for wikibase-cli, which might set the sitelink to null | ||
// to signify that a requested sitelink was not found | ||
if (sitelinks[key] == null) { | ||
index[key] = sitelinks[key] | ||
return index | ||
} | ||
const { title } = sitelinks[key] | ||
@@ -11,0 +17,0 @@ if (addUrl) { |
{ | ||
"name": "wikibase-sdk", | ||
"version": "7.14.0", | ||
"version": "7.14.1", | ||
"description": "utils functions to query a Wikibase instance and simplify its results", | ||
@@ -5,0 +5,0 @@ "main": "lib/wikibase-sdk.js", |
@@ -42,3 +42,2 @@ # wikibase-sdk | ||
- [Contributing](#contributing) | ||
- [Donate](#donate) | ||
- [See Also](#see-also) | ||
@@ -154,5 +153,2 @@ - [You may also like](#you-may-also-like) | ||
## Donate | ||
We are developing and maintaining tools to work with Wikidata from NodeJS, the browser, or simply the command line, with quality and ease of use at heart. Any donation will be interpreted as a "please keep going, your work is very much needed and awesome. PS: love". [Donate](https://liberapay.com/WikidataJS) | ||
## See Also | ||
@@ -159,0 +155,0 @@ * [wikibase-edit](https://github.com/maxlath/wikibase-edit): Edit a Wikibase instance from NodeJS |
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
1541
61790
169