You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3.0 KiB

1.4.0 (2018-08-23)

Features

  • prop name whitelist now works with non-enumerable properties like Error's (fcb518ef)

1.3.0 (2016-05-25)

Features

1.2.1 (2015-10-26)

Bug Fixes

1.2.0 (2015-07-10)

Features

1.1.0 (2015-04-27)

Features

  • stringifier:
    • use ponyfills for older browsers (ea4e3f67)
    • ship npm module with built bundle for browsers (afdbd850)

1.0.1 (2015-02-14)

Bug Fixes

  • stringifier: introduce safeKey filter to skip unsafe property access (67a9fa72)

1.0.0 (2014-11-09)

Features

  • stringifier: absorb handlers argument into options.handlers (0b073f53)

Breaking Changes

  • Now handlers are moved to options.handlers. handlers argument is no more.
  • changed stringifier(options, handlers) to stringifier(options)
  • changed stringifier.stringify(val, options, handlers) to stringifier.stringify(val, options)

To migrate, change your code from the following:

var stringifier = require('stringifier');
var stringify = stringifier(options, handlers);
console.log(stringify(anyVar));

To:

var stringifier = require('stringifier');
options.handlers = handlers;
var stringify = stringifier(options);
console.log(stringify(anyVar));

And

var stringify = require('stringifier').stringify;
console.log(stringify(anyVar, options, handlers));

To:

var stringify = require('stringifier').stringify;
options.handlers = handlers;
console.log(stringify(anyVar, options));

(0b073f53)

0.1.2 (2014-10-27)

Bug Fixes

  • stringifier: do not truncate if string length is short enough (2d22e44e)