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

ts-pattern

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-pattern - npm Package Compare versions

Comparing version 5.0.0-rc.3 to 5.0.0-rc.4

2

dist/types/ExtractPreciseValue.d.ts

@@ -20,3 +20,3 @@ import type { Override } from './Pattern.js';

currentValue
]> : never : ExtractPreciseValue<ValueOf<b>, aItem> extends infer currentValue ? [currentValue] extends [never] ? never : MaybeAddReadonly<[
]> : never : ExtractPreciseValue<aItem, ValueOf<b>> extends infer currentValue ? [currentValue] extends [never] ? never : MaybeAddReadonly<[
...startOutput,

@@ -23,0 +23,0 @@ ...currentValue[],

@@ -66,3 +66,3 @@ export type ValueOf<a> = a extends readonly any[] ? a[number] : a[keyof a];

export type IsFixedSizeTuple<a extends readonly any[]> = IsLiteral<Length<a>>;
export type IsTuple<a extends readonly any[]> = a extends readonly [] | readonly [any, ...any] | readonly [...any, any] ? true : false;
export type IsTuple<a> = a extends readonly [] | readonly [any, ...any] | readonly [...any, any] ? true : false;
export type IsStrictArray<a extends readonly any[]> = Not<IsTuple<a>>;

@@ -69,0 +69,0 @@ export type IsReadonlyArray<a> = a extends readonly any[] ? a extends any[] ? false : true : false;

{
"name": "ts-pattern",
"version": "5.0.0-rc.3",
"version": "5.0.0-rc.4",
"description": " The exhaustive Pattern Matching library for TypeScript.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -1486,5 +1486,7 @@ <h1 align="center">TS-Pattern</h1>

content: P.string,
likeCount: P.number,
stars: P.number.between(1, 5).optional(),
author: {
name: P.string,
firstName: P.string,
lastName: P.string.optional(),
followerCount: P.number,
},

@@ -1491,0 +1493,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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