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 5.5.0 to 5.5.1

8

CHANGELOG.md

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

## [5.5.1](https://github.com/waitingsong/shared-types/compare/v5.5.0...v5.5.1) (2020-12-20)
**Note:** Version bump only for package @waiting/shared-types
# [5.5.0](https://github.com/waitingsong/shared-types/compare/v5.4.0...v5.5.0) (2020-12-19)

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

2

dist/index.cjs.js

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

*
* @version 5.4.0
* @version 5.5.0
* @author waiting

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

@@ -5,3 +5,3 @@ declare type V = string | number | boolean | bigint;

];
export declare type StrJoin<T extends V[], D extends string> = T extends [] ? '' : T extends [unknown] ? `${T[0]}` : T extends [unknown, ...infer U] ? `${T[0]}${D}${StrJoin<U, D>}` : string;
export declare type TupleJoin<T extends V[], D extends string> = T extends [] ? '' : T extends [unknown] ? `${T[0]}` : T extends [unknown, ...infer U] ? `${T[0]}${D}${TupleJoin<U, D>}` : string;
declare type FormatCapitalize<T extends V[]> = T extends [] ? [] : T extends [string] ? [`${Capitalize<T[0]>}`] : T extends [string, ...infer U] ? [`${Capitalize<T[0]>}`, ...FormatCapitalize<U & V[]>] : [

@@ -11,4 +11,4 @@ ];

];
export declare type SnakeToCamel<T extends string, D extends string = '_' | '-'> = StrJoin<FormatCamelCase<StrSplit<T, D>>, ''>;
export declare type SnakeToPascal<T extends string, D extends string = '_' | '-'> = StrJoin<FormatCapitalize<StrSplit<T, D>>, ''>;
export declare type SnakeToCamel<T extends string, D extends string = '_' | '-'> = TupleJoin<FormatCamelCase<StrSplit<T, D>>, ''>;
export declare type SnakeToPascal<T extends string, D extends string = '_' | '-'> = TupleJoin<FormatCapitalize<StrSplit<T, D>>, ''>;
export {};
{
"name": "@waiting/shared-types",
"author": "waiting",
"version": "5.5.0",
"version": "5.5.1",
"description": "shared typescript types",

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

},
"gitHead": "8ee4b4d66e89ab9cdc113cd421c734a72afb4a49"
"gitHead": "3783a929bc93620f5d22ac6c18cf6dd9465927e0"
}
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