New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.18.4 to 1.19.0

dist/cjs/aws/aws-events.d.ts

2

dist/cjs/aws.d.ts

@@ -250,3 +250,3 @@ import { IDictionary } from "./basics";

}
export interface ICloudWatchEvent {
export interface ICloudWatchEvent_Old {
messageType: string | "DATA_MESSAGE";

@@ -253,0 +253,0 @@ owner: string;

@@ -18,6 +18,5 @@ export * from "./LambdaEventParser";

export * from "./package";
export * from "./serverless-constants";
export * from "./serverless-http";
export * from "./serverless";
export * from "./aliases/index";
export * from "./aws/index";
export * from "./serverless/index";
export * from "./serverless-plugins/index";

@@ -359,2 +359,18 @@ 'use strict';

/**
* Ways in which missing data can be treated.
*
* [Official Docs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data)
*/
(function (StepFunctionMissingDataTreatment) {
/** The alarm does not consider missing data points when evaluating whether to change state. */
StepFunctionMissingDataTreatment["missing"] = "missing";
/** The current alarm state is maintained. */
StepFunctionMissingDataTreatment["ignore"] = "ignore";
/** Missing data points are treated as breaching the threshold. */
StepFunctionMissingDataTreatment["breaching"] = "breaching";
/** Missing data points are treated as being within the threshold. */
StepFunctionMissingDataTreatment["notBreaching"] = "notBreaching";
})(exports.StepFunctionMissingDataTreatment || (exports.StepFunctionMissingDataTreatment = {}));
/**
* @deprecated createBindDeploymentConfig() is deprecated; the `common-types` library

@@ -361,0 +377,0 @@ * aims almost exclusively to provide _types_ and this does not fit this

@@ -250,3 +250,3 @@ import { IDictionary } from "./basics";

}
export interface ICloudWatchEvent {
export interface ICloudWatchEvent_Old {
messageType: string | "DATA_MESSAGE";

@@ -253,0 +253,0 @@ owner: string;

@@ -18,6 +18,5 @@ export * from "./LambdaEventParser";

export * from "./package";
export * from "./serverless-constants";
export * from "./serverless-http";
export * from "./serverless";
export * from "./aliases/index";
export * from "./aws/index";
export * from "./serverless/index";
export * from "./serverless-plugins/index";

@@ -356,2 +356,19 @@ /**

/**
* Ways in which missing data can be treated.
*
* [Official Docs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data)
*/
var StepFunctionMissingDataTreatment;
(function (StepFunctionMissingDataTreatment) {
/** The alarm does not consider missing data points when evaluating whether to change state. */
StepFunctionMissingDataTreatment["missing"] = "missing";
/** The current alarm state is maintained. */
StepFunctionMissingDataTreatment["ignore"] = "ignore";
/** Missing data points are treated as breaching the threshold. */
StepFunctionMissingDataTreatment["breaching"] = "breaching";
/** Missing data points are treated as being within the threshold. */
StepFunctionMissingDataTreatment["notBreaching"] = "notBreaching";
})(StepFunctionMissingDataTreatment || (StepFunctionMissingDataTreatment = {}));
/**
* @deprecated createBindDeploymentConfig() is deprecated; the `common-types` library

@@ -410,3 +427,3 @@ * aims almost exclusively to provide _types_ and this does not fit this

export { AWS_REGIONS, HttpStatusCodes, LambdaEventParser, createBindDeploymentConfig, getBodyFromPossibleLambdaProxyRequest, isLambdaProxyRequest, parseStack, wait };
export { AWS_REGIONS, HttpStatusCodes, LambdaEventParser, StepFunctionMissingDataTreatment, createBindDeploymentConfig, getBodyFromPossibleLambdaProxyRequest, isLambdaProxyRequest, parseStack, wait };
//# sourceMappingURL=index.js.map
{
"name": "common-types",
"version": "1.18.4",
"version": "1.19.0",
"description": "Common types not included in Typescript",

@@ -28,3 +28,3 @@ "repository": "https://github.com/lifegadget/common-types",

"devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@types/chai": "^4.2.11",

@@ -35,12 +35,12 @@ "@types/mocha": "^8.0.3",

"chai": "^4.2.0",
"do-devops": "^0.5.4",
"json-schema": "^0.2.5",
"do-devops": "^0.5.5",
"json-schema": "^0.3.0",
"mocha": "^8.2.1",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"rollup": "^2.33.1",
"rollup": "^2.36.2",
"rollup-plugin-typescript2": "^0.29.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
}
}

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