From 1022766f02f988691c9b8c4643bcb2a2adf006ed Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Sun, 14 Sep 2025 00:52:12 -0400 Subject: [PATCH] Switch to dotenvx --- Xiao.js | 2 +- package.json | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Xiao.js b/Xiao.js index 9e9e5a19..0e5baad7 100644 --- a/Xiao.js +++ b/Xiao.js @@ -1,4 +1,4 @@ -require('dotenv').config(); +require('@dotenvx/dotenvx').config(); const { XIAO_TOKEN, OWNERS, XIAO_PREFIX, INVITE } = process.env; const { mkdir } = require('fs/promises'); const path = require('path'); diff --git a/package.json b/package.json index e2bc413d..0f6b354d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "157.0.0", + "version": "158.0.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { @@ -31,8 +31,9 @@ "dependencies": { "@discordjs/opus": "^0.10.0", "@discordjs/voice": "^0.19.0", + "@dotenvx/dotenvx": "^1.49.0", "@mediapipe/face_detection": "^0.4.1646425229", - "@napi-rs/canvas": "^0.1.78", + "@napi-rs/canvas": "^0.1.80", "@skyra/gifenc": "^1.0.1", "@snazzah/davey": "^0.1.6", "@tensorflow-models/face-detection": "^1.0.3", @@ -48,7 +49,6 @@ "custom-translate": "^2.2.8", "didyoumean2": "^7.0.4", "discord.js": "^14.22.1", - "dotenv": "^17.2.1", "emoji-regex": "^10.5.0", "fen-validator": "^2.0.1", "font-finder": "^1.1.0", @@ -56,11 +56,11 @@ "html-entities": "^2.6.0", "image-to-ascii": "^3.2.2", "ioredis": "^5.7.0", - "js-chess-engine": "^1.0.2", + "js-chess-engine": "^1.0.3", "jszip": "^3.10.1", "kuroshiro": "^1.2.0", "kuroshiro-analyzer-kuromoji": "^1.1.0", - "mathjs": "^14.6.0", + "mathjs": "^14.7.0", "minimist": "^1.2.8", "moment": "^2.30.1", "moment-duration-format": "^2.3.2", @@ -79,7 +79,7 @@ "text-diff": "^1.0.1", "tictactoe-minimax-ai": "github:marianoheller/tic-tac-toe-minimax", "twitter-openapi-typescript": "^0.0.55", - "user-agents": "^1.1.648", + "user-agents": "^1.1.660", "valid-url": "^1.0.9", "wavefile": "^11.0.0", "winston": "^3.17.0", @@ -94,10 +94,10 @@ "zlib-sync": "^0.1.10" }, "devDependencies": { - "@eslint/js": "^9.34.0", - "eslint": "^9.34.0", + "@eslint/js": "^9.35.0", + "eslint": "^9.35.0", "eslint-config-amber": "^2.0.4", "eslint-plugin-jsonc": "^2.20.1", - "globals": "^16.3.0" + "globals": "^16.4.0" } }