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.0.4 to 7.0.5

18

CHANGELOG.md

@@ -6,14 +6,14 @@ # CHANGELOG

**Breaking Changes**:
* the module initialization was restructured to support Wikibase instances other than wikidata.org
* dropping bower support [as it has been deprecated for a while now](https://bower.io/blog/2017/how-to-migrate-away-from-bower/): old versions of wikidata-sdk should still be available though
* renamed:
* The module initialization was restructured to support Wikibase instances other than wikidata.org. As a consequence, while `require('wikidata-sdk')` still produces the same object as before, `require('wikibase-sdk')` returns a function that takes a config object, which then returns the equivalent of the `wdk` object but customized for the desired Wikibase instance (see [import documentation](https://github.com/maxlath/wikibase-sdk#import)).
* Dropping bower support [as it has been deprecated for a while now](https://bower.io/blog/2017/how-to-migrate-away-from-bower/): old versions of wikidata-sdk should still be available though
* Renamed:
* `wikidataTimeToEpochTime` => `wikibaseTimeToEpochTime`
* `wikidataTimeToISOString` => `wikibaseTimeToISOString`
* `wikidataTimeToSimpleDay` => `wikibaseTimeToSimpleDay`
* removed legacy aliases:
`simplifyClaim` (use `simplify.claim`)
`simplifyPropertyClaims` (use `simplify.propertyClaims`)
`simplifyClaims` (use `simplify.claims`)
`simplifySparqlResults` (use `simplify.sparqlResults`)
`getWikidataIdsFromWikipediaTitles` (use `getEntitiesFromSitelinks`)
* Removed legacy aliases:
* `simplifyClaim` (use `simplify.claim`)
* `simplifyPropertyClaims` (use `simplify.propertyClaims`)
* `simplifyClaims` (use `simplify.claims`)
* `simplifySparqlResults` (use `simplify.sparqlResults`)
* `getWikidataIdsFromWikipediaTitles` (use `getEntitiesFromSitelinks`)

@@ -20,0 +20,0 @@ ## 6.7.0 - 2019-05-26

{
"name": "wikibase-sdk",
"version": "7.0.4",
"version": "7.0.5",
"description": "A javascript tool-suite to query wikibase and simplify its results",

@@ -17,15 +17,15 @@ "main": "lib/wikibase-sdk.js",

"scripts": {
"add-fixture-entity": "./scripts/add_fixture_entity",
"build": "./scripts/build",
"check-supported-datatypes": "./scripts/check_supported_datatypes",
"lint": "standard",
"minify": "./scripts/minify",
"test": "mocha",
"test-types": "tsc",
"lint": "standard",
"build": "./scripts/build",
"minify": "./scripts/minify",
"dist": "npm run build && npm run minify",
"prepublishOnly": "./scripts/prepublish",
"prepublishOnly": "npm run lint && npm test",
"postpublish": "./scripts/postpublish",
"bump-version": "./scripts/bump_version",
"update-dist": "./scripts/update_dist",
"update-sitelinks-languages": "./scripts/sitelinks_languages/update_sitelinks_languages",
"update-toc": "./scripts/update_toc",
"update-sitelinks-languages": "./scripts/sitelinks_languages/update_sitelinks_languages",
"add-fixture-entity": "./scripts/add_fixture_entity",
"check-supported-datatypes": "./scripts/check_supported_datatypes"
"update-wikidata-sdk": "./scripts/update_wikidata_sdk"
},

@@ -32,0 +32,0 @@ "repository": {

@@ -5,6 +5,18 @@ # Wikibase SDK

This package was primarily developed as `wikidata-sdk` but has now being generalized to support any Wikibase instance: [wikidata.org](https://www.wikidata.org) is now just one Wikibase instance among others.
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.
This project is [funded by a Wikimedia Project Grant](https://meta.wikimedia.org/wiki/Grants:Project/WikidataJS).
This project received a [Wikimedia Project Grant](https://meta.wikimedia.org/wiki/Grants:Project/WikidataJS).
<!-- ![wikibase](https://raw.githubusercontent.com/maxlath/wikibase-sdk/master/assets/wikibase.png) -->
<!-- ![wikidata](https://raw.githubusercontent.com/maxlath/wikibase-sdk/master/assets/wikidata.jpg) -->
<div align="center">
<a href="https://wikiba.se"><img height="150" src="https://raw.githubusercontent.com/maxlath/wikibase-sdk/master/assets/wikibase.png" alt="wikibase"></a>
<!-- yeay hacky margin \o/ -->
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://wikidata.org"><img src="https://raw.githubusercontent.com/maxlath/wikibase-sdk/master/assets/wikidata.jpg" alt="wikidata"></a>
</div>
[![NPM](https://nodei.co/npm/wikibase-sdk.png?stars&downloads&downloadRank)](https://npmjs.com/package/wikibase-sdk/)
[![NPM](https://nodei.co/npm/wikidata-sdk.png?stars&downloads&downloadRank)](https://npmjs.com/package/wikidata-sdk/)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)

@@ -14,8 +26,2 @@ [![Node](https://img.shields.io/badge/node-%3E=%20v6.4.0-brightgreen.svg)](http://nodejs.org)

[![wikibase](https://raw.githubusercontent.com/maxlath/wikibase-sdk/master/assets/wikibase.jpg)](https://wikiba.se)
[![wikidata](https://raw.githubusercontent.com/maxlath/wikibase-sdk/master/assets/wikidata.jpg)](https://wikidata.org)
[![NPM](https://nodei.co/npm/wikibase-sdk.png?stars&downloads&downloadRank)](https://npmjs.com/package/wikibase-sdk/)
[![NPM](https://nodei.co/npm/wikidata-sdk.png?stars&downloads&downloadRank)](https://npmjs.com/package/wikidata-sdk/)
## Summary

@@ -86,4 +92,2 @@

* **[Get revisions](docs/get_revisions.md)**
* **Advanced**
* [Use a custom Wikibase instance](docs/use_a_custom_wikibase_instance.md)

@@ -90,0 +94,0 @@ ### Wikibase Query

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