clarity-pattern-parser 10.1.9 → 10.1.11
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/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/patterns/Options.ts +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1023,7 +1023,7 @@ class Options {
|
|
|
1023
1023
|
_tryToParse(cursor) {
|
|
1024
1024
|
let children = this._children;
|
|
1025
1025
|
if (depthCache$1.getDepth(this._id, this._firstIndex) > 1) {
|
|
1026
|
-
children = this._children.reverse();
|
|
1026
|
+
children = this._children.slice().reverse();
|
|
1027
1027
|
}
|
|
1028
1028
|
else if (depthCache$1.getDepth(this._id, this._firstIndex) > 2) {
|
|
1029
1029
|
cursor.recordErrorAt(this._firstIndex, this._firstIndex, this);
|