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.1.0 to 1.1.1

14

common-types.ts

@@ -16,2 +16,5 @@

/** A function for sorting JS arrays */
export type SortingFunction = (a: any, b: any) => number;
/** a string of the format: "YYYY-MM-DD" */

@@ -27,1 +30,12 @@ export type datestring = string;

export type epoch = number;
export enum STAGE {
prod = 'prod',
stage = 'stage',
test = 'test',
dev = 'dev',
production = prod,
staging = stage,
testing = test,
development = dev
}

2

package.json
{
"name": "common-types",
"version": "1.1.0",
"version": "1.1.1",
"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