isaacscript-common 1.2.243 → 1.2.244

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
2
  local ____exports = {}
3
+ local ____log = require("functions.log")
4
+ local log = ____log.log
3
5
  function ____exports.getTraceback(self)
4
6
  if debug ~= nil then
5
7
  return debug.traceback()
@@ -11,7 +13,7 @@ function ____exports.getTraceback(self)
11
13
  end
12
14
  function ____exports.traceback(self)
13
15
  local tracebackOutput = ____exports.getTraceback(nil)
14
- Isaac.DebugString(tracebackOutput)
16
+ log(tracebackOutput)
15
17
  end
16
18
  local function setDebugFunctionsGlobal(self)
17
19
  if debug == nil then
@@ -6,7 +6,7 @@
6
6
  * (This allows execution to continue in cases where users have no current save data or have
7
7
  * manually removed their existing save data.)
8
8
  */
9
- export declare function jsonDecode(jsonString: string): LuaTable;
9
+ export declare function jsonDecode(jsonString: string): LuaTable<AnyNotNil, unknown>;
10
10
  /**
11
11
  * Converts a Lua table to a JSON string.
12
12
  * In most cases, this function will be used for writing data to a "save#.dat" file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.243",
3
+ "version": "1.2.244",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "devDependencies": {
28
28
  "isaac-typescript-definitions": "^1.0.388",
29
- "isaacscript-lint": "^1.0.97",
29
+ "isaacscript-lint": "^1.0.98",
30
30
  "isaacscript-tsconfig": "^1.1.8",
31
31
  "typedoc": "^0.22.13",
32
32
  "typescript": "4.6.3",