rdflib 2.3.2-dd04a8c3 → 2.3.2
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 +2 -1
- package/lib/n3parser.js +2 -1
- package/package.json +1 -1
- package/src/n3parser.js +2 -1
package/esm/n3parser.js
CHANGED
|
@@ -588,7 +588,8 @@ 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
|
-
|
|
591
|
+
var ahead = str.slice(j + 1, j + 2);
|
|
592
|
+
if (!ahead || _notNameChars.indexOf(ahead) >= 0 && ":?<[{(".indexOf(ahead) < 0) {
|
|
592
593
|
break;
|
|
593
594
|
}
|
|
594
595
|
}
|
package/lib/n3parser.js
CHANGED
|
@@ -596,7 +596,8 @@ 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
|
-
|
|
599
|
+
var ahead = str.slice(j + 1, j + 2);
|
|
600
|
+
if (!ahead || _notNameChars.indexOf(ahead) >= 0 && ":?<[{(".indexOf(ahead) < 0) {
|
|
600
601
|
break;
|
|
601
602
|
}
|
|
602
603
|
}
|
package/package.json
CHANGED
package/src/n3parser.js
CHANGED
|
@@ -649,7 +649,8 @@ 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
|
-
|
|
652
|
+
var ahead = str.slice( ( j + 1 ) , ( j + 2 ) )
|
|
653
|
+
if (!(ahead) || (_notNameChars.indexOf(ahead) >= 0) && (":?<[{(".indexOf(ahead) < 0)) {
|
|
653
654
|
break
|
|
654
655
|
}
|
|
655
656
|
}
|