@muze-nl/jsfs-solid 0.1.3 → 0.1.4
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 +13 -8
- package/dist/browser.js.map +2 -2
- package/dist/browser.min.js +3 -3
- package/dist/browser.min.js.map +3 -3
- package/package.json +2 -2
- package/package.json~ +37 -0
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
|
-
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
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
|