@@ -4,10 +4,17 @@ This directory contains the OCaml Flow parser used by the ReScript compiler.
44
55- Upstream repository: https://github.com/facebook/flow
66- Flow parser version: ` 0.320.0 `
7- - Source commit: ` 7c64d4b077bc6fc45c12cee3cfa7368fdb2186ce `
7+ - Parser and Sedlex source commit: ` 7c64d4b077bc6fc45c12cee3cfa7368fdb2186ce `
8+ - Collection source commit: ` 9ea4062c0b7e037415c4413a7634c459ebd5c31b `
9+ from Flow parser 0.267.0
810- Original source directories: ` src/parser ` , ` src/third-party/sedlex ` ,
911 ` src/third-party/sedlex-ppx ` , and ` src/hack_forked/utils/collections `
1012
13+ The collection helpers retain the MIT-licensed 0.267.0 sources. Their code is
14+ identical in Flow 0.320.0, but that release replaces their MIT notices with
15+ "Confidential and proprietary" notices that do not grant redistribution
16+ rights.
17+
1118The Dune files were adapted to build these sources as private libraries inside
1219the ReScript repository. Sources used only by the upstream JavaScript and C API
1320targets are not included. One ambiguous Sedlex documentation comment was
@@ -18,5 +25,6 @@ call uses an empty-list comparison to retain OCaml 5.0 compatibility.
1825Vendored sources are excluded from the repository-wide OCamlformat check so
1926that they remain comparable with their upstream versions.
2027
21- The Flow sources are licensed under the MIT licence in ` LICENSE ` . Vendored
22- Sedlex and collections sources retain their own licence files.
28+ The Flow parser and retained collection sources are licensed under the MIT
29+ licence in ` LICENSE ` and their source headers. Vendored Sedlex and collection
30+ third-party sources retain the licence files in their respective directories.
0 commit comments