@bjmrq/utils
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -1,2 +0,1 @@ | ||
/// <reference types="ts-toolbelt" /> | ||
export declare const sanitizeExposedBody: import("Function/Curry").Curry<(head: Record<string, any>) => Pick<Record<string, any>, never>> & ((head: Record<string, any>) => Pick<Record<string, any>, never>); | ||
export declare const sanitizeExposedBody: (head: Record<string, any>) => string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.sanitizeExposedBody = void 0; | ||
const function_1 = require("fp-ts/lib/function"); | ||
const general_utils_1 = require("../general-utils"); | ||
exports.sanitizeExposedBody = general_utils_1.sanitizeObject([ | ||
"password", | ||
"email", | ||
"token", | ||
]); | ||
exports.sanitizeExposedBody = function_1.flow(general_utils_1.sanitizeObject(["password", "email", "token"]), JSON.stringify); | ||
//# sourceMappingURL=sanitizer.js.map |
{ | ||
"name": "@bjmrq/utils", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "A toolkit of little utilities", | ||
@@ -5,0 +5,0 @@ "author": "Benjamin Marquis", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10318
116