Skip to content

Commit

Permalink
💥
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sync committed Feb 10, 2024
1 parent 691ac72 commit eee7058
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
3 changes: 2 additions & 1 deletion A3sMods.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { parse } from 'arma-class-parser';
import got from 'got';
import he from 'he';
import { Low, JSONFile } from '@commonify/lowdb';
import { A3sEventsDto } from './A3sRemoteServer';

Expand Down Expand Up @@ -187,7 +188,7 @@ export default class A3sMods {
events.push({
url: items[1],
date: dp[2] + '-' + dp[1] + '-' + dp[0],
name: items[3]
name: he.decode(items[3])
});
}
}
Expand Down
27 changes: 27 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
"arma-class-parser": "^1.1.1",
"esm": "^3.2.25",
"got": "^11.8.6",
"he": "^1.2.0",
"java.io": "^2.4.0"
},
"devDependencies": {
"@types/he": "^1.2.3",
"@types/node": "^16",
"@types/utf8": "^3.0.1",
"tsc-watch": "^4.6.0",
Expand Down

0 comments on commit eee7058

Please sign in to comment.