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

@magnetarjs/types

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnetarjs/types - npm Package Compare versions

Comparing version 0.14.3 to 0.15.0

4

dist/index.d.ts

@@ -80,5 +80,5 @@ import { Merge } from 'merge-anything';

*/
type OPathsWithOptional<T, D extends number = 10> = [D] extends [never] ? never : T extends Record<string, any> ? {
type OPathsWithOptional<T, D extends number = 10> = [D] extends [never] ? never : T extends Record<string, any> ? Exclude<{
[K in keyof T]: K extends string ? `${K}` | Join<K, OPathsWithOptional<T[K], Prev[D]>> : never;
}[keyof T] : '';
}[keyof T], undefined> : '';
/**

@@ -85,0 +85,0 @@ * All possible Object Paths, but only the leaves

{
"name": "@magnetarjs/types",
"version": "0.14.3",
"version": "0.15.0",
"sideEffects": false,

@@ -5,0 +5,0 @@ "description": "Magnetar shared types",

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