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.5.0 to 7.6.0

21

CHANGELOG.md
# CHANGELOG
*versions follow [SemVer](http://semver.org)*
## 7.6.0 - 2020-06-09
* Added [`isPropertyClaimsId`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/general_helpers.md#ispropertyclaimsid) function
## 7.5.0 - 2020-06-08
* Added `isHash` function
* Added [`isHash`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/general_helpers.md#ishash) function
## 7.4.0 - 2020-04-17
* `simplify.entity`/`simplify.entities` function: added support for Lexemes
* Added `simplify.lemmas` function
* Added `simplify.glosses` function
* Added `simplify.form` function
* Added `simplify.forms` function
* Added `simplify.sense` function
* Added `simplify.senses` function
* Added `isFormId` function
* Added `isSenseId` function
* Added [`simplify.lemmas`]((https://github.com/maxlath/wikidata-sdk/blob/master/docs/simplify_entities_data.md#simplify-lemmas)) function
* Added [`simplify.glosses`]((https://github.com/maxlath/wikidata-sdk/blob/master/docs/simplify_entities_data.md#simplify-glosses)) function
* Added [`simplify.form`]((https://github.com/maxlath/wikidata-sdk/blob/master/docs/simplify_entities_data.md#simplify-form)) function
* Added [`simplify.forms`]((https://github.com/maxlath/wikidata-sdk/blob/master/docs/simplify_entities_data.md#simplify-forms)) function
* Added [`simplify.sense`]((https://github.com/maxlath/wikidata-sdk/blob/master/docs/simplify_entities_data.md#simplify-sense)) function
* Added [`simplify.senses`]((https://github.com/maxlath/wikidata-sdk/blob/master/docs/simplify_entities_data.md#simplify-senses)) function
* Added [`isFormId`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/general_helpers.md#isformid) function
* Added [`isSenseId`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/general_helpers.md#issenseid) function

@@ -18,0 +21,0 @@ ## 7.3.0 - 2020-04-08

@@ -13,2 +13,6 @@ const toDateObject = require('./wikibase_time_to_date_object')

helpers.isHash = hash => /^[0-9a-f]{40}$/.test(hash)
helpers.isPropertyClaimsId = id => {
const [ entityId, propertyId ] = id.split('#')
return helpers.isEntityId(entityId) && helpers.isPropertyId(propertyId)
}
helpers.isRevisionId = id => /^\d+$/.test(id)

@@ -15,0 +19,0 @@

{
"name": "wikibase-sdk",
"version": "7.5.0",
"version": "7.6.0",
"description": "utils functions to query a Wikibase instance and simplify its results",

@@ -5,0 +5,0 @@ "main": "lib/wikibase-sdk.js",

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