New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

all-of-just

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-of-just - npm Package Compare versions

Comparing version 0.18.0 to 1.1.0

index-2f73e366.js

4

arrays.js

@@ -1,3 +0,3 @@

export { a as cartesianProduct, g as compact, c as flattenIt, t as groupBy, d as index, e as insert, f as intersect, h as last, n as partition, o as permutations, p as range, q as remove, j as shuffle, m as sortBy, k as split, l as splitAt, i as tail, r as union, b as unique, s as zip } from './index-f907a998.js';
export { a as random } from './index-5fcb9b57.js';
export { a as cartesianProduct, g as compact, c as flattenIt, t as groupBy, d as index, e as insert, f as intersect, h as last, n as partition, o as permutations, p as range, q as remove, j as shuffle, m as sortBy, k as split, l as splitAt, i as tail, r as union, b as unique, s as zip } from './index-f3b8a10e.js';
export { a as random } from './index-2f73e366.js';
//# sourceMappingURL=arrays.js.map

@@ -1,2 +0,2 @@

export { b as clone, c as compare, d as diff, a as diffApply, f as flush, e as pluck } from './index-7c028e28.js';
export { b as clone, c as compare, d as diff, a as diffApply, f as flush, e as pluck } from './index-e99b3950.js';
//# sourceMappingURL=collection.js.map

@@ -1,3 +0,3 @@

export { f as compose, a as curry, e as debounce, b as demethodize, c as flip, g as memoize, h as memoizeLast, j as once, d as partial, i as throttle } from './index-7bb30672.js';
export { a as random } from './index-5fcb9b57.js';
export { f as compose, a as curry, e as debounce, b as demethodize, c as flip, g as memoize, h as memoizeLast, j as once, d as partial, i as throttle } from './index-9e0f6b4a.js';
export { a as random } from './index-2f73e366.js';
//# sourceMappingURL=functions.js.map

@@ -77,2 +77,3 @@ /// <reference path="./just.d.ts" />

export { default as numbersModulo } from 'just-modulo';
export { default as numbersRandomInteger } from 'just-random-integer';
/** FUNCTIONS */

@@ -79,0 +80,0 @@ export { default as functionsCompose } from 'just-compose';

@@ -1,9 +0,9 @@

