Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wikibase-sdk

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wikibase-sdk - npm Package Compare versions

Comparing version 7.14.0 to 7.14.1

6

lib/helpers/simplify_sitelinks.js

@@ -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) {

2

package.json
{
"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

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