beavuck-time 2.3.7 → 2.3.8

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.
@@ -8,7 +8,9 @@ exports.logger = void 0;
8
8
  const winston_1 = require("winston");
9
9
  require("winston-daily-rotate-file");
10
10
  const dotenvx_1 = __importDefault(require("@dotenvx/dotenvx"));
11
- dotenvx_1.default.config();
11
+ dotenvx_1.default.config({
12
+ ignore: ['MISSING_ENV_FILE'],
13
+ });
12
14
  const LOGS_DIR = 'logs';
13
15
  const LOG_LEVEL = process.env.BEAVUCK_TIME_LOG_LEVEL ?? 'info';
14
16
  const MAX_LOG_FILES = process.env.BEAVUCK_TIME_MAX_LOG_FILES ?? 64;
package/build/server.js CHANGED
@@ -10,7 +10,9 @@ const api_1 = require("./api");
10
10
  const logger_1 = require("./config/logger");
11
11
  const urlUtil_1 = require("./utils/urlUtil");
12
12
  const dotenvx_1 = __importDefault(require("@dotenvx/dotenvx"));
13
- dotenvx_1.default.config();
13
+ dotenvx_1.default.config({
14
+ ignore: ['MISSING_ENV_FILE'],
15
+ });
14
16
  function validateEnv({ hostUrl, trustedOrigins, }) {
15
17
  if (!hostUrl || !(0, urlUtil_1.tryParseUrl)(hostUrl)) {
16
18
  logger_1.logger.error('HOST_URL not set or is not a valid URL');
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "info": {
34
34
  "title": "beavuck-time",
35
- "version": "2.3.7",
35
+ "version": "2.3.8",
36
36
  "description": "Get time in ISO format, in UTC timezone, from a simple, lightweight node server",
37
37
  "license": {
38
38
  "name": "Unlicense"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beavuck-time",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "Get time in ISO format, in UTC timezone, from a simple, lightweight node server",
5
5
  "keywords": [
6
6
  "time",