export { b as collectionClone, c as collectionCompare, d as collectionDiff, a as collectionDiffApply, f as collectionFlush, e as collectionPluck } from './index-7c028e28.js';
export { s as objectsDeepMapValues, c as objectsEntries, o as objectsExtend, f as objectsFilterObject, r as objectsFlipObject, l as objectsIsCircular, k as objectsIsEmpty, m as objectsIsPrimitive, i as objectsMapKeys, g as objectsMapObject, h as objectsMapValues, a as objectsMerge, e as objectsOmit, d as objectsPick, j as objectsReduceObject, n as objectsSafeGet, p as objectsSafeSet, q as objectsTypeof, b as objectsValues } from './index-5c571297.js';
export { a as arraysCartesianProduct, g as arraysCompact, c as arraysFlattenIt, t as arraysGroupBy, d as arraysIndex, e as arraysInsert, f as arraysIntersect, h as arraysLast, n as arraysPartition, o as arraysPermutations, p as arraysRange, q as arraysRemove, j as arraysShuffle, m as arraysSortBy, k as arraysSplit, l as arraysSplitAt, i as arraysTail, r as arraysUnion, b as arraysUnique, s as arraysZip } from './index-f907a998.js';
export { a as arraysRandom, a as functionsRandom } from './index-5fcb9b57.js';
export { a as statisticsMean, b as statisticsMedian, c as statisticsMode, d as statisticsPercentile, g as statisticsSkewness, f as statisticsStandardDeviation, e as statisticsVariance } from './index-0f7b1ba7.js';
export { f as stringsCamelCase, j as stringsCapitalize, g as stringsKebabCase, d as stringsLeftPad, i as stringsPascalCase, b as stringsPrune, k as stringsReplaceAll, e as stringsRightPad, h as stringsSnakeCase, c as stringsSquash, s as stringsTemplate, a as stringsTruncate } from './index-22a39863.js';
export { n as numbersClamp, a as numbersIsPrime, b as numbersModulo } from './index-950194dc.js';
export { f as functionsCompose, a as functionsCurry, e as functionsDebounce, b as functionsDemethodize, c as functionsFlip, g as functionsMemoize, h as functionsMemoizeLast, j as functionsOnce, d as functionsPartial, i as functionsThrottle } from './index-7bb30672.js';
export { b as collectionClone, c as collectionCompare, d as collectionDiff, a as collectionDiffApply, f as collectionFlush, e as collectionPluck } from './index-e99b3950.js';
export { s as objectsDeepMapValues, c as objectsEntries, o as objectsExtend, f as objectsFilterObject, r as objectsFlipObject, l as objectsIsCircular, k as objectsIsEmpty, m as objectsIsPrimitive, i as objectsMapKeys, g as objectsMapObject, h as objectsMapValues, a as objectsMerge, e as objectsOmit, d as objectsPick, j as objectsReduceObject, n as objectsSafeGet, p as objectsSafeSet, q as objectsTypeof, b as objectsValues } from './index-e5a2f65a.js';
export { a as arraysCartesianProduct, g as arraysCompact, c as arraysFlattenIt, t as arraysGroupBy, d as arraysIndex, e as arraysInsert, f as arraysIntersect, h as arraysLast, n as arraysPartition, o as arraysPermutations, p as arraysRange, q as arraysRemove, j as arraysShuffle, m as arraysSortBy, k as arraysSplit, l as arraysSplitAt, i as arraysTail, r as arraysUnion, b as arraysUnique, s as arraysZip } from './index-f3b8a10e.js';
export { a as arraysRandom, a as functionsRandom } from './index-2f73e366.js';
export { a as statisticsMean, b as statisticsMedian, c as statisticsMode, d as statisticsPercentile, g as statisticsSkewness, f as statisticsStandardDeviation, e as statisticsVariance } from './index-9cfb4c01.js';
export { f as stringsCamelCase, j as stringsCapitalize, g as stringsKebabCase, d as stringsLeftPad, i as stringsPascalCase, b as stringsPrune, k as stringsReplaceAll, e as stringsRightPad, h as stringsSnakeCase, c as stringsSquash, s as stringsTemplate, a as stringsTruncate } from './index-f4a27cc9.js';
export { n as numbersClamp, a as numbersIsPrime, b as numbersModulo, c as numbersRandomInteger } from './index-d7b21ba1.js';
export { f as functionsCompose, a as functionsCurry, e as functionsDebounce, b as functionsDemethodize, c as functionsFlip, g as functionsMemoize, h as functionsMemoizeLast, j as functionsOnce, d as functionsPartial, i as functionsThrottle } from './index-9e0f6b4a.js';
//# sourceMappingURL=index.js.map

@@ -60,18 +60,4 @@ declare module 'just-camel-case' {

declare module 'just-compare' {
// Definitions by: Justy Robles <https://github.com/justyrobles>
function compare(value1: unknown, value2: unknown): boolean;
type Primitive = boolean | string | number | bigint | null | undefined;
function compare<T extends Primitive>(value1: T, value2: T): boolean;
function compare<T1 extends object, T2 extends T1>(
value1: Exclude<T1, Primitive>,
value2: Exclude<T2, Primitive>
): boolean;
function compare<T1 extends T2, T2 extends object>(
value1: Exclude<T1, Primitive>,
value2: Exclude<T2, Primitive>
): boolean;
export default compare;

@@ -289,3 +275,3 @@ }

declare module 'just-flatten-it' {
type RecursiveList<T> = (T | T[] | RecursiveList<T>)[];
type RecursiveList<T> = readonly (T | readonly T[] | RecursiveList<T>)[];

@@ -339,6 +325,6 @@ /**

*/
export default function groupBy<T>(
arr: T[],
resolver: (arg: T) => keyof any
): Record<keyof any, T[]>;
export default function groupBy<T, G extends keyof any = keyof any>(
arr: readonly T[],
resolver: (arg: T) => G
): Record<G, T[]>;
}

@@ -364,3 +350,3 @@

function index<T>(
arr: Array<T | null | undefined>,
arr: readonly (T | null | undefined)[],
key: string

@@ -535,3 +521,6 @@ ): Record<string, T>;

// Definitions by: nokazn <https://github.com/nokazn>
function merge(obj1: object, ...objs: object[]): object;
function merge<TObj1 extends object = object, TObjs extends object = object>(
obj1: TObj1,
...objs: TObjs[]
): TObj1 & TObjs;
export default merge;

@@ -560,7 +549,8 @@ }

