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

@naturalcycles/js-lib

Package Overview
Dependencies
Maintainers
3
Versions
525
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@naturalcycles/js-lib - npm Package Compare versions

Comparing version 4.4.1 to 4.5.0

dist-esm/util/array.util.js

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [4.5.0](https://github.com/NaturalCycles/js-lib/compare/v4.4.1...v4.5.0) (2019-03-30)
### Features
* arrayRange, dedupeArray, flatArray ([6f37293](https://github.com/NaturalCycles/js-lib/commit/6f37293))
## [4.4.1](https://github.com/NaturalCycles/js-lib/compare/v4.4.0...v4.4.1) (2019-03-26)

@@ -2,0 +9,0 @@

3

dist-esm/index.js

@@ -6,2 +6,3 @@ import { memo } from './decorators/memo.decorator';

import { HttpError } from './error/http.error';
import { arrayRange, dedupeArray, flatArray } from './util/array.util';
import { arrayToHash, by, classToPlain, deepCopy, deepEquals, deepFreeze, deepTrim, filterEmptyStringValues, filterFalsyValues, filterUndefinedValues, filterValues, getKeyByValue, invertMap, invertObject, isEmptyObject, isObject, mask, mergeDeep, objectNullValuesToUndefined, pick, sortObjectDeep, transformValues, unsetValue, } from './util/object.util';

@@ -12,3 +13,3 @@ import { randomInt } from './util/random.util';

import { silentConsole } from './util/test.util';
export { memo, memoCache, AppError, HttpError, silentConsole, randomInt, loadScript, capitalizeFirstLetter, lowercaseFirstLetter, removeWhitespace, pick, filterFalsyValues, filterEmptyStringValues, filterUndefinedValues, filterValues, transformValues, objectNullValuesToUndefined, deepEquals, deepCopy, isObject, isEmptyObject, mergeDeep, deepTrim, sortObjectDeep, unsetValue, mask, arrayToHash, classToPlain, getKeyByValue, invertObject, invertMap, by, deepFreeze, anyToErrorMessage, anyToErrorObject, errorToErrorObject, errorObjectToAppError, errorObjectToHttpError, appErrorToErrorObject, appErrorToHttpError, };
export { memo, memoCache, AppError, HttpError, silentConsole, randomInt, loadScript, capitalizeFirstLetter, lowercaseFirstLetter, removeWhitespace, pick, filterFalsyValues, filterEmptyStringValues, filterUndefinedValues, filterValues, transformValues, objectNullValuesToUndefined, deepEquals, deepCopy, isObject, isEmptyObject, mergeDeep, deepTrim, sortObjectDeep, unsetValue, mask, arrayToHash, classToPlain, getKeyByValue, invertObject, invertMap, by, deepFreeze, anyToErrorMessage, anyToErrorObject, errorToErrorObject, errorObjectToAppError, errorObjectToHttpError, appErrorToErrorObject, appErrorToHttpError, arrayRange, dedupeArray, flatArray, };
//# sourceMappingURL=index.js.map

@@ -8,2 +8,3 @@ import { memo } from './decorators/memo.decorator';

import { ClassType, PromiseMap, StringMap } from './types';
import { arrayRange, dedupeArray, flatArray } from './util/array.util';
import { arrayToHash, by, classToPlain, deepCopy, deepEquals, deepFreeze, deepTrim, filterEmptyStringValues, filterFalsyValues, filterUndefinedValues, filterValues, getKeyByValue, invertMap, invertObject, isEmptyObject, isObject, mask, mergeDeep, objectNullValuesToUndefined, pick, sortObjectDeep, transformValues, unsetValue } from './util/object.util';

@@ -14,2 +15,2 @@ import { randomInt } from './util/random.util';

import { silentConsole } from './util/test.util';
export { memo, memoCache, ErrorData, ErrorObject, HttpErrorData, HttpErrorResponse, AppError, HttpError, Admin401ErrorData, Admin403ErrorData, silentConsole, randomInt, loadScript, StringMap, PromiseMap, ClassType, capitalizeFirstLetter, lowercaseFirstLetter, removeWhitespace, pick, filterFalsyValues, filterEmptyStringValues, filterUndefinedValues, filterValues, transformValues, objectNullValuesToUndefined, deepEquals, deepCopy, isObject, isEmptyObject, mergeDeep, deepTrim, sortObjectDeep, unsetValue, mask, arrayToHash, classToPlain, getKeyByValue, invertObject, invertMap, by, deepFreeze, anyToErrorMessage, anyToErrorObject, errorToErrorObject, errorObjectToAppError, errorObjectToHttpError, appErrorToErrorObject, appErrorToHttpError, };
export { memo, memoCache, ErrorData, ErrorObject, HttpErrorData, HttpErrorResponse, AppError, HttpError, Admin401ErrorData, Admin403ErrorData, silentConsole, randomInt, loadScript, StringMap, PromiseMap, ClassType, capitalizeFirstLetter, lowercaseFirstLetter, removeWhitespace, pick, filterFalsyValues, filterEmptyStringValues, filterUndefinedValues, filterValues, transformValues, objectNullValuesToUndefined, deepEquals, deepCopy, isObject, isEmptyObject, mergeDeep, deepTrim, sortObjectDeep, unsetValue, mask, arrayToHash, classToPlain, getKeyByValue, invertObject, invertMap, by, deepFreeze, anyToErrorMessage, anyToErrorObject, errorToErrorObject, errorObjectToAppError, errorObjectToHttpError, appErrorToErrorObject, appErrorToHttpError, arrayRange, dedupeArray, flatArray, };

@@ -19,2 +19,6 @@ "use strict";

exports.HttpError = http_error_1.HttpError;
const array_util_1 = require("./util/array.util");
exports.arrayRange = array_util_1.arrayRange;
exports.dedupeArray = array_util_1.dedupeArray;
exports.flatArray = array_util_1.flatArray;
const object_util_1 = require("./util/object.util");

@@ -21,0 +25,0 @@ exports.arrayToHash = object_util_1.arrayToHash;

{
"name": "@naturalcycles/js-lib",
"version": "4.4.1",
"version": "4.5.0",
"scripts": {

@@ -5,0 +5,0 @@ "build": "del ./dist && tsc",

@@ -23,2 +23,3 @@ import { memo } from './decorators/memo.decorator'

import { ClassType, PromiseMap, StringMap } from './types'
import { arrayRange, dedupeArray, flatArray } from './util/array.util'
import {

@@ -104,2 +105,5 @@ arrayToHash,

appErrorToHttpError,
arrayRange,
dedupeArray,
flatArray,
}

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