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

common-types

Package Overview
Dependencies
Maintainers
1
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-types - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0

16

common-types.ts

@@ -5,3 +5,3 @@

*/
interface IDictionary<T = any> {
export interface IDictionary<T = any> {
[key: string]: T;

@@ -13,3 +13,3 @@ }

*/
interface INumericArray<T = any> {
export interface INumericArray<T = any> {
[key: number]: T;

@@ -19,10 +19,10 @@ }

/** a string of the format: "YYYY-MM-DD" */
type datestring = string;
export type datestring = string;
/** a string of the format: "HH:mm:ss" */
type timestring = string;
export type timestring = string;
/** a string of the format: "UTC" */
type timezone = string;
export type timezone = string;
/** string representation of datetime in format of "2016-07-17T13:29:11.652Z" */
type datetime = string;
/** unix epoc datetime format (aka, seconds since 1970) */
type epoc = number;
export type datetime = string;
/** unix epoch datetime format (aka, seconds since 1970) */
export type epoch = number;
{
"name": "common-types",
"version": "1.0.5",
"version": "1.1.0",
"description": "Common types not included in Typescript",

@@ -5,0 +5,0 @@ "main": "common-types.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