Socket
Socket
Sign inDemoInstall

@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.21 to 0.0.22

1

dist/src/general-utils/fp.d.ts

@@ -5,1 +5,2 @@ /// <reference types="ts-toolbelt" />

export declare const pipeAsync: <T, Y = unknown>(...fns: any[]) => (input?: Y | undefined) => Promise<T>;
export declare const transverse: (functionToExecute: () => Promise<void> | void) => Promise<(<M>(inputToTransverse: M) => Promise<M>)>;

@@ -22,3 +22,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.pipeAsync = exports.tryCatchAsync = exports.debugLog = void 0;
exports.transverse = exports.pipeAsync = exports.tryCatchAsync = exports.debugLog = void 0;
const R = __importStar(require("ramda"));

@@ -40,2 +40,6 @@ exports.debugLog = (value) => {

exports.pipeAsync = (...fns) => (input) => fns.reduce((promise, fn) => promise.then(fn), Promise.resolve(input));
exports.transverse = async (functionToExecute) => async (inputToTransverse) => {
await functionToExecute();
return inputToTransverse;
};
//# sourceMappingURL=fp.js.map

2

package.json
{
"name": "@bjmrq/utils",
"version": "0.0.21",
"version": "0.0.22",
"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