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.21.6 to 1.21.7

4

dist/cjs/aliases/stringAliases.d.ts

@@ -7,1 +7,5 @@ export declare type sql = string;

export declare type TypeSubtype = `${string}/${string}`;
/**
* A type guard to check that a string is of the type `TypeSubtype`
*/
export declare function isTypeSubtype(str: string): str is TypeSubtype;

@@ -344,2 +344,10 @@ 'use strict';

/**
* A type guard to check that a string is of the type `TypeSubtype`
*/
function isTypeSubtype(str) {
const parts = str.split("/");
return parts.length === 2;
}
const AWS_REGIONS = [

@@ -463,4 +471,5 @@ "us-east-1",

exports.isServerlessFunctionImage = isServerlessFunctionImage;
exports.isTypeSubtype = isTypeSubtype;
exports.parseStack = parseStack;
exports.wait = wait;
//# sourceMappingURL=index.js.map

@@ -7,1 +7,5 @@ export declare type sql = string;

export declare type TypeSubtype = `${string}/${string}`;
/**
* A type guard to check that a string is of the type `TypeSubtype`
*/
export declare function isTypeSubtype(str: string): str is TypeSubtype;

@@ -340,2 +340,10 @@ /**

/**
* A type guard to check that a string is of the type `TypeSubtype`
*/
function isTypeSubtype(str) {
const parts = str.split("/");
return parts.length === 2;
}
const AWS_REGIONS = [

@@ -451,3 +459,3 @@ "us-east-1",

export { AWS_REGIONS, HttpStatusCodes, LambdaEventParser, StepFunctionMissingDataTreatment, createBindDeploymentConfig, getBodyFromPossibleLambdaProxyRequest, isLambdaProxyRequest, isProxyRequestContextV2, isServerlessFunctionHandler, isServerlessFunctionImage, parseStack, wait };
export { AWS_REGIONS, HttpStatusCodes, LambdaEventParser, StepFunctionMissingDataTreatment, createBindDeploymentConfig, getBodyFromPossibleLambdaProxyRequest, isLambdaProxyRequest, isProxyRequestContextV2, isServerlessFunctionHandler, isServerlessFunctionImage, isTypeSubtype, parseStack, wait };
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "common-types",
"version": "1.21.6",
"version": "1.21.7",
"description": "Common types not included in Typescript",

@@ -5,0 +5,0 @@ "repository": "https://github.com/lifegadget/common-types",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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