@markw65/prettier-plugin-monkeyc 1.0.36 → 1.0.37

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/README.md CHANGED
@@ -286,3 +286,7 @@ Accept and fix a few more illegal programs
286
286
  #### 1.0.36
287
287
 
288
288
  - Upgrade to latest versions of all dependent packages
289
+
290
+ #### 1.0.37
291
+
292
+ - Tweaks to estree-types.ts to more accurately describe the AST
@@ -30,6 +30,8 @@ export interface Position {
30
30
  line: number;
31
31
  /** >= 0 */
32
32
  column: number;
33
+ /** >= 0 */
34
+ offset: number;
33
35
  }
34
36
  export interface Program extends BaseNode {
35
37
  type: "Program";
@@ -282,7 +284,7 @@ export interface Literal extends BaseNode, BaseExpression {
282
284
  }
283
285
  export declare type UnaryOperator = "-" | "+" | "!" | "~" | " as";
284
286
  export declare type BinaryOperator = "==" | "!=" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | "+" | "-" | "*" | "/" | "%" | "|" | "^" | "&" | "has";
285
- export declare type LogicalOperator = "||" | "&&";
287
+ export declare type LogicalOperator = "||" | "&&" | "or" | "and";
286
288
  export declare type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | "|=" | "^=" | "&=";
287
289
  export declare type UpdateOperator = "++" | "--";
288
290
  export interface ClassDeclaration extends BaseDeclaration {
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "prepack": "webpack --mode production"
25
25
  },
26
26
  "name": "@markw65/prettier-plugin-monkeyc",
27
- "version": "1.0.36",
27
+ "version": "1.0.37",
28
28
  "description": "A prettier plugin for Garmin monkey-c",
29
29
  "main": "build/prettier-plugin-monkeyc.cjs",
30
30
  "types": "build/src/prettier-plugin-monkeyc.d.ts",