isaacscript-common 12.3.3 → 12.3.5
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.
- package/dist/index.d.ts +0 -7
- package/dist/isaacscript-common.lua +8 -70
- package/dist/src/functions/{debug.d.ts → debugFunctions.d.ts} +1 -7
- package/dist/src/functions/debugFunctions.d.ts.map +1 -0
- package/dist/src/functions/{debug.lua → debugFunctions.lua} +0 -8
- package/dist/src/functions/globals.lua +2 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.lua +1 -1
- package/dist/src/patchErrorFunctions.lua +3 -3
- package/package.json +2 -2
- package/src/functions/{debug.ts → debugFunctions.ts} +0 -10
- package/src/functions/globals.ts +1 -1
- package/src/index.ts +1 -1
- package/src/patchErrorFunctions.ts +1 -1
- package/dist/package.lua +0 -15
- package/dist/src/functions/debug.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3442,13 +3442,6 @@ export declare function getHUDOffsetVector(): Vector;
|
|
|
3442
3442
|
*/
|
|
3443
3443
|
export declare function getIsaacAPIClassName(object: unknown): string | undefined;
|
|
3444
3444
|
|
|
3445
|
-
/**
|
|
3446
|
-
* Helper function to get the current version of the `isaacscript-common` library, according to the
|
|
3447
|
-
* "package.json" file at the time of compilation. (The version is in the Semantic Versioning
|
|
3448
|
-
* format, e.g. "1.0.0".)
|
|
3449
|
-
*/
|
|
3450
|
-
export declare function getIsaacScriptCommonVersion(): string;
|
|
3451
|
-
|
|
3452
3445
|
export declare function getItemConfigCardType(cardType: CardType): ItemConfigCardType;
|
|
3453
3446
|
|
|
3454
3447
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 12.3.
|
|
3
|
+
isaacscript-common 12.3.5
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -4126,14 +4126,6 @@ return ____exports
|
|
|
4126
4126
|
end,
|
|
4127
4127
|
["lua_modules.isaac-typescript-definitions.dist.src.index"] = function(...)
|
|
4128
4128
|
local ____exports = {}
|
|
4129
|
-
do
|
|
4130
|
-
local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.debug")
|
|
4131
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
4132
|
-
if ____exportKey ~= "default" then
|
|
4133
|
-
____exports[____exportKey] = ____exportValue
|
|
4134
|
-
end
|
|
4135
|
-
end
|
|
4136
|
-
end
|
|
4137
4129
|
do
|
|
4138
4130
|
local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.enums.ActiveSlot")
|
|
4139
4131
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
@@ -4848,35 +4840,6 @@ do
|
|
|
4848
4840
|
end
|
|
4849
4841
|
return ____exports
|
|
4850
4842
|
end,
|
|
4851
|
-
["lua_modules.isaac-typescript-definitions.dist.src.debug"] = function(...)
|
|
4852
|
-
local ____exports = {}
|
|
4853
|
-
local ____package_2Ejson = require("lua_modules.isaac-typescript-definitions.dist.package")
|
|
4854
|
-
local version = ____package_2Ejson.version
|
|
4855
|
-
--- Helper function to get the current version of the `isaac-typescript-definitions` library,
|
|
4856
|
-
-- according to the "package.json" file at the time of compilation. (The version is in the Semantic
|
|
4857
|
-
-- Versioning format, e.g. "1.0.0".)
|
|
4858
|
-
function ____exports.getIsaacTypeScriptDefinitionsVersion(self)
|
|
4859
|
-
return version
|
|
4860
|
-
end
|
|
4861
|
-
return ____exports
|
|
4862
|
-
end,
|
|
4863
|
-
["lua_modules.isaac-typescript-definitions.dist.package"] = function(...)
|
|
4864
|
-
return {
|
|
4865
|
-
name = "isaac-typescript-definitions",
|
|
4866
|
-
version = "7.2.4",
|
|
4867
|
-
description = "TypeScript definitions for The Binding of Isaac: Repentance.",
|
|
4868
|
-
keywords = {"isaac", "rebirth", "afterbirth", "repentance"},
|
|
4869
|
-
homepage = "https://isaacscript.github.io/",
|
|
4870
|
-
bugs = {url = "https://github.com/IsaacScript/isaacscript/issues"},
|
|
4871
|
-
repository = {type = "git", url = "git+https://github.com/IsaacScript/isaacscript.git"},
|
|
4872
|
-
license = "GPL-3.0",
|
|
4873
|
-
author = "Zamiell",
|
|
4874
|
-
type = "commonjs",
|
|
4875
|
-
main = "dist/src/index",
|
|
4876
|
-
types = "dist/src/index.d.ts",
|
|
4877
|
-
dependencies = {["lua-types"] = "^2.13.0"}
|
|
4878
|
-
}
|
|
4879
|
-
end,
|
|
4880
4843
|
["lua_modules.isaac-typescript-definitions.dist.src.enums.ActiveSlot"] = function(...)
|
|
4881
4844
|
local ____exports = {}
|
|
4882
4845
|
____exports.ActiveSlot = {}
|
|
@@ -47062,23 +47025,6 @@ function ____exports.initFeatures(self, mod)
|
|
|
47062
47025
|
end
|
|
47063
47026
|
return ____exports
|
|
47064
47027
|
end,
|
|
47065
|
-
["package"] = function(...)
|
|
47066
|
-
return {
|
|
47067
|
-
name = "isaacscript-common",
|
|
47068
|
-
version = "12.3.3",
|
|
47069
|
-
description = "Helper functions and features for IsaacScript mods.",
|
|
47070
|
-
keywords = {"isaac", "rebirth", "afterbirth", "repentance"},
|
|
47071
|
-
homepage = "https://isaacscript.github.io/",
|
|
47072
|
-
bugs = {url = "https://github.com/IsaacScript/isaacscript/issues"},
|
|
47073
|
-
repository = {type = "git", url = "git+https://github.com/IsaacScript/isaacscript.git"},
|
|
47074
|
-
license = "GPL-3.0",
|
|
47075
|
-
author = "Zamiell",
|
|
47076
|
-
type = "commonjs",
|
|
47077
|
-
main = "dist/src/index",
|
|
47078
|
-
types = "dist/src/index.d.ts",
|
|
47079
|
-
dependencies = {["isaac-typescript-definitions"] = "^7.2.4"}
|
|
47080
|
-
}
|
|
47081
|
-
end,
|
|
47082
47028
|
["src.functions.map"] = function(...)
|
|
47083
47029
|
local ____lualib = require("lualib_bundle")
|
|
47084
47030
|
local Map = ____lualib.Map
|
|
@@ -52627,13 +52573,11 @@ function ____exports.removeConsoleCommand(self, commandName)
|
|
|
52627
52573
|
end
|
|
52628
52574
|
return ____exports
|
|
52629
52575
|
end,
|
|
52630
|
-
["src.functions.
|
|
52576
|
+
["src.functions.debugFunctions"] = function(...)
|
|
52631
52577
|
local ____lualib = require("lualib_bundle")
|
|
52632
52578
|
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
52633
52579
|
local ____exports = {}
|
|
52634
52580
|
local setDebugFunctionsGlobal
|
|
52635
|
-
local ____package_2Ejson = require("package")
|
|
52636
|
-
local version = ____package_2Ejson.version
|
|
52637
52581
|
local ____exports = require("src.features.extraConsoleCommands.exports")
|
|
52638
52582
|
local enableExtraConsoleCommands = ____exports.enableExtraConsoleCommands
|
|
52639
52583
|
local ____fadeInRemover = require("src.features.fadeInRemover")
|
|
@@ -52714,12 +52658,6 @@ function ____exports.enableDevFeatures(self, mod)
|
|
|
52714
52658
|
enableFastReset(nil)
|
|
52715
52659
|
removeFadeIn(nil)
|
|
52716
52660
|
end
|
|
52717
|
-
--- Helper function to get the current version of the `isaacscript-common` library, according to the
|
|
52718
|
-
-- "package.json" file at the time of compilation. (The version is in the Semantic Versioning
|
|
52719
|
-
-- format, e.g. "1.0.0".)
|
|
52720
|
-
function ____exports.getIsaacScriptCommonVersion(self)
|
|
52721
|
-
return version
|
|
52722
|
-
end
|
|
52723
52661
|
--- Players can boot the game with an launch option called "--luadebug", which will enable additional
|
|
52724
52662
|
-- functionality that is considered to be unsafe. For more information about this flag, see the
|
|
52725
52663
|
-- wiki: https://bindingofisaacrebirth.fandom.com/wiki/Launch_Options
|
|
@@ -52748,9 +52686,9 @@ local __TS__StringIncludes = ____lualib.__TS__StringIncludes
|
|
|
52748
52686
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
52749
52687
|
local ____exports = {}
|
|
52750
52688
|
local errorWithTraceback, slimTracebackOutput, removeLinesContaining, LINE_SEPARATOR, USELESS_TRACEBACK_MESSAGES, vanillaError
|
|
52751
|
-
local
|
|
52752
|
-
local getTraceback =
|
|
52753
|
-
local isLuaDebugEnabled =
|
|
52689
|
+
local ____debugFunctions = require("src.functions.debugFunctions")
|
|
52690
|
+
local getTraceback = ____debugFunctions.getTraceback
|
|
52691
|
+
local isLuaDebugEnabled = ____debugFunctions.isLuaDebugEnabled
|
|
52754
52692
|
function errorWithTraceback(message, level)
|
|
52755
52693
|
if vanillaError == nil then
|
|
52756
52694
|
error(message, level)
|
|
@@ -53489,8 +53427,8 @@ local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
|
53489
53427
|
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
|
|
53490
53428
|
local ____exports = {}
|
|
53491
53429
|
local isRacingPlusSandboxEnabled
|
|
53492
|
-
local
|
|
53493
|
-
local isLuaDebugEnabled =
|
|
53430
|
+
local ____debugFunctions = require("src.functions.debugFunctions")
|
|
53431
|
+
local isLuaDebugEnabled = ____debugFunctions.isLuaDebugEnabled
|
|
53494
53432
|
local ____log = require("src.functions.log")
|
|
53495
53433
|
local log = ____log.log
|
|
53496
53434
|
local ____set = require("src.functions.set")
|
|
@@ -55826,7 +55764,7 @@ do
|
|
|
55826
55764
|
end
|
|
55827
55765
|
end
|
|
55828
55766
|
do
|
|
55829
|
-
local ____export = require("src.functions.
|
|
55767
|
+
local ____export = require("src.functions.debugFunctions")
|
|
55830
55768
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
55831
55769
|
if ____exportKey ~= "default" then
|
|
55832
55770
|
____exports[____exportKey] = ____exportValue
|
|
@@ -17,12 +17,6 @@ import { ModUpgraded } from "../classes/ModUpgraded";
|
|
|
17
17
|
* can immediately start playing or testing.
|
|
18
18
|
*/
|
|
19
19
|
export declare function enableDevFeatures(mod: ModUpgraded): void;
|
|
20
|
-
/**
|
|
21
|
-
* Helper function to get the current version of the `isaacscript-common` library, according to the
|
|
22
|
-
* "package.json" file at the time of compilation. (The version is in the Semantic Versioning
|
|
23
|
-
* format, e.g. "1.0.0".)
|
|
24
|
-
*/
|
|
25
|
-
export declare function getIsaacScriptCommonVersion(): string;
|
|
26
20
|
/**
|
|
27
21
|
* Helper function to get a stack trace.
|
|
28
22
|
*
|
|
@@ -60,4 +54,4 @@ export declare function setLogFunctionsGlobal(): void;
|
|
|
60
54
|
* enabled.
|
|
61
55
|
*/
|
|
62
56
|
export declare function traceback(): void;
|
|
63
|
-
//# sourceMappingURL=
|
|
57
|
+
//# sourceMappingURL=debugFunctions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debugFunctions.d.ts","sourceRoot":"","sources":["../../../src/functions/debugFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AASrD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAMxD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAYrC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAI3C;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAU5C;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAGhC"}
|
|
@@ -2,8 +2,6 @@ local ____lualib = require("lualib_bundle")
|
|
|
2
2
|
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
3
3
|
local ____exports = {}
|
|
4
4
|
local setDebugFunctionsGlobal
|
|
5
|
-
local ____package_2Ejson = require("package")
|
|
6
|
-
local version = ____package_2Ejson.version
|
|
7
5
|
local ____exports = require("src.features.extraConsoleCommands.exports")
|
|
8
6
|
local enableExtraConsoleCommands = ____exports.enableExtraConsoleCommands
|
|
9
7
|
local ____fadeInRemover = require("src.features.fadeInRemover")
|
|
@@ -84,12 +82,6 @@ function ____exports.enableDevFeatures(self, mod)
|
|
|
84
82
|
enableFastReset(nil)
|
|
85
83
|
removeFadeIn(nil)
|
|
86
84
|
end
|
|
87
|
-
--- Helper function to get the current version of the `isaacscript-common` library, according to the
|
|
88
|
-
-- "package.json" file at the time of compilation. (The version is in the Semantic Versioning
|
|
89
|
-
-- format, e.g. "1.0.0".)
|
|
90
|
-
function ____exports.getIsaacScriptCommonVersion(self)
|
|
91
|
-
return version
|
|
92
|
-
end
|
|
93
85
|
--- Players can boot the game with an launch option called "--luadebug", which will enable additional
|
|
94
86
|
-- functionality that is considered to be unsafe. For more information about this flag, see the
|
|
95
87
|
-- wiki: https://bindingofisaacrebirth.fandom.com/wiki/Launch_Options
|
|
@@ -5,8 +5,8 @@ local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
|
5
5
|
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
|
|
6
6
|
local ____exports = {}
|
|
7
7
|
local isRacingPlusSandboxEnabled
|
|
8
|
-
local
|
|
9
|
-
local isLuaDebugEnabled =
|
|
8
|
+
local ____debugFunctions = require("src.functions.debugFunctions")
|
|
9
|
+
local isLuaDebugEnabled = ____debugFunctions.isLuaDebugEnabled
|
|
10
10
|
local ____log = require("src.functions.log")
|
|
11
11
|
local log = ____log.log
|
|
12
12
|
local ____set = require("src.functions.set")
|
package/dist/src/index.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export * from "./functions/collectibleSet";
|
|
|
65
65
|
export * from "./functions/collectibleTag";
|
|
66
66
|
export * from "./functions/color";
|
|
67
67
|
export * from "./functions/curses";
|
|
68
|
-
export * from "./functions/
|
|
68
|
+
export * from "./functions/debugFunctions";
|
|
69
69
|
export * from "./functions/deepCopy";
|
|
70
70
|
export * from "./functions/deepCopyTests";
|
|
71
71
|
export * from "./functions/dimensions";
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;A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C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC"}
|
package/dist/src/index.lua
CHANGED
|
@@ -536,7 +536,7 @@ do
|
|
|
536
536
|
end
|
|
537
537
|
end
|
|
538
538
|
do
|
|
539
|
-
local ____export = require("src.functions.
|
|
539
|
+
local ____export = require("src.functions.debugFunctions")
|
|
540
540
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
541
541
|
if ____exportKey ~= "default" then
|
|
542
542
|
____exports[____exportKey] = ____exportValue
|
|
@@ -4,9 +4,9 @@ local __TS__StringIncludes = ____lualib.__TS__StringIncludes
|
|
|
4
4
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
5
5
|
local ____exports = {}
|
|
6
6
|
local errorWithTraceback, slimTracebackOutput, removeLinesContaining, LINE_SEPARATOR, USELESS_TRACEBACK_MESSAGES, vanillaError
|
|
7
|
-
local
|
|
8
|
-
local getTraceback =
|
|
9
|
-
local isLuaDebugEnabled =
|
|
7
|
+
local ____debugFunctions = require("src.functions.debugFunctions")
|
|
8
|
+
local getTraceback = ____debugFunctions.getTraceback
|
|
9
|
+
local isLuaDebugEnabled = ____debugFunctions.isLuaDebugEnabled
|
|
10
10
|
function errorWithTraceback(message, level)
|
|
11
11
|
if vanillaError == nil then
|
|
12
12
|
error(message, level)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "12.3.
|
|
3
|
+
"version": "12.3.5",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"main": "dist/src/index",
|
|
23
23
|
"types": "dist/src/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"isaac-typescript-definitions": "^7.2.
|
|
25
|
+
"isaac-typescript-definitions": "^7.2.5"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { version } from "../../package.json";
|
|
2
1
|
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
2
|
import { enableExtraConsoleCommands } from "../features/extraConsoleCommands/exports";
|
|
4
3
|
import { removeFadeIn } from "../features/fadeInRemover";
|
|
@@ -33,15 +32,6 @@ export function enableDevFeatures(mod: ModUpgraded): void {
|
|
|
33
32
|
removeFadeIn();
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
/**
|
|
37
|
-
* Helper function to get the current version of the `isaacscript-common` library, according to the
|
|
38
|
-
* "package.json" file at the time of compilation. (The version is in the Semantic Versioning
|
|
39
|
-
* format, e.g. "1.0.0".)
|
|
40
|
-
*/
|
|
41
|
-
export function getIsaacScriptCommonVersion(): string {
|
|
42
|
-
return version;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
35
|
/**
|
|
46
36
|
* Helper function to get a stack trace.
|
|
47
37
|
*
|
package/src/functions/globals.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -65,7 +65,7 @@ export * from "./functions/collectibleSet";
|
|
|
65
65
|
export * from "./functions/collectibleTag";
|
|
66
66
|
export * from "./functions/color";
|
|
67
67
|
export * from "./functions/curses";
|
|
68
|
-
export * from "./functions/
|
|
68
|
+
export * from "./functions/debugFunctions";
|
|
69
69
|
export * from "./functions/deepCopy";
|
|
70
70
|
export * from "./functions/deepCopyTests";
|
|
71
71
|
export * from "./functions/dimensions";
|
package/dist/package.lua
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
return {
|
|
2
|
-
name = "isaacscript-common",
|
|
3
|
-
version = "12.3.3",
|
|
4
|
-
description = "Helper functions and features for IsaacScript mods.",
|
|
5
|
-
keywords = {"isaac", "rebirth", "afterbirth", "repentance"},
|
|
6
|
-
homepage = "https://isaacscript.github.io/",
|
|
7
|
-
bugs = {url = "https://github.com/IsaacScript/isaacscript/issues"},
|
|
8
|
-
repository = {type = "git", url = "git+https://github.com/IsaacScript/isaacscript.git"},
|
|
9
|
-
license = "GPL-3.0",
|
|
10
|
-
author = "Zamiell",
|
|
11
|
-
type = "commonjs",
|
|
12
|
-
main = "dist/src/index",
|
|
13
|
-
types = "dist/src/index.d.ts",
|
|
14
|
-
dependencies = {["isaac-typescript-definitions"] = "^7.2.4"}
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../src/functions/debug.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AASrD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAMxD;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,CAEpD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAYrC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAI3C;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAU5C;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAGhC"}
|