+4
-2
@@ -13,3 +13,5 @@ const chalk = require("chalk"); | ||
| constructor(message) { | ||
| const errorMessage = `${chalk.red("[ NodeMS ]")} ${chalk.blue("=>")} ${chalk.gray(message)}`; | ||
| const errorMessage = `${chalk.red("[ BasicMS ]")} ${chalk.blue("=>")} ${chalk.gray( | ||
| message | ||
| )}`; | ||
| super(errorMessage); | ||
@@ -19,2 +21,2 @@ } | ||
| module.exports = ErrorManager; | ||
| module.exports = ErrorManager; |
+1
-1
| { | ||
| "name": "basic-ms", | ||
| "version": "1.0.2", | ||
| "version": "1.0.5", | ||
| "description": "Basic MS Module.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+1
-1
@@ -11,3 +11,3 @@  | ||
| ```npm | ||
| - TypeScript Error Fixed. | ||
| - Fixed Bugs. | ||
| ``` | ||
@@ -14,0 +14,0 @@ |
+5
-5
@@ -103,5 +103,5 @@ const ErrorManager = require("./ErrorManager"); | ||
| static isTimeExists(time) { | ||
| const args = ["s", "m", "h", "d", "w", "mo", "y"] | ||
| for(let arg of args){ | ||
| if(time.endsWith(arg)) return true; | ||
| const args = ["s", "m", "h", "d", "w", "mo", "y"]; | ||
| for (let arg of args) { | ||
| if (time.endsWith(arg)) return true; | ||
| else return false; | ||
@@ -112,4 +112,4 @@ } | ||
| /** | ||
| * | ||
| * @param {number} milliseconds | ||
| * | ||
| * @param {number} milliseconds | ||
| * @returns {number} | ||
@@ -116,0 +116,0 @@ */ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
19286
0.09%164
1.86%0
-100%