Skip to content

Commit

Permalink
chore(dependencies): switch to node:fs instead of fs
Browse files Browse the repository at this point in the history
BREAKING CHANGE: From now on, the template will use `node:fs` instead of `fs`
  • Loading branch information
Tolga1452 committed Apr 9, 2023
1 parent 0a8c50a commit 8aaa86c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
11 changes: 0 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"delay": "^5.0.0",
"discord.js": "^14.9.0",
"dotenv": "^16.0.3",
"fs": "^0.0.1-security",
"terminal.xr": "^1.2.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion shard.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//Packages & Helpful Tools

const { Client, GatewayIntentBits, Collection, Events } = require("discord.js");
const { readdir } = require("fs");
const { readdir } = require('node:fs');
const Logger = require('terminal.xr');
const { Axios } = require("axios");
const wait = require('delay');
Expand Down

0 comments on commit 8aaa86c

Please sign in to comment.