solid-ui 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/841.solid-ui.min.js +1 -1
- package/dist/841.solid-ui.min.js.map +1 -1
- package/dist/_2b19.solid-ui.js.map +1 -1
- package/dist/solid-ui.js +9912 -10841
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +1 -1
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/vendors-node_modules_jsonld_lib_jsonld_js.solid-ui.js +4 -2
- package/dist/vendors-node_modules_jsonld_lib_jsonld_js.solid-ui.js.map +1 -1
- package/lib/index.js +0 -0
- package/lib/versionInfo.js +20 -20
- package/lib/versionInfo.js.map +1 -1
- package/package.json +24 -24
|
@@ -222,7 +222,8 @@ module.exports = class ContextResolver {
|
|
|
222
222
|
'a same-origin policy (ensure the server uses CORS if you are ' +
|
|
223
223
|
'using client-side JavaScript), too many redirects, a ' +
|
|
224
224
|
'non-JSON response, or more than one HTTP Link Header was ' +
|
|
225
|
-
'provided for a remote context.'
|
|
225
|
+
'provided for a remote context. ' +
|
|
226
|
+
`URL: "${url}".`,
|
|
226
227
|
'jsonld.InvalidUrl',
|
|
227
228
|
{code: 'loading remote context failed', url, cause: e});
|
|
228
229
|
}
|
|
@@ -231,7 +232,8 @@ module.exports = class ContextResolver {
|
|
|
231
232
|
if(!_isObject(context)) {
|
|
232
233
|
throw new JsonLdError(
|
|
233
234
|
'Dereferencing a URL did not result in a JSON object. The ' +
|
|
234
|
-
'response was valid JSON, but it was not a JSON object.'
|
|
235
|
+
'response was valid JSON, but it was not a JSON object. ' +
|
|
236
|
+
`URL: "${url}".`,
|
|
235
237
|
'jsonld.InvalidUrl', {code: 'invalid remote context', url});
|
|
236
238
|
}
|
|
237
239
|
|