New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.1 to 7.3.0

3

CHANGELOG.md
# CHANGELOG
*versions follow [SemVer](http://semver.org)*
## 7.3.0 - 2020-04-08
* [`getRevisions`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/get_revisions.md): added support for `rvprops`, `rvuser`, `rvexcludeuser`, and `rvtag` parameters
## 7.2.0 - 2019-12-06

@@ -5,0 +8,0 @@ * Make [`getSitelinkData`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/general_helpers.md#getsitelinkdata) accept full article URLs and return `{ lang, project, key, title, url }`

@@ -13,2 +13,3 @@ const { forceArray } = require('../utils/utils')

}
query.titles = ids.join('|')

@@ -19,2 +20,9 @@ query.format = options.format || 'json'

if (uniqueId && options.end) query.rvend = getEpochSeconds(options.end)
const { prop, user, excludeuser, tag } = options
if (prop) query.rvprop = forceArray(prop).join('|')
if (user) query.rvuser = user
if (excludeuser) query.rvexcludeuser = excludeuser
if (tag) query.rvtag = tag
return buildUrl(query)

@@ -21,0 +29,0 @@ }

4

package.json
{
"name": "wikibase-sdk",
"version": "7.2.1",
"description": "A javascript tool-suite to query wikibase and simplify its results",
"version": "7.3.0",
"description": "utils functions to query a Wikibase instance and simplify its results",
"main": "lib/wikibase-sdk.js",

@@ -6,0 +6,0 @@ "files": [

# wikibase-sdk
A javascript tool-suite to query a [Wikibase](http://wikiba.se) instance and simplify its results.
JS utils functions to query a [Wikibase](http://wikiba.se) instance and simplify its results

@@ -5,0 +5,0 @@ This package was primarily developed as `wikidata-sdk` but has now being generalized to support any Wikibase instance: [wikidata.org](https://www.wikidata.org) among others.

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