bump package version to 3.0.3
[squeep-logger-json-console] / lib / data-sanitizers.js
index bf0495074a0fc9233d9407c0b7b2561e086fe076..bc099fbf6008359c597cd86c0a40f0229b336c2b 100644 (file)
  * called again with `sanitize` true, but provided with a clone of the
  * original data to update, to avoid leaking any applied changes back to the
  * application.
- * @param {Object} data
- * @param {Boolean} sanitize
- * @returns {Boolean} whether sanitizer is applicable to data
+ * @param {object} data
+ * @param {boolean} sanitize
+ * @returns {boolean} whether sanitizer is applicable to data
  */
 /* istanbul ignore next */
+/**
+ *
+ * @param {object} data data object to mogrify
+ * @param {boolean} sanitize mogrify if truue
+ * @returns {boolean} whether data would be mogrified
+ */
 function _sanitizer(data, sanitize = true) {
   let unclean = false;
 
@@ -32,4 +38,4 @@ function _sanitizer(data, sanitize = true) {
   return unclean;
 }
 
-module.exports = {};
\ No newline at end of file
+module.exports = {};