rdflib 2.2.10-cdfd1f0a → 2.2.12-dd3667fc

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/esm/fetcher.js CHANGED
@@ -692,8 +692,9 @@ var Fetcher = /*#__PURE__*/function () {
692
692
 
693
693
  this.store = store || new IndexedFormula();
694
694
  this.ns = getNS(this.store.rdfFactory);
695
- this.timeout = options.timeout || 30000;
696
- this._fetch = options.fetch || typeof global !== 'undefined' && global.solidFetcher || typeof window !== 'undefined' && window.solidFetcher || crossFetch;
695
+ this.timeout = options.timeout || 30000; // solidFetcher is deprecated
696
+
697
+ this._fetch = options.fetch || typeof global !== 'undefined' && (global.solidFetcher || global.solidFetch) || typeof window !== 'undefined' && (window.solidFetcher || window.solidFetch) || crossFetch;
697
698
 
698
699
  if (!this._fetch) {
699
700
  throw new Error('No _fetch function available for Fetcher');