flow-parser 0.151.0 → 0.152.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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/flow_parser.js +1475 -1475
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -43,5 +43,6 @@ The second argument to `flow.parse` is the options object. Currently supported o
43
43
  * `esproposal_export_star_as` (boolean, default `false`) - enable parsing of `export * as` syntax
44
44
  * `esproposal_nullish_coalescing` (boolean, default `false`) - enable parsing of nullish coalescing (`??`)
45
45
  * `esproposal_optional_chaining` (boolean, default `false`) - enable parsing of optional chaining (`?.`)
46
+ * `tokens` (boolean, default `false`) - include a list of all parsed tokens in a top-level `tokens` property
46
47
  * `types` (boolean, default `true`) - enable parsing of Flow types
47
48
  * `use_strict` (boolean, default `false`) - treat the file as strict, without needing a "use strict" directive