@serverless-guru/logger
Advanced tools
Comparing version
@@ -46,9 +46,4 @@ "use strict"; | ||
return array | ||
.map((el) => { | ||
if (typeof el === "string") { | ||
return el.toLowerCase(); | ||
} | ||
return undefined; | ||
}) | ||
.filter((el) => typeof el !== "undefined"); | ||
.filter((el) => typeof el === "string") | ||
.map((el) => el.toLowerCase()); | ||
} | ||
@@ -55,0 +50,0 @@ return []; |
@@ -43,9 +43,4 @@ import { randomUUID } from "node:crypto"; | ||
return array | ||
.map((el) => { | ||
if (typeof el === "string") { | ||
return el.toLowerCase(); | ||
} | ||
return undefined; | ||
}) | ||
.filter((el) => typeof el !== "undefined"); | ||
.filter((el) => typeof el === "string") | ||
.map((el) => el.toLowerCase()); | ||
} | ||
@@ -52,0 +47,0 @@ return []; |
{ | ||
"name": "@serverless-guru/logger", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Common logger utility", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
54499
-0.67%789
-1.25%