Skip to content

Commit

Permalink
Remove osjs stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Sep 25, 2024
1 parent d455e35 commit 420da4c
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 270 deletions.
2 changes: 0 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ export * from './lib/MahojiClient/Mahoji';
export * from './lib/MahojiClient/mahojiTypes';
export * from './types';
export * from './util/array';
export * from './util/bank';
export * from './util/chance';
export * from './util/datetime';
export * from './util/discord';
export * from './util/discordJS';
export * from './util/expressionParser';
export * from './util/misc';
export * from './util/node';
export * from './util/osjs';
export * from './util/purerand';
export * from './util/runescape';
export * from './util/string';
Expand Down
2 changes: 0 additions & 2 deletions dist/index.js

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

10 changes: 0 additions & 10 deletions dist/util/bank.d.ts

This file was deleted.

76 changes: 0 additions & 76 deletions dist/util/bank.js

This file was deleted.

3 changes: 0 additions & 3 deletions dist/util/osjs.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions dist/util/osjs.js

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"zod": "3.23.8"
},
"peerDependencies": {
"discord.js": "^14.16.2",
"oldschooljs": "^2.6.1"
"discord.js": "^14.16.2"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
Expand All @@ -41,7 +40,6 @@
"@vitest/coverage-v8": "^1.6.0",
"concurrently": "^8.2.2",
"discord.js": "^14.16.2",
"oldschooljs": "^2.6.1",
"rimraf": "^5.0.7",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ export * from './lib/MahojiClient/Mahoji';
export * from './lib/MahojiClient/mahojiTypes';
export * from './types';
export * from './util/array';
export * from './util/bank';
export * from './util/chance';
export * from './util/datetime';
export * from './util/discord';
export * from './util/discordJS';
export * from './util/expressionParser';
export * from './util/misc';
export * from './util/node';
export * from './util/osjs';
export * from './util/purerand';
export * from './util/runescape';
export * from './util/string';
Expand Down
75 changes: 0 additions & 75 deletions src/util/bank.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/util/osjs.ts

This file was deleted.

19 changes: 0 additions & 19 deletions tests/osjs.test.ts

This file was deleted.

52 changes: 1 addition & 51 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -556,15 +556,13 @@ __metadata:
ioredis: "npm:^5.4.1"
ioredis-mock: "npm:^8.9.0"
math-expression-evaluator: "npm:^1.3.14"
oldschooljs: "npm:^2.6.1"
pure-rand: "npm:^6.1.0"
rimraf: "npm:^5.0.7"
typescript: "npm:^5.5.3"
vitest: "npm:^1.6.0"
zod: "npm:3.23.8"
peerDependencies:
discord.js: ^14.16.2
oldschooljs: ^2.6.1
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -1258,7 +1256,7 @@ __metadata:
languageName: node
linkType: hard

"e@npm:0.2.33, e@npm:^0.2.33":
"e@npm:0.2.33":
version: 0.2.33
resolution: "e@npm:0.2.33"
checksum: 10c0/28c12ee98d5587686765831ac71ea5676e138c43491a305c9dc28edc10efc53ac2aedec8e0266f0bcc5ff414f909e0ccf1cc37032754660f1c07d8ed2b6652d1
Expand Down Expand Up @@ -2169,20 +2167,6 @@ __metadata:
languageName: node
linkType: hard

"node-fetch@npm:2.6.7":
version: 2.6.7
resolution: "node-fetch@npm:2.6.7"
dependencies:
whatwg-url: "npm:^5.0.0"
peerDependencies:
encoding: ^0.1.0
peerDependenciesMeta:
encoding:
optional: true
checksum: 10c0/fcae80f5ac52fbf5012f5e19df2bd3915e67d3b3ad51cb5942943df2238d32ba15890fecabd0e166876a9f98a581ab50f3f10eb942b09405c49ef8da36b826c7
languageName: node
linkType: hard

"node-gyp@npm:latest":
version: 10.1.0
resolution: "node-gyp@npm:10.1.0"
Expand Down Expand Up @@ -2223,16 +2207,6 @@ __metadata:
languageName: node
linkType: hard

"oldschooljs@npm:^2.6.1":
version: 2.6.1
resolution: "oldschooljs@npm:2.6.1"
dependencies:
e: "npm:^0.2.33"
node-fetch: "npm:2.6.7"
checksum: 10c0/1a95ba311806aaad624fca2a4feeb71757ecd62dea0df9c9f03e63ef81580f1ce40d8cf36e2d0b52ae184305e9876c62ed586c188e330e36f22767bd0c44ab2b
languageName: node
linkType: hard

"once@npm:^1.3.0":
version: 1.4.0
resolution: "once@npm:1.4.0"
Expand Down Expand Up @@ -2837,13 +2811,6 @@ __metadata:
languageName: node
linkType: hard

"tr46@npm:~0.0.3":
version: 0.0.3
resolution: "tr46@npm:0.0.3"
checksum: 10c0/047cb209a6b60c742f05c9d3ace8fa510bff609995c129a37ace03476a9b12db4dbf975e74600830ef0796e18882b2381fb5fb1f6b4f96b832c374de3ab91a11
languageName: node
linkType: hard

"tree-kill@npm:^1.2.2":
version: 1.2.2
resolution: "tree-kill@npm:1.2.2"
Expand Down Expand Up @@ -3052,23 +3019,6 @@ __metadata:
languageName: node
linkType: hard

"webidl-conversions@npm:^3.0.0":
version: 3.0.1
resolution: "webidl-conversions@npm:3.0.1"
checksum: 10c0/5612d5f3e54760a797052eb4927f0ddc01383550f542ccd33d5238cfd65aeed392a45ad38364970d0a0f4fea32e1f4d231b3d8dac4a3bdd385e5cf802ae097db
languageName: node
linkType: hard

"whatwg-url@npm:^5.0.0":
version: 5.0.0
resolution: "whatwg-url@npm:5.0.0"
dependencies:
tr46: "npm:~0.0.3"
webidl-conversions: "npm:^3.0.0"
checksum: 10c0/1588bed84d10b72d5eec1d0faa0722ba1962f1821e7539c535558fb5398d223b0c50d8acab950b8c488b4ba69043fd833cc2697056b167d8ad46fac3995a55d5
languageName: node
linkType: hard

"which@npm:^2.0.1":
version: 2.0.2
resolution: "which@npm:2.0.2"
Expand Down

0 comments on commit 420da4c

Please sign in to comment.