Skip to content

Commit

Permalink
ensure fatal error are always printed to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Inqnuam committed Jul 2, 2024
1 parent b495223 commit 230aeed
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-aws-lambda",
"version": "4.8.0",
"version": "4.8.1",
"description": "AWS Application Load Balancer and API Gateway - Lambda dev tool for Serverless. Allows Express synthax in handlers. Supports packaging, local invoking and offline ALB, APG, S3, SNS, SQS, DynamoDB Stream server mocking.",
"author": "Inqnuam",
"license": "MIT",
Expand Down Expand Up @@ -69,7 +69,7 @@
"@types/archiver": "^5.3.2",
"@types/node": "^14.14.31",
"@types/serve-static": "^1.15.5",
"typescript": "^5.5.2",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/colorize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const print = (color: string, s: string) => {
}
};

const RED = (s: string) => print("31", s);
const RED = (s: string) => console.log(`\x1b[31m${s}\x1b[0m`);
const GREEN = (s: string) => print("32", s);
const YELLOW = (s: string) => print("33", s);
const CYAN = (s: string) => print("36", s);
Expand Down
6 changes: 3 additions & 3 deletions templates/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"devDependencies": {
"prettier": "3.2.5",
"serverless": "^3.38.0",
"serverless-aws-lambda": "^4.8.0",
"serverless-aws-lambda-vitest": "^1.2.5",
"typescript": "^5.4.5"
"serverless-aws-lambda": "^4.8.1",
"serverless-aws-lambda-vitest": "^2.0.0",
"typescript": "^5.5.3"
},
"scripts": {
"sls": "sls",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2138,10 +2138,10 @@ type-detect@^4.0.0, type-detect@^4.0.8:
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==

typescript@^5.5.2:
version "5.5.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507"
integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==
typescript@^5.5.3:
version "5.5.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.3.tgz#e1b0a3c394190838a0b168e771b0ad56a0af0faa"
integrity sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==

ufo@^1.5.3:
version "1.5.3"
Expand Down

0 comments on commit 230aeed

Please sign in to comment.