1.4.1 (2024-02-06)
- support symbol as object key (44e72350) (backport of 2.1.1)
2.1.1 (2024-02-05)
2.1.0 (2019-07-14)
2.0.0 (2018-11-23)
-
- modernize codebase, stop using ponyfills and core-js
- We drop support of ancient (= before ES6) environments. Please use polyfills by your own.
- We stopped providing prebuilt bundle for browsers. Please build your own by your bundler.
- We also dropped bower and component support. Please use npm instead.
1.4.0 (2018-08-23)
- prop name whitelist now works with non-enumerable properties like Error's (fcb518ef)
1.3.0 (2016-05-25)
1.2.1 (2015-10-26)
- stringifier:
1.2.0 (2015-07-10)
- stringifier:
1.1.0 (2015-04-27)
- stringifier:
1.0.1 (2015-02-14)
- stringifier: introduce safeKey filter to skip unsafe property access (67a9fa72)
1.0.0 (2014-11-09)
- stringifier: absorb
handlers
argument intooptions.handlers
(0b073f53)
- Now
handlers
are moved tooptions.handlers
.handlers
argument is no more.
- changed
stringifier(options, handlers)
tostringifier(options)
- changed
stringifier.stringify(val, options, handlers)
tostringifier.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)
- stringifier: do not truncate if string length is short enough (2d22e44e)