GVRLNKMK 6e20fbe299 Fix CEconItem crash when Tradable/Marketable After date isn't day-first
CEconItem destructured the day-first date regex match without a null
check, throwing 'match is not iterable' for CS2 items whose
owner_descriptions use the legacy month-first format (e.g. 'Tradable/
Marketable After Jul 11, 2025 (2:00:00)'). Running in the constructor,
this made getInventoryContents()/getUserInventoryContents() reject the
whole inventory.

Guard the null match, fall back to parsing the legacy month-first
format, and only set cache_expiration for a valid date. Day-first
strings are unchanged; backwards-compatible.
2026-07-10 17:25:18 +03:00
2020-03-10 03:51:16 -04:00
2023-06-24 02:40:48 -04:00
2023-06-24 02:40:48 -04:00
2017-12-30 02:25:07 -05:00
2023-10-01 21:30:28 -04:00
2017-12-28 00:34:15 -05:00
2017-12-28 00:33:01 -05:00
2026-06-28 17:48:51 -04:00
2024-10-05 18:47:05 -04:00

Steam Community for Node.js

npm version npm downloads license paypal

This module provides an easy interface for the Steam Community website. This module can be used to simply login to steamcommunity.com for use with other libraries, or to interact with steamcommunity.com.

Have a question about the module or coding in general? Do not create a GitHub issue. GitHub issues are for feature requests and bug reports. Instead, post in the dedicated forum. Such issues may be ignored!

Documentation

Documentation is available on the GitHub wiki.

Support

Report bugs on the issue tracker or ask questions on the dedicated forum.

Description
Interact with various interfaces on Steam Community from Node.js
Readme MIT 1.5 MiB
Languages
JavaScript 100%