rdflib 2.3.2 → 2.3.3-2cbb77a1
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/rdflib.min.js +1 -1
- package/dist/rdflib.min.js.map +1 -1
- package/esm/n3parser.js +1 -2
- package/lib/n3parser.js +1 -2
- package/package.json +1 -1
- package/src/n3parser.js +1 -2
package/esm/n3parser.js
CHANGED
|
@@ -588,8 +588,7 @@ export class SinkParser {
|
|
|
588
588
|
while ("!^.".indexOf(str.slice(j, j + 1)) >= 0) {
|
|
589
589
|
var ch = str.slice(j, j + 1);
|
|
590
590
|
if (ch == ".") {
|
|
591
|
-
|
|
592
|
-
if (!ahead || _notNameChars.indexOf(ahead) >= 0 && ":?<[{(".indexOf(ahead) < 0) {
|
|
591
|
+
if (dotTerminatesName(str, j)) {
|
|
593
592
|
break;
|
|
594
593
|
}
|
|
595
594
|
}
|
package/lib/n3parser.js
CHANGED
|
@@ -596,8 +596,7 @@ class SinkParser {
|
|
|
596
596
|
while ("!^.".indexOf(str.slice(j, j + 1)) >= 0) {
|
|
597
597
|
var ch = str.slice(j, j + 1);
|
|
598
598
|
if (ch == ".") {
|
|
599
|
-
|
|
600
|
-
if (!ahead || _notNameChars.indexOf(ahead) >= 0 && ":?<[{(".indexOf(ahead) < 0) {
|
|
599
|
+
if (dotTerminatesName(str, j)) {
|
|
601
600
|
break;
|
|
602
601
|
}
|
|
603
602
|
}
|
package/package.json
CHANGED
package/src/n3parser.js
CHANGED
|
@@ -649,8 +649,7 @@ export class SinkParser {
|
|
|
649
649
|
while (("!^.".indexOf(str.slice( j, ( j + 1 ) )) >= 0)) {
|
|
650
650
|
var ch = str.slice( j, ( j + 1 ) )
|
|
651
651
|
if ((ch == ".")) {
|
|
652
|
-
|
|
653
|
-
if (!(ahead) || (_notNameChars.indexOf(ahead) >= 0) && (":?<[{(".indexOf(ahead) < 0)) {
|
|
652
|
+
if (dotTerminatesName(str, j)) {
|
|
654
653
|
break
|
|
655
654
|
}
|
|
656
655
|
}
|