🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

rc-js-util

Package Overview
Dependencies
Maintainers
1
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-js-util - npm Package Compare versions

Comparing version

to
4.2.0

bin/array/impl/array-generate-range.d.ts

@@ -21,2 +21,4 @@ import { arrayBinaryIndexOf } from "./impl/array-binary-index-of";

import { arrayPushUnique } from "./impl/array-push-unique";
import { arrayGenerateRange } from "./impl/array-generate-range";
import { arrayMapRange } from "./impl/array-map-range";
/**

@@ -45,2 +47,4 @@ * @public

static readonly forEach: typeof arrayForEach;
/** {@inheritDoc arrayGenerateRange} */
static readonly generateRange: typeof arrayGenerateRange;
/** {@inheritDoc arrayIndex} */

@@ -56,2 +60,4 @@ static readonly index: typeof arrayIndex;

static readonly map: typeof arrayMap;
/** {@inheritDoc arrayMapRange} */
static readonly mapRange: typeof arrayMapRange;
/** {@inheritDoc arrayNormalizeEmptyToUndefined} */

@@ -58,0 +64,0 @@ static readonly normalizeEmptyToUndefined: typeof arrayNormalizeEmptyToUndefined;

@@ -25,2 +25,4 @@ "use strict";

var array_empty_array_1 = require("./impl/array-empty-array");
var array_generate_range_1 = require("./impl/array-generate-range");
var array_map_range_1 = require("./impl/array-map-range");
/**

@@ -52,2 +54,4 @@ * @public

_Array.forEach = array_for_each_1.arrayForEach;
/** {@inheritDoc arrayGenerateRange} */
_Array.generateRange = array_generate_range_1.arrayGenerateRange;
/** {@inheritDoc arrayIndex} */

@@ -63,2 +67,4 @@ _Array.index = array_index_1.arrayIndex;

_Array.map = array_map_1.arrayMap;
/** {@inheritDoc arrayMapRange} */
_Array.mapRange = array_map_range_1.arrayMapRange;
/** {@inheritDoc arrayNormalizeEmptyToUndefined} */

@@ -65,0 +71,0 @@ _Array.normalizeEmptyToUndefined = array_normalize_empty_to_undefined_1.arrayNormalizeEmptyToUndefined;

3

bin/index.d.ts

@@ -30,2 +30,3 @@ export { _Array } from "./array/_array";

export { arrayForEach } from "./array/impl/array-for-each";
export { arrayGenerateRange } from "./array/impl/array-generate-range";
export { arrayIndex } from "./array/impl/array-index";

@@ -35,2 +36,3 @@ export { arrayIntersect } from "./array/impl/array-intersect";

export { arrayLast } from "./array/impl/array-last";
export { arrayMapRange } from "./array/impl/array-map-range";
export { arrayMap } from "./array/impl/array-map";

@@ -65,2 +67,3 @@ export { arrayNormalizeEmptyToUndefined } from "./array/impl/array-normalize-empty-to-undefined";

export { mathBound } from "./math/impl/math-bound";
export { mathBoundRandom } from "./math/impl/math-bound-random";
export { mathMax } from "./math/impl/math-max";

@@ -67,0 +70,0 @@ export { mathMin } from "./math/impl/math-min";

10

bin/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mapInitializeGet = exports.mapFirstValue = exports.mapFirstKey = exports.mapArrayMap = exports.fpRejectNull = exports.fpRejectFalse = exports.fpOnce = exports.fpNormalizeToUndefined = exports.fpNormalizeToNull = exports.fpNoOp = exports.fpIdentity = exports.dictionaryValues = exports.dictionaryPush = exports.dictionaryPairs = exports.dictionaryForEach = exports.dictionaryExtend = exports.dictionaryCloneExtend = exports.arrayUnion = exports.arrayReplaceOne = exports.arrayRemoveOne = exports.arrayRemoveMany = exports.arrayPushUnique = exports.arrayNormalizeNullUndefinedToEmpty = exports.arrayNormalizeEmptyToUndefined = exports.arrayMap = exports.arrayLast = exports.arrayIsArray = exports.arrayIntersect = exports.arrayIndex = exports.arrayForEach = exports.arrayFlatMap = exports.arrayEmptyArray = exports.arrayCopyInto = exports.arrayCompactMap = exports.arrayCompact = exports.arrayCollect = exports.arrayBinaryLastIndexOf = exports.arrayBinaryIndexOf = exports._String = exports._Set = exports._RegExp = exports._Path = exports._Math = exports._Map = exports._Fp = exports._Production = exports._Dictionary = exports.debugFlags = exports._Debug = exports._Array = void 0;
exports.stringNormalizeNullUndefinedToEmpty = exports.stringNormalizeEmptyToUndefined = exports.setValuesToArray = exports.regexEscapeRegex = exports.pathJoin = exports.mathMin = exports.mathMax = exports.mathBound = exports.mapValuesToArray = exports.mapPush = exports.mapKeysToArray = void 0;
exports.mapFirstKey = exports.mapArrayMap = exports.fpRejectNull = exports.fpRejectFalse = exports.fpOnce = exports.fpNormalizeToUndefined = exports.fpNormalizeToNull = exports.fpNoOp = exports.fpIdentity = exports.dictionaryValues = exports.dictionaryPush = exports.dictionaryPairs = exports.dictionaryForEach = exports.dictionaryExtend = exports.dictionaryCloneExtend = exports.arrayUnion = exports.arrayReplaceOne = exports.arrayRemoveOne = exports.arrayRemoveMany = exports.arrayPushUnique = exports.arrayNormalizeNullUndefinedToEmpty = exports.arrayNormalizeEmptyToUndefined = exports.arrayMap = exports.arrayMapRange = exports.arrayLast = exports.arrayIsArray = exports.arrayIntersect = exports.arrayIndex = exports.arrayGenerateRange = exports.arrayForEach = exports.arrayFlatMap = exports.arrayEmptyArray = exports.arrayCopyInto = exports.arrayCompactMap = exports.arrayCompact = exports.arrayCollect = exports.arrayBinaryLastIndexOf = exports.arrayBinaryIndexOf = exports._String = exports._Set = exports._RegExp = exports._Path = exports._Math = exports._Map = exports._Fp = exports._Production = exports._Dictionary = exports.debugFlags = exports._Debug = exports._Array = void 0;
exports.stringNormalizeNullUndefinedToEmpty = exports.stringNormalizeEmptyToUndefined = exports.setValuesToArray = exports.regexEscapeRegex = exports.pathJoin = exports.mathMin = exports.mathMax = exports.mathBoundRandom = exports.mathBound = exports.mapValuesToArray = exports.mapPush = exports.mapKeysToArray = exports.mapInitializeGet = exports.mapFirstValue = void 0;
var _array_1 = require("./array/_array");

@@ -47,2 +47,4 @@ Object.defineProperty(exports, "_Array", { enumerable: true, get: function () { return _array_1._Array; } });

Object.defineProperty(exports, "arrayForEach", { enumerable: true, get: function () { return array_for_each_1.arrayForEach; } });
var array_generate_range_1 = require("./array/impl/array-generate-range");
Object.defineProperty(exports, "arrayGenerateRange", { enumerable: true, get: function () { return array_generate_range_1.arrayGenerateRange; } });
var array_index_1 = require("./array/impl/array-index");

@@ -56,2 +58,4 @@ Object.defineProperty(exports, "arrayIndex", { enumerable: true, get: function () { return array_index_1.arrayIndex; } });

Object.defineProperty(exports, "arrayLast", { enumerable: true, get: function () { return array_last_1.arrayLast; } });
var array_map_range_1 = require("./array/impl/array-map-range");
Object.defineProperty(exports, "arrayMapRange", { enumerable: true, get: function () { return array_map_range_1.arrayMapRange; } });
var array_map_1 = require("./array/impl/array-map");

@@ -115,2 +119,4 @@ Object.defineProperty(exports, "arrayMap", { enumerable: true, get: function () { return array_map_1.arrayMap; } });

Object.defineProperty(exports, "mathBound", { enumerable: true, get: function () { return math_bound_1.mathBound; } });
var math_bound_random_1 = require("./math/impl/math-bound-random");
Object.defineProperty(exports, "mathBoundRandom", { enumerable: true, get: function () { return math_bound_random_1.mathBoundRandom; } });
var math_max_1 = require("./math/impl/math-max");

@@ -117,0 +123,0 @@ Object.defineProperty(exports, "mathMax", { enumerable: true, get: function () { return math_max_1.mathMax; } });

import { mathMin } from "./impl/math-min";
import { mathMax } from "./impl/math-max";
import { mathBound } from "./impl/math-bound";
import { mathBoundRandom } from "./impl/math-bound-random";
/**

@@ -15,3 +16,5 @@ * @public

static readonly bound: typeof mathBound;
/** {@inheritDoc mathBoundRandom} */
static readonly boundRandom: typeof mathBoundRandom;
private constructor();
}

@@ -7,2 +7,3 @@ "use strict";

var math_bound_1 = require("./impl/math-bound");
var math_bound_random_1 = require("./impl/math-bound-random");
/**

@@ -22,2 +23,4 @@ * @public

_Math.bound = math_bound_1.mathBound;
/** {@inheritDoc mathBoundRandom} */
_Math.boundRandom = math_bound_random_1.mathBoundRandom;
return _Math;

@@ -24,0 +27,0 @@ }());

{
"name": "rc-js-util",
"version": "4.1.2",
"version": "4.2.0",
"license": "MIT",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet