esrap 2.2.10 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esrap",
3
- "version": "2.2.10",
3
+ "version": "2.2.11",
4
4
  "description": "Parse in reverse",
5
5
  "repository": {
6
6
  "type": "git",
@@ -2394,7 +2394,7 @@ function needs_parens(node, parent, is_right) {
2394
2394
  );
2395
2395
  }
2396
2396
 
2397
- if (precedence !== 13 && precedence !== 14) {
2397
+ if (precedence !== 12 && precedence !== 14) {
2398
2398
  // Not a `LogicalExpression` or `BinaryExpression`
2399
2399
  return false;
2400
2400
  }