npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

wikibase-serialization

v5.0.0

Published

Wikibase datamodel serialization implementation in JavaScript

Downloads

29

Readme

Wikibase Serialization JavaScript

JavaScript library containing serializers and deserializers for the Wikibase DataModel.

Release notes

5.0.0 (2019-10-21)

  • Removed hooking into global variable wikibase.serialization

4.0.0 (2019-10-08)

  • Added index.js as the public interface
  • Removed:
    • DeserializerFactory
    • SerializerFactory
    • EntitySerializer
    • FingerprintSerializer
    • ItemSerializer
    • MultiTermMapSerializer
    • MultiTermSerializer
    • PropertySerializer
    • SiteLinkSerializer
    • SiteLinkSetSerializer
    • StatementGroupSerializer
    • StatementGroupSetSerializer

3.0.0 (2017-10-10)

  • Made the library a pure JavaScript library.
  • Removed MediaWiki extension registration.
  • Removed MediaWiki ResourceLoader module definitions.
  • Raised DataValues JavaScript library version requirement to 0.10.0.
  • Raised Wikibase DataModel JavaScript library version requirement to 4.0.0.
  • Removed all serializers and deserializers for Claim collections:
    • Removed ClaimGroupDeserializer
    • Removed ClaimGroupSerializer
    • Removed ClaimGroupSetDeserializer
    • Removed ClaimGroupSetSerializer
    • Removed ClaimListDeserializer
    • Removed ClaimListSerializer
  • Removed WIKIBASE_SERIALIZATION_JAVASCRIPT_VERSION constant.

2.1.0 (2017-09-04)

  • Updated the MediaWiki entry point to use the extension.json format.
  • Added code sniffers for JavaScript as well as PHP.
  • Dropped compatibility with PHP 5.3.
  • Added support for deserializing snak hashes.

2.0.8 (2016-09-09)

  • Fix an issue with MediaWiki loading (init.mw.php)

2.0.7 (2016-08-01)

  • Added compatibility with DataModel JavaScript 3.0.0.

2.0.6 (2016-01-27)

  • Added compatibility with DataValues JavaScript 0.8.0.

2.0.5 (2016-01-27)

  • Tests are now compatible with QUnit's requireExpects enabled.

2.0.4 (2016-01-18)

  • Added compatibility with DataModel JavaScript 2.0.0.

2.0.3 (2015-06-03)

  • Updated to DataValues JavaScript 0.7.0.

2.0.2 (2014-12-17)

Bugfixes

  • Fixed parameter order when instantiating dataValues.UnUnserializableValue in SnakSerializer.

Enhancements

  • Updated code documentation for being able to automatically generate a proper documentation using JSDuck.

2.0.1 (2014-11-05)

  • Fixed the required DataModel JavaScript version.

2.0.0 (2014-11-05)

  • Removed wikibase.serialization.entities ResourceLoader module; use wikibase.serialization.EntityDeserializer instead.
  • Removed options from Serializer/Deserializer as it was never used and there is no intention to use options.
  • Renamed *Unserializer to *Deserializer.
  • Added wikibase.serialization.ClaimGroupSetSerializer.
  • Added wikibase.serialization.ClaimGroupSetDeserializer.
  • Added wikibase.serialization.ClaimGroupSerializer.
  • Added wikibase.serialization.ClaimGroupDeserializer.
  • Added wikibase.serialization.ClaimListSerializer.
  • Added wikibase.serialization.ClaimListDeserializer.
  • Added wikibase.serialization.ClaimSerializer.
  • Added wikibase.serialization.ClaimDeserializer.
  • Added wikibase.serialization.EntitySerializer.
  • Added wikibase.serialization.FingerprintSerializer.
  • Added wikibase.serialization.FingerprintDeserializer.
  • Added wikibase.serialization.ItemSerializer.
  • Added wikibase.serialization.ItemDeserializer.
  • Added wikibase.serialization.MultiTermSerializer.
  • Added wikibase.serialization.MultiTermDeserializer.
  • Added wikibase.serialization.MultiTermMapSerializer.
  • Added wikibase.serialization.MultiTermMapDeserializer.
  • Added wikibase.serialization.PropertySerializer.
  • Added wikibase.serialization.PropertyDeserializer.
  • Added wikibase.serialization.ReferenceListSerializer.
  • Added wikibase.serialization.ReferenceListDeserializer.
  • Added wikibase.serialization.ReferenceSerializer.
  • Added wikibase.serialization.ReferenceDeserializer.
  • Added wikibase.serialization.SiteLinkSerializer.
  • Added wikibase.serialization.SiteLinkDeserializer.
  • Added wikibase.serialization.SiteLinkSetSerializer.
  • Added wikibase.serialization.SiteLinkSetDeserializer.
  • Added wikibase.serialization.SnakListSerializer.
  • Added wikibase.serialization.SnakListDeserializer.
  • Added wikibase.serialization.SnakSerializer.
  • Added wikibase.serialization.SnakDeserializer.
  • Added wikibase.serialization.StatementGroupSerializer.
  • Added wikibase.serialization.StatementGroupDeserializer.
  • Added wikibase.serialization.StatementGroupSetSerializer.
  • Added wikibase.serialization.StatementGroupSetDeserializer.
  • Added wikibase.serialization.StatementListSerializer.
  • Added wikibase.serialization.StatementListDeserializer.
  • Added wikibase.serialization.StatementSerializer.
  • Added wikibase.serialization.StatementDeserializer.
  • Added wikibase.serialization.TermSerializer.
  • Added wikibase.serialization.TermDeserializer.
  • Added wikibase.serialization.TermMapSerializer.
  • Added wikibase.serialization.TermMapDeserializer.

1.1.3 (2014-09-10)

  • Use new version of data-values/javascript

1.1.2 (2014-08-20)

  • Added serialization.EntityUnserializer.itemExpert unserializing site links.
  • Fixed unserializing aliases in EntityUnserializer.

1.1.0 (2014-07-10)

1.0.0 (2014-07-03)

Initial release as a library.

Bugs on Phabricator

https://phabricator.wikimedia.org/project/view/919/