message: Replace print with serialize in ConvertAnsi plugin
diff: * @flow
  */
  -import type {
  - Colors,
  - Indent,
  - PluginOptions,
  - Print,
  - Plugin,
  -} from 'types/PrettyFormat';
  +import type {Config, Printer, NewPlugin, Refs} from 'types/PrettyFormat';
  import ansiRegex from 'ansi-regex';
  import style from 'ansi-styles';
  @@ -41,15 +35,16 @@ const toHumanReadableAnsi = text => {
  });
  };
  -export const test = (value: any) =>
  - typeof value === 'string' && value.match(ansiRegex());
  +export const test = (val: any) =>
  + typeof val === 'string' && val.match(ansiRegex());
  -export const print = (
  - val: any,
  - print: Print,
  - indent: Indent,
  - opts: PluginOptions,
  - colors: Colors,
  -) => print(toHumanReadableAnsi(val));
  +export const serialize = (
  + val: string,
  + config: Config,
  + indentation: string,
  + depth: number,
  + refs: Refs,
  + printer: Printer,
  +) => printer(toHumanReadableAnsi(val), config, indentation, depth, refs);
  -export default ({print, test}: Plugin);
  +export default ({serialize, test}: NewPlugin);
  