-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wikidata plugin depends on a deprecated package #230
Comments
I am aware of the situation with |
It's more than a warning. I get an error and loss of function. <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wikibase SDK Error Example</title>
</head>
<body>
<script type="module">
import { simplify } from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm';
import Cite from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm';
document.addEventListener('DOMContentLoaded', async function () {
try {
// Sample BibTeX string for demonstration
const bibText = `
@article{Loomes2017,
title={Loomes Title},
author={Loomes, Name},
journal={Journal of Examples},
year={2017}
}`;
const citationInstance = new Cite(bibText);
console.log(citationInstance);
// Example usage of simplify function from wikibase-sdk
const simplified = simplify.labels({
en: { value: 'example', language: 'en' }
});
console.log(simplified);
} catch (error) {
console.error("Error:", error);
}
});
</script>
</body>
</html> |
Thank you for notifying me. I'm on holiday but I'll work on it when I can. |
I get the following warning when updating this package:
This subdependency can be found here:
https://github.com/citation-js/citation-js/blob/main/packages/plugin-wikidata/package.json
The package wikidata-sdk has been renamed to wikibase-sdk.
The text was updated successfully, but these errors were encountered: