@wwawing/page-generator 3.6.0 → 3.6.4

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018-2021 WWA Wing
3
+ Copyright (c) 2018-2022 WWA Wing
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/lib/index.js CHANGED
@@ -43,9 +43,9 @@ function generateTemplateValues(_a) {
43
43
  "data-wwa-item-effect-enable": Helper.toStringBooleanOptional((_d = wwa.gameOption) === null || _d === void 0 ? void 0 : _d.isItemEffectEnabled),
44
44
  "data-wwa-use-go-to-wwa": Helper.toStringBooleanOptional((_e = wwa.gameOption) === null || _e === void 0 ? void 0 : _e.useGoToWWA),
45
45
  "data-wwa-looking-around": Helper.toStringBooleanOptional((_f = wwa.gameOption) === null || _f === void 0 ? void 0 : _f.useLookingAround),
46
- "data-wwa-autosave": "" + ((_j = (_h = (_g = wwa.gameOption) === null || _g === void 0 ? void 0 : _g.autoSave) === null || _h === void 0 ? void 0 : _h.intervalSteps) !== null && _j !== void 0 ? _j : "0"),
46
+ "data-wwa-autosave": "".concat((_j = (_h = (_g = wwa.gameOption) === null || _g === void 0 ? void 0 : _g.autoSave) === null || _h === void 0 ? void 0 : _h.intervalSteps) !== null && _j !== void 0 ? _j : "0"),
47
47
  "data-wwa-resume-savedata": wwa.resumeSaveData,
48
- "data-wwa-var-dump-elm": ((_l = (_k = wwa.gameOption) === null || _k === void 0 ? void 0 : _k.varDump) === null || _l === void 0 ? void 0 : _l.elementId) ? "#" + wwa.gameOption.varDump.elementId : undefined
48
+ "data-wwa-var-dump-elm": ((_l = (_k = wwa.gameOption) === null || _k === void 0 ? void 0 : _k.varDump) === null || _l === void 0 ? void 0 : _l.elementId) ? "#".concat(wwa.gameOption.varDump.elementId) : undefined
49
49
  }
50
50
  },
51
51
  varDumpElement: ((_o = (_m = wwa.gameOption) === null || _m === void 0 ? void 0 : _m.varDump) === null || _o === void 0 ? void 0 : _o.elementId) ? { id: wwa.gameOption.varDump.elementId } : undefined,
package/module/index.js CHANGED
@@ -21,9 +21,9 @@ function generateTemplateValues(_a) {
21
21
  "data-wwa-item-effect-enable": Helper.toStringBooleanOptional((_d = wwa.gameOption) === null || _d === void 0 ? void 0 : _d.isItemEffectEnabled),
22
22
  "data-wwa-use-go-to-wwa": Helper.toStringBooleanOptional((_e = wwa.gameOption) === null || _e === void 0 ? void 0 : _e.useGoToWWA),
23
23
  "data-wwa-looking-around": Helper.toStringBooleanOptional((_f = wwa.gameOption) === null || _f === void 0 ? void 0 : _f.useLookingAround),
24
- "data-wwa-autosave": "" + ((_j = (_h = (_g = wwa.gameOption) === null || _g === void 0 ? void 0 : _g.autoSave) === null || _h === void 0 ? void 0 : _h.intervalSteps) !== null && _j !== void 0 ? _j : "0"),
24
+ "data-wwa-autosave": "".concat((_j = (_h = (_g = wwa.gameOption) === null || _g === void 0 ? void 0 : _g.autoSave) === null || _h === void 0 ? void 0 : _h.intervalSteps) !== null && _j !== void 0 ? _j : "0"),
25
25
  "data-wwa-resume-savedata": wwa.resumeSaveData,
26
- "data-wwa-var-dump-elm": ((_l = (_k = wwa.gameOption) === null || _k === void 0 ? void 0 : _k.varDump) === null || _l === void 0 ? void 0 : _l.elementId) ? "#" + wwa.gameOption.varDump.elementId : undefined
26
+ "data-wwa-var-dump-elm": ((_l = (_k = wwa.gameOption) === null || _k === void 0 ? void 0 : _k.varDump) === null || _l === void 0 ? void 0 : _l.elementId) ? "#".concat(wwa.gameOption.varDump.elementId) : undefined
27
27
  }
28
28
  },
29
29
  varDumpElement: ((_o = (_m = wwa.gameOption) === null || _m === void 0 ? void 0 : _m.varDump) === null || _o === void 0 ? void 0 : _o.elementId) ? { id: wwa.gameOption.varDump.elementId } : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/page-generator",
3
- "version": "3.6.0",
3
+ "version": "3.6.4",
4
4
  "description": "a HTML file generator for WWA Wing",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "pug-cli": "^1.0.0-alpha6",
34
34
  "shelljs": "^0.8.4",
35
35
  "shx": "^0.3.3",
36
- "typescript": "^4.2.4"
36
+ "typescript": "^4.5.4"
37
37
  },
38
38
  "dependencies": {
39
39
  "pug": "^3.0.2"
@@ -45,5 +45,5 @@
45
45
  "node": ">=14",
46
46
  "npm": ">=6"
47
47
  },
48
- "gitHead": "d172dfc6834874104894c005931f8765e4364ab3"
48
+ "gitHead": "de3500ba32b4355fa4e3e0857246545ed6efd9d6"
49
49
  }