solid-ui 2.4.33-beta → 2.4.33-beta3
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/solid-ui.js +11 -12
- 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/lib/versionInfo.js +3 -3
- package/lib/versionInfo.js.map +1 -1
- package/package.json +2 -2
package/dist/solid-ui.js
CHANGED
|
@@ -14246,10 +14246,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
14246
14246
|
}));
|
|
14247
14247
|
exports.versionInfo = void 0;
|
|
14248
14248
|
var versionInfo = exports.versionInfo = {
|
|
14249
|
-
buildTime: '2024-03-
|
|
14250
|
-
commit: '
|
|
14249
|
+
buildTime: '2024-03-28T16:38:29Z',
|
|
14250
|
+
commit: '6e93e6bc61a4f62e2e1d2adfb053b66cca570994',
|
|
14251
14251
|
npmInfo: {
|
|
14252
|
-
'solid-ui': '2.4.33-
|
|
14252
|
+
'solid-ui': '2.4.33-beta3',
|
|
14253
14253
|
npm: '8.19.4',
|
|
14254
14254
|
node: '18.19.0',
|
|
14255
14255
|
acorn: '8.10.0',
|
|
@@ -48203,7 +48203,7 @@ var Fetcher = /*#__PURE__*/function () {
|
|
|
48203
48203
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
48204
48204
|
var request = _step.value;
|
|
48205
48205
|
var _response = kb.any(request, this.ns.link('response'), null, meta);
|
|
48206
|
-
if (_response
|
|
48206
|
+
if (_response != undefined) {
|
|
48207
48207
|
// ts
|
|
48208
48208
|
var quad = kb.statementsMatching(_response, this.ns.link('outOfDate'), true, meta);
|
|
48209
48209
|
kb.remove(quad);
|
|
@@ -58356,7 +58356,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
58356
58356
|
}
|
|
58357
58357
|
|
|
58358
58358
|
/**
|
|
58359
|
-
* Removes all statements in a doc, along with the related metadata including request/response
|
|
58359
|
+
* Removes all statements in a doc, along with the related metadata including request/response/status
|
|
58360
58360
|
* @param doc - The document / graph
|
|
58361
58361
|
*/
|
|
58362
58362
|
}, {
|
|
@@ -58368,6 +58368,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
58368
58368
|
for (var i = 0; i < sts.length; i++) {
|
|
58369
58369
|
this.removeStatement(sts[i]);
|
|
58370
58370
|
}
|
|
58371
|
+
this.removeMatches(doc, null, null);
|
|
58371
58372
|
return this;
|
|
58372
58373
|
}
|
|
58373
58374
|
}, {
|
|
@@ -58375,24 +58376,22 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
58375
58376
|
value: function removeMetadata(doc) {
|
|
58376
58377
|
var meta = this.sym('chrome://TheCurrentSession'); // or this.rdfFactory.namedNode('chrome://TheCurrentSession')
|
|
58377
58378
|
var linkNamespaceURI = 'http://www.w3.org/2007/ont/link#'; // alain
|
|
58378
|
-
// remove
|
|
58379
|
+
// remove status/response/request metadata
|
|
58379
58380
|
var requests = this.statementsMatching(undefined, this.sym("".concat(linkNamespaceURI, "requestedURI")), this.rdfFactory.literal(doc.value), meta).map(function (st) {
|
|
58380
58381
|
return st.subject;
|
|
58381
58382
|
});
|
|
58382
58383
|
for (var r = 0; r < requests.length; r++) {
|
|
58383
58384
|
var request = requests[r];
|
|
58384
58385
|
if (request != undefined) {
|
|
58386
|
+
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
58387
|
+
if (status != undefined) {
|
|
58388
|
+
this.removeMatches(status, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
58389
|
+
}
|
|
58385
58390
|
var response = this.any(request, this.sym("".concat(linkNamespaceURI, "response")), null, meta);
|
|
58386
58391
|
if (response != undefined) {
|
|
58387
58392
|
// ts
|
|
58388
58393
|
this.removeMatches(response, null, null, meta);
|
|
58389
58394
|
}
|
|
58390
|
-
// may be not needed
|
|
58391
|
-
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
58392
|
-
if (status != undefined) {
|
|
58393
|
-
// ts
|
|
58394
|
-
this.removeMatches(status, null, null, meta);
|
|
58395
|
-
}
|
|
58396
58395
|
this.removeMatches(request, null, null, meta);
|
|
58397
58396
|
}
|
|
58398
58397
|
}
|