Skip to content

Commit 1c6e62b

Browse files
committed
chore: Remove axios
1 parent 62cc4a5 commit 1c6e62b

3 files changed

Lines changed: 1 addition & 95 deletions

File tree

package-lock.json

Lines changed: 0 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"dependencies": {
2525
"@swc/core": "^1.7.40",
2626
"@tailwindcss/cli": "^4.0.8",
27-
"axios": "^1.6.0",
2827
"chokidar": "^3.5.3",
2928
"discord.js": "^14.11.0",
3029
"dotenv": "^16.3.1",

src/eval.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import _axios from 'axios';
21
import _fsSync, { promises as _fs } from 'fs';
32
import _path from 'path';
43
import { inspect } from 'util';
@@ -14,7 +13,6 @@ import type { PSCommandContext } from '@/types/chat';
1413
import type { PSMessage } from '@/types/ps';
1514

1615
// Exporting into side variables for eval lookup; this gets garbage-collected otherwise
17-
const axios = _axios;
1816
const cache = _cache;
1917
const cachebuster = _cachebuster;
2018
const fs = _fs;
@@ -25,7 +23,7 @@ const path = _path;
2523
const Tools = _Tools;
2624

2725
// Storing in context for eval()
28-
const _evalContext = [axios, cache, cachebuster, fs, fsSync, fsPath, log, path, Tools];
26+
const _evalContext = [cache, cachebuster, fs, fsSync, fsPath, log, path, Tools];
2927

3028
export type EvalModes = 'COLOR_OUTPUT' | 'FULL_OUTPUT' | 'ABBR_OUTPUT' | 'NO_OUTPUT';
3129
export type EvalOutput = {

0 commit comments

Comments
 (0)