rdflib 2.2.19-cd56ba2b → 2.2.19-d0f324ca

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/esm/serializer.js CHANGED
@@ -60,7 +60,7 @@ export var Serializer = /*#__PURE__*/function () {
60
60
  this.prefixchars = 'abcdefghijklmnopqustuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
61
61
  this.incoming = null; // Array not calculated yet
62
62
 
63
- this.formulas = []; // remebering original formulae from hashes
63
+ this.formulas = []; // remembering original formulae from hashes
64
64
 
65
65
  this.store = store;
66
66
  this.rdfFactory = store.rdfFactory || CanonicalDataFactory;
@@ -102,7 +102,7 @@ export var Serializer = /*#__PURE__*/function () {
102
102
  return this.store.fromNT(s);
103
103
  }
104
104
  /**
105
- * Defines a set of [prefix, namespace] pairs to be uised by this Serializer instance.
105
+ * Defines a set of [prefix, namespace] pairs to be used by this Serializer instance.
106
106
  * Overrides previous prefixes if any
107
107
  * @param namespaces
108
108
  * @return {Serializer}
@@ -665,7 +665,7 @@ export var Serializer = /*#__PURE__*/function () {
665
665
  return val;
666
666
 
667
667
  case 'http://www.w3.org/2001/XMLSchema#decimal':
668
- // In urtle must have dot
668
+ // In Turtle, must have dot
669
669
  if (val.indexOf('.') < 0) val += '.0';
670
670
  return val;
671
671
 
@@ -26,7 +26,7 @@ export class Serializer {
26
26
  toStr(x: any): any;
27
27
  fromStr(s: any): any;
28
28
  /**
29
- * Defines a set of [prefix, namespace] pairs to be uised by this Serializer instance.
29
+ * Defines a set of [prefix, namespace] pairs to be used by this Serializer instance.
30
30
  * Overrides previous prefixes if any
31
31
  * @param namespaces
32
32
  * @return {Serializer}
package/lib/serializer.js CHANGED
@@ -81,7 +81,7 @@ var Serializer = /*#__PURE__*/function () {
81
81
  this.prefixchars = 'abcdefghijklmnopqustuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
82
82
  this.incoming = null; // Array not calculated yet
83
83
 
84
- this.formulas = []; // remebering original formulae from hashes
84
+ this.formulas = []; // remembering original formulae from hashes
85
85
 
86
86
  this.store = store;
87
87
  this.rdfFactory = store.rdfFactory || _canonicalDataFactory.default;
@@ -123,7 +123,7 @@ var Serializer = /*#__PURE__*/function () {
123
123
  return this.store.fromNT(s);
124
124
  }
125
125
  /**
126
- * Defines a set of [prefix, namespace] pairs to be uised by this Serializer instance.
126
+ * Defines a set of [prefix, namespace] pairs to be used by this Serializer instance.
127
127
  * Overrides previous prefixes if any
128
128
  * @param namespaces
129
129
  * @return {Serializer}
@@ -686,7 +686,7 @@ var Serializer = /*#__PURE__*/function () {
686
686
  return val;
687
687
 
688
688
  case 'http://www.w3.org/2001/XMLSchema#decimal':
689
- // In urtle must have dot
689
+ // In Turtle, must have dot
690
690
  if (val.indexOf('.') < 0) val += '.0';
691
691
  return val;
692
692
 
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.19-cd56ba2b",
4
+ "version": "2.2.19-d0f324ca",
5
5
  "private": false,
6
6
  "browserslist": [
7
7
  "> 0.5%"
package/src/serializer.js CHANGED
@@ -40,7 +40,7 @@ export class Serializer {
40
40
  this.keywords = ['a'] // The only one we generate at the moment
41
41
  this.prefixchars = 'abcdefghijklmnopqustuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
42
42
  this.incoming = null // Array not calculated yet
43
- this.formulas = [] // remebering original formulae from hashes
43
+ this.formulas = [] // remembering original formulae from hashes
44
44
  this.store = store
45
45
  this.rdfFactory = store.rdfFactory || CanonicalDataFactory
46
46
  this.xsd = createXSD(this.rdfFactory)
@@ -74,7 +74,7 @@ export class Serializer {
74
74
  }
75
75
 
76
76
  /**
77
- * Defines a set of [prefix, namespace] pairs to be uised by this Serializer instance.
77
+ * Defines a set of [prefix, namespace] pairs to be used by this Serializer instance.
78
78
  * Overrides previous prefixes if any
79
79
  * @param namespaces
80
80
  * @return {Serializer}
@@ -536,7 +536,7 @@ export class Serializer {
536
536
  case 'http://www.w3.org/2001/XMLSchema#integer':
537
537
  return val
538
538
 
539
- case 'http://www.w3.org/2001/XMLSchema#decimal': // In urtle must have dot
539
+ case 'http://www.w3.org/2001/XMLSchema#decimal': // In Turtle, must have dot
540
540
  if (val.indexOf('.') < 0) val += '.0'
541
541
  return val
542
542
 
@@ -1031,4 +1031,4 @@ function backslashUify (str) {
1031
1031
  }
1032
1032
  }
1033
1033
  return res
1034
- }
1034
+ }