Skip to content

Releases: nemtsov/json-mask

Support masking fields with terminals

14 May 02:07
Compare
Choose a tag to compare

json-mask is now able to mask fields with terminals by escaping them.

For example, {"a/b": 1} can be masked by a\\/b and {"*": 3} can be masked by \\*.
The general pattern is: escape the the masking language features by using: \\.

As this change alters the masking language, this is a breaking change necessitating the major version increase.
Along with the changes, the minimum Node engine has also been increased to the current Maintenance LTS v14.

Fixes issue #164

Thank you:

  • @mochja for contributing the terminal escaping in PR #165
  • @willfarrell for contributing the filtering of non-essential files from the NPM package in #125
  • @YamiOdymel for correcting the language definition in the docs and comments #161

Feature / bug-fix release v0.3.0

09 Jul 04:48
Compare
Choose a tag to compare
  • Add support for array as input object
  • Fix null values incorrectly filtered

First alpha release!

17 Jul 01:33
Compare
Choose a tag to compare
First alpha release! Pre-release
Pre-release
v0.1.1-alpha

add diff with other libs in readme