EdJoPaTo / wikidata-entity-reader

read information of wikidata entities in a simpler way
MIT License
0 stars 0 forks source link

build(npm): bump wikibase-sdk from 8.1.1 to 9.0.4 #34

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps wikibase-sdk from 8.1.1 to 9.0.4.

Changelog

Sourced from wikibase-sdk's changelog.

CHANGELOG

versions follow SemVer

9.0.0 - 2023-02-04

BREAKING CHANGES:

  • wikibase-sdk now uses ES modules: to keep using CommonJS, you will need to use wikibase-sdk <= v9
  • Some functions that were accepting arguments as several arguments were changed to accept arguments as an object only. The concerned functions are:
    • getReverseClaims: getReverseClaims('P50', 'Q535') should be replaced by getReverseClaims({ properties: 'P50', values: 'Q535' })
    • getRevisions: getRevisions('Q3548931', { limit: 10 }) should be replaced by getRevisions({ ids: 'Q3548931', { limit: 10 })
  • Functions that were accepting arguments either as several arguments or as an object now only accept arguments as an object. The concerned functions are:
  • simplify.claims, simplify.simplifyPropertyClaims, and simplify.claim legacy interfaces were dropped: options are now expected in a single option object (rather than as several arguments)
  • Functions previously avaialble on wbk.parsers.wb and wbk.parsers.wd — namely entities and pagesTitles — are now directly on wbk.parsers

Other changes:

  • The source code was converted to TypeScript to recover types declarations, and keep them maintained in the future. This change was taken as an opportunity to do a bit of cleanup in the function interfaces.
  • The convenience module wikidata-sdk has been deprecated. The wdk object can now be imported from wikibase-sdk/wikidata.org: import wdk from 'wikibase-sdk/wikidata.org'

8.1.0 - 2022-10-31

8.0.0 - 2022-05-03

BREAKING CHANGE: use URLSearchParams in NodeJS, which only is available in NodeJS >= v10.0.0

7.15.0 - 2021-04-10

7.14.0 - 2021-10-18

7.13.0 - 2021-06-01

  • Added wgScriptPath to the initialization parameters

7.12.0 - 2021-05-01

7.11.0 - 2021-04-10

7.10.0 - 2021-04-10

... (truncated)

Commits
  • 3c09223 dist: updated
  • a12c087 9.0.4
  • dea08e6 Merge pull request #98 from EdJoPaTo/helpers-utils-typings
  • 5a8e4c2 refactor(validate): ensure input type is the expected
  • 1bd44aa refactor: remove unused catch error variable
  • 06c117d fix: typing issue with the sites array
  • 9118dd3 fix: getRevisions format type
  • e073cb8 feat(helpers): add MediaInfoId
  • f04fd04 refactor(helpers): use builder
  • 2cd0d67 refactor: improve typings of helpers and utils
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Looks like wikibase-sdk is up-to-date now, so this is no longer needed.