@akc42/server-utils 4.0.9 → 4.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/debug-utils.js +1 -1
  2. package/package.json +1 -1
package/debug-utils.js CHANGED
@@ -103,7 +103,7 @@ export function DebugHelper(topic, colourspec, shortdate, immediate, writer) {
103
103
 
104
104
  const fromDate = new Date(); //logtime is only possible if later than midnight last night.
105
105
  const from = fromDate.setHours(0,0,0,0)
106
- if (!(Number.isInteger(logtime) && logtime > from.getTime())) {
106
+ if (!(Number.isInteger(logtime) && logtime > from)) {
107
107
  if (ip !== undefined) {
108
108
  if (Array.isArray(ip)) args = ip.concat(args); else args.unshift(ip);
109
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akc42/server-utils",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "type": "module",
5
5
  "description": "A Set of Utilities to use on the Server Side of a Project",
6
6
  "main": "./server-utils.js",