arcadible 1.0.30 → 1.0.31
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/command/serve.js +5 -0
- package/dist/phrase/function.js +7 -0
- package/dist/phrase/serve.js +6 -0
- package/dist/runner/bundle.js +43 -2
- package/dist/runner/entry.js +37 -9
- package/dist/serve/page.js +94 -17
- package/npm-shrinkwrap.json +95 -81
- package/package.json +3 -3
package/dist/command/serve.js
CHANGED
|
@@ -148,6 +148,11 @@ export default defineCommand({
|
|
|
148
148
|
[phrase.playLabel(), `${served.page}/`],
|
|
149
149
|
[phrase.serveAlone(), served.game],
|
|
150
150
|
...(served.runner ? [[phrase.runnerLabel(), served.runner.url]] : []),
|
|
151
|
+
// a game with a function or servers of its own can be played by
|
|
152
|
+
// more than one player: a window each, named by its address
|
|
153
|
+
...(served.runner || served.forServer
|
|
154
|
+
? [[phrase.servePlayer(), `${served.page}/?player=Kim`]]
|
|
155
|
+
: []),
|
|
151
156
|
...(served.forServer
|
|
152
157
|
? [[phrase.serveServer(), `ARCADIBLE_SERVE=${served.page}`]]
|
|
153
158
|
: []),
|
package/dist/phrase/function.js
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
// [import]
|
|
4
4
|
import { blocks } from "./internal.js";
|
|
5
5
|
// [function]
|
|
6
|
+
// a function that imports a package that isn't the Function SDK: the
|
|
7
|
+
// Server SDK, for a server of one's own, or the SDK, for a game. A fact, as
|
|
8
|
+
// a warning is: the build goes on.
|
|
9
|
+
export function functionImportWrong({ for: meant, name, }) {
|
|
10
|
+
return blocks(`Your function imports ${name}, which is for ${meant === "game" ? "a game" : "a server of your own"}.`, "A function uses @arcadible/function-sdk.");
|
|
11
|
+
}
|
|
12
|
+
// [function]
|
|
6
13
|
export function secretRemoveQuestion({ channel, name, }) {
|
|
7
14
|
return `Remove ${name} from ${channel}? Your function reads nothing for it within a minute.`;
|
|
8
15
|
}
|
package/dist/phrase/serve.js
CHANGED
|
@@ -43,6 +43,12 @@ export function serveServer() {
|
|
|
43
43
|
return "For your server:";
|
|
44
44
|
}
|
|
45
45
|
// [function]
|
|
46
|
+
// the label before the play page's address for a second local player: each
|
|
47
|
+
// window opened with `?player=<name>` plays as a player of its own.
|
|
48
|
+
export function servePlayer() {
|
|
49
|
+
return "As another player:";
|
|
50
|
+
}
|
|
51
|
+
// [function]
|
|
46
52
|
export function playerInvalid() {
|
|
47
53
|
return "`--player` must be a name, up to 200 characters.";
|
|
48
54
|
}
|
package/dist/runner/bundle.js
CHANGED
|
@@ -19,27 +19,68 @@ import { ArcError } from "../util/error.js";
|
|
|
19
19
|
// origin keeps for Arcadible's own files, which is never served.
|
|
20
20
|
export const BUILT = join(".arc", "runner", "function.js");
|
|
21
21
|
export const PACKED = "arcadible/function.js";
|
|
22
|
+
// the package a function uses with Arcadible, and the two it mustn't, each
|
|
23
|
+
// with what it's for: the Server SDK asks for a key a function never has,
|
|
24
|
+
// and the SDK starts a game's client.
|
|
25
|
+
export const FUNCTION_SDK = "@arcadible/function-sdk";
|
|
26
|
+
export const WRONG = {
|
|
27
|
+
"@arcadible/sdk": "game",
|
|
28
|
+
"@arcadible/server-sdk": "server",
|
|
29
|
+
};
|
|
22
30
|
// [function]
|
|
23
31
|
// bundles the runner whose code is at `main`, a full path, into `outfile`;
|
|
24
32
|
// code that isn't there, or doesn't build, fails as a build does.
|
|
25
|
-
|
|
33
|
+
//
|
|
34
|
+
// `onPackages`, when given, hears the `@arcadible/` packages the bundle took
|
|
35
|
+
// in, by name, each once, so a build can say when a function imports one
|
|
36
|
+
// that isn't the Function SDK (`misimported`). Nothing passes it yet: what it
|
|
37
|
+
// finds is a warning, a warning has a code, and a code has an entry on the
|
|
38
|
+
// public Errors page, which says nothing of functions until they ship
|
|
39
|
+
// (TODO.md, Agreed next).
|
|
40
|
+
export async function bundle({ main, onPackages, outfile, }) {
|
|
26
41
|
if (!(await pathExists(main))) {
|
|
27
42
|
throw new ArcError(BUILD_FAILED, phrase.runnerMissing(main));
|
|
28
43
|
}
|
|
44
|
+
let inputs;
|
|
29
45
|
try {
|
|
30
|
-
await build({
|
|
46
|
+
const result = await build({
|
|
31
47
|
bundle: true,
|
|
32
48
|
conditions: ["workerd", "worker", "browser"],
|
|
33
49
|
format: "esm",
|
|
34
50
|
logLevel: "silent",
|
|
51
|
+
metafile: Boolean(onPackages),
|
|
35
52
|
outfile,
|
|
36
53
|
platform: "neutral",
|
|
37
54
|
entryPoints: [main],
|
|
38
55
|
target: "es2022",
|
|
39
56
|
});
|
|
57
|
+
inputs = Object.keys(result.metafile?.inputs ?? {});
|
|
40
58
|
}
|
|
41
59
|
catch (ex) {
|
|
42
60
|
throw new ArcError(BUILD_FAILED, phrase.runnerBuildFailed(ex instanceof Error ? ex.message : String(ex)), { cause: ex });
|
|
43
61
|
}
|
|
62
|
+
onPackages?.(packagesOf(inputs));
|
|
44
63
|
return outfile;
|
|
45
64
|
}
|
|
65
|
+
// [function]
|
|
66
|
+
// the `@arcadible/` packages a bundle's inputs come from, by name, each
|
|
67
|
+
// once, in the order first met: an input under `node_modules/@arcadible/<name>/`.
|
|
68
|
+
export function packagesOf(inputs) {
|
|
69
|
+
const names = new Set();
|
|
70
|
+
for (const input of inputs) {
|
|
71
|
+
const found = /(?:^|\/)node_modules\/(@arcadible\/[^/]+)\//u.exec(input.split("\\").join("/"));
|
|
72
|
+
if (found?.[1])
|
|
73
|
+
names.add(found[1]);
|
|
74
|
+
}
|
|
75
|
+
return [...names];
|
|
76
|
+
}
|
|
77
|
+
// [function]
|
|
78
|
+
// of the packages a function took in, those it mustn't use, each with what
|
|
79
|
+
// it's for: a game's (`@arcadible/sdk`) or a server of one's own
|
|
80
|
+
// (`@arcadible/server-sdk`).
|
|
81
|
+
export function misimported(names) {
|
|
82
|
+
return names.flatMap((name) => {
|
|
83
|
+
const meant = WRONG[name];
|
|
84
|
+
return meant ? [{ for: meant, name }] : [];
|
|
85
|
+
});
|
|
86
|
+
}
|
package/dist/runner/entry.js
CHANGED
|
@@ -12,26 +12,54 @@
|
|
|
12
12
|
export const ENTRY_MODULE = "entry.js";
|
|
13
13
|
export const FUNCTION_MODULE = "function.js";
|
|
14
14
|
// [declare]
|
|
15
|
-
// A
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
-
//
|
|
15
|
+
// A function's calls to Arcadible go through the transport the entry sets
|
|
16
|
+
// (plan/SERVER-SDK-SPLIT.md, 5), which the Function SDK reads: `fetch(path,
|
|
17
|
+
// init)` sends a request to the server API (`path` after /v1/server, `init`
|
|
18
|
+
// fetch's own), with the newest of the dispatcher's claims as its bearer
|
|
19
|
+
// (x-arcadible-claim, on each request), or under arc serve to its own API
|
|
20
|
+
// with none; it resolves with the answer, and never throws (Arcadible
|
|
21
|
+
// unreached is a 503). `version` is raised whenever the transport gains
|
|
22
|
+
// something, and never goes down: every Function SDK published reads it.
|
|
23
|
+
// Until online Reversi is released on the Function SDK, the entry also
|
|
24
|
+
// keeps the Server SDK's old way: its mark, and the claim and arc serve's
|
|
25
|
+
// address in a `process.env` of the entry's making. A function's secrets
|
|
26
|
+
// arrive as a header too (x-arcadible-secrets, opened by the dispatcher),
|
|
27
|
+
// and are added to what the code is given, `env`. Neither header reaches
|
|
28
|
+
// the developer's code.
|
|
21
29
|
export const ENTRY = `import handler from "./${FUNCTION_MODULE}";
|
|
22
30
|
const CLAIM = "x-arcadible-claim";
|
|
23
31
|
const SECRETS = "x-arcadible-secrets";
|
|
24
|
-
|
|
25
|
-
//
|
|
32
|
+
const API = "https://api.arcadible.com/v1/server";
|
|
33
|
+
// the newest claim, and arc serve's address under it
|
|
34
|
+
let claimed = null;
|
|
35
|
+
let serve = null;
|
|
36
|
+
globalThis[Symbol.for("arcadible.function.api")] = {
|
|
37
|
+
version: 1,
|
|
38
|
+
async fetch(path, init = {}) {
|
|
39
|
+
try {
|
|
40
|
+
const headers = new Headers(init.headers);
|
|
41
|
+
if (!serve && claimed) headers.set("authorization", "Bearer " + claimed);
|
|
42
|
+
const base = serve ? serve + "/_arcadible/v1/server" : API;
|
|
43
|
+
return await fetch(base + path, { ...init, headers });
|
|
44
|
+
} catch {
|
|
45
|
+
return new Response(null, { status: 503 });
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
// the old mark, which says the code is running as a function
|
|
26
50
|
globalThis[Symbol.for("arcadible.function")] = true;
|
|
27
51
|
export default {
|
|
28
52
|
async fetch(request, env, ctx) {
|
|
29
53
|
const process = (globalThis.process ??= {});
|
|
30
54
|
const set = (process.env ??= {});
|
|
31
|
-
if (env.ARCADIBLE_SERVE)
|
|
55
|
+
if (env.ARCADIBLE_SERVE) {
|
|
56
|
+
serve = env.ARCADIBLE_SERVE;
|
|
57
|
+
set.ARCADIBLE_SERVE = env.ARCADIBLE_SERVE;
|
|
58
|
+
}
|
|
32
59
|
const claim = request.headers.get(CLAIM);
|
|
33
60
|
const secrets = request.headers.get(SECRETS);
|
|
34
61
|
if (claim) {
|
|
62
|
+
claimed = claim;
|
|
35
63
|
set.ARCADIBLE_CLAIM = claim;
|
|
36
64
|
} else {
|
|
37
65
|
delete set.ARCADIBLE_CLAIM;
|
package/dist/serve/page.js
CHANGED
|
@@ -36,6 +36,13 @@ export const JWKS = "/.well-known/jwks.json";
|
|
|
36
36
|
export const LOGIN = "/_arcadible/api/login";
|
|
37
37
|
// who a guest logs in as, without `--player` to name one.
|
|
38
38
|
const LOGIN_NAME = "Player";
|
|
39
|
+
// where a window's own player asks for its tickets and values: a window
|
|
40
|
+
// opened as `/?player=<name>` plays as that local player (or, with no name,
|
|
41
|
+
// a guest), and its page asks under `/_arcadible/as/<id>` (or `.../guest`),
|
|
42
|
+
// since every window shares the page's cookies. One arc serve plays as any
|
|
43
|
+
// number of local players, each with its own id, saves, and values.
|
|
44
|
+
export const AS = "/_arcadible/as";
|
|
45
|
+
const GUEST = "guest";
|
|
39
46
|
// the server API, as a game's own server reaches Arcadible's with its key
|
|
40
47
|
// (/v1/server/...): here it needs none, since only this machine can ask.
|
|
41
48
|
const SERVER = "/_arcadible/v1/server";
|
|
@@ -162,7 +169,10 @@ export function policy(src) {
|
|
|
162
169
|
// with the play page's styles and loading screen; without a host that can,
|
|
163
170
|
// the page frames the game by itself, and the game stands alone, as off
|
|
164
171
|
// Arcadible.
|
|
165
|
-
export function html(game, pictures = { art: false, icon: false }) {
|
|
172
|
+
export function html(game, pictures = { art: false, icon: false }, opened) {
|
|
173
|
+
// a window named by its address asks under its own path, and offers no
|
|
174
|
+
// log-in: it plays as the player its address names.
|
|
175
|
+
const own = opened ? `${AS}/${opened.player ? opened.player.id : GUEST}` : "";
|
|
166
176
|
const config = {
|
|
167
177
|
allow: ALLOW,
|
|
168
178
|
// the loading screen's art, or the icon, blurred, with none, as the play
|
|
@@ -173,21 +183,21 @@ export function html(game, pictures = { art: false, icon: false }) {
|
|
|
173
183
|
game: game.id,
|
|
174
184
|
icon: pictures.icon ? ICON_PNG : null,
|
|
175
185
|
// where a guest logs in, when the game asks for a log-in
|
|
176
|
-
logIn: LOGIN,
|
|
186
|
+
...(opened ? {} : { logIn: LOGIN }),
|
|
177
187
|
// who the game runs for: a local player (`arc serve --player`), or null,
|
|
178
188
|
// a guest.
|
|
179
|
-
player: game.player ?? null,
|
|
189
|
+
player: opened ? opened.player : (game.player ?? null),
|
|
180
190
|
// where the game's runner is, when the project has one
|
|
181
191
|
runner: game.runner?.url ?? null,
|
|
182
192
|
sandbox: SANDBOX,
|
|
183
193
|
src: game.src,
|
|
184
194
|
// tickets for the game's own servers, from arc serve itself, as the
|
|
185
195
|
// play page asks its own server
|
|
186
|
-
tickets: TICKETS
|
|
196
|
+
tickets: `${own}${TICKETS}`,
|
|
187
197
|
title: game.title,
|
|
188
198
|
// the game's values, from arc serve itself, as the play page asks its
|
|
189
199
|
// own server
|
|
190
|
-
values: VALUES
|
|
200
|
+
values: `${own}${VALUES}`,
|
|
191
201
|
version: game.version,
|
|
192
202
|
};
|
|
193
203
|
return `<!doctype html>
|
|
@@ -261,9 +271,9 @@ function readJson(req, max = BODY_MAX) {
|
|
|
261
271
|
// a ticket for one of the game's servers, for the page (the game's host), or
|
|
262
272
|
// for a shell on this machine. Only JSON is taken: a page elsewhere can't
|
|
263
273
|
// send that across origins without asking first, and isn't answered. The
|
|
264
|
-
// player is the
|
|
265
|
-
//
|
|
266
|
-
async function sendTicket(req, res, {
|
|
274
|
+
// player is the window's (`playing`), or, from a shell, the one the request
|
|
275
|
+
// names.
|
|
276
|
+
async function sendTicket(req, res, { playerOf, playing, tickets, }) {
|
|
267
277
|
const type = ((req.headers["content-type"] ?? "").split(";")[0] ?? "").trim();
|
|
268
278
|
const data = type.toLowerCase() === "application/json" ? await readJson(req) : null;
|
|
269
279
|
if (data === null || typeof data !== "object") {
|
|
@@ -273,7 +283,7 @@ async function sendTicket(req, res, { game, playerOf, tickets, }) {
|
|
|
273
283
|
// a list names no server, and no player.
|
|
274
284
|
const asked = isTable(data) ? data : {};
|
|
275
285
|
const named = Object.hasOwn(asked, "player") && !req.headers.origin;
|
|
276
|
-
const player = named ? playerOf(asked["player"]) :
|
|
286
|
+
const player = named ? playerOf(asked["player"]) : playing;
|
|
277
287
|
if (player === false) {
|
|
278
288
|
res.writeHead(400, HEADERS).end();
|
|
279
289
|
return;
|
|
@@ -318,12 +328,12 @@ async function sendLogIn(req, res, { game, playerOf, tickets, }) {
|
|
|
318
328
|
// a game's values, for the page (the game's host), as the play site's route
|
|
319
329
|
// answers (arcadible-play's /api/games/<game>/values/<verb>, and the API
|
|
320
330
|
// behind it): the game's call, read, written, removed, or listed, for who
|
|
321
|
-
// the page runs the game for. A game reads the developer's and the game's,
|
|
331
|
+
// the page's window runs the game for. A game reads the developer's and the game's,
|
|
322
332
|
// and reads and writes its own player's: the server's scope, a write to any
|
|
323
333
|
// but a player's, a guest's call for a player's, or a player who isn't the
|
|
324
334
|
// one playing is 403. Only JSON is taken, as for a ticket, so a page
|
|
325
335
|
// elsewhere can't ask. A refusal is its status, with no body.
|
|
326
|
-
async function sendGameValues(req, res, verb, {
|
|
336
|
+
async function sendGameValues(req, res, verb, { player, values }) {
|
|
327
337
|
const refuse = function (status) {
|
|
328
338
|
res.writeHead(status, HEADERS).end();
|
|
329
339
|
};
|
|
@@ -341,7 +351,6 @@ async function sendGameValues(req, res, verb, { game, values }) {
|
|
|
341
351
|
return;
|
|
342
352
|
}
|
|
343
353
|
const write = verb === "write" || verb === "remove";
|
|
344
|
-
const player = game.player ?? null;
|
|
345
354
|
if (scope === "server" ||
|
|
346
355
|
(write && scope !== "player") ||
|
|
347
356
|
(scope === "player" && (!player || body["player"] !== player.id))) {
|
|
@@ -392,6 +401,44 @@ function sendData(req, res, status, data, count) {
|
|
|
392
401
|
endWith(req, res, JSON.stringify({ data, meta }));
|
|
393
402
|
}
|
|
394
403
|
// [function]
|
|
404
|
+
// the player a window's address names: `?player=<name>`, a local player
|
|
405
|
+
// made from the name and the game, as `--player` makes one; `?player=` with
|
|
406
|
+
// no name, a guest (null); without it, undefined, the page's own. False for
|
|
407
|
+
// a name that can't be one.
|
|
408
|
+
function playerAsked(req, playerOf) {
|
|
409
|
+
let query;
|
|
410
|
+
try {
|
|
411
|
+
query = new URL(req.url ?? "", "http://page").searchParams;
|
|
412
|
+
}
|
|
413
|
+
catch {
|
|
414
|
+
return undefined;
|
|
415
|
+
}
|
|
416
|
+
const name = query.get("player");
|
|
417
|
+
if (name === null)
|
|
418
|
+
return undefined;
|
|
419
|
+
if (name.trim() === "")
|
|
420
|
+
return null;
|
|
421
|
+
return playerOf(name) || false;
|
|
422
|
+
}
|
|
423
|
+
// [function]
|
|
424
|
+
// a window's own player and the rest of the path, from a path under
|
|
425
|
+
// `/_arcadible/as/<id>/`: undefined for any other path, and false for an id
|
|
426
|
+
// no window was opened as.
|
|
427
|
+
function windowOf(pathname, named) {
|
|
428
|
+
if (!pathname.startsWith(`${AS}/`))
|
|
429
|
+
return undefined;
|
|
430
|
+
const rest = pathname.slice(AS.length + 1);
|
|
431
|
+
const cut = rest.indexOf("/");
|
|
432
|
+
if (cut < 0)
|
|
433
|
+
return false;
|
|
434
|
+
const key = rest.slice(0, cut);
|
|
435
|
+
const path = rest.slice(cut);
|
|
436
|
+
if (key === GUEST)
|
|
437
|
+
return { path, player: null };
|
|
438
|
+
const player = named.get(key);
|
|
439
|
+
return player ? { path, player } : false;
|
|
440
|
+
}
|
|
441
|
+
// [function]
|
|
395
442
|
// a refusal in the API's own envelope: what it says of the status.
|
|
396
443
|
function sendRefusal(req, res, status) {
|
|
397
444
|
const [title, message] = REFUSALS[status] ?? ["", ""];
|
|
@@ -532,9 +579,19 @@ export function pageHandler({ art = () => Promise.resolve(null), faviconFile = F
|
|
|
532
579
|
return null;
|
|
533
580
|
});
|
|
534
581
|
};
|
|
582
|
+
// the players windows were opened as, by id, so a window's path names one
|
|
583
|
+
const named = new Map();
|
|
535
584
|
return function (req, res) {
|
|
536
585
|
// a target that can't be read as a URL (`//`) is no path of the page's.
|
|
537
|
-
const
|
|
586
|
+
const whole = pathOf(req) ?? "";
|
|
587
|
+
// a window's own player, from its path (undefined: the page's default)
|
|
588
|
+
const opened = windowOf(whole, named);
|
|
589
|
+
if (opened === false) {
|
|
590
|
+
res.writeHead(404, HEADERS).end();
|
|
591
|
+
return Promise.resolve();
|
|
592
|
+
}
|
|
593
|
+
const pathname = opened ? opened.path : whole;
|
|
594
|
+
const playing = opened ? opened.player : (game.player ?? null);
|
|
538
595
|
if (tickets && pathname.startsWith(`${SERVER}/`)) {
|
|
539
596
|
return sendServer(req, res, pathname.slice(SERVER.length), {
|
|
540
597
|
game,
|
|
@@ -552,9 +609,9 @@ export function pageHandler({ art = () => Promise.resolve(null), faviconFile = F
|
|
|
552
609
|
res.writeHead(405, { ...HEADERS, allow: "POST" }).end();
|
|
553
610
|
return Promise.resolve();
|
|
554
611
|
}
|
|
555
|
-
return sendGameValues(req, res, verb, {
|
|
612
|
+
return sendGameValues(req, res, verb, { player: playing, values });
|
|
556
613
|
}
|
|
557
|
-
if (pathname === LOGIN) {
|
|
614
|
+
if (pathname === LOGIN && !opened) {
|
|
558
615
|
if (req.method !== "POST") {
|
|
559
616
|
res.writeHead(405, { ...HEADERS, allow: "POST" }).end();
|
|
560
617
|
return Promise.resolve();
|
|
@@ -566,13 +623,33 @@ export function pageHandler({ art = () => Promise.resolve(null), faviconFile = F
|
|
|
566
623
|
res.writeHead(405, { ...HEADERS, allow: "POST" }).end();
|
|
567
624
|
return Promise.resolve();
|
|
568
625
|
}
|
|
569
|
-
return sendTicket(req, res, {
|
|
626
|
+
return sendTicket(req, res, { playerOf, playing, tickets });
|
|
627
|
+
}
|
|
628
|
+
if (opened) {
|
|
629
|
+
// only the page's own API is under a window's path
|
|
630
|
+
res.writeHead(404, HEADERS).end();
|
|
631
|
+
return Promise.resolve();
|
|
570
632
|
}
|
|
571
633
|
if (req.method !== "GET" && req.method !== "HEAD") {
|
|
572
634
|
res.writeHead(405, { ...HEADERS, allow: "GET, HEAD" }).end();
|
|
573
635
|
return Promise.resolve();
|
|
574
636
|
}
|
|
575
637
|
if (pathname === "/") {
|
|
638
|
+
// the window's player, when its address names one: `?player=<name>`,
|
|
639
|
+
// or `?player=` for a guest
|
|
640
|
+
const asked = playerAsked(req, playerOf);
|
|
641
|
+
if (asked === false) {
|
|
642
|
+
res.writeHead(400, {
|
|
643
|
+
...HEADERS,
|
|
644
|
+
"content-type": "text/plain; charset=utf-8",
|
|
645
|
+
});
|
|
646
|
+
res.end("?player= must be a name, up to 200 characters, or empty for a guest.\n");
|
|
647
|
+
return Promise.resolve();
|
|
648
|
+
}
|
|
649
|
+
if (asked) {
|
|
650
|
+
named.set(asked.id, asked);
|
|
651
|
+
tickets?.remember(asked);
|
|
652
|
+
}
|
|
576
653
|
// read for each request, so art added while serving shows on the next
|
|
577
654
|
// load.
|
|
578
655
|
return Promise.all([
|
|
@@ -584,7 +661,7 @@ export function pageHandler({ art = () => Promise.resolve(null), faviconFile = F
|
|
|
584
661
|
"content-security-policy": policy(game.src),
|
|
585
662
|
"content-type": "text/html; charset=utf-8",
|
|
586
663
|
});
|
|
587
|
-
endWith(req, res, html(game, { art: Boolean(splash), icon: Boolean(mark) }));
|
|
664
|
+
endWith(req, res, html(game, { art: Boolean(splash), icon: Boolean(mark) }, asked === undefined ? undefined : { player: asked }));
|
|
588
665
|
});
|
|
589
666
|
}
|
|
590
667
|
if (pathname === ICON) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@eslint/js": "10.0.1",
|
|
36
36
|
"@types/node": "25.9.9",
|
|
37
|
-
"eslint": "10.
|
|
37
|
+
"eslint": "10.15.0",
|
|
38
38
|
"typescript": "5.9.3",
|
|
39
|
-
"typescript-eslint": "8.
|
|
39
|
+
"typescript-eslint": "8.73.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=22"
|
|
43
43
|
},
|
|
44
44
|
"license": "Apache-2.0",
|
|
45
45
|
"name": "arcadible",
|
|
46
|
-
"version": "1.0.
|
|
46
|
+
"version": "1.0.31"
|
|
47
47
|
},
|
|
48
48
|
"node_modules/@asamuzakjp/css-color": {
|
|
49
49
|
"dependencies": {
|
|
@@ -654,16 +654,16 @@
|
|
|
654
654
|
"dependencies": {
|
|
655
655
|
"@eslint/object-schema": "^3.0.5",
|
|
656
656
|
"debug": "^4.3.1",
|
|
657
|
-
"minimatch": "^
|
|
657
|
+
"minimatch": "^11.0.5"
|
|
658
658
|
},
|
|
659
659
|
"dev": true,
|
|
660
660
|
"engines": {
|
|
661
661
|
"node": "^20.19.0 || ^22.13.0 || >=24"
|
|
662
662
|
},
|
|
663
|
-
"integrity": "sha512-
|
|
663
|
+
"integrity": "sha512-WrTH7nioI9QPY4NZGnsywmecswJdgeq4BCM76qok9VgjTO29ZgUzUvcuJLVPYVQM4uDbaPBU0M33R9DIxI8X3w==",
|
|
664
664
|
"license": "Apache-2.0",
|
|
665
|
-
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.
|
|
666
|
-
"version": "0.23.
|
|
665
|
+
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.6.tgz",
|
|
666
|
+
"version": "0.23.6"
|
|
667
667
|
},
|
|
668
668
|
"node_modules/@eslint/config-helpers": {
|
|
669
669
|
"dependencies": {
|
|
@@ -1150,6 +1150,13 @@
|
|
|
1150
1150
|
"resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz",
|
|
1151
1151
|
"version": "3.0.10"
|
|
1152
1152
|
},
|
|
1153
|
+
"node_modules/@isaacs/nonrecursive-glob-match": {
|
|
1154
|
+
"dev": true,
|
|
1155
|
+
"integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==",
|
|
1156
|
+
"license": "BlueOak-1.0.0",
|
|
1157
|
+
"resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz",
|
|
1158
|
+
"version": "1.1.0"
|
|
1159
|
+
},
|
|
1153
1160
|
"node_modules/@keyv/bigmap": {
|
|
1154
1161
|
"dependencies": {
|
|
1155
1162
|
"hashery": "^1.4.0",
|
|
@@ -1208,10 +1215,10 @@
|
|
|
1208
1215
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
|
1209
1216
|
"dependencies": {
|
|
1210
1217
|
"@eslint-community/regexpp": "^4.12.2",
|
|
1211
|
-
"@typescript-eslint/scope-manager": "8.
|
|
1212
|
-
"@typescript-eslint/type-utils": "8.
|
|
1213
|
-
"@typescript-eslint/utils": "8.
|
|
1214
|
-
"@typescript-eslint/visitor-keys": "8.
|
|
1218
|
+
"@typescript-eslint/scope-manager": "8.73.0",
|
|
1219
|
+
"@typescript-eslint/type-utils": "8.73.0",
|
|
1220
|
+
"@typescript-eslint/utils": "8.73.0",
|
|
1221
|
+
"@typescript-eslint/visitor-keys": "8.73.0",
|
|
1215
1222
|
"ignore": "^7.0.5",
|
|
1216
1223
|
"natural-compare": "^1.4.0",
|
|
1217
1224
|
"ts-api-utils": "^2.5.0"
|
|
@@ -1224,15 +1231,15 @@
|
|
|
1224
1231
|
"type": "opencollective",
|
|
1225
1232
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1226
1233
|
},
|
|
1227
|
-
"integrity": "sha512-
|
|
1234
|
+
"integrity": "sha512-UkygMFer53Yzn29MCYFTHf34hGXf5KJhiDWfIm1tXtXRrym1CS6l5H9Y3yCtPWChpC0/f93H88gdj8tN0dd4kw==",
|
|
1228
1235
|
"license": "MIT",
|
|
1229
1236
|
"peerDependencies": {
|
|
1230
|
-
"@typescript-eslint/parser": "^8.
|
|
1237
|
+
"@typescript-eslint/parser": "^8.73.0",
|
|
1231
1238
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
1232
1239
|
"typescript": ">=4.8.4 <6.1.0"
|
|
1233
1240
|
},
|
|
1234
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.
|
|
1235
|
-
"version": "8.
|
|
1241
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.73.0.tgz",
|
|
1242
|
+
"version": "8.73.0"
|
|
1236
1243
|
},
|
|
1237
1244
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
|
|
1238
1245
|
"dev": true,
|
|
@@ -1246,10 +1253,10 @@
|
|
|
1246
1253
|
},
|
|
1247
1254
|
"node_modules/@typescript-eslint/parser": {
|
|
1248
1255
|
"dependencies": {
|
|
1249
|
-
"@typescript-eslint/scope-manager": "8.
|
|
1250
|
-
"@typescript-eslint/types": "8.
|
|
1251
|
-
"@typescript-eslint/typescript-estree": "8.
|
|
1252
|
-
"@typescript-eslint/visitor-keys": "8.
|
|
1256
|
+
"@typescript-eslint/scope-manager": "8.73.0",
|
|
1257
|
+
"@typescript-eslint/types": "8.73.0",
|
|
1258
|
+
"@typescript-eslint/typescript-estree": "8.73.0",
|
|
1259
|
+
"@typescript-eslint/visitor-keys": "8.73.0",
|
|
1253
1260
|
"debug": "^4.4.3"
|
|
1254
1261
|
},
|
|
1255
1262
|
"dev": true,
|
|
@@ -1260,19 +1267,19 @@
|
|
|
1260
1267
|
"type": "opencollective",
|
|
1261
1268
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1262
1269
|
},
|
|
1263
|
-
"integrity": "sha512-
|
|
1270
|
+
"integrity": "sha512-AuL45bVcmssHfZ3Di3cs9Q0l4gBm4ZFVrJOQEE7VpqW+PVgQaEwSwazz4TVIiFabXkk6U51EprYDwqw+HR8ePw==",
|
|
1264
1271
|
"license": "MIT",
|
|
1265
1272
|
"peerDependencies": {
|
|
1266
1273
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
1267
1274
|
"typescript": ">=4.8.4 <6.1.0"
|
|
1268
1275
|
},
|
|
1269
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.
|
|
1270
|
-
"version": "8.
|
|
1276
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.73.0.tgz",
|
|
1277
|
+
"version": "8.73.0"
|
|
1271
1278
|
},
|
|
1272
1279
|
"node_modules/@typescript-eslint/project-service": {
|
|
1273
1280
|
"dependencies": {
|
|
1274
|
-
"@typescript-eslint/tsconfig-utils": "^8.
|
|
1275
|
-
"@typescript-eslint/types": "^8.
|
|
1281
|
+
"@typescript-eslint/tsconfig-utils": "^8.73.0",
|
|
1282
|
+
"@typescript-eslint/types": "^8.73.0",
|
|
1276
1283
|
"debug": "^4.4.3"
|
|
1277
1284
|
},
|
|
1278
1285
|
"dev": true,
|
|
@@ -1283,18 +1290,18 @@
|
|
|
1283
1290
|
"type": "opencollective",
|
|
1284
1291
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1285
1292
|
},
|
|
1286
|
-
"integrity": "sha512
|
|
1293
|
+
"integrity": "sha512-/pEf8Rc4Mjk+qJnY0uO1+Gadeal8uv50xpuic+srG2vIVatA0XxvWMUeMtFvs6OCHqftiQ7/+qH4aehG5stzIA==",
|
|
1287
1294
|
"license": "MIT",
|
|
1288
1295
|
"peerDependencies": {
|
|
1289
1296
|
"typescript": ">=4.8.4 <6.1.0"
|
|
1290
1297
|
},
|
|
1291
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.
|
|
1292
|
-
"version": "8.
|
|
1298
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.73.0.tgz",
|
|
1299
|
+
"version": "8.73.0"
|
|
1293
1300
|
},
|
|
1294
1301
|
"node_modules/@typescript-eslint/scope-manager": {
|
|
1295
1302
|
"dependencies": {
|
|
1296
|
-
"@typescript-eslint/types": "8.
|
|
1297
|
-
"@typescript-eslint/visitor-keys": "8.
|
|
1303
|
+
"@typescript-eslint/types": "8.73.0",
|
|
1304
|
+
"@typescript-eslint/visitor-keys": "8.73.0"
|
|
1298
1305
|
},
|
|
1299
1306
|
"dev": true,
|
|
1300
1307
|
"engines": {
|
|
@@ -1304,10 +1311,10 @@
|
|
|
1304
1311
|
"type": "opencollective",
|
|
1305
1312
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1306
1313
|
},
|
|
1307
|
-
"integrity": "sha512
|
|
1314
|
+
"integrity": "sha512-/TjD738Iq2rzj5z0ixVOi+TsvgjAzZPLPaH1yWdDBytR/HTR5gMpyYWZeCe5WTQZLwk3ho8AV7U3muoQCRtXBQ==",
|
|
1308
1315
|
"license": "MIT",
|
|
1309
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.
|
|
1310
|
-
"version": "8.
|
|
1316
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.73.0.tgz",
|
|
1317
|
+
"version": "8.73.0"
|
|
1311
1318
|
},
|
|
1312
1319
|
"node_modules/@typescript-eslint/tsconfig-utils": {
|
|
1313
1320
|
"dev": true,
|
|
@@ -1318,19 +1325,19 @@
|
|
|
1318
1325
|
"type": "opencollective",
|
|
1319
1326
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1320
1327
|
},
|
|
1321
|
-
"integrity": "sha512-
|
|
1328
|
+
"integrity": "sha512-lmtCFOfYaJfpqZywGuXi4FpNtE+NQ+YLe3T0K9rtEDcW8ZuGWvfI++pj8r05sYMI8vWT2CYK4rWyedmD6Rp4og==",
|
|
1322
1329
|
"license": "MIT",
|
|
1323
1330
|
"peerDependencies": {
|
|
1324
1331
|
"typescript": ">=4.8.4 <6.1.0"
|
|
1325
1332
|
},
|
|
1326
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.
|
|
1327
|
-
"version": "8.
|
|
1333
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.73.0.tgz",
|
|
1334
|
+
"version": "8.73.0"
|
|
1328
1335
|
},
|
|
1329
1336
|
"node_modules/@typescript-eslint/type-utils": {
|
|
1330
1337
|
"dependencies": {
|
|
1331
|
-
"@typescript-eslint/types": "8.
|
|
1332
|
-
"@typescript-eslint/typescript-estree": "8.
|
|
1333
|
-
"@typescript-eslint/utils": "8.
|
|
1338
|
+
"@typescript-eslint/types": "8.73.0",
|
|
1339
|
+
"@typescript-eslint/typescript-estree": "8.73.0",
|
|
1340
|
+
"@typescript-eslint/utils": "8.73.0",
|
|
1334
1341
|
"debug": "^4.4.3",
|
|
1335
1342
|
"ts-api-utils": "^2.5.0"
|
|
1336
1343
|
},
|
|
@@ -1342,14 +1349,14 @@
|
|
|
1342
1349
|
"type": "opencollective",
|
|
1343
1350
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1344
1351
|
},
|
|
1345
|
-
"integrity": "sha512-
|
|
1352
|
+
"integrity": "sha512-MOC9i4xy1F7KcDde7Ip8jf1SrRiALb2Km4UWxGNjUE2YlhjIEo1ayE27GHIwIQyfWuHTmEonQT14uyurlyC6aA==",
|
|
1346
1353
|
"license": "MIT",
|
|
1347
1354
|
"peerDependencies": {
|
|
1348
1355
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
1349
1356
|
"typescript": ">=4.8.4 <6.1.0"
|
|
1350
1357
|
},
|
|
1351
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.
|
|
1352
|
-
"version": "8.
|
|
1358
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.73.0.tgz",
|
|
1359
|
+
"version": "8.73.0"
|
|
1353
1360
|
},
|
|
1354
1361
|
"node_modules/@typescript-eslint/types": {
|
|
1355
1362
|
"dev": true,
|
|
@@ -1360,19 +1367,19 @@
|
|
|
1360
1367
|
"type": "opencollective",
|
|
1361
1368
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1362
1369
|
},
|
|
1363
|
-
"integrity": "sha512-
|
|
1370
|
+
"integrity": "sha512-O/1ytYzflF16QDKXx4/qOXg1IuZp+n7hr9t+S0nv7N/2Tl8rJiNCshztV1gcSUvHbPtoX3+zmNbtSAyVbzxVfw==",
|
|
1364
1371
|
"license": "MIT",
|
|
1365
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.
|
|
1366
|
-
"version": "8.
|
|
1372
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.73.0.tgz",
|
|
1373
|
+
"version": "8.73.0"
|
|
1367
1374
|
},
|
|
1368
1375
|
"node_modules/@typescript-eslint/typescript-estree": {
|
|
1369
1376
|
"dependencies": {
|
|
1370
|
-
"@typescript-eslint/project-service": "8.
|
|
1371
|
-
"@typescript-eslint/tsconfig-utils": "8.
|
|
1372
|
-
"@typescript-eslint/types": "8.
|
|
1373
|
-
"@typescript-eslint/visitor-keys": "8.
|
|
1377
|
+
"@typescript-eslint/project-service": "8.73.0",
|
|
1378
|
+
"@typescript-eslint/tsconfig-utils": "8.73.0",
|
|
1379
|
+
"@typescript-eslint/types": "8.73.0",
|
|
1380
|
+
"@typescript-eslint/visitor-keys": "8.73.0",
|
|
1374
1381
|
"debug": "^4.4.3",
|
|
1375
|
-
"minimatch": "^
|
|
1382
|
+
"minimatch": "^11.0.1",
|
|
1376
1383
|
"semver": "^7.7.3",
|
|
1377
1384
|
"tinyglobby": "^0.2.15",
|
|
1378
1385
|
"ts-api-utils": "^2.5.0"
|
|
@@ -1385,20 +1392,26 @@
|
|
|
1385
1392
|
"type": "opencollective",
|
|
1386
1393
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1387
1394
|
},
|
|
1388
|
-
"integrity": "sha512-
|
|
1395
|
+
"integrity": "sha512-InjlBkSdWceIwIBWSwS3ENUp+i0O02PGX3Zv2wnihWJC1WDVGvG7mTHuf8b57uAaITj94d6tRPDH+sUEtXdRQQ==",
|
|
1389
1396
|
"license": "MIT",
|
|
1390
1397
|
"peerDependencies": {
|
|
1398
|
+
"@typescript/native": "npm:typescript@>=7.1.0-dev.20261009.1 || >=7.1.0-beta <7.1.0-dev",
|
|
1391
1399
|
"typescript": ">=4.8.4 <6.1.0"
|
|
1392
1400
|
},
|
|
1393
|
-
"
|
|
1394
|
-
|
|
1401
|
+
"peerDependenciesMeta": {
|
|
1402
|
+
"@typescript/native": {
|
|
1403
|
+
"optional": true
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.73.0.tgz",
|
|
1407
|
+
"version": "8.73.0"
|
|
1395
1408
|
},
|
|
1396
1409
|
"node_modules/@typescript-eslint/utils": {
|
|
1397
1410
|
"dependencies": {
|
|
1398
1411
|
"@eslint-community/eslint-utils": "^4.9.1",
|
|
1399
|
-
"@typescript-eslint/scope-manager": "8.
|
|
1400
|
-
"@typescript-eslint/types": "8.
|
|
1401
|
-
"@typescript-eslint/typescript-estree": "8.
|
|
1412
|
+
"@typescript-eslint/scope-manager": "8.73.0",
|
|
1413
|
+
"@typescript-eslint/types": "8.73.0",
|
|
1414
|
+
"@typescript-eslint/typescript-estree": "8.73.0"
|
|
1402
1415
|
},
|
|
1403
1416
|
"dev": true,
|
|
1404
1417
|
"engines": {
|
|
@@ -1408,18 +1421,18 @@
|
|
|
1408
1421
|
"type": "opencollective",
|
|
1409
1422
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1410
1423
|
},
|
|
1411
|
-
"integrity": "sha512-
|
|
1424
|
+
"integrity": "sha512-j2SVJJvVkXdUL0WcEzo4vEH1mO1vIi8KlVukcYA2MgMZvYN2LlZR4PmsW+GTSxSW24j6Q/EP7+MOifLtg5hmsA==",
|
|
1412
1425
|
"license": "MIT",
|
|
1413
1426
|
"peerDependencies": {
|
|
1414
1427
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
1415
1428
|
"typescript": ">=4.8.4 <6.1.0"
|
|
1416
1429
|
},
|
|
1417
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.
|
|
1418
|
-
"version": "8.
|
|
1430
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.73.0.tgz",
|
|
1431
|
+
"version": "8.73.0"
|
|
1419
1432
|
},
|
|
1420
1433
|
"node_modules/@typescript-eslint/visitor-keys": {
|
|
1421
1434
|
"dependencies": {
|
|
1422
|
-
"@typescript-eslint/types": "8.
|
|
1435
|
+
"@typescript-eslint/types": "8.73.0",
|
|
1423
1436
|
"eslint-visitor-keys": "^5.0.0"
|
|
1424
1437
|
},
|
|
1425
1438
|
"dev": true,
|
|
@@ -1430,10 +1443,10 @@
|
|
|
1430
1443
|
"type": "opencollective",
|
|
1431
1444
|
"url": "https://opencollective.com/typescript-eslint"
|
|
1432
1445
|
},
|
|
1433
|
-
"integrity": "sha512-
|
|
1446
|
+
"integrity": "sha512-k4lsFVpRZICbltkIEEH4hZRkwXkqDF1GHBpClKQOHQY+RkoZAAuyc1ci3I6p+CB6v3U4jaHIUshc4RzzQXZWLg==",
|
|
1434
1447
|
"license": "MIT",
|
|
1435
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.
|
|
1436
|
-
"version": "8.
|
|
1448
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.73.0.tgz",
|
|
1449
|
+
"version": "8.73.0"
|
|
1437
1450
|
},
|
|
1438
1451
|
"node_modules/acorn": {
|
|
1439
1452
|
"bin": {
|
|
@@ -1875,11 +1888,11 @@
|
|
|
1875
1888
|
"dependencies": {
|
|
1876
1889
|
"@eslint-community/eslint-utils": "^4.8.0",
|
|
1877
1890
|
"@eslint-community/regexpp": "^4.12.2",
|
|
1878
|
-
"@eslint/config-array": "^0.23.
|
|
1891
|
+
"@eslint/config-array": "^0.23.6",
|
|
1879
1892
|
"@eslint/config-helpers": "^0.7.0",
|
|
1880
1893
|
"@eslint/core": "^1.2.1",
|
|
1881
1894
|
"@eslint/plugin-kit": "^0.7.3",
|
|
1882
|
-
"@humanfs/node": "^0.16.
|
|
1895
|
+
"@humanfs/node": "^0.16.8",
|
|
1883
1896
|
"@humanwhocodes/module-importer": "^1.0.1",
|
|
1884
1897
|
"@humanwhocodes/retry": "^0.4.2",
|
|
1885
1898
|
"@types/estree": "^1.0.6",
|
|
@@ -1900,7 +1913,7 @@
|
|
|
1900
1913
|
"imurmurhash": "^0.1.4",
|
|
1901
1914
|
"is-glob": "^4.0.0",
|
|
1902
1915
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
1903
|
-
"minimatch": "^
|
|
1916
|
+
"minimatch": "^11.0.5",
|
|
1904
1917
|
"natural-compare": "^1.4.0",
|
|
1905
1918
|
"optionator": "^0.9.3"
|
|
1906
1919
|
},
|
|
@@ -1911,7 +1924,7 @@
|
|
|
1911
1924
|
"funding": {
|
|
1912
1925
|
"url": "https://eslint.org/donate"
|
|
1913
1926
|
},
|
|
1914
|
-
"integrity": "sha512
|
|
1927
|
+
"integrity": "sha512-+5Wg4p+ze3sG1WErYgUO/3H1IQIfFBymVUA0Fo/XTeBOLS6UQIUekpSJ8sdRkn7O7wjh84b55w/roqavH2aScg==",
|
|
1915
1928
|
"license": "MIT",
|
|
1916
1929
|
"peerDependencies": {
|
|
1917
1930
|
"jiti": "*"
|
|
@@ -1921,8 +1934,8 @@
|
|
|
1921
1934
|
"optional": true
|
|
1922
1935
|
}
|
|
1923
1936
|
},
|
|
1924
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.
|
|
1925
|
-
"version": "10.
|
|
1937
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.15.0.tgz",
|
|
1938
|
+
"version": "10.15.0",
|
|
1926
1939
|
"workspaces": [
|
|
1927
1940
|
"packages/*"
|
|
1928
1941
|
]
|
|
@@ -2516,19 +2529,20 @@
|
|
|
2516
2529
|
},
|
|
2517
2530
|
"node_modules/minimatch": {
|
|
2518
2531
|
"dependencies": {
|
|
2519
|
-
"
|
|
2532
|
+
"@isaacs/nonrecursive-glob-match": "^1.1.0",
|
|
2533
|
+
"brace-expansion": "^5.0.12"
|
|
2520
2534
|
},
|
|
2521
2535
|
"dev": true,
|
|
2522
2536
|
"engines": {
|
|
2523
|
-
"node": "
|
|
2537
|
+
"node": "20 || >=22"
|
|
2524
2538
|
},
|
|
2525
2539
|
"funding": {
|
|
2526
2540
|
"url": "https://github.com/sponsors/isaacs"
|
|
2527
2541
|
},
|
|
2528
|
-
"integrity": "sha512-
|
|
2542
|
+
"integrity": "sha512-nFQuYSTVrGvysVBps5Ih+0BdnYFN/Cj3C816r6+p7yK+FHrVLGE4O4N9AFwykrlNlvM2HYt+Rad1Uiro6h88Ig==",
|
|
2529
2543
|
"license": "BlueOak-1.0.0",
|
|
2530
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-
|
|
2531
|
-
"version": "
|
|
2544
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.8.tgz",
|
|
2545
|
+
"version": "11.0.8"
|
|
2532
2546
|
},
|
|
2533
2547
|
"node_modules/mp4box": {
|
|
2534
2548
|
"engines": {
|
|
@@ -2970,10 +2984,10 @@
|
|
|
2970
2984
|
},
|
|
2971
2985
|
"node_modules/typescript-eslint": {
|
|
2972
2986
|
"dependencies": {
|
|
2973
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
2974
|
-
"@typescript-eslint/parser": "8.
|
|
2975
|
-
"@typescript-eslint/typescript-estree": "8.
|
|
2976
|
-
"@typescript-eslint/utils": "8.
|
|
2987
|
+
"@typescript-eslint/eslint-plugin": "8.73.0",
|
|
2988
|
+
"@typescript-eslint/parser": "8.73.0",
|
|
2989
|
+
"@typescript-eslint/typescript-estree": "8.73.0",
|
|
2990
|
+
"@typescript-eslint/utils": "8.73.0"
|
|
2977
2991
|
},
|
|
2978
2992
|
"dev": true,
|
|
2979
2993
|
"engines": {
|
|
@@ -2983,14 +2997,14 @@
|
|
|
2983
2997
|
"type": "opencollective",
|
|
2984
2998
|
"url": "https://opencollective.com/typescript-eslint"
|
|
2985
2999
|
},
|
|
2986
|
-
"integrity": "sha512
|
|
3000
|
+
"integrity": "sha512-+EnKy9rkYPun4l+kG2bDuYWQ6y1tGVgdR/tY1U9AC6h21CjEwOoc7gsjwe0FXB8uWFzk4QiCFbuRWgX758PiAg==",
|
|
2987
3001
|
"license": "MIT",
|
|
2988
3002
|
"peerDependencies": {
|
|
2989
3003
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
2990
3004
|
"typescript": ">=4.8.4 <6.1.0"
|
|
2991
3005
|
},
|
|
2992
|
-
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.
|
|
2993
|
-
"version": "8.
|
|
3006
|
+
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.73.0.tgz",
|
|
3007
|
+
"version": "8.73.0"
|
|
2994
3008
|
},
|
|
2995
3009
|
"node_modules/undici-types": {
|
|
2996
3010
|
"devOptional": true,
|
|
@@ -3252,5 +3266,5 @@
|
|
|
3252
3266
|
}
|
|
3253
3267
|
},
|
|
3254
3268
|
"requires": true,
|
|
3255
|
-
"version": "1.0.
|
|
3269
|
+
"version": "1.0.31"
|
|
3256
3270
|
}
|
package/package.json
CHANGED
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@eslint/js": "10.0.1",
|
|
34
34
|
"@types/node": "25.9.9",
|
|
35
|
-
"eslint": "10.
|
|
35
|
+
"eslint": "10.15.0",
|
|
36
36
|
"typescript": "5.9.3",
|
|
37
|
-
"typescript-eslint": "8.
|
|
37
|
+
"typescript-eslint": "8.73.0"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=22"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"test": "tsc && npm run lint && node --test \"test/**/*.test.js\" \"test/**/*.test.mjs\""
|
|
68
68
|
},
|
|
69
69
|
"type": "module",
|
|
70
|
-
"version": "1.0.
|
|
70
|
+
"version": "1.0.31"
|
|
71
71
|
}
|