MetacatUI still loads a vendored rdflib.js 0.14.1 browser bundle. It was last updated in 2017, while the current upstream release is 2.4.0.
Update rdflib.js and rdflib.min.js to the current browser build, keeping the existing RequireJS loading. This upgrade spans several major versions, so we also need to check the old API assumptions in our RDF code.
One known breaking change is that The current literal method expects the datatype as the second argument and ignores a third argument, whereas we are using the older three argument pattern: rdf.literal(value, undefined, datatype).
MetacatUI still loads a vendored
rdflib.js0.14.1 browser bundle. It was last updated in 2017, while the current upstream release is 2.4.0.Update
rdflib.jsandrdflib.min.jsto the current browser build, keeping the existing RequireJS loading. This upgrade spans several major versions, so we also need to check the old API assumptions in our RDF code.One known breaking change is that The current
literalmethod expects the datatype as the second argument and ignores a third argument, whereas we are using the older three argument pattern:rdf.literal(value, undefined, datatype).