isaacscript-common 17.7.1 → 17.7.2

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,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 17.7.1
3
+ isaacscript-common 17.7.2
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -12273,8 +12273,8 @@ ____exports.ModCallback.POST_ENTITY_KILL = 68
12273
12273
  ____exports.ModCallback[____exports.ModCallback.POST_ENTITY_KILL] = "POST_ENTITY_KILL"
12274
12274
  ____exports.ModCallback.PRE_NPC_UPDATE = 69
12275
12275
  ____exports.ModCallback[____exports.ModCallback.PRE_NPC_UPDATE] = "PRE_NPC_UPDATE"
12276
- ____exports.ModCallback.PRE_SPAWN_CLEAN_AWARD = 70
12277
- ____exports.ModCallback[____exports.ModCallback.PRE_SPAWN_CLEAN_AWARD] = "PRE_SPAWN_CLEAN_AWARD"
12276
+ ____exports.ModCallback.PRE_SPAWN_CLEAR_AWARD = 70
12277
+ ____exports.ModCallback[____exports.ModCallback.PRE_SPAWN_CLEAR_AWARD] = "PRE_SPAWN_CLEAR_AWARD"
12278
12278
  ____exports.ModCallback.PRE_ROOM_ENTITY_SPAWN = 71
12279
12279
  ____exports.ModCallback[____exports.ModCallback.PRE_ROOM_ENTITY_SPAWN] = "PRE_ROOM_ENTITY_SPAWN"
12280
12280
  ____exports.ModCallback.PRE_ENTITY_DEVOLVE = 72
@@ -49955,13 +49955,11 @@ local DEFAULT_GLOBALS = __TS__New(Set, {
49955
49955
  "assert",
49956
49956
  "collectgarbage",
49957
49957
  "coroutine",
49958
- "dofile",
49959
49958
  "error",
49960
49959
  "getmetatable",
49961
49960
  "include",
49962
49961
  "ipairs",
49963
49962
  "load",
49964
- "loadfile",
49965
49963
  "math",
49966
49964
  "next",
49967
49965
  "pairs",
@@ -49982,7 +49980,14 @@ local DEFAULT_GLOBALS = __TS__New(Set, {
49982
49980
  "utf8",
49983
49981
  "xpcall"
49984
49982
  })
49985
- local LUA_DEBUG_ADDED_GLOBALS = __TS__New(Set, {"debug", "io", "os", "package"})
49983
+ local LUA_DEBUG_ADDED_GLOBALS = __TS__New(Set, {
49984
+ "debug",
49985
+ "dofile",
49986
+ "loadfile",
49987
+ "io",
49988
+ "os",
49989
+ "package"
49990
+ })
49986
49991
  local RACING_PLUS_SANDBOX_ADDED_GLOBALS = __TS__New(Set, {"sandboxTraceback", "sandboxGetTraceback", "getParentFunctionDescription"})
49987
49992
  function ____exports.getDefaultGlobals(self)
49988
49993
  local defaultGlobals = copySet(nil, DEFAULT_GLOBALS)
@@ -1 +1 @@
1
- {"version":3,"file":"PressInput.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PressInput.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,UAAW,SAAQ,OAAO;IAsBrC,OAAO,CAAC,iBAAiB,CA8BvB;IAEF;;;;;;OAMG;IAEI,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;CAI1E"}
1
+ {"version":3,"file":"PressInput.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PressInput.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,UAAW,SAAQ,OAAO;IAsBrC,OAAO,CAAC,iBAAiB,CA+BvB;IAEF;;;;;;OAMG;IAEI,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;CAI1E"}
@@ -162,13 +162,11 @@ local DEFAULT_GLOBALS = __TS__New(Set, {
162
162
  "assert",
163
163
  "collectgarbage",
164
164
  "coroutine",
165
- "dofile",
166
165
  "error",
167
166
  "getmetatable",
168
167
  "include",
169
168
  "ipairs",
170
169
  "load",
171
- "loadfile",
172
170
  "math",
173
171
  "next",
174
172
  "pairs",
@@ -189,7 +187,14 @@ local DEFAULT_GLOBALS = __TS__New(Set, {
189
187
  "utf8",
190
188
  "xpcall"
191
189
  })
192
- local LUA_DEBUG_ADDED_GLOBALS = __TS__New(Set, {"debug", "io", "os", "package"})
190
+ local LUA_DEBUG_ADDED_GLOBALS = __TS__New(Set, {
191
+ "debug",
192
+ "dofile",
193
+ "loadfile",
194
+ "io",
195
+ "os",
196
+ "package"
197
+ })
193
198
  local RACING_PLUS_SANDBOX_ADDED_GLOBALS = __TS__New(Set, {"sandboxTraceback", "sandboxGetTraceback", "getParentFunctionDescription"})
194
199
  --- Helper function to get a set containing all of the global variable names that are contained
195
200
  -- within the Isaac environment by default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "17.7.1",
3
+ "version": "17.7.2",
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": "^10.0.4"
25
+ "isaac-typescript-definitions": "^10.0.6"
26
26
  }
27
27
  }
@@ -47,7 +47,8 @@ export class PressInput extends Feature {
47
47
  const playerIndex = getPlayerIndex(player);
48
48
 
49
49
  for (let i = this.v.run.buttonActionTuples.length - 1; i >= 0; i--) {
50
- const tuple = this.v.run.buttonActionTuples[i]!; // eslint-disable-line @typescript-eslint/no-non-null-assertion
50
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
51
+ const tuple = this.v.run.buttonActionTuples[i]!;
51
52
  const [tuplePlayerIndex, tupleButtonAction] = tuple;
52
53
 
53
54
  if (
@@ -145,13 +145,11 @@ const DEFAULT_GLOBALS: ReadonlySet<string> = new Set([
145
145
  "assert",
146
146
  "collectgarbage",
147
147
  "coroutine",
148
- "dofile",
149
148
  "error",
150
149
  "getmetatable",
151
150
  "include",
152
151
  "ipairs",
153
152
  "load",
154
- "loadfile",
155
153
  "math",
156
154
  "next",
157
155
  "pairs",
@@ -175,6 +173,8 @@ const DEFAULT_GLOBALS: ReadonlySet<string> = new Set([
175
173
 
176
174
  const LUA_DEBUG_ADDED_GLOBALS: ReadonlySet<string> = new Set([
177
175
  "debug",
176
+ "dofile",
177
+ "loadfile",
178
178
  "io",
179
179
  "os",
180
180
  "package",