@waiting/shared-types
Advanced tools
Comparing version 6.0.2 to 6.1.0
@@ -6,2 +6,10 @@ # Change Log | ||
# 6.1.0 (2021-03-17) | ||
**Note:** Version bump only for package @waiting/shared-types | ||
## 6.0.2 (2021-03-17) | ||
@@ -8,0 +16,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 6.0.1 | ||
* @version 6.0.2 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
export declare type BigIntStr = bigint | string; | ||
/** | ||
* ISO 8601 format, | ||
* new Date().toISOString(), | ||
* @example '2020-03-03T02:12:53.136Z' | ||
* new Date().toISOString() | ||
* | ||
* @example | ||
* - '2020-03-03T02:12:53.123Z' | ||
*/ | ||
export declare type DateISOString = string; | ||
export declare type DateISOString = `${N4}-${N2}-${N2}T${N2}:${N2}:${N2}.${N3}Z`; | ||
/** | ||
* ISO 8601 format with timezone offset | ||
* | ||
* @example | ||
* - '2020-03-03T02:12:53.123Z' | ||
* - '2021-03-03T10:12:53.123+08:00' | ||
*/ | ||
export declare type ISO8601String = DateISOString | `${N4}-${N2}-${N2}T${N2}:${N2}:${N2}.${N3}+${N2}:${N2}` | `${N4}-${N2}-${N2}T${N2}:${N2}:${N2}.${N3}-${N2}:${N2}`; | ||
declare type N4 = `${number}${number}${number}${number}`; | ||
declare type N3 = `${number}${number}${number}`; | ||
declare type N2 = `${number}${number}`; | ||
export {}; |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "6.0.2", | ||
"version": "6.1.0", | ||
"description": "shared typescript types", | ||
@@ -77,3 +77,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "6ddccdcfd537779ab98a477f2f907de329262164" | ||
"gitHead": "66990bb9425d8a7b274d036f07f30ec975cd0f5c" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38426
664