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

@contrail/util

Package Overview
Dependencies
Maintainers
8
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/util - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

lib/object-util/applyChangesIfEqual/applyChangesIfEqual.d.ts

0

lib/index.d.ts
export * from './object-util/object-util';
export * from './string-util/string-util';

@@ -0,0 +0,0 @@ "use strict";

export declare function cloneDeep(obj: any): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface ObjectDiff {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const item1Assortment1: {

@@ -0,0 +0,0 @@ "use strict";

export declare function isObject(item: any): boolean;

@@ -0,0 +0,0 @@ "use strict";

export declare function mergeDeep(target: any, ...sources: any[]): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -5,2 +5,3 @@ import { cloneDeep } from './cloneDeep/cloneDeep';

import { getObjectDiffs } from './compareDeep/compareDeep';
import { applyChangesIfEqual } from './applyChangesIfEqual/applyChangesIfEqual';
export { ObjectDiff } from './compareDeep/compareDeep';

@@ -14,2 +15,3 @@ export declare class ObjectUtil {

static compareDeep: typeof getObjectDiffs;
static applyChangesIfEqual: typeof applyChangesIfEqual;
}

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

const compareDeep_1 = require("./compareDeep/compareDeep");
const applyChangesIfEqual_1 = require("./applyChangesIfEqual/applyChangesIfEqual");
class ObjectUtil {

@@ -42,1 +43,2 @@ static getByPath(obj, path, def = null) {

ObjectUtil.compareDeep = compareDeep_1.getObjectDiffs;
ObjectUtil.applyChangesIfEqual = applyChangesIfEqual_1.applyChangesIfEqual;

@@ -0,0 +0,0 @@ export declare class StringUtil {

@@ -0,0 +0,0 @@ "use strict";

2

package.json
{
"name": "@contrail/util",
"version": "1.0.19",
"version": "1.0.20",
"description": "General javascript utilities",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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