declare module 'just-omit' {
function omit<Obj extends object, Key extends string>(
function omit<Obj extends object, Key extends keyof Obj>(
obj: Obj,
remove: Key[]
): Omit<Obj, Key>;
function omit<Obj extends object, Key extends string>(
function omit<Obj extends object, Key extends keyof Obj>(
obj: Obj,

@@ -570,2 +560,3 @@ remove1: Key,

): Omit<Obj, Key>;
export default omit;

@@ -590,3 +581,4 @@ }

* Return a list of Args such that the corresponding value is undefined.
* @example PartialArgs<[number, string, boolean], [number, undefined, undefined]> equals to [string, boolean]
* @example PartialArgs<[number, string, boolean], [number, undefined, undefined]>
* equals to [string, boolean]
* @example PartialArgs<[number, string, ...boolean[]], [undefined, string]>

@@ -605,9 +597,8 @@ * equals to [number, ...boolean[]]

export function partial<
Values extends any[],
F extends (...args: any) => any
>(
function partial<Values extends any[], F extends (...args: any) => any>(
func: F,
...args: Values
): (...args: PartialArgs<Parameters<F>, Values>) => ReturnType<F>;
export default partial;
}

@@ -701,2 +692,7 @@

declare module 'just-random-integer' {
function random(lower?: number, upper?: number): number;
export default random;
}
declare module 'just-range' {

@@ -721,3 +717,3 @@ function range(stop: number): number[];

export function reduce<T extends object, Acc>(
function reduce<T extends object, Acc>(
obj: T,

@@ -727,2 +723,4 @@ predicate: Predicate<T, Acc>,

): Acc;
export default reduce;
}

@@ -810,3 +808,6 @@

declare module 'just-split' {
export default function split<T>(arr: T[], n?: number | null): Array<T[]>;
export default function split<T>(
arr: readonly T[],
n?: number | null
): Array<T[]>;
}

@@ -813,0 +814,0 @@

@@ -6,1 +6,2 @@ /// <reference path="./just.d.ts" />

export { default as modulo } from 'just-modulo';
export { default as randomInteger } from 'just-random-integer';

@@ -1,2 +0,2 @@

export { n as clamp, a as isPrime, b as modulo } from './index-950194dc.js';
export { n as clamp, a as isPrime, b as modulo, c as randomInteger } from './index-d7b21ba1.js';
//# sourceMappingURL=numbers.js.map

@@ -6,3 +6,2 @@ /// <reference path="./just.d.ts" />

export { default as values } from 'just-values';
/** Need TS Types */
export { default as entries } from 'just-entries';

@@ -9,0 +8,0 @@ export { default as pick } from 'just-pick';

@@ -1,2 +0,2 @@

export { s as deepMapValues, c as entries, o as extend, f as filterObject, r as flipObject, l as isCircular, k as isEmpty, m as isPrimitive, i as mapKeys, g as mapObject, h as mapValues, a as merge, q as objectsTypeof, e as omit, d as pick, j as reduceObject, n as safeGet, p as safeSet, b as values } from './index-5c571297.js';
export { s as deepMapValues, c as entries, o as extend, f as filterObject, r as flipObject, l as isCircular, k as isEmpty, m as isPrimitive, i as mapKeys, g as mapObject, h as mapValues, a as merge, q as objectsTypeof, e as omit, d as pick, j as reduceObject, n as safeGet, p as safeSet, b as values } from './index-e5a2f65a.js';
//# sourceMappingURL=objects.js.map
{
"name": "all-of-just",
"private": false,
"version": "0.18.0",
"version": "1.1.0",
"description": "A single collection of all of Just utility functions in one single library",

@@ -6,0 +6,0 @@ "files": [

@@ -192,87 +192,87 @@ # all-of-just

import {
isCircular,
isEmpty,
entries,
extend,
filterObject,
flipObject,
mapKeys,
mapObject,
mapValues,
merge,
/** EXCEPTION: in the docs it is `just-typeof`, but we can't export it as `typeof`, due to keyword conflict. So this one is named `objectsTypeof` */
objectsTypeof,
omit,
pick,
isPrimitive,
reduceObject,
safeGet,
safeSet,
values,
deepMapValues,
isCircular,
isEmpty,
entries,
extend,
filterObject,
flipObject,
mapKeys,
mapObject,
mapValues,
merge,
/** EXCEPTION: in the docs it is `just-typeof`, but we can't export it as `typeof`, due to keyword conflict. So this one is named `objectsTypeof` */
objectsTypeof,
omit,
pick,
isPrimitive,
reduceObject,
safeGet,
safeSet,
values,
deepMapValues,
} from 'all-of-just/objects';
import {
cartesianProduct,
compact,
flattenIt,
groupBy,
index,
insert,
intersect,
last,
partition,
permutations,
random,
range,
remove,
shuffle,
sortBy,
split,
splitAt,
tail,
union,
unique,
zip,
cartesianProduct,
compact,
flattenIt,
groupBy,
index,
insert,
intersect,
last,
partition,
permutations,
random,
range,
remove,
shuffle,
sortBy,
split,
splitAt,
tail,
union,
unique,
zip,
} from 'all-of-just/arrays';
import {
mean,
median,
mode,
percentile,
skewness,
standardDeviation,
variance,
mean,
median,
mode,
percentile,
skewness,
standardDeviation,
variance,
} from 'all-of-just/statistics';
import {
camelCase,
capitalize,
kebabCase,
leftPad,
pascalCase,
prune,
replaceAll,
rightPad,
snakeCase,
squash,
template,
truncate,
camelCase,
capitalize,
kebabCase,
leftPad,
pascalCase,
prune,
replaceAll,
rightPad,
snakeCase,
squash,
template,
truncate,
} from 'all-of-just/strings';
import { clamp, modulo, isPrime } from 'all-of-just/numbers';
import { clamp, modulo, isPrime, randomInteger } from 'all-of-just/numbers';
import {
compose,
curry,
debounce,
demethodize,
flip,
memoize,
memoizeLast,
once,
partial,
random,
throttle,
compose,
curry,
debounce,
demethodize,
flip,
memoize,
memoizeLast,
once,
partial,
random,
throttle,
} from 'all-of-just/functions';

@@ -285,14 +285,8 @@ ```

# Roadmap
This package is right now in the 0.x range. This is gonna stay that way until every single package of `Just` library gets robust support for **TypeScript**. One of `all-of-just`'s main goal is achieve perfect TypeScript support, and that is not possible without `Just` getting full TypeScript support.
# TypeScript Support
1. This package has TypeScript definition for some packages, but is lacking for a few of them at the time of writing. [Complete list here](https://github.com/angus-c/just/issues/313)
1. This package has TypeScript definition for some packages.
2. Some of the packages that do have TypeScript support export more than the function, they export some additional types/functions too. However, to keep `all-of-just` simple, it don't export those types/functions. You'll need to install that package separately and import from it.
`Just` package maintainer is looking for contributors to add TypeScript definitions to the existing `packages`. By helping `just` get better at TypeScript, you'll be indirectly making `all-of-just` better too 🔥🔥.
[MORE INFO](https://github.com/angus-c/just#typescript-)

@@ -299,0 +293,0 @@

@@ -1,2 +0,2 @@

export { a as mean, b as median, c as mode, d as percentile, g as skewness, f as standardDeviation, e as variance } from './index-0f7b1ba7.js';
export { a as mean, b as median, c as mode, d as percentile, g as skewness, f as standardDeviation, e as variance } from './index-9cfb4c01.js';
//# sourceMappingURL=statistics.js.map

@@ -1,2 +0,2 @@

export { f as camelCase, j as capitalize, g as kebabCase, d as leftPad, i as pascalCase, b as prune, k as replaceAll, e as rightPad, h as snakeCase, c as squash, s as template, a as truncate } from './index-22a39863.js';
export { f as camelCase, j as capitalize, g as kebabCase, d as leftPad, i as pascalCase, b as prune, k as replaceAll, e as rightPad, h as snakeCase, c as squash, s as template, a as truncate } from './index-f4a27cc9.js';
//# sourceMappingURL=strings.js.map
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