Repository navigation
v2.0.1
⚒️ Bug Fixes
- Fix
addXP(),removeXP(),setXP(),addLevel(),removeLevel(),setLevel(), andreset()auto-managing a"modified"flag on user records. Flags are developer-defined data; simply-xp no longer adds, removes, or interprets any flag value during XP/level operations. - Fix
Database.findOne(),find(),findAll(), andupdateOne()declaring variables directly insideswitch/caseblocks (found by CodeFactor). - Fix use-before-define declarations in
Database.ts,connect.ts, andxplogs.ts, and a non-Unicode regex in the build script (both found by Codacy). No behavior change. - Fix circular imports across internal modules (found by Codacy). Public exports and behavior are unchanged.
- Fix
connect()performing synchronous filesystem reads while detecting installed database adapters; now non-blocking (found by Codacy). - Fix non-Unicode regular expressions in
cards.tsandutilities.ts(found by Codacy).
Full Changelog: v2.0.0...v2.0.1