Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

power-assert-formatter

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

power-assert-formatter - npm Package Versions

13

0.11.0

Diff

Changelog

Source

0.11.0 (2015-04-18)

Features
  • ES6 support
  • ship npm module with built bundle for browsers (5c4afefb)
twada
published 0.10.2 •

Changelog

Source

0.10.2 (2015-02-16)

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

Changelog

Source

0.10.1 (2014-11-12)

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

Changelog

Source

0.10.0 (2014-11-11)

Features
twada
published 0.9.0 •

Changelog

Source

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)

twada
published 0.8.0 •

Changelog

Source

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 !

twada
published 0.7.1 •

twada
published 0.7.0 •

twada
published 0.6.1 •

twada
published 0.6.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc