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

rc-js-util

Package Overview
Dependencies
Maintainers
1
Versions
256
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 4.0.0 to 4.1.0

bin/array/impl/array-empty-array.d.ts

2

bin/array/_array.d.ts

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

static readonly copyInto: typeof arrayCopyInto;
/** {@inheritDoc arrayEmptyArray} */
static readonly emptyArray: readonly [];
/** {@inheritDoc arrayFlatMap} */

@@ -40,0 +42,0 @@ static readonly flatMap: typeof arrayFlatMap;

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

var array_push_unique_1 = require("./impl/array-push-unique");
var array_empty_array_1 = require("./impl/array-empty-array");
/**

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

_Array.copyInto = array_copy_into_1.arrayCopyInto;
/** {@inheritDoc arrayEmptyArray} */
_Array.emptyArray = array_empty_array_1.arrayEmptyArray;
/** {@inheritDoc arrayFlatMap} */

@@ -47,0 +50,0 @@ _Array.flatMap = array_flat_map_1.arrayFlatMap;

2

bin/array/impl/array-normalize-empty-to-undefined.d.ts

@@ -9,2 +9,2 @@ /**

*/
export declare function arrayNormalizeEmptyToUndefined<TArray extends ArrayLike<any>>(array: TArray | null | undefined): TArray | undefined;
export declare function arrayNormalizeEmptyToUndefined<TArray extends ArrayLike<unknown>>(array: TArray | null | undefined): TArray | undefined;

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

if (!_Debug.isFlagSet(debug_flags_1.debugFlags.DEBUG_DISABLE_BREAKPOINT_FLAG)) {
// tslint:disable-next-line
// eslint-disable-next-line no-debugger
debugger;

@@ -80,3 +80,3 @@ }

if (!_Debug.isFlagSet(debug_flags_1.debugFlags.DEBUG_DISABLE_BREAKPOINT_FLAG)) {
// tslint:disable-next-line
// eslint-disable-next-line no-debugger
debugger;

@@ -87,3 +87,3 @@ }

_Debug.breakpoint = function () {
// tslint:disable-next-line:no-debugger
// eslint-disable-next-line no-debugger
debugger;

@@ -90,0 +90,0 @@ return true;

@@ -8,2 +8,2 @@ /**

*/
export declare function fpNoOp(..._args: any[]): void;
export declare function fpNoOp(..._args: unknown[]): void;

@@ -8,2 +8,2 @@ /**

*/
export declare function fpOnce<TArgs extends any[], TRet>(initialize: (...args: TArgs) => TRet): (...args: TArgs) => TRet;
export declare function fpOnce<TArgs extends unknown[], TRet>(initialize: (...args: TArgs) => TRet): (...args: TArgs) => TRet;

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

export { arrayCopyInto } from "./array/impl/array-copy-into";
export { arrayEmptyArray } from "./array/impl/array-empty-array";
export { arrayFlatMap } from "./array/impl/array-flat-map";

@@ -29,0 +30,0 @@ export { arrayForEach } from "./array/impl/array-for-each";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mapKeysToArray = 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.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 = void 0;
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;
var _array_1 = require("./array/_array");

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

Object.defineProperty(exports, "arrayCopyInto", { enumerable: true, get: function () { return array_copy_into_1.arrayCopyInto; } });
var array_empty_array_1 = require("./array/impl/array-empty-array");
Object.defineProperty(exports, "arrayEmptyArray", { enumerable: true, get: function () { return array_empty_array_1.arrayEmptyArray; } });
var array_flat_map_1 = require("./array/impl/array-flat-map");

@@ -43,0 +45,0 @@ Object.defineProperty(exports, "arrayFlatMap", { enumerable: true, get: function () { return array_flat_map_1.arrayFlatMap; } });

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

if (!_debug_1._Debug.isFlagSet(debug_flags_1.debugFlags.DEBUG_DISABLE_BREAKPOINT_FLAG)) {
// tslint:disable-next-line
// eslint-disable-next-line no-debugger
debugger;

@@ -23,0 +23,0 @@ }

/**
* @public
*/
export declare type TUnionToIntersection<T> = ((T extends any ? (k: T) => void : never) extends ((k: infer U) => void) ? U : never);
export declare type TUnionToIntersection<T> = ((T extends unknown ? (k: T) => void : never) extends ((k: infer U) => void) ? U : never);
/**
* @public
*/
export declare type TUnpackArray<T extends any[]> = T extends readonly (infer U)[] ? U : never;
export declare type TUnpackArray<T extends unknown[]> = T extends readonly (infer U)[] ? U : never;
{
"name": "rc-js-util",
"version": "4.0.0",
"version": "4.1.0",
"license": "MIT",
"scripts": {
"build": "tsc -d",
"generate-docs": "api-extractor run && api-documenter markdown --input-folder tmp --output-folder docs",
"lint": "tslint -p tsconfig.json -c tslint.json",
"prepare": "rm -rf bin && npm run lint && npm run build && npm run test",
"build": "rimraf bin && tsc -d",
"generate-docs": "rimraf docs tmp && api-extractor run && api-documenter markdown --input-folder tmp --output-folder docs",
"lint": "rc-ts-lint -c node_modules/rc-lint-rules/.eslintrc.js src/",
"prepare": "npm run build && npm run lint && npm run test",
"test": "jasmine --config=jasmine.json"

@@ -21,7 +21,7 @@ },

"jasmine-core": "^3.7.1",
"rc-lint-rules": "^5.0.0",
"tslint": "^6.1.3",
"typescript": "~4.2.4"
"rc-lint-rules": "^5.2.0",
"typescript": "~4.2.4",
"rimraf": "^3.0.2"
},
"private": false
}

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

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

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

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