tra-analysis/website/functions/node_modules/power-assert-formatter/CHANGELOG.md
2019-01-06 13:14:45 -06:00

8.6 KiB

1.4.1 (2016-07-05)

1.4.0 (2016-06-05)

Features

1.3.2 (2015-12-12)

Bug Fixes

  • update acorn-es7-plugin to 1.0.10 and stop pinning of acorn version (c9d2275)

1.3.1 (2015-11-12)

Bug Fixes

  • pin acorn version to <2.6.0 for now since await without enclosing async raises error (3eacfad6)

1.3.0 (2015-11-07)

Features

1.2.0 (2015-11-03)

Features

1.1.0 (2015-09-14)

Bug Fixes

  • fix location detection of infix operator (f6e0d691)

Features

  • expose built-in Renderer classes (c19ee541)
  • introduce new Renderer initialization style (ee643548)

1.0.2 (2015-08-25)

1.0.1 (2015-07-11)

  • update stringifier to 1.2.0 for native Symbol support (3fdc077)
  • apply licensify on build (79be7f4)

1.0.0 (2015-06-24)

Features

0.11.0 (2015-04-18)

Features

0.10.2 (2015-02-16)

  • power-assert-formatter:
    • update stringifier and type-name to 1.0.1 (a44c428d)

0.10.1 (2014-11-12)

  • power-assert-formatter:
    • stop using inherits module directly since web shim is handled by browserify (984becd6)

0.10.0 (2014-11-11)

Features

0.9.0 (2014-09-02)

Features

  • power-assert-formatter:
    • move built-in renderers to ./built-in/ (acf85109)
    • customize rendering by using custom renderer constructor in renderers option (265d3539)
    • use EventEmitter to make renderers customizable (7c190e11)

Breaking Changes

  • built-in renderers are listed as relative path

If you are customizing renderers by options.renderers, you may have to migrate.

To migrate, change your code from the following:

[
    'file',
    'assertion',
    'diagram',
    'binary-expression'
]

To:

 [
    './built-in/file',
    './built-in/assertion',
    './built-in/diagram',
    './built-in/binary-expression'
 ]

(265d3539), (acf85109)

0.8.0 (2014-08-12)

Features

Breaking Changes

  • option stringifyDepth does not supported any more. use maxDepth option instead.

If you already customize formatter config using stringifyDepth, you need to migarte. To migrate, change your code from the following:

var createFormatter = require('power-assert-formatter');
var options = {
    stringifyDepth: 2
};
var formatter = createFormatter(options);

To:

var createFormatter = require('power-assert-formatter');
var options = {
    maxDepth: 1
};
var formatter = createFormatter(options);

Beware that stringifyDepth - 1 === maxDepth !