mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 15:04:45 +00:00
3.0 KiB
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
- stringifier:
1.2.0 (2015-07-10)
Features
- stringifier:
1.1.0 (2015-04-27)
Features
- stringifier:
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 intooptions.handlers
(0b073f53)
Breaking Changes
- 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)
Bug Fixes
- stringifier: do not truncate if string length is short enough (2d22e44e)