wikibase-sdk
Advanced tools
Comparing version 7.11.2 to 7.12.0
# CHANGELOG | ||
*versions follow [SemVer](http://semver.org)* | ||
## 7.12.0 - 2021-05-01 | ||
* Added [`isEntitySchemaId`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/general_helpers.md#isentityschemaid) | ||
## 7.11.0 - 2021-04-10 | ||
@@ -5,0 +8,0 @@ * Added [`simplify.references`](https://github.com/maxlath/wikidata-sdk/blob/master/docs/simplify_claims.md#simplify-references) function |
@@ -6,2 +6,3 @@ const toDateObject = require('./wikibase_time_to_date_object') | ||
helpers.isEntityId = id => /^((Q|P|L)[1-9][0-9]*|L[1-9][0-9]*-(F|S)[1-9][0-9]*)$/.test(id) | ||
helpers.isEntitySchemaId = id => /^E[1-9][0-9]*$/.test(id) | ||
helpers.isItemId = id => /^Q[1-9][0-9]*$/.test(id) | ||
@@ -8,0 +9,0 @@ helpers.isPropertyId = id => /^P[1-9][0-9]*$/.test(id) |
{ | ||
"name": "wikibase-sdk", | ||
"version": "7.11.2", | ||
"version": "7.12.0", | ||
"description": "utils functions to query a Wikibase instance and simplify its results", | ||
@@ -5,0 +5,0 @@ "main": "lib/wikibase-sdk.js", |
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
76052
1207