hackmud-script-manager 0.20.3-7e5fcbd → 0.20.3

Sign up to get free protection for your applications and to get access to all the features.
package/bin/hsm.js CHANGED
@@ -12,7 +12,7 @@ import { pull } from "../pull.js"
12
12
  import { syncMacros } from "../syncMacros.js"
13
13
  import "@samual/lib/readDirectoryWithStats"
14
14
  import "@samual/lib/copyFilePersistent"
15
- const version = "0.20.3-7e5fcbd",
15
+ const version = "0.20.3",
16
16
  options = new Map(),
17
17
  commands = [],
18
18
  userColours = new Cache(user => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hackmud-script-manager",
3
- "version": "0.20.3-7e5fcbd",
3
+ "version": "0.20.3",
4
4
  "description": "Script manager for game hackmud, with minification, TypeScript support, and player script type definition generation.",
5
5
  "keywords": [
6
6
  "api",
@@ -409,7 +409,7 @@ function parseArrayExpression(node, o) {
409
409
  if (!element) return !1
410
410
  if ("ArrayExpression" == element.type) {
411
411
  const childArray = []
412
- if (!element.elements.length && parseArrayExpression(element, childArray)) return !1
412
+ if (element.elements.length && !parseArrayExpression(element, childArray)) return !1
413
413
  o.push(childArray)
414
414
  } else if ("ObjectExpression" == element.type) {
415
415
  const childObject = {}