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

@waiting/shared-types

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-types - npm Package Compare versions

Comparing version 8.5.0 to 8.5.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## 8.5.1 (2021-04-25)
**Note:** Version bump only for package @waiting/shared-types
# 8.5.0 (2021-04-01)

@@ -8,0 +16,0 @@

2

dist/index.cjs.js

@@ -5,3 +5,3 @@ /**

*
* @version 8.4.2
* @version 8.5.0
* @author waiting

@@ -8,0 +8,0 @@ * @license MIT

/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */
export {};
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */
export {};
{
"name": "@waiting/shared-types",
"author": "waiting",
"version": "8.5.0",
"version": "8.5.1",
"description": "shared typescript types",

@@ -83,3 +83,3 @@ "keywords": [

},
"gitHead": "549ed7baf8e02c0ac1fc039f2d22a9b1349b75bf"
"gitHead": "3333bb6cb91974a49cb42d03769d20ce54035e77"
}
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */

@@ -130,3 +131,3 @@ import { OverwriteNeverToUnknown, FormatIntersect, KnownKeys } from '../common'

},
// @ts-expect-error
// @ts-ignore
KnownKeys<L> | KnownKeys<R>

@@ -154,3 +155,3 @@ >

>
// @ts-expect-error
// @ts-ignore
type _JoinTableDistinct<R> = Pick<R, KnownKeys<R>>

@@ -157,0 +158,0 @@

/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */
// ref: https://github.com/microsoft/TypeScript/pull/40336#issuecomment-684122600
type V = string | number | boolean | bigint

@@ -12,7 +12,8 @@ export type StrSplit<S extends string, D extends string> =

type V = string | number | boolean | bigint
export type TupleJoin<T extends V[], D extends string> =
T extends [] ? '' :
// @ts-expect-error
T extends [unknown] ? `${T[0]}`:
// @ts-expect-error
// @ts-ignore
T extends [unknown] ? `${T[0]}` :
// @ts-ignore
T extends [unknown, ...infer U] ? `${T[0]}${D}${TupleJoin<U, D>}` :

@@ -19,0 +20,0 @@ string

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