Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bjmrq/utils

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bjmrq/utils - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

3

dist/src/backend-utils/sanitizer.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc