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

@contrail/util

Package Overview
Dependencies
Maintainers
16
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.61 to 1.0.62

2

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

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

static getByPath(obj: any, path: string, def?: any): any;
static getBySlugs(obj: any, rootSlug: string, slug: string): any;
static getBySlugs(obj: any, rootSlug: string, slug?: string): any;
static setByPath(obj: any, path: string, value: any): void;

@@ -12,0 +12,0 @@ static chunk(array: any[], size: number): any[];

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

const rootValue = obj[rootSlug];
if (rootValue) {
if (rootValue && slug) {
return rootValue[slug];

@@ -27,0 +27,0 @@ }

{
"name": "@contrail/util",
"version": "1.0.61",
"version": "1.0.62",
"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