rdflib 2.2.34-beta → 2.2.34-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/.babelrc +0 -0
- package/README.md +0 -0
- package/dist/670.rdflib.min.js +0 -0
- package/dist/730.rdflib.min.js +0 -0
- package/dist/730.rdflib.min.js.LICENSE.txt +0 -0
- package/dist/730.rdflib.min.js.map +0 -0
- package/dist/rdflib.min.js +1 -1
- package/dist/rdflib.min.js.LICENSE.txt +0 -0
- package/dist/rdflib.min.js.map +1 -1
- package/esm/blank-node.js +0 -0
- package/esm/class-order.js +0 -0
- package/esm/collection.js +0 -0
- package/esm/default-graph.js +0 -0
- package/esm/empty.js +0 -0
- package/esm/factories/canonical-data-factory.js +0 -0
- package/esm/factories/extended-term-factory.js +0 -0
- package/esm/factories/factory-types.js +0 -0
- package/esm/factories/rdflib-data-factory.js +0 -0
- package/esm/fetcher.js +1 -1
- package/esm/formula.js +0 -0
- package/esm/index.js +0 -0
- package/esm/jsonldparser.js +0 -0
- package/esm/jsonparser.js +0 -0
- package/esm/lists.js +0 -0
- package/esm/literal.js +0 -0
- package/esm/log.js +0 -0
- package/esm/n3parser.js +0 -0
- package/esm/named-node.js +0 -0
- package/esm/namespace.js +0 -0
- package/esm/node-internal.js +0 -0
- package/esm/node.js +0 -0
- package/esm/parse.js +0 -0
- package/esm/patch-parser.js +0 -0
- package/esm/query-to-sparql.js +0 -0
- package/esm/query.js +0 -0
- package/esm/rdfaparser.js +0 -0
- package/esm/rdfxmlparser.js +0 -0
- package/esm/serialize.js +0 -0
- package/esm/serializer.js +0 -0
- package/esm/sparql-to-query.js +0 -0
- package/esm/statement.js +0 -0
- package/esm/store.js +7 -8
- package/esm/tf-types.js +0 -0
- package/esm/types.js +0 -0
- package/esm/update-manager.js +0 -0
- package/esm/updates-via.js +0 -0
- package/esm/uri.js +0 -0
- package/esm/utils/default-graph-uri.js +0 -0
- package/esm/utils/termValue.js +0 -0
- package/esm/utils/terms.js +0 -0
- package/esm/utils-js.js +0 -0
- package/esm/utils.js +0 -0
- package/esm/variable.js +0 -0
- package/esm/xsd-internal.js +0 -0
- package/esm/xsd.js +0 -0
- package/lib/blank-node.d.ts +0 -0
- package/lib/blank-node.js +0 -0
- package/lib/class-order.d.ts +0 -0
- package/lib/class-order.js +0 -0
- package/lib/collection.d.ts +0 -0
- package/lib/collection.js +0 -0
- package/lib/default-graph.d.ts +0 -0
- package/lib/default-graph.js +0 -0
- package/lib/empty.d.ts +0 -0
- package/lib/empty.js +0 -0
- package/lib/factories/canonical-data-factory.d.ts +0 -0
- package/lib/factories/canonical-data-factory.js +0 -0
- package/lib/factories/extended-term-factory.d.ts +0 -0
- package/lib/factories/extended-term-factory.js +0 -0
- package/lib/factories/factory-types.d.ts +0 -0
- package/lib/factories/factory-types.js +0 -0
- package/lib/factories/rdflib-data-factory.d.ts +0 -0
- package/lib/factories/rdflib-data-factory.js +0 -0
- package/lib/fetcher.d.ts +0 -0
- package/lib/fetcher.js +1 -1
- package/lib/formula.d.ts +0 -0
- package/lib/formula.js +0 -0
- package/lib/index.d.ts +0 -0
- package/lib/index.js +0 -0
- package/lib/jsonldparser.d.ts +0 -0
- package/lib/jsonldparser.js +0 -0
- package/lib/jsonparser.d.ts +0 -0
- package/lib/jsonparser.js +0 -0
- package/lib/lists.d.ts +0 -0
- package/lib/lists.js +0 -0
- package/lib/literal.d.ts +0 -0
- package/lib/literal.js +0 -0
- package/lib/log.d.ts +0 -0
- package/lib/log.js +0 -0
- package/lib/n3parser.d.ts +0 -0
- package/lib/n3parser.js +0 -0
- package/lib/named-node.d.ts +0 -0
- package/lib/named-node.js +0 -0
- package/lib/namespace.d.ts +0 -0
- package/lib/namespace.js +0 -0
- package/lib/node-internal.d.ts +0 -0
- package/lib/node-internal.js +0 -0
- package/lib/node.d.ts +0 -0
- package/lib/node.js +0 -0
- package/lib/parse.d.ts +0 -0
- package/lib/parse.js +0 -0
- package/lib/patch-parser.d.ts +0 -0
- package/lib/patch-parser.js +0 -0
- package/lib/query-to-sparql.d.ts +0 -0
- package/lib/query-to-sparql.js +0 -0
- package/lib/query.d.ts +0 -0
- package/lib/query.js +0 -0
- package/lib/rdfaparser.d.ts +0 -0
- package/lib/rdfaparser.js +0 -0
- package/lib/rdfxmlparser.d.ts +0 -0
- package/lib/rdfxmlparser.js +0 -0
- package/lib/serialize.d.ts +0 -0
- package/lib/serialize.js +0 -0
- package/lib/serializer.d.ts +0 -0
- package/lib/serializer.js +0 -0
- package/lib/sparql-to-query.d.ts +0 -0
- package/lib/sparql-to-query.js +0 -0
- package/lib/statement.d.ts +0 -0
- package/lib/statement.js +0 -0
- package/lib/store.d.ts +1 -1
- package/lib/store.js +7 -8
- package/lib/tf-types.d.ts +0 -0
- package/lib/tf-types.js +0 -0
- package/lib/types.d.ts +0 -0
- package/lib/types.js +0 -0
- package/lib/update-manager.d.ts +0 -0
- package/lib/update-manager.js +0 -0
- package/lib/updates-via.d.ts +0 -0
- package/lib/updates-via.js +0 -0
- package/lib/uri.d.ts +0 -0
- package/lib/uri.js +0 -0
- package/lib/utils/default-graph-uri.d.ts +0 -0
- package/lib/utils/default-graph-uri.js +0 -0
- package/lib/utils/termValue.d.ts +0 -0
- package/lib/utils/termValue.js +0 -0
- package/lib/utils/terms.d.ts +0 -0
- package/lib/utils/terms.js +0 -0
- package/lib/utils-js.d.ts +0 -0
- package/lib/utils-js.js +0 -0
- package/lib/utils.d.ts +0 -0
- package/lib/utils.js +0 -0
- package/lib/variable.d.ts +0 -0
- package/lib/variable.js +0 -0
- package/lib/xsd-internal.d.ts +0 -0
- package/lib/xsd-internal.js +0 -0
- package/lib/xsd.d.ts +0 -0
- package/lib/xsd.js +0 -0
- package/package.json +2 -2
- package/src/blank-node.ts +0 -0
- package/src/class-order.ts +0 -0
- package/src/collection.ts +0 -0
- package/src/default-graph.ts +0 -0
- package/src/empty.ts +0 -0
- package/src/factories/canonical-data-factory.ts +0 -0
- package/src/factories/extended-term-factory.ts +0 -0
- package/src/factories/factory-types.ts +0 -0
- package/src/factories/rdflib-data-factory.ts +0 -0
- package/src/fetcher.ts +1 -1
- package/src/formula.ts +0 -0
- package/src/index.ts +0 -0
- package/src/jsonldparser.js +0 -0
- package/src/jsonparser.js +0 -0
- package/src/lists.ts +0 -0
- package/src/literal.ts +0 -0
- package/src/log.js +0 -0
- package/src/n3parser.js +0 -0
- package/src/named-node.ts +0 -0
- package/src/namespace.ts +0 -0
- package/src/node-internal.ts +0 -0
- package/src/node.ts +0 -0
- package/src/parse.ts +0 -0
- package/src/patch-parser.js +0 -0
- package/src/query-to-sparql.js +0 -0
- package/src/query.js +0 -0
- package/src/rdfaparser.js +0 -0
- package/src/rdfxmlparser.js +0 -0
- package/src/serialize.ts +0 -0
- package/src/serializer.js +0 -0
- package/src/sparql-to-query.js +0 -0
- package/src/statement.ts +0 -0
- package/src/store.ts +7 -7
- package/src/tf-types.ts +0 -0
- package/src/types.ts +0 -0
- package/src/update-manager.ts +0 -0
- package/src/updates-via.js +0 -0
- package/src/uri.ts +0 -0
- package/src/utils/default-graph-uri.ts +0 -0
- package/src/utils/termValue.ts +0 -0
- package/src/utils/terms.ts +0 -0
- package/src/utils-js.js +0 -0
- package/src/utils.ts +0 -0
- package/src/variable.ts +0 -0
- package/src/xsd-internal.js +0 -0
- package/src/xsd.js +0 -0
package/esm/blank-node.js
CHANGED
|
File without changes
|
package/esm/class-order.js
CHANGED
|
File without changes
|
package/esm/collection.js
CHANGED
|
File without changes
|
package/esm/default-graph.js
CHANGED
|
File without changes
|
package/esm/empty.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/esm/fetcher.js
CHANGED
|
@@ -703,7 +703,7 @@ var Fetcher = /*#__PURE__*/function () {
|
|
|
703
703
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
704
704
|
var request = _step.value;
|
|
705
705
|
var _response = kb.any(request, this.ns.link('response'), null, meta);
|
|
706
|
-
if (_response
|
|
706
|
+
if (_response != undefined) {
|
|
707
707
|
// ts
|
|
708
708
|
var quad = kb.statementsMatching(_response, this.ns.link('outOfDate'), true, meta);
|
|
709
709
|
kb.remove(quad);
|
package/esm/formula.js
CHANGED
|
File without changes
|
package/esm/index.js
CHANGED
|
File without changes
|
package/esm/jsonldparser.js
CHANGED
|
File without changes
|
package/esm/jsonparser.js
CHANGED
|
File without changes
|
package/esm/lists.js
CHANGED
|
File without changes
|
package/esm/literal.js
CHANGED
|
File without changes
|
package/esm/log.js
CHANGED
|
File without changes
|
package/esm/n3parser.js
CHANGED
|
File without changes
|
package/esm/named-node.js
CHANGED
|
File without changes
|
package/esm/namespace.js
CHANGED
|
File without changes
|
package/esm/node-internal.js
CHANGED
|
File without changes
|
package/esm/node.js
CHANGED
|
File without changes
|
package/esm/parse.js
CHANGED
|
File without changes
|
package/esm/patch-parser.js
CHANGED
|
File without changes
|
package/esm/query-to-sparql.js
CHANGED
|
File without changes
|
package/esm/query.js
CHANGED
|
File without changes
|
package/esm/rdfaparser.js
CHANGED
|
File without changes
|
package/esm/rdfxmlparser.js
CHANGED
|
File without changes
|
package/esm/serialize.js
CHANGED
|
File without changes
|
package/esm/serializer.js
CHANGED
|
File without changes
|
package/esm/sparql-to-query.js
CHANGED
|
File without changes
|
package/esm/statement.js
CHANGED
|
File without changes
|
package/esm/store.js
CHANGED
|
@@ -825,7 +825,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
825
825
|
}
|
|
826
826
|
|
|
827
827
|
/**
|
|
828
|
-
* Removes all statements in a doc, along with the related metadata including request/response
|
|
828
|
+
* Removes all statements in a doc, along with the related metadata including request/response/status
|
|
829
829
|
* @param doc - The document / graph
|
|
830
830
|
*/
|
|
831
831
|
}, {
|
|
@@ -837,6 +837,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
837
837
|
for (var i = 0; i < sts.length; i++) {
|
|
838
838
|
this.removeStatement(sts[i]);
|
|
839
839
|
}
|
|
840
|
+
this.removeMatches(doc, null, null);
|
|
840
841
|
return this;
|
|
841
842
|
}
|
|
842
843
|
}, {
|
|
@@ -844,24 +845,22 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
844
845
|
value: function removeMetadata(doc) {
|
|
845
846
|
var meta = this.sym('chrome://TheCurrentSession'); // or this.rdfFactory.namedNode('chrome://TheCurrentSession')
|
|
846
847
|
var linkNamespaceURI = 'http://www.w3.org/2007/ont/link#'; // alain
|
|
847
|
-
// remove
|
|
848
|
+
// remove status/response/request metadata
|
|
848
849
|
var requests = this.statementsMatching(undefined, this.sym("".concat(linkNamespaceURI, "requestedURI")), this.rdfFactory.literal(doc.value), meta).map(function (st) {
|
|
849
850
|
return st.subject;
|
|
850
851
|
});
|
|
851
852
|
for (var r = 0; r < requests.length; r++) {
|
|
852
853
|
var request = requests[r];
|
|
853
854
|
if (request != undefined) {
|
|
855
|
+
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
856
|
+
if (status != undefined) {
|
|
857
|
+
this.removeMatches(status, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
858
|
+
}
|
|
854
859
|
var response = this.any(request, this.sym("".concat(linkNamespaceURI, "response")), null, meta);
|
|
855
860
|
if (response != undefined) {
|
|
856
861
|
// ts
|
|
857
862
|
this.removeMatches(response, null, null, meta);
|
|
858
863
|
}
|
|
859
|
-
// may be not needed
|
|
860
|
-
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
861
|
-
if (status != undefined) {
|
|
862
|
-
// ts
|
|
863
|
-
this.removeMatches(status, null, null, meta);
|
|
864
|
-
}
|
|
865
864
|
this.removeMatches(request, null, null, meta);
|
|
866
865
|
}
|
|
867
866
|
}
|
package/esm/tf-types.js
CHANGED
|
File without changes
|
package/esm/types.js
CHANGED
|
File without changes
|
package/esm/update-manager.js
CHANGED
|
File without changes
|
package/esm/updates-via.js
CHANGED
|
File without changes
|
package/esm/uri.js
CHANGED
|
File without changes
|
|
File without changes
|
package/esm/utils/termValue.js
CHANGED
|
File without changes
|
package/esm/utils/terms.js
CHANGED
|
File without changes
|
package/esm/utils-js.js
CHANGED
|
File without changes
|
package/esm/utils.js
CHANGED
|
File without changes
|
package/esm/variable.js
CHANGED
|
File without changes
|
package/esm/xsd-internal.js
CHANGED
|
File without changes
|
package/esm/xsd.js
CHANGED
|
File without changes
|
package/lib/blank-node.d.ts
CHANGED
|
File without changes
|
package/lib/blank-node.js
CHANGED
|
File without changes
|
package/lib/class-order.d.ts
CHANGED
|
File without changes
|
package/lib/class-order.js
CHANGED
|
File without changes
|
package/lib/collection.d.ts
CHANGED
|
File without changes
|
package/lib/collection.js
CHANGED
|
File without changes
|
package/lib/default-graph.d.ts
CHANGED
|
File without changes
|
package/lib/default-graph.js
CHANGED
|
File without changes
|
package/lib/empty.d.ts
CHANGED
|
File without changes
|
package/lib/empty.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/fetcher.d.ts
CHANGED
|
File without changes
|
package/lib/fetcher.js
CHANGED
|
@@ -709,7 +709,7 @@ var Fetcher = /*#__PURE__*/function () {
|
|
|
709
709
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
710
710
|
var request = _step.value;
|
|
711
711
|
var _response = kb.any(request, this.ns.link('response'), null, meta);
|
|
712
|
-
if (_response
|
|
712
|
+
if (_response != undefined) {
|
|
713
713
|
// ts
|
|
714
714
|
var quad = kb.statementsMatching(_response, this.ns.link('outOfDate'), true, meta);
|
|
715
715
|
kb.remove(quad);
|
package/lib/formula.d.ts
CHANGED
|
File without changes
|
package/lib/formula.js
CHANGED
|
File without changes
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/lib/jsonldparser.d.ts
CHANGED
|
File without changes
|
package/lib/jsonldparser.js
CHANGED
|
File without changes
|
package/lib/jsonparser.d.ts
CHANGED
|
File without changes
|
package/lib/jsonparser.js
CHANGED
|
File without changes
|
package/lib/lists.d.ts
CHANGED
|
File without changes
|
package/lib/lists.js
CHANGED
|
File without changes
|
package/lib/literal.d.ts
CHANGED
|
File without changes
|
package/lib/literal.js
CHANGED
|
File without changes
|
package/lib/log.d.ts
CHANGED
|
File without changes
|
package/lib/log.js
CHANGED
|
File without changes
|
package/lib/n3parser.d.ts
CHANGED
|
File without changes
|
package/lib/n3parser.js
CHANGED
|
File without changes
|
package/lib/named-node.d.ts
CHANGED
|
File without changes
|
package/lib/named-node.js
CHANGED
|
File without changes
|
package/lib/namespace.d.ts
CHANGED
|
File without changes
|
package/lib/namespace.js
CHANGED
|
File without changes
|
package/lib/node-internal.d.ts
CHANGED
|
File without changes
|
package/lib/node-internal.js
CHANGED
|
File without changes
|
package/lib/node.d.ts
CHANGED
|
File without changes
|
package/lib/node.js
CHANGED
|
File without changes
|
package/lib/parse.d.ts
CHANGED
|
File without changes
|
package/lib/parse.js
CHANGED
|
File without changes
|
package/lib/patch-parser.d.ts
CHANGED
|
File without changes
|
package/lib/patch-parser.js
CHANGED
|
File without changes
|
package/lib/query-to-sparql.d.ts
CHANGED
|
File without changes
|
package/lib/query-to-sparql.js
CHANGED
|
File without changes
|
package/lib/query.d.ts
CHANGED
|
File without changes
|
package/lib/query.js
CHANGED
|
File without changes
|
package/lib/rdfaparser.d.ts
CHANGED
|
File without changes
|
package/lib/rdfaparser.js
CHANGED
|
File without changes
|
package/lib/rdfxmlparser.d.ts
CHANGED
|
File without changes
|
package/lib/rdfxmlparser.js
CHANGED
|
File without changes
|
package/lib/serialize.d.ts
CHANGED
|
File without changes
|
package/lib/serialize.js
CHANGED
|
File without changes
|
package/lib/serializer.d.ts
CHANGED
|
File without changes
|
package/lib/serializer.js
CHANGED
|
File without changes
|
package/lib/sparql-to-query.d.ts
CHANGED
|
File without changes
|
package/lib/sparql-to-query.js
CHANGED
|
File without changes
|
package/lib/statement.d.ts
CHANGED
|
File without changes
|
package/lib/statement.js
CHANGED
|
File without changes
|
package/lib/store.d.ts
CHANGED
|
@@ -233,7 +233,7 @@ export default class IndexedFormula extends Formula {
|
|
|
233
233
|
*/
|
|
234
234
|
remove(st: Quad | Quad[]): IndexedFormula;
|
|
235
235
|
/**
|
|
236
|
-
* Removes all statements in a doc, along with the related metadata including request/response
|
|
236
|
+
* Removes all statements in a doc, along with the related metadata including request/response/status
|
|
237
237
|
* @param doc - The document / graph
|
|
238
238
|
*/
|
|
239
239
|
removeDocument(doc: Quad_Graph): IndexedFormula;
|
package/lib/store.js
CHANGED
|
@@ -828,7 +828,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
828
828
|
}
|
|
829
829
|
|
|
830
830
|
/**
|
|
831
|
-
* Removes all statements in a doc, along with the related metadata including request/response
|
|
831
|
+
* Removes all statements in a doc, along with the related metadata including request/response/status
|
|
832
832
|
* @param doc - The document / graph
|
|
833
833
|
*/
|
|
834
834
|
}, {
|
|
@@ -840,6 +840,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
840
840
|
for (var i = 0; i < sts.length; i++) {
|
|
841
841
|
this.removeStatement(sts[i]);
|
|
842
842
|
}
|
|
843
|
+
this.removeMatches(doc, null, null);
|
|
843
844
|
return this;
|
|
844
845
|
}
|
|
845
846
|
}, {
|
|
@@ -847,24 +848,22 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
847
848
|
value: function removeMetadata(doc) {
|
|
848
849
|
var meta = this.sym('chrome://TheCurrentSession'); // or this.rdfFactory.namedNode('chrome://TheCurrentSession')
|
|
849
850
|
var linkNamespaceURI = 'http://www.w3.org/2007/ont/link#'; // alain
|
|
850
|
-
// remove
|
|
851
|
+
// remove status/response/request metadata
|
|
851
852
|
var requests = this.statementsMatching(undefined, this.sym("".concat(linkNamespaceURI, "requestedURI")), this.rdfFactory.literal(doc.value), meta).map(function (st) {
|
|
852
853
|
return st.subject;
|
|
853
854
|
});
|
|
854
855
|
for (var r = 0; r < requests.length; r++) {
|
|
855
856
|
var request = requests[r];
|
|
856
857
|
if (request != undefined) {
|
|
858
|
+
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
859
|
+
if (status != undefined) {
|
|
860
|
+
this.removeMatches(status, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
861
|
+
}
|
|
857
862
|
var response = this.any(request, this.sym("".concat(linkNamespaceURI, "response")), null, meta);
|
|
858
863
|
if (response != undefined) {
|
|
859
864
|
// ts
|
|
860
865
|
this.removeMatches(response, null, null, meta);
|
|
861
866
|
}
|
|
862
|
-
// may be not needed
|
|
863
|
-
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
864
|
-
if (status != undefined) {
|
|
865
|
-
// ts
|
|
866
|
-
this.removeMatches(status, null, null, meta);
|
|
867
|
-
}
|
|
868
867
|
this.removeMatches(request, null, null, meta);
|
|
869
868
|
}
|
|
870
869
|
}
|
package/lib/tf-types.d.ts
CHANGED
|
File without changes
|
package/lib/tf-types.js
CHANGED
|
File without changes
|
package/lib/types.d.ts
CHANGED
|
File without changes
|
package/lib/types.js
CHANGED
|
File without changes
|
package/lib/update-manager.d.ts
CHANGED
|
File without changes
|
package/lib/update-manager.js
CHANGED
|
File without changes
|
package/lib/updates-via.d.ts
CHANGED
|
File without changes
|
package/lib/updates-via.js
CHANGED
|
File without changes
|
package/lib/uri.d.ts
CHANGED
|
File without changes
|
package/lib/uri.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/utils/termValue.d.ts
CHANGED
|
File without changes
|
package/lib/utils/termValue.js
CHANGED
|
File without changes
|
package/lib/utils/terms.d.ts
CHANGED
|
File without changes
|
package/lib/utils/terms.js
CHANGED
|
File without changes
|
package/lib/utils-js.d.ts
CHANGED
|
File without changes
|
package/lib/utils-js.js
CHANGED
|
File without changes
|
package/lib/utils.d.ts
CHANGED
|
File without changes
|
package/lib/utils.js
CHANGED
|
File without changes
|
package/lib/variable.d.ts
CHANGED
|
File without changes
|
package/lib/variable.js
CHANGED
|
File without changes
|
package/lib/xsd-internal.d.ts
CHANGED
|
File without changes
|
package/lib/xsd-internal.js
CHANGED
|
File without changes
|
package/lib/xsd.d.ts
CHANGED
|
File without changes
|
package/lib/xsd.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rdflib",
|
|
3
3
|
"description": "an RDF library for node.js. Suitable for client and server side.",
|
|
4
|
-
"version": "2.2.34-
|
|
4
|
+
"version": "2.2.34-beta3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"browserslist": [
|
|
7
7
|
"> 0.5%"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"build:types": "tsc --emitDeclarationOnly -d --moduleResolution node --declarationDir lib",
|
|
96
96
|
"build:all": "npm run build && npm run build:types && npm run build:browser && npm run build:esm",
|
|
97
97
|
"doc": "typedoc --out ./doc ./src/index.ts --excludePrivate --excludeInternal --tsconfig ./tsconfig.json",
|
|
98
|
-
"
|
|
98
|
+
"prepublishOnly": "npm ci && npm run build:all && npm run doc && npm run test",
|
|
99
99
|
"postversion": "git push --follow-tags",
|
|
100
100
|
"start": "webpack serve --port 4800",
|
|
101
101
|
"test": "npm run test:unit && npm run test:serialize && npm run test:types",
|
package/src/blank-node.ts
CHANGED
|
File without changes
|
package/src/class-order.ts
CHANGED
|
File without changes
|
package/src/collection.ts
CHANGED
|
File without changes
|
package/src/default-graph.ts
CHANGED
|
File without changes
|
package/src/empty.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/fetcher.ts
CHANGED
|
@@ -980,7 +980,7 @@ export default class Fetcher implements CallbackifyInterface {
|
|
|
980
980
|
const requests = kb.statementsMatching(undefined, this.ns.link('requestedURI'), kb.sym(docuri), meta).map(st => st.subject)
|
|
981
981
|
for (const request of requests) {
|
|
982
982
|
const response = kb.any(request, this.ns.link('response'), null, meta) as Quad_Subject
|
|
983
|
-
if (response
|
|
983
|
+
if (response != undefined) { // ts
|
|
984
984
|
const quad = kb.statementsMatching(response, this.ns.link('outOfDate'), true as any, meta)
|
|
985
985
|
kb.remove(quad)
|
|
986
986
|
options.force = true
|
package/src/formula.ts
CHANGED
|
File without changes
|
package/src/index.ts
CHANGED
|
File without changes
|
package/src/jsonldparser.js
CHANGED
|
File without changes
|
package/src/jsonparser.js
CHANGED
|
File without changes
|
package/src/lists.ts
CHANGED
|
File without changes
|
package/src/literal.ts
CHANGED
|
File without changes
|
package/src/log.js
CHANGED
|
File without changes
|
package/src/n3parser.js
CHANGED
|
File without changes
|
package/src/named-node.ts
CHANGED
|
File without changes
|
package/src/namespace.ts
CHANGED
|
File without changes
|
package/src/node-internal.ts
CHANGED
|
File without changes
|
package/src/node.ts
CHANGED
|
File without changes
|
package/src/parse.ts
CHANGED
|
File without changes
|
package/src/patch-parser.js
CHANGED
|
File without changes
|
package/src/query-to-sparql.js
CHANGED
|
File without changes
|
package/src/query.js
CHANGED
|
File without changes
|
package/src/rdfaparser.js
CHANGED
|
File without changes
|
package/src/rdfxmlparser.js
CHANGED
|
File without changes
|
package/src/serialize.ts
CHANGED
|
File without changes
|
package/src/serializer.js
CHANGED
|
File without changes
|
package/src/sparql-to-query.js
CHANGED
|
File without changes
|
package/src/statement.ts
CHANGED
|
File without changes
|