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

@peersyst/react-types

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peersyst/react-types - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

6

CHANGELOG.md
# Versions
## 1.2.4
[LoosenDeeply]
[RecursivePartial -> DeepPartial]
[RecursivePartialExcept -> DeepPartialExcept]
## 1.2.3

@@ -4,0 +10,0 @@

13

index.d.ts

@@ -57,7 +57,7 @@ import { CSSProperties } from "react";

*/
type RecursivePartial<T> = {
type DeepPartial<T> = {
[P in keyof T]?: T[P] extends (infer U)[]
? RecursivePartial<U>[]
? DeepPartial<U>[]
: T[P] extends object
? RecursivePartial<T[P]>
? DeepPartial<T[P]>
: T[P];

@@ -69,3 +69,3 @@ };

*/
type RecursivePartialExcept<T, K extends keyof T> = RecursivePartial<T> & Pick<T, K>;
type DeepPartialExcept<T, K extends keyof T> = RecursivePartial<T> & Pick<T, K>;

@@ -83,2 +83,7 @@ /**

/**
* Makes properties of type K optional deeply
*/
type LoosenDeeply<T, K extends keyof T> = Omit<T, K> & DeepPartial<Pick<T, K>>;
/**
* Gets all keys with type undefined of T

@@ -85,0 +90,0 @@ */

{
"name": "@peersyst/react-types",
"author": "Peersyst",
"version": "1.3.2",
"version": "1.3.3",
"license": "MIT",

@@ -6,0 +6,0 @@ "types": "./index.d.ts",

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