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

@finos/legend-shared

Package Overview
Dependencies
Maintainers
4
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finos/legend-shared - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

CHANGELOG.md
# @finos/legend-shared
## 1.1.2
## 1.1.1

@@ -4,0 +6,0 @@

3

lib/CommonUtils.d.ts

@@ -16,3 +16,4 @@ /**

*/
export { cloneDeep as deepClone, isEqual as deepEqual, findLast, isEmpty, pickBy, uniqBy, uniq, debounce, throttle, type DebouncedFunc, } from 'lodash-es';
import { cloneDeep as deepClone, isEqual as deepEqual, findLast, isEmpty, pickBy, uniqBy, uniq, debounce, throttle, type DebouncedFunc } from 'lodash-es';
export { deepClone, deepEqual, findLast, isEmpty, pickBy, uniqBy, uniq, debounce, throttle, type DebouncedFunc, };
export { v4 as uuid } from 'uuid';

@@ -19,0 +20,0 @@ export declare type Clazz<T> = {

@@ -16,3 +16,3 @@ /**

*/
import { cloneDeep as deepClone, mergeWith, pickBy } from 'lodash-es';
import { cloneDeep as deepClone, isEqual as deepEqual, findLast, isEmpty, pickBy, uniqBy, uniq, debounce, throttle, mergeWith, } from 'lodash-es';
import { UnsupportedOperationError } from './error/ErrorUtils';

@@ -22,3 +22,3 @@ import { format as prettyPrintObject } from 'pretty-format';

// in case we want to swap out the implementation
export { cloneDeep as deepClone, isEqual as deepEqual, findLast, isEmpty, pickBy, uniqBy, uniq, debounce, throttle, } from 'lodash-es';
export { deepClone, deepEqual, findLast, isEmpty, pickBy, uniqBy, uniq, debounce, throttle, };
// NOTE: we can use the `rng` option in UUID V4 to control the random seed during testing

@@ -25,0 +25,0 @@ // See https://github.com/uuidjs/uuid#version-4-random

@@ -0,1 +1,17 @@

/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { stringify as losslessStringify, parse as losslessParse } from 'lossless-json';
export declare const capitalize: (value: string) => string;

@@ -32,5 +48,5 @@ export declare const toSentenceCase: (value: string | undefined) => string;

*/
export { stringify as losslessStringify, parse as losslessParse, } from 'lossless-json';
export { losslessStringify, losslessParse };
export declare const tryToFormatLosslessJSONString: (value: string, tabSize?: number) => string;
export declare const tryToMinifyLosslessJSONString: (value: string) => string;
//# sourceMappingURL=FormatterUtils.d.ts.map

@@ -105,3 +105,3 @@ /**

*/
export { stringify as losslessStringify, parse as losslessParse, } from 'lossless-json';
export { losslessStringify, losslessParse };
export const tryToFormatLosslessJSONString = (value, tabSize = 2) => {

@@ -108,0 +108,0 @@ try {

{
"name": "@finos/legend-shared",
"version": "1.1.1",
"version": "1.1.2",
"description": "Legend Studio shared utilities and helpers",

@@ -62,5 +62,5 @@ "keywords": [

"devDependencies": {
"@finos/legend-dev-utils": "0.3.7",
"@finos/legend-dev-utils": "0.3.8",
"cross-env": "7.0.3",
"eslint": "8.7.0",
"eslint": "8.8.0",
"jest": "27.4.7",

@@ -67,0 +67,0 @@ "lodash": "4.17.21",

@@ -17,3 +17,15 @@ /**

import { cloneDeep as deepClone, mergeWith, pickBy } from 'lodash-es';
import {
cloneDeep as deepClone,
isEqual as deepEqual,
findLast,
isEmpty,
pickBy,
uniqBy,
uniq,
debounce,
throttle,
mergeWith,
type DebouncedFunc,
} from 'lodash-es';
import { UnsupportedOperationError } from './error/ErrorUtils';

@@ -25,4 +37,4 @@ import { format as prettyPrintObject } from 'pretty-format';

export {
cloneDeep as deepClone,
isEqual as deepEqual,
deepClone,
deepEqual,
findLast,

@@ -36,3 +48,3 @@ isEmpty,

type DebouncedFunc,
} from 'lodash-es';
};

@@ -39,0 +51,0 @@ // NOTE: we can use the `rng` option in UUID V4 to control the random seed during testing

@@ -126,6 +126,3 @@ /**

*/
export {
stringify as losslessStringify,
parse as losslessParse,
} from 'lossless-json';
export { losslessStringify, losslessParse };
export const tryToFormatLosslessJSONString = (

@@ -132,0 +129,0 @@ value: string,

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