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

@augment-vir/common

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@augment-vir/common - npm Package Compare versions

Comparing version 21.3.2 to 21.3.3

3

dist/types/augments/object/pick-deep.d.ts
import { AnyFunction } from '../function';
import { ArrayElement } from '../type';
import { NestedKeys } from './nested-keys';
type InnerPickDeep<OriginalObjectGeneric extends object, DeepKeys extends any[]> = DeepKeys extends [infer CurrentLevelPick, ...infer RemainingKeys] ? {
[CurrentProp in Extract<CurrentLevelPick, keyof OriginalObjectGeneric>]: OriginalObjectGeneric[CurrentProp] extends AnyFunction ? OriginalObjectGeneric[CurrentProp] : OriginalObjectGeneric[CurrentProp] extends Array<any> ? OriginalObjectGeneric[CurrentProp] : OriginalObjectGeneric[CurrentProp] extends object ? InnerPickDeep<OriginalObjectGeneric[CurrentProp], RemainingKeys> : OriginalObjectGeneric[CurrentProp];
[CurrentProp in Extract<CurrentLevelPick, keyof OriginalObjectGeneric>]: OriginalObjectGeneric[CurrentProp] extends AnyFunction ? OriginalObjectGeneric[CurrentProp] : OriginalObjectGeneric[CurrentProp] extends Array<any> ? Array<InnerPickDeep<ArrayElement<OriginalObjectGeneric[CurrentProp]>, RemainingKeys>> : OriginalObjectGeneric[CurrentProp] extends ReadonlyArray<any> ? ReadonlyArray<InnerPickDeep<ArrayElement<OriginalObjectGeneric[CurrentProp]>, RemainingKeys>> : OriginalObjectGeneric[CurrentProp] extends object ? InnerPickDeep<OriginalObjectGeneric[CurrentProp], RemainingKeys> : OriginalObjectGeneric[CurrentProp];
} : DeepKeys extends [] ? OriginalObjectGeneric : DeepKeys extends [infer CurrentLevelPick] ? CurrentLevelPick extends keyof OriginalObjectGeneric ? Pick<OriginalObjectGeneric, CurrentLevelPick> : never : never;

@@ -6,0 +7,0 @@ /**

{
"name": "@augment-vir/common",
"version": "21.3.2",
"version": "21.3.3",
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common",

@@ -5,0 +5,0 @@ "bugs": {

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