@akashic/headless-driver 2.13.1 → 2.13.3
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.
|
@@ -163,7 +163,7 @@ class RunnerV1 extends Runner_1.Runner {
|
|
|
163
163
|
this.driver = null;
|
|
164
164
|
}
|
|
165
165
|
const player = {
|
|
166
|
-
id: this.player ? this.player.id : undefined,
|
|
166
|
+
id: this.player ? this.player.id : undefined, // TODO: g.Player#id を string | undefined に修正するまでの暫定措置
|
|
167
167
|
name: this.player ? this.player.name : undefined
|
|
168
168
|
};
|
|
169
169
|
const executionMode = this.executionMode === "active" ? engine_files_v1_1.gameDriver.ExecutionMode.Active : engine_files_v1_1.gameDriver.ExecutionMode.Passive;
|
|
@@ -163,7 +163,7 @@ class RunnerV2 extends Runner_1.Runner {
|
|
|
163
163
|
this.driver = null;
|
|
164
164
|
}
|
|
165
165
|
const player = {
|
|
166
|
-
id: this.player ? this.player.id : undefined,
|
|
166
|
+
id: this.player ? this.player.id : undefined, // TODO: g.Player#id を string | undefined に修正するまでの暫定措置
|
|
167
167
|
name: this.player ? this.player.name : undefined
|
|
168
168
|
};
|
|
169
169
|
const executionMode = this.executionMode === "active" ? engine_files_v2_1.gameDriver.ExecutionMode.Active : engine_files_v2_1.gameDriver.ExecutionMode.Passive;
|
|
@@ -179,7 +179,7 @@ class RunnerV3 extends Runner_1.Runner {
|
|
|
179
179
|
this.driver = null;
|
|
180
180
|
}
|
|
181
181
|
const player = {
|
|
182
|
-
id: this.player ? this.player.id : undefined,
|
|
182
|
+
id: this.player ? this.player.id : undefined, // TODO: g.Player#id を string | undefined に修正するまでの暫定措置
|
|
183
183
|
name: this.player ? this.player.name : undefined
|
|
184
184
|
};
|
|
185
185
|
const executionMode = this.executionMode === "active" ? engineFiles_1.gameDriver.ExecutionMode.Active : engineFiles_1.gameDriver.ExecutionMode.Passive;
|
package/lib/utils.js
CHANGED
|
@@ -82,7 +82,7 @@ var LoadFileInternal;
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
LoadFileInternal.loadImpl = loadImpl;
|
|
85
|
-
})(LoadFileInternal
|
|
85
|
+
})(LoadFileInternal || (exports.LoadFileInternal = LoadFileInternal = {}));
|
|
86
86
|
function isHttpProtocol(url) {
|
|
87
87
|
return /^(http|https)\:\/\//.test(url);
|
|
88
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akashic/headless-driver",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.3",
|
|
4
4
|
"description": "A library to execute contents using Akashic Engine headlessly",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "DWANGO Co., Ltd.",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"@akashic/trigger": "^2.0.0",
|
|
30
30
|
"engine-files-v1": "npm:@akashic/engine-files@1.4.0",
|
|
31
31
|
"engine-files-v2": "npm:@akashic/engine-files@2.4.0",
|
|
32
|
-
"engine-files-v3": "npm:@akashic/engine-files@3.7.
|
|
32
|
+
"engine-files-v3": "npm:@akashic/engine-files@3.7.13",
|
|
33
33
|
"js-sha256": "^0.10.0",
|
|
34
34
|
"lodash.clonedeep": "^4.5.0",
|
|
35
35
|
"node-fetch": "^2.6.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@akashic/eslint-config": "^
|
|
38
|
+
"@akashic/eslint-config": "^2.0.0",
|
|
39
39
|
"@akashic/remark-preset-lint": "^0.1.2",
|
|
40
40
|
"@types/jest": "^29.1.1",
|
|
41
41
|
"@types/lodash.clonedeep": "^4.5.7",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"@types/node-fetch": "^2.6.2",
|
|
44
44
|
"@types/pixelmatch": "^5.2.4",
|
|
45
45
|
"@types/pngjs": "^6.0.1",
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
47
47
|
"canvas": "^2.10.1",
|
|
48
|
-
"eslint": "^8.
|
|
49
|
-
"eslint-config-prettier": "^
|
|
50
|
-
"eslint-plugin-import": "^2.
|
|
51
|
-
"eslint-plugin-jest": "^27.
|
|
48
|
+
"eslint": "^8.54.0",
|
|
49
|
+
"eslint-config-prettier": "^9.0.0",
|
|
50
|
+
"eslint-plugin-import": "^2.29.0",
|
|
51
|
+
"eslint-plugin-jest": "^27.6.0",
|
|
52
52
|
"get-port": "^5.1.1",
|
|
53
53
|
"image-size": "^1.0.2",
|
|
54
54
|
"jest": "^29.1.2",
|