The removal of all Node polyfills from Webpack config seems to have broken queries against SPARQL endpoints, due to the jsonparser library using the Buffer global somewhat extensively. Here are the changes to:
Add back node-polyfill-webpack-plugin and use it to only provide the Buffer global polyfill
Bump Comunica to latest version (2.4.2)
Querying SPARQL endpoints seems to work now again, and the other queries also still appear to work. There is an error displayed that says "No valid SPARQL query results" even when the query does produce results, but that one appears to be tracked separately and does not appear to affect the functionality.
The removal of all Node polyfills from Webpack config seems to have broken queries against SPARQL endpoints, due to the
jsonparser
library using theBuffer
global somewhat extensively. Here are the changes to:node-polyfill-webpack-plugin
and use it to only provide theBuffer
global polyfillQuerying SPARQL endpoints seems to work now again, and the other queries also still appear to work. There is an error displayed that says "No valid SPARQL query results" even when the query does produce results, but that one appears to be tracked separately and does not appear to affect the functionality.