'colorama>=0.2.5,<0.4.4'
as one of its dependencies. At the time,
version 0.4.4 already existed for colorama
which was blocked from use by this condition, and instead,
version 0.4.3 was the last version available for use.
colorama
versions 0.4.3 and
0.4.4, as used by aws-cli
. This analysis indicated that the changes between 0.4.3 and 0.4.4 did not impact
aws-cli
. The graph below shows the dependency path of aws-cli
relative to colorama
.
aws-cli
code is shown in green,
and the code calling colorama
is shown in orange. Changes between version 0.4.3 and 0.4.4 are shown as
starred.
aws-cli
only calls colorama’s initialise
method, which itself has
no changes between 0.4.3 and 0.4.4. Based on the graph, we can see that the changes between 0.4.3 and 0.4.4 are
restricted to the AnsiToWin32.py class, and, excluding a change to formally recognize \x07 as BEL, are changes to the
OSC regex. The changes to the regex were made solely to prevent a catastrophic backtracking bug.
Want to help or know more? Feel free to reach out to Yaniv on Twitter at @YanivDa or through email at yaniv.david@columbia.edu.