@muze-nl/jsfs-solid 0.1.3 → 0.1.5

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/browser.js CHANGED
@@ -14251,15 +14251,20 @@
14251
14251
  return res;
14252
14252
  };
14253
14253
  }
14254
+ var mimetypes = [
14255
+ /^text\/turtle\b/,
14256
+ /^application\/n-quads\b/,
14257
+ /^text\/x-nquads\b/,
14258
+ /^appliction\/n-triples\b/,
14259
+ /^application\/trig\b/
14260
+ ];
14254
14261
  function isLinkedData(contentType) {
14255
- const mimetypes = [
14256
- "text/turtle",
14257
- "application/n-quads",
14258
- "text/x-nquads",
14259
- "appliction/n-triples",
14260
- "application/trig"
14261
- ];
14262
- return mimetypes.includes(contentType);
14262
+ for (const re of mimetypes) {
14263
+ if (re.exec(contentType)) {
14264
+ return true;
14265
+ }
14266
+ }
14267
+ return false;
14263
14268
  }
14264
14269
 
14265
14270
  // node_modules/@muze-nl/metro-oldm/src/index.mjs
@@ -14704,6 +14709,7 @@
14704
14709
  #client;
14705
14710
  #path;
14706
14711
  constructor(metroClient, path = "/", solidConfiguration = {}) {
14712
+ super(metroClient, path);
14707
14713
  this.#client = client(metroClient).with(browser_default.oidcmw(solidConfiguration)).with(src_default3(solidConfiguration));
14708
14714
  this.#path = new Path(path);
14709
14715
  }