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.25.0 to 1.25.2

dist/cjs/aliases/color.d.ts

2

dist/cjs/aliases/datetime.d.ts

@@ -1,2 +0,2 @@

import { NumericCharacter } from "./stringAliases";
import { NumericCharacter } from "./numeric";
/** days of the week in 3-letter abbreviated form; first letter capitalized */

@@ -3,0 +3,0 @@ export declare type DayShort = "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" | "Sun";

@@ -0,6 +1,8 @@

export * from "./color";
export * from "./datetime";
export * from "./fileTypeContent";
export * from "./network";
export * from "./numeric";
export * from "./other";
export * from "./stringAliases";
export * from "./uuid";
export declare type sql = string;
export declare type NumericCharacter = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
/**

@@ -14,2 +13,3 @@ * A string representation of the common Type/SubType classification.

*/
export declare type DevelopmentStage = "local" | "dev" | "prod" | "test" | "stage";
export declare type DevelopmentStage<T extends string = ""> = "local" | "dev" | "prod" | "test" | "stage" & T;
export declare type OptSpace = "" | " ";

@@ -80,3 +80,3 @@ import { IServerlessStage } from "../serverless";

service: string;
stage: import("..").DevelopmentStage;
stage: IServerlessStage;
/** custom domain name */

@@ -83,0 +83,0 @@ domainName?: string | undefined;

@@ -1,2 +0,2 @@

import { NumericCharacter } from "./stringAliases";
import { NumericCharacter } from "./numeric";
/** days of the week in 3-letter abbreviated form; first letter capitalized */

@@ -3,0 +3,0 @@ export declare type DayShort = "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" | "Sun";

@@ -0,6 +1,8 @@

export * from "./color";
export * from "./datetime";
export * from "./fileTypeContent";
export * from "./network";
export * from "./numeric";
export * from "./other";
export * from "./stringAliases";
export * from "./uuid";
export declare type sql = string;
export declare type NumericCharacter = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
/**

@@ -14,2 +13,3 @@ * A string representation of the common Type/SubType classification.

*/
export declare type DevelopmentStage = "local" | "dev" | "prod" | "test" | "stage";
export declare type DevelopmentStage<T extends string = ""> = "local" | "dev" | "prod" | "test" | "stage" & T;
export declare type OptSpace = "" | " ";

@@ -80,3 +80,3 @@ import { IServerlessStage } from "../serverless";

service: string;
stage: import("..").DevelopmentStage;
stage: IServerlessStage;
/** custom domain name */

@@ -83,0 +83,0 @@ domainName?: string | undefined;

{
"name": "common-types",
"version": "1.25.0",
"version": "1.25.2",
"description": "Common Types for Typescript",

@@ -29,10 +29,11 @@ "repository": "https://github.com/lifegadget/common-types",

"@rollup/plugin-commonjs": "^18.0.0",
"@types/chai": "^4.2.11",
"@type-challenges/utils": "^0.1.1",
"@types/jest": "^26.0.23",
"@types/mocha": "^8.0.3",
"@types/rimraf": "^3.0.0",
"async-shelljs": "^0.1.4",
"chai": "^4.2.0",
"do-devops": "^0.9.0",
"jest": "^27.0.4",
"jest-extended": "^0.11.5",
"json-schema": "^0.3.0",
"mocha": "^8.2.1",
"npm-run-all": "^4.1.5",

@@ -42,2 +43,3 @@ "rimraf": "^3.0.2",

"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^27.0.3",
"ts-node": "^9.1.1",

@@ -44,0 +46,0 @@ "typescript": "^4.2.0"

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