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

jmisc

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jmisc - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

6

cjs/func.d.ts

@@ -5,7 +5,1 @@ export declare function negate<Params extends any[], Result>(f: (...params: Params) => Result): (...params: Params) => boolean;

export declare function not<T extends boolean>(b: T): T extends true ? false : true;
export interface IChainable<Params extends any[] = any, Result = any> {
(next: () => any, ...params: Params): Result;
}
type ChainResult<P extends IChainable[]> = P extends [infer F1, ...any[]] ? F1 extends IChainable<infer Params, infer R> ? (...params: Params) => R : never : () => void;
export declare function chain<P extends IChainable[]>(...fs: P): ChainResult<P>;
export {};

11

cjs/func.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.chain = exports.not = exports.noop = exports.identity = exports.negate = void 0;
exports.not = exports.noop = exports.identity = exports.negate = void 0;
function negate(f) {

@@ -18,9 +18,2 @@ return (...params) => !f(...params);

exports.not = not;
// f1 => (...p1) => f1(noop, ...p1)
// (f2, f1) => (...p2) => f2((...p1) => f1(noop, ...p1), ...p2)
// (f3, f2, f1) => (...p3) => f3((...p2) => f2((...p1) => f1(noop, ...p1), ...p2), ...p3)
function chain(...fs) {
return fs.reduceRight((acc, cur) => (...params) => cur(acc, ...params), noop);
}
exports.chain = chain;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9mdW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLFNBQWdCLE1BQU0sQ0FDckIsQ0FBZ0M7SUFFaEMsT0FBTyxDQUFDLEdBQUcsTUFBYyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxHQUFHL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1QsQ0FBQztBQUZELDRCQUVDO0FBQ0QsU0FBZ0IsSUFBSSxLQUFJLENBQUM7QUFBekIsb0JBQXlCO0FBQ3pCLFNBQWdCLEdBQUcsQ0FBb0IsQ0FBSTtJQUMxQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQWtDLENBQUE7QUFDN0MsQ0FBQztBQUZELGtCQUVDIn0=

3

cjs/index.d.ts
export { isBrowser, ensureBrowser } from './dom.js';
export { negate, identity, noop, not, chain } from './func.js';
export { negate, identity, noop, not } from './func.js';
export { asyncIteratorToArray, readableStreamToAsyncIterator, concatBuffers } from './iter-buffer.js';

@@ -11,2 +11,1 @@ export { makeLazy, makeMemoize, makeLazySync } from './lazy.js';

export type { IgnoreLastIfVoid, UndefinedToNull, Nullable, UnionToIntersection, AllOrNone, Promisable } from './type.js';
export type { IChainable } from './func.js';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.as = exports.timeoutWait = exports.setTimeoutUnlimited = exports.setTimeoutUntil = exports.cancellableSleep = exports.sleep = exports.normalizeVietnamese = exports.isoAtob = exports.isoBtoa = exports.uriToBase64 = exports.base64ToURI = exports.uncapitalize = exports.capitalize = exports.zip = exports.isObject = exports.emptyArray = exports.emptyObject = exports.objectMap = exports.pluck = exports.omit = exports.pick = exports.deepPick = exports.set = exports.get = exports.deepHas = exports.recursiveSet = exports.floatToStr = exports.isInteger = exports.isValidNumber = exports.makeLazySync = exports.makeMemoize = exports.makeLazy = exports.concatBuffers = exports.readableStreamToAsyncIterator = exports.asyncIteratorToArray = exports.chain = exports.not = exports.noop = exports.identity = exports.negate = exports.ensureBrowser = exports.isBrowser = void 0;
exports.as = exports.timeoutWait = exports.setTimeoutUnlimited = exports.setTimeoutUntil = exports.cancellableSleep = exports.sleep = exports.normalizeVietnamese = exports.isoAtob = exports.isoBtoa = exports.uriToBase64 = exports.base64ToURI = exports.uncapitalize = exports.capitalize = exports.zip = exports.isObject = exports.emptyArray = exports.emptyObject = exports.objectMap = exports.pluck = exports.omit = exports.pick = exports.deepPick = exports.set = exports.get = exports.deepHas = exports.recursiveSet = exports.floatToStr = exports.isInteger = exports.isValidNumber = exports.makeLazySync = exports.makeMemoize = exports.makeLazy = exports.concatBuffers = exports.readableStreamToAsyncIterator = exports.asyncIteratorToArray = exports.not = exports.noop = exports.identity = exports.negate = exports.ensureBrowser = exports.isBrowser = void 0;
var dom_js_1 = require("./dom.js");

@@ -12,3 +12,2 @@ Object.defineProperty(exports, "isBrowser", { enumerable: true, get: function () { return dom_js_1.isBrowser; } });

Object.defineProperty(exports, "not", { enumerable: true, get: function () { return func_js_1.not; } });
Object.defineProperty(exports, "chain", { enumerable: true, get: function () { return func_js_1.chain; } });
var iter_buffer_js_1 = require("./iter-buffer.js");

@@ -56,2 +55,2 @@ Object.defineProperty(exports, "asyncIteratorToArray", { enumerable: true, get: function () { return iter_buffer_js_1.asyncIteratorToArray; } });

Object.defineProperty(exports, "as", { enumerable: true, get: function () { return type_js_1.as; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbUNBQWlEO0FBQXpDLG1HQUFBLFNBQVMsT0FBQTtBQUFFLHVHQUFBLGFBQWEsT0FBQTtBQUNoQyxxQ0FBNEQ7QUFBcEQsaUdBQUEsTUFBTSxPQUFBO0FBQUUsbUdBQUEsUUFBUSxPQUFBO0FBQUUsK0ZBQUEsSUFBSSxPQUFBO0FBQUUsOEZBQUEsR0FBRyxPQUFBO0FBQUUsZ0dBQUEsS0FBSyxPQUFBO0FBQzFDLG1EQUFtRztBQUEzRixzSEFBQSxvQkFBb0IsT0FBQTtBQUFFLCtIQUFBLDZCQUE2QixPQUFBO0FBQUUsK0dBQUEsYUFBYSxPQUFBO0FBQzFFLHFDQUE2RDtBQUFyRCxtR0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ZILG1DQUFrSDtBQUExRyxvR0FBQSxVQUFVLE9BQUE7QUFBRSxzR0FBQSxZQUFZLE9BQUE7QUFBRSxxR0FBQSxXQUFXLE9BQUE7QUFBRSxxR0FBQSxXQUFXLE9BQUE7QUFBRSxpR0FBQSxPQUFPLE9BQUE7QUFBRSxpR0FBQSxPQUFPLE9BQUE7QUFBRSw2R0FBQSxtQkFBbUIsT0FBQTtBQUNqRyxxQ0FBb0c7QUFBNUYsZ0dBQUEsS0FBSyxPQUFBO0FBQUUsMkdBQUEsZ0JBQWdCLE9BQUE7QUFBRSwwR0FBQSxlQUFlLE9BQUE7QUFBRSw4R0FBQSxtQkFBbUIsT0FBQTtBQUFFLHNHQUFBLFdBQVcsT0FBQTtBQUNsRixxQ0FBNEI7QUFBcEIsNkZBQUEsRUFBRSxPQUFBIn0=

@@ -5,7 +5,1 @@ export declare function negate<Params extends any[], Result>(f: (...params: Params) => Result): (...params: Params) => boolean;

export declare function not<T extends boolean>(b: T): T extends true ? false : true;
export interface IChainable<Params extends any[] = any, Result = any> {
(next: () => any, ...params: Params): Result;
}
type ChainResult<P extends IChainable[]> = P extends [infer F1, ...any[]] ? F1 extends IChainable<infer Params, infer R> ? (...params: Params) => R : never : () => void;
export declare function chain<P extends IChainable[]>(...fs: P): ChainResult<P>;
export {};

@@ -11,8 +11,2 @@ export function negate(f) {

}
// f1 => (...p1) => f1(noop, ...p1)
// (f2, f1) => (...p2) => f2((...p1) => f1(noop, ...p1), ...p2)
// (f3, f2, f1) => (...p3) => f3((...p2) => f2((...p1) => f1(noop, ...p1), ...p2), ...p3)
export function chain(...fs) {
return fs.reduceRight((acc, cur) => (...params) => cur(acc, ...params), noop);
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9mdW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBL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VQUFVLFFBQVEsQ0FBSSxDQUFJO0lBQy9CLE9BQU8sQ0FBQyxDQUFBO0FBQ1QsQ0FBQztBQUNELE1BQU0sVUFBVSxJQUFJLEtBQUksQ0FBQztBQUN6QixNQUFNLFVBQVUsR0FBRyxDQUFvQixDQUFJO0lBQzFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBa0MsQ0FBQTtBQUM3QyxDQUFDIn0=
export { isBrowser, ensureBrowser } from './dom.js';
export { negate, identity, noop, not, chain } from './func.js';
export { negate, identity, noop, not } from './func.js';
export { asyncIteratorToArray, readableStreamToAsyncIterator, concatBuffers } from './iter-buffer.js';

@@ -11,2 +11,1 @@ export { makeLazy, makeMemoize, makeLazySync } from './lazy.js';

export type { IgnoreLastIfVoid, UndefinedToNull, Nullable, UnionToIntersection, AllOrNone, Promisable } from './type.js';
export type { IChainable } from './func.js';
export { isBrowser, ensureBrowser } from './dom.js';
export { negate, identity, noop, not, chain } from './func.js';
export { negate, identity, noop, not } from './func.js';
export { asyncIteratorToArray, readableStreamToAsyncIterator, concatBuffers } from './iter-buffer.js';

@@ -10,2 +10,2 @@ export { makeLazy, makeMemoize, makeLazySync } from './lazy.js';

export { as } from './type.js';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxhQUFhLEVBQUMsTUFBTSxVQUFVLENBQUE7QUFDakQsT0FBTyxFQUFDLE1BQU0sRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUMsTUFBTSxXQUFXLENBQUE7QUFDNUQsT0FBTyxFQUFDLG9CQUFvQixFQUFFLDZCQUE2QixFQUFFLGFBQWEsRUFBQyxNQUFNLGtCQUFrQixDQUFB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sNkJBQTZCLEVBQUUsYUFBYSxFQUFDLE1BQU0sa0JBQWtCLENBQUE7QUFDbkcsT0FBTyxFQUFDLFFBQVEsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFDLE1BQU0sV0FBVyxDQUFBO0FBQzdELE9BQU8sRUFBQyxhQUFhLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBQyxNQUFNLFVBQVUsQ0FBQTtBQUM3RCxPQUFPLEVBQUMsWUFBWSxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLFFBQVEsRUFBRSxJQUFJLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsR0FBRyxFQUFDLE1BQU0sVUFBVSxDQUFBO0FBQ3hJLE9BQU8sRUFBQyxVQUFVLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxXQUFXLEVBQUUsT0FBTyxFQUFFLE9BQU8sRUFBRSxtQkFBbUIsRUFBQyxNQUFNLFVBQVUsQ0FBQTtBQUNsSCxPQUFPLEVBQUMsS0FBSyxFQUFFLGdCQUFnQixFQUFFLGVBQWUsRUFBRSxtQkFBbUIsRUFBRSxXQUFXLEVBQUMsTUFBTSxXQUFXLENBQUE7QUFDcEcsT0FBTyxFQUFDLEVBQUUsRUFBQyxNQUFNLFdBQVcsQ0FBQSJ9
{
"name": "jmisc",
"version": "0.0.7",
"version": "0.0.8",
"main": "cjs/index.js",

@@ -5,0 +5,0 @@ "exports": {

@@ -7,3 +7,3 @@ # jmisc - Javascript utilities tool

export {isBrowser, ensureBrowser} from './dom'
export {negate, identity, noop, not, chain} from './func'
export {negate, identity, noop, not} from './func'
export {asyncIteratorToArray, readableStreamToAsyncIterator, concatBuffers} from './iter-buffer'

@@ -10,0 +10,0 @@ export {makeLazy, makeMemoize, makeLazySync} from './lazy'

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