![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@gramps/data-source-xkcd
Advanced tools
Load the latest xkcd comic, or look one up by its ID.
This is a GrAMPS data source for GraphQL.
To get all available fields for this data source, try out these two queries in GraphiQL. (See the quickstart for details on starting GraphiQL.)
query getLatestComic {
getLatestComic {
...ComicFields
}
}
query getComicById($id: ID!) {
getComicById(id: $id) {
...ComicFields
}
}
fragment ComicFields on XKCD_Comic {
num
title
safe_title
img
alt
transcript
year
month
day
link
news
}
Use the following arguments:
{
"id": 1900
}
# Clone the repo
git clone git@github.com:gramps-graphql/data-source-xkcd.git
# Move into it
cd data-source-xkcd/
# Install dependencies
yarn install
Start the app with the following command:
# Develop with mock data
yarn mock-data
Open the URL displayed in your console to see GraphiQL.
Once you’ve got your data source configured to load live data, you can enable live data in development:
# Develop with live data
yarn live-data
Open the URL displayed in your console to see GraphiQL.
Currently, there is no watch capability (PRs welcome!), so the service needs to be stopped (control
+ C
) and restarted (yarn [mock-data|live-data]
) to reflect new changes to the data source.
FAQs
GrAMPS GraphQL data source to load xkcd comics.
We found that @gramps/data-source-xkcd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.