@youngbeen/angle-util
Advanced tools
@@ -92,3 +92,3 @@ "use strict"; | ||
| formatDateTime: function formatDateTime(format, time) { | ||
| if (!format) { | ||
| if (!format || !time && time !== undefined) { | ||
| return ''; | ||
@@ -95,0 +95,0 @@ } |
+1
-1
| { | ||
| "name": "@youngbeen/angle-util", | ||
| "version": "1.3.15", | ||
| "version": "1.3.16", | ||
| "description": "The utils used in angle-FE team", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -82,3 +82,3 @@ export default { | ||
| formatDateTime(format, time) { | ||
| if (!format) { | ||
| if (!format || (!time && time !== undefined)) { | ||
| return ''; | ||
@@ -85,0 +85,0 @@ } |
@@ -139,3 +139,3 @@ /** | ||
| formatDateTime (format: string, time?: JsDate): string { | ||
| if (!format) { | ||
| if (!format || (!time && time !== undefined)) { | ||
| return '' | ||
@@ -142,0 +142,0 @@ } |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1334222
0.01%