Skip to content

Commit a5f6bbf

Browse files
committed
fix: remove unnecessary dependencies
1 parent 96ff999 commit a5f6bbf

File tree

3 files changed

+0
-75
lines changed

3 files changed

+0
-75
lines changed

bot.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { spawn } from 'node:child_process';
22

3-
import fetchCookie from 'fetch-cookie';
43
import cron from 'node-cron';
54
import zulipInit from 'zulip-js';
65

7-
86
import grind75_problems from './Grind75.json' assert { type: 'json' };
97
import { questionOfTheDay } from './queries.js';
108

@@ -28,9 +26,6 @@ const messageType = process.env.DLB_USER_ID ? 'direct' : 'stream';
2826
const messageTopic = process.env.DLB_TOPIC || 'Daily Leetcode Problem';
2927
const slackWebhookURL = process.env.DLB_SLACK_WEBHOOK;
3028

31-
// Fetch with a cookie jar scoped to the client object.
32-
const fetch_with_cookies = fetchCookie(fetch);
33-
3429
class LeetCodeBot {
3530
static async run () {
3631
// Schedule the task to run every day at 10:00 AM

package-lock.json

-69
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
},
99
"dependencies": {
1010
"debug": "~2.6.9",
11-
"fetch-cookie": "^3.0.1",
1211
"node-cron": "^3.0.3",
1312
"zulip-js": "^2.0.9"
1413
}

0 commit comments

Comments
 (0)