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.11.2 to 7.12.0

3

CHANGELOG.md
# 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)

2

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

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