Releases: uphold/anonymizer
Releases · uphold/anonymizer
v4.1.1
v4.1.0
v4.0.0
v3.1.1
v3.1.0
Changelog
- Bump node-fetch from 2.6.0 to 2.6.1 #34 (dependabot[bot])
- Bump handlebars from 4.1.2 to 4.7.6 #33 (dependabot[bot])
- Bump lodash from 4.17.15 to 4.17.19 #32 (dependabot[bot])
- Bump https-proxy-agent from 2.2.2 to 2.2.4 #28 (dependabot[bot])
- Bump acorn from 5.7.3 to 5.7.4 #26 (dependabot[bot])
- Add replacement customizer function #35 (nunofgs)
v3.0.0
v2.0.0
Changelog
- Add version and release scripts #25 (pedrobranco)
- Add changelog script #24 (pedrobranco)
- Handle Buffer obfuscation #23 (pedrobranco)
- Add lint script and apply lint fixes to codebase #19 (waldyrious)
- Add uphold-scripts #17 (waldyrious)
- Update . notation #16 (Americas)
- Update package.json #15 (waldyrious)
- Update README #13 (fixe)
- Update dependencies #12 (fixe)
- Update license #11 (fixe)
- Update version to 1.1.1 #10 (fixe)
1.1.1
anonymizer
Object redaction with whitelist as main feature.
Arguments
whitelist
(Object): The whitelist object.
Example
const anonymizer = require('@uphold/anonymizer');
const anonymize = anonymizer(['foo.key', 'bar.*']);
anonymize({ foo: { key: 'public', another: 'bar' }, bar: { foo: 1, bar: 2 } });
//=> { foo: { key: 'public', another: '--REDACTED--' }, bar: { foo: 1, bar: 2 } }
1.1.0
anonymizer
Object redaction with whitelist as main feature.
Arguments
whitelist
(Object): The whitelist object.
Example
const anonymizer = require('@uphold/anonymizer');
const anonymize = anonymizer(['foo.key', 'bar.*']);
anonymize({ foo: { key: 'public', another: 'bar' }, bar: { foo: 1, bar: 2 } });
//=> { foo: { key: 'public', another: '--REDACTED--' }, bar: { foo: 1, bar: 2 } }
1.0.3
anonymizer
Object redaction with whitelist as main feature.
Arguments
whitelist
(Object): The whitelist object.
Example
const anonymizer = require('@uphold/anonymizer');
const anonymize = anonymizer(['foo.key', 'bar.*']);
anonymize({ foo: { key: 'public', another: 'bar' }, bar: { foo: 1, bar: 2 } });
//=> { foo: { key: 'public', another: '--REDACTED--' }, bar: { foo: 1, bar: 2 } }