![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
github.com/ciehanski/go-wikimedia
go-wikimedia is an interface to the Wikimedia (Wikipedia, Wiktionary, etc.) API implemented in the Go programming language.
This project was originally created by Patrick Mylund Nielsen. I forked his repo for my project pastime. If you notice a bug, feel free to submit an issue on this repo.
go get github.com/ciehanski/go-wikimedia
https://godoc.org/github.com/ciehanski/go-wikimedia
or from the CLI:
go doc github.com/ciehanski/go-wikimedia
package main
import (
"fmt"
"log"
"net/http"
"net/url"
"github.com/ciehanski/go-wikimedia"
)
func main() {
wiki, err := wikimedia.New(wikimedia.Options{
Client: http.DefaultClient,
URL: "https://en.wikipedia.org/w/api.php",
UserAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 " +
"(KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
})
if err != nil {
log.Fatal(err.Error())
}
resp, err := wiki.Query(url.Values{
"action": {"query"},
"prop": {"extracts"},
"titles": {"Osmosis|Procrastination"},
"exsentences": {"5"},
"explaintext": {"1"},
"original": {"source"},
})
if err != nil {
log.Fatalf("Error executing query: %s", err.Error())
}
for _, v := range resp.Query.Pages {
fmt.Println(v.Title, "-", v.Extract)
}
}
Please feel free to contribute and submit any PRs to this project.
MIT
FAQs
Unknown package
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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.