mashlib 2.0.0-59022696 → 2.0.0-7a0a05cc
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/mashlib.js +17 -8
- package/dist/mashlib.js.map +1 -1
- package/dist/mashlib.min.js +2 -2
- package/dist/mashlib.min.js.map +1 -1
- package/package.json +2 -2
package/dist/mashlib.js
CHANGED
|
@@ -90246,7 +90246,7 @@ class RDFXMLHandler extends Handler {
|
|
|
90246
90246
|
this.dom = utils_js.parseXML(responseText);
|
|
90247
90247
|
}
|
|
90248
90248
|
let root = this.dom.documentElement;
|
|
90249
|
-
if (root.nodeName === 'parsererror') {
|
|
90249
|
+
if (root && root.nodeName === 'parsererror') {
|
|
90250
90250
|
// Mozilla only See issue/issue110
|
|
90251
90251
|
// have to fail the request
|
|
90252
90252
|
return fetcher.failFetch(options, 'Badly formed XML in ' + options.resource.value, 'parse_error');
|
|
@@ -90602,10 +90602,19 @@ class Fetcher {
|
|
|
90602
90602
|
this.timeout = options.timeout || 30000;
|
|
90603
90603
|
|
|
90604
90604
|
// solidFetcher is deprecated
|
|
90605
|
-
|
|
90606
|
-
if (!
|
|
90605
|
+
let fetchFunc = options.fetch || typeof __webpack_require__.g !== 'undefined' && (__webpack_require__.g.solidFetcher || __webpack_require__.g.solidFetch) || typeof window !== 'undefined' && (window.solidFetcher || window.solidFetch) || (browser_ponyfill_default());
|
|
90606
|
+
if (!fetchFunc) {
|
|
90607
90607
|
throw new Error('No _fetch function available for Fetcher');
|
|
90608
90608
|
}
|
|
90609
|
+
// Bind fetch to its context to avoid "Illegal invocation" errors
|
|
90610
|
+
// Check if it's the native browser fetch or global fetch that needs binding
|
|
90611
|
+
if (typeof window !== 'undefined' && fetchFunc === window.fetch) {
|
|
90612
|
+
this._fetch = fetchFunc.bind(window);
|
|
90613
|
+
} else if (typeof __webpack_require__.g !== 'undefined' && fetchFunc === __webpack_require__.g.fetch) {
|
|
90614
|
+
this._fetch = fetchFunc.bind(__webpack_require__.g);
|
|
90615
|
+
} else {
|
|
90616
|
+
this._fetch = fetchFunc;
|
|
90617
|
+
}
|
|
90609
90618
|
// This is the name of the graph we store all the HTTP metadata in
|
|
90610
90619
|
this.appNode = this.store.sym('chrome://TheCurrentSession');
|
|
90611
90620
|
// this.appNode = this.store.rdfFactory.blankNode() // Needs to have a URI in tests
|
|
@@ -114137,15 +114146,15 @@ var dist = __webpack_require__(7523);
|
|
|
114137
114146
|
var solid_logic_esm = __webpack_require__(9332);
|
|
114138
114147
|
;// ./src/versionInfo.ts
|
|
114139
114148
|
/* harmony default export */ const versionInfo = ({
|
|
114140
|
-
buildTime: '2026-01-
|
|
114141
|
-
commit: '
|
|
114149
|
+
buildTime: '2026-01-27T09:42:43Z',
|
|
114150
|
+
commit: '7a0a05cc3c0e8fafa38611246876fdbdd3d17c09',
|
|
114142
114151
|
npmInfo: {
|
|
114143
114152
|
'mashlib': '2.0.0',
|
|
114144
114153
|
'npm': '10.8.2',
|
|
114145
|
-
'node': '20.
|
|
114154
|
+
'node': '20.20.0',
|
|
114146
114155
|
'acorn': '8.15.0',
|
|
114147
114156
|
'ada': '2.9.2',
|
|
114148
|
-
'ares': '1.34.
|
|
114157
|
+
'ares': '1.34.6',
|
|
114149
114158
|
'brotli': '1.1.0',
|
|
114150
114159
|
'cjs_module_lexer': '2.1.0',
|
|
114151
114160
|
'cldr': '47.0',
|
|
@@ -114157,7 +114166,7 @@ var solid_logic_esm = __webpack_require__(9332);
|
|
|
114157
114166
|
'openssl': '3.0.17',
|
|
114158
114167
|
'simdutf': '6.4.2',
|
|
114159
114168
|
'tz': '2025b',
|
|
114160
|
-
'undici': '6.
|
|
114169
|
+
'undici': '6.23.0',
|
|
114161
114170
|
'unicode': '16.0',
|
|
114162
114171
|
'uv': '1.46.0',
|
|
114163
114172
|
'uvwasi': '0.0.23',
|