ohm-js 16.5.0 → 16.6.0
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/ohm.esm.js +2 -3
- package/dist/ohm.js +3 -4
- package/dist/ohm.min.js +1 -1
- package/index.d.ts +31 -11
- package/package.json +1 -1
- package/src/Interval.js +1 -2
package/dist/ohm.esm.js
CHANGED
|
@@ -1717,8 +1717,7 @@ Interval$3.prototype = {
|
|
|
1717
1717
|
},
|
|
1718
1718
|
|
|
1719
1719
|
// Returns a new Interval which contains the same contents as this one,
|
|
1720
|
-
// but with whitespace trimmed from both ends.
|
|
1721
|
-
// the input stream is a string.)
|
|
1720
|
+
// but with whitespace trimmed from both ends.
|
|
1722
1721
|
trimmed() {
|
|
1723
1722
|
const {contents} = this;
|
|
1724
1723
|
const startIdx = this.startIdx + contents.match(/^\s*/)[0].length;
|
|
@@ -5460,7 +5459,7 @@ Builder$2.prototype = {
|
|
|
5460
5459
|
var Builder_1 = Builder$2;
|
|
5461
5460
|
|
|
5462
5461
|
var name = "ohm-js";
|
|
5463
|
-
var version$2 = "16.
|
|
5462
|
+
var version$2 = "16.6.0";
|
|
5464
5463
|
var description = "An object-oriented language for parsing and pattern matching";
|
|
5465
5464
|
var repository = "https://github.com/harc/ohm";
|
|
5466
5465
|
var keywords = [
|