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/package.json
CHANGED
package/src/patterns/Options.ts
CHANGED
|
@@ -114,7 +114,7 @@ export class Options implements Pattern {
|
|
|
114
114
|
let children = this._children;
|
|
115
115
|
|
|
116
116
|
if (depthCache.getDepth(this._id, this._firstIndex) > 1) {
|
|
117
|
-
children = this._children.reverse();
|
|
117
|
+
children = this._children.slice().reverse();
|
|
118
118
|
} else if (depthCache.getDepth(this._id, this._firstIndex) > 2) {
|
|
119
119
|
cursor.recordErrorAt(this._firstIndex, this._firstIndex, this);
|
|
120
120
|
return null;
|