n3 2.13.1 → 2.13.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/lib/N3Lexer.js CHANGED
@@ -136,7 +136,7 @@ class N3Lexer {
136
136
  if (!(key in lineModeRegExps) && this[key] instanceof RegExp) this[key] = invalidRegExp;
137
137
  }
138
138
  // The only keyword in N-Triples and N-Quads is VERSION, which is case-sensitive
139
- this._keyword = /VERSION(?=[\s#<])/y;
139
+ this._keyword = /VERSION(?=[\s#<"])/y;
140
140
  }
141
141
  // When not in line mode, enable N3 functionality by default
142
142
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n3",
3
- "version": "2.13.1",
3
+ "version": "2.13.2",
4
4
  "description": "Lightning fast, asynchronous, streaming Turtle / N3 / RDF library.",
5
5
  "author": "Ruben Verborgh <ruben.verborgh@gmail.com>",
6
6
  "keywords": [
package/src/N3Lexer.js CHANGED
@@ -102,7 +102,7 @@ export default class N3Lexer {
102
102
  this[key] = invalidRegExp;
103
103
  }
104
104
  // The only keyword in N-Triples and N-Quads is VERSION, which is case-sensitive
105
- this._keyword = /VERSION(?=[\s#<])/y;
105
+ this._keyword = /VERSION(?=[\s#<"])/y;
106
106
  }
107
107
  // When not in line mode, enable N3 functionality by default
108
108
  else {