steamutils 1.2.61 → 1.2.63

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -6002,7 +6002,7 @@ class SteamUser {
6002
6002
  return null
6003
6003
  }
6004
6004
  const $ = cheerio.load(response)
6005
- const text = $('.help_event_limiteduser .help_event_limiteduser_spend').text()
6005
+ const text = $('.help_event_limiteduser .help_event_limiteduser_spend').text().replaceAll(/[\t\n\r]/gi, ' ').replaceAll(/\s+/g, ' ').trim()
6006
6006
  if (text?.startsWith("Amount Spent on Steam")) {
6007
6007
  return text
6008
6008
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.61",
3
+ "version": "1.2.63",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.5.1",
@@ -11,9 +11,9 @@
11
11
  "lodash": "^4.17.21",
12
12
  "moment": "^2.29.4",
13
13
  "node-bignumber": "^1.2.2",
14
- "steam-session": "^1.4.0",
14
+ "steam-session": "^1.4.1",
15
15
  "steam-user": "^5.0.1",
16
- "steamcommunity": "^3.46.1",
16
+ "steamcommunity": "^3.47.0",
17
17
  "steamid": "^2.0.0",
18
18
  "url-parse": "^1.5.10",
19
19
  "uuid": "^9.0.1",