@gjsify/example-dom-excalibur-jelly-jumper 0.3.1 → 0.3.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.
- package/dist/gjs.js +33 -149
- package/package.json +6 -6
package/dist/gjs.js
CHANGED
|
@@ -15579,89 +15579,7 @@ var init_soup_3 = __esm({
|
|
|
15579
15579
|
}
|
|
15580
15580
|
});
|
|
15581
15581
|
|
|
15582
|
-
// ../../../packages/node/http/lib/esm/
|
|
15583
|
-
var init_constants = __esm({
|
|
15584
|
-
"../../../packages/node/http/lib/esm/constants.js"() {
|
|
15585
|
-
init_console_gjs();
|
|
15586
|
-
init_auto_globals_2efde837f2();
|
|
15587
|
-
}
|
|
15588
|
-
});
|
|
15589
|
-
|
|
15590
|
-
// ../../../packages/node/http/lib/esm/incoming-message.js
|
|
15591
|
-
var init_incoming_message = __esm({
|
|
15592
|
-
"../../../packages/node/http/lib/esm/incoming-message.js"() {
|
|
15593
|
-
init_console_gjs();
|
|
15594
|
-
init_auto_globals_2efde837f2();
|
|
15595
|
-
init_esm15();
|
|
15596
|
-
}
|
|
15597
|
-
});
|
|
15598
|
-
|
|
15599
|
-
// ../../../packages/node/net/lib/esm/socket.js
|
|
15600
|
-
var init_socket = __esm({
|
|
15601
|
-
"../../../packages/node/net/lib/esm/socket.js"() {
|
|
15602
|
-
init_console_gjs();
|
|
15603
|
-
init_auto_globals_2efde837f2();
|
|
15604
|
-
init_gio_2();
|
|
15605
|
-
init_glib_2();
|
|
15606
|
-
init_esm15();
|
|
15607
|
-
init_esm();
|
|
15608
|
-
}
|
|
15609
|
-
});
|
|
15610
|
-
|
|
15611
|
-
// ../../../packages/node/http-soup-bridge/lib/esm/index.js
|
|
15612
|
-
import GjsifyHttpSoupBridge from "gi://GjsifyHttpSoupBridge?version=1.0";
|
|
15613
|
-
var Server, Request, Response;
|
|
15614
|
-
var init_esm19 = __esm({
|
|
15615
|
-
"../../../packages/node/http-soup-bridge/lib/esm/index.js"() {
|
|
15616
|
-
init_console_gjs();
|
|
15617
|
-
init_auto_globals_2efde837f2();
|
|
15618
|
-
Server = GjsifyHttpSoupBridge.Server;
|
|
15619
|
-
Request = GjsifyHttpSoupBridge.Request;
|
|
15620
|
-
Response = GjsifyHttpSoupBridge.Response;
|
|
15621
|
-
}
|
|
15622
|
-
});
|
|
15623
|
-
|
|
15624
|
-
// ../../../packages/node/http/lib/esm/server-request-socket.js
|
|
15625
|
-
var init_server_request_socket = __esm({
|
|
15626
|
-
"../../../packages/node/http/lib/esm/server-request-socket.js"() {
|
|
15627
|
-
init_console_gjs();
|
|
15628
|
-
init_auto_globals_2efde837f2();
|
|
15629
|
-
init_esm15();
|
|
15630
|
-
}
|
|
15631
|
-
});
|
|
15632
|
-
|
|
15633
|
-
// ../../../packages/node/http/lib/esm/server.js
|
|
15634
|
-
var init_server = __esm({
|
|
15635
|
-
"../../../packages/node/http/lib/esm/server.js"() {
|
|
15636
|
-
init_console_gjs();
|
|
15637
|
-
init_auto_globals_2efde837f2();
|
|
15638
|
-
init_esm7();
|
|
15639
|
-
init_esm15();
|
|
15640
|
-
init_socket();
|
|
15641
|
-
init_esm19();
|
|
15642
|
-
init_server_request_socket();
|
|
15643
|
-
init_esm();
|
|
15644
|
-
init_constants();
|
|
15645
|
-
init_incoming_message();
|
|
15646
|
-
}
|
|
15647
|
-
});
|
|
15648
|
-
|
|
15649
|
-
// ../../../packages/node/http/lib/esm/client-request.js
|
|
15650
|
-
var init_client_request = __esm({
|
|
15651
|
-
"../../../packages/node/http/lib/esm/client-request.js"() {
|
|
15652
|
-
init_console_gjs();
|
|
15653
|
-
init_auto_globals_2efde837f2();
|
|
15654
|
-
init_glib_2();
|
|
15655
|
-
init_soup_3();
|
|
15656
|
-
init_gio_2();
|
|
15657
|
-
init_esm10();
|
|
15658
|
-
init_esm();
|
|
15659
|
-
init_server();
|
|
15660
|
-
init_incoming_message();
|
|
15661
|
-
}
|
|
15662
|
-
});
|
|
15663
|
-
|
|
15664
|
-
// ../../../packages/node/http/lib/esm/index.js
|
|
15582
|
+
// ../../../packages/node/http/lib/esm/validators.js
|
|
15665
15583
|
function validateHeaderName(name2) {
|
|
15666
15584
|
if (typeof name2 !== "string" || !/^[\^`\-\w!#$%&'*+.|~]+$/.test(name2)) {
|
|
15667
15585
|
const error2 = new TypeError(`Header name must be a valid HTTP token ["${name2}"]`);
|
|
@@ -15675,62 +15593,16 @@ function validateHeaderValue(name2, value2) {
|
|
|
15675
15593
|
Object.defineProperty(error2, "code", { value: "ERR_HTTP_INVALID_HEADER_VALUE" });
|
|
15676
15594
|
throw error2;
|
|
15677
15595
|
}
|
|
15678
|
-
if (typeof value2 === "string" && /[^\t
|
|
15596
|
+
if (typeof value2 === "string" && /[^\t -~-ÿ]/.test(value2)) {
|
|
15679
15597
|
const error2 = new TypeError(`Invalid character in header content ["${name2}"]`);
|
|
15680
15598
|
Object.defineProperty(error2, "code", { value: "ERR_INVALID_CHAR" });
|
|
15681
15599
|
throw error2;
|
|
15682
15600
|
}
|
|
15683
15601
|
}
|
|
15684
|
-
var
|
|
15685
|
-
|
|
15686
|
-
"../../../packages/node/http/lib/esm/index.js"() {
|
|
15602
|
+
var init_validators = __esm({
|
|
15603
|
+
"../../../packages/node/http/lib/esm/validators.js"() {
|
|
15687
15604
|
init_console_gjs();
|
|
15688
15605
|
init_auto_globals_2efde837f2();
|
|
15689
|
-
init_constants();
|
|
15690
|
-
init_incoming_message();
|
|
15691
|
-
init_server();
|
|
15692
|
-
init_client_request();
|
|
15693
|
-
init_incoming_message();
|
|
15694
|
-
init_server();
|
|
15695
|
-
init_client_request();
|
|
15696
|
-
init_esm10();
|
|
15697
|
-
init_constants();
|
|
15698
|
-
Agent = class {
|
|
15699
|
-
defaultPort = 80;
|
|
15700
|
-
protocol = "http:";
|
|
15701
|
-
maxSockets;
|
|
15702
|
-
maxTotalSockets;
|
|
15703
|
-
maxFreeSockets;
|
|
15704
|
-
keepAliveMsecs;
|
|
15705
|
-
keepAlive;
|
|
15706
|
-
scheduling;
|
|
15707
|
-
/** Pending requests per host (compatibility — Soup manages internally). */
|
|
15708
|
-
requests = {};
|
|
15709
|
-
/** Active sockets per host (compatibility — Soup manages internally). */
|
|
15710
|
-
sockets = {};
|
|
15711
|
-
/** Idle sockets per host (compatibility — Soup manages internally). */
|
|
15712
|
-
freeSockets = {};
|
|
15713
|
-
constructor(options) {
|
|
15714
|
-
this.keepAlive = options?.keepAlive ?? false;
|
|
15715
|
-
this.keepAliveMsecs = options?.keepAliveMsecs ?? 1e3;
|
|
15716
|
-
this.maxSockets = options?.maxSockets ?? Infinity;
|
|
15717
|
-
this.maxTotalSockets = options?.maxTotalSockets ?? Infinity;
|
|
15718
|
-
this.maxFreeSockets = options?.maxFreeSockets ?? 256;
|
|
15719
|
-
this.scheduling = options?.scheduling ?? "lifo";
|
|
15720
|
-
}
|
|
15721
|
-
/** Destroy the agent and close idle connections. */
|
|
15722
|
-
destroy() {
|
|
15723
|
-
}
|
|
15724
|
-
/** Return a connection pool key for the given options. */
|
|
15725
|
-
getName(options) {
|
|
15726
|
-
let name2 = options.host || "localhost";
|
|
15727
|
-
if (options.port) name2 += ":" + options.port;
|
|
15728
|
-
if (options.localAddress) name2 += ":" + options.localAddress;
|
|
15729
|
-
if (options.family === 4 || options.family === 6) name2 += ":" + options.family;
|
|
15730
|
-
return name2;
|
|
15731
|
-
}
|
|
15732
|
-
};
|
|
15733
|
-
globalAgent = new Agent();
|
|
15734
15606
|
}
|
|
15735
15607
|
});
|
|
15736
15608
|
|
|
@@ -15744,7 +15616,7 @@ var init_headers = __esm({
|
|
|
15744
15616
|
init_console_gjs();
|
|
15745
15617
|
init_auto_globals_2efde837f2();
|
|
15746
15618
|
init_soup_3();
|
|
15747
|
-
|
|
15619
|
+
init_validators();
|
|
15748
15620
|
_headers = /* @__PURE__ */ Symbol("Headers.headers");
|
|
15749
15621
|
Headers = class _Headers {
|
|
15750
15622
|
[_headers];
|
|
@@ -15941,7 +15813,7 @@ var init_is_redirect = __esm({
|
|
|
15941
15813
|
});
|
|
15942
15814
|
|
|
15943
15815
|
// ../../../packages/web/fetch/lib/esm/response.js
|
|
15944
|
-
var INTERNALS2,
|
|
15816
|
+
var INTERNALS2, Response, response_default;
|
|
15945
15817
|
var init_response = __esm({
|
|
15946
15818
|
"../../../packages/web/fetch/lib/esm/response.js"() {
|
|
15947
15819
|
init_console_gjs();
|
|
@@ -15953,7 +15825,7 @@ var init_response = __esm({
|
|
|
15953
15825
|
init_is_redirect();
|
|
15954
15826
|
init_esm10();
|
|
15955
15827
|
INTERNALS2 = /* @__PURE__ */ Symbol("Response internals");
|
|
15956
|
-
|
|
15828
|
+
Response = class _Response extends Body {
|
|
15957
15829
|
[INTERNALS2];
|
|
15958
15830
|
_inputStream = null;
|
|
15959
15831
|
constructor(body = null, options = {}) {
|
|
@@ -16079,7 +15951,7 @@ var init_response = __esm({
|
|
|
16079
15951
|
return new TextDecoder().decode(bytes.toArray());
|
|
16080
15952
|
}
|
|
16081
15953
|
};
|
|
16082
|
-
Object.defineProperties(
|
|
15954
|
+
Object.defineProperties(Response.prototype, {
|
|
16083
15955
|
type: { enumerable: true },
|
|
16084
15956
|
url: { enumerable: true },
|
|
16085
15957
|
status: { enumerable: true },
|
|
@@ -16089,7 +15961,7 @@ var init_response = __esm({
|
|
|
16089
15961
|
headers: { enumerable: true },
|
|
16090
15962
|
clone: { enumerable: true }
|
|
16091
15963
|
});
|
|
16092
|
-
response_default =
|
|
15964
|
+
response_default = Response;
|
|
16093
15965
|
}
|
|
16094
15966
|
});
|
|
16095
15967
|
|
|
@@ -16119,8 +15991,20 @@ var init_soup_helpers = __esm({
|
|
|
16119
15991
|
}
|
|
16120
15992
|
});
|
|
16121
15993
|
|
|
15994
|
+
// ../../../packages/node/net/lib/esm/socket.js
|
|
15995
|
+
var init_socket = __esm({
|
|
15996
|
+
"../../../packages/node/net/lib/esm/socket.js"() {
|
|
15997
|
+
init_console_gjs();
|
|
15998
|
+
init_auto_globals_2efde837f2();
|
|
15999
|
+
init_gio_2();
|
|
16000
|
+
init_glib_2();
|
|
16001
|
+
init_esm15();
|
|
16002
|
+
init_esm();
|
|
16003
|
+
}
|
|
16004
|
+
});
|
|
16005
|
+
|
|
16122
16006
|
// ../../../packages/node/net/lib/esm/server.js
|
|
16123
|
-
var
|
|
16007
|
+
var init_server = __esm({
|
|
16124
16008
|
"../../../packages/node/net/lib/esm/server.js"() {
|
|
16125
16009
|
init_console_gjs();
|
|
16126
16010
|
init_auto_globals_2efde837f2();
|
|
@@ -16147,15 +16031,15 @@ function isIP(input) {
|
|
|
16147
16031
|
return 6;
|
|
16148
16032
|
}
|
|
16149
16033
|
}
|
|
16150
|
-
var
|
|
16034
|
+
var init_esm19 = __esm({
|
|
16151
16035
|
"../../../packages/node/net/lib/esm/index.js"() {
|
|
16152
16036
|
init_console_gjs();
|
|
16153
16037
|
init_auto_globals_2efde837f2();
|
|
16154
16038
|
init_gio_2();
|
|
16155
16039
|
init_socket();
|
|
16156
|
-
|
|
16040
|
+
init_server();
|
|
16157
16041
|
init_socket();
|
|
16158
|
-
|
|
16042
|
+
init_server();
|
|
16159
16043
|
}
|
|
16160
16044
|
});
|
|
16161
16045
|
|
|
@@ -16295,7 +16179,7 @@ var init_referrer = __esm({
|
|
|
16295
16179
|
init_console_gjs();
|
|
16296
16180
|
init_auto_globals_2efde837f2();
|
|
16297
16181
|
init_esm10();
|
|
16298
|
-
|
|
16182
|
+
init_esm19();
|
|
16299
16183
|
ReferrerPolicy = /* @__PURE__ */ new Set([
|
|
16300
16184
|
"",
|
|
16301
16185
|
"no-referrer",
|
|
@@ -16312,7 +16196,7 @@ var init_referrer = __esm({
|
|
|
16312
16196
|
});
|
|
16313
16197
|
|
|
16314
16198
|
// ../../../packages/web/fetch/lib/esm/request.js
|
|
16315
|
-
var INTERNALS3, isRequest,
|
|
16199
|
+
var INTERNALS3, isRequest, Request, request_default, getSoupRequestOptions;
|
|
16316
16200
|
var init_request = __esm({
|
|
16317
16201
|
"../../../packages/web/fetch/lib/esm/request.js"() {
|
|
16318
16202
|
init_console_gjs();
|
|
@@ -16330,7 +16214,7 @@ var init_request = __esm({
|
|
|
16330
16214
|
isRequest = (obj) => {
|
|
16331
16215
|
return typeof obj === "object" && typeof obj.url === "string";
|
|
16332
16216
|
};
|
|
16333
|
-
|
|
16217
|
+
Request = class _Request extends Body {
|
|
16334
16218
|
/** Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching. */
|
|
16335
16219
|
cache;
|
|
16336
16220
|
/** Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. */
|
|
@@ -16537,7 +16421,7 @@ var init_request = __esm({
|
|
|
16537
16421
|
return super.text();
|
|
16538
16422
|
}
|
|
16539
16423
|
};
|
|
16540
|
-
Object.defineProperties(
|
|
16424
|
+
Object.defineProperties(Request.prototype, {
|
|
16541
16425
|
method: { enumerable: true },
|
|
16542
16426
|
url: { enumerable: true },
|
|
16543
16427
|
headers: { enumerable: true },
|
|
@@ -16547,7 +16431,7 @@ var init_request = __esm({
|
|
|
16547
16431
|
referrer: { enumerable: true },
|
|
16548
16432
|
referrerPolicy: { enumerable: true }
|
|
16549
16433
|
});
|
|
16550
|
-
request_default =
|
|
16434
|
+
request_default = Request;
|
|
16551
16435
|
getSoupRequestOptions = (request) => {
|
|
16552
16436
|
const { parsedURL } = request[INTERNALS3];
|
|
16553
16437
|
const headers = new Headers(request[INTERNALS3].headers);
|
|
@@ -16664,7 +16548,7 @@ var init_xhr = __esm({
|
|
|
16664
16548
|
"../../../packages/web/fetch/lib/esm/xhr.js"() {
|
|
16665
16549
|
init_console_gjs();
|
|
16666
16550
|
init_auto_globals_2efde837f2();
|
|
16667
|
-
|
|
16551
|
+
init_esm20();
|
|
16668
16552
|
_blobCounter = 0;
|
|
16669
16553
|
UNSENT = 0;
|
|
16670
16554
|
OPENED = 1;
|
|
@@ -17060,7 +16944,7 @@ async function fetch2(url, init = {}) {
|
|
|
17060
16944
|
return new response_default(readable, responseOptions);
|
|
17061
16945
|
}
|
|
17062
16946
|
var supportedSchemas;
|
|
17063
|
-
var
|
|
16947
|
+
var init_esm20 = __esm({
|
|
17064
16948
|
"../../../packages/web/fetch/lib/esm/index.js"() {
|
|
17065
16949
|
init_console_gjs();
|
|
17066
16950
|
init_auto_globals_2efde837f2();
|
|
@@ -17087,7 +16971,7 @@ var init_fetch = __esm({
|
|
|
17087
16971
|
"../../../packages/web/fetch/lib/esm/register/fetch.js"() {
|
|
17088
16972
|
init_console_gjs();
|
|
17089
16973
|
init_auto_globals_2efde837f2();
|
|
17090
|
-
|
|
16974
|
+
init_esm20();
|
|
17091
16975
|
if (typeof globalThis.fetch === "undefined") {
|
|
17092
16976
|
globalThis.fetch = fetch2;
|
|
17093
16977
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/example-dom-excalibur-jelly-jumper",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "2D platformer showcase using Excalibur.js 0.32.0 with Tiled tilemaps, running natively on GJS/GTK4 and in the browser",
|
|
5
5
|
"main": "dist/gjs.js",
|
|
6
6
|
"type": "module",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"@girs/glib-2.0": "^2.88.0-4.0.0-rc.9",
|
|
31
31
|
"@girs/gobject-2.0": "^2.88.0-4.0.0-rc.9",
|
|
32
32
|
"@girs/gtk-4.0": "^4.23.0-4.0.0-rc.9",
|
|
33
|
-
"@gjsify/adwaita-icons": "^0.3.
|
|
34
|
-
"@gjsify/adwaita-web": "^0.3.
|
|
35
|
-
"@gjsify/canvas2d": "^0.3.
|
|
36
|
-
"@gjsify/cli": "^0.3.
|
|
33
|
+
"@gjsify/adwaita-icons": "^0.3.2",
|
|
34
|
+
"@gjsify/adwaita-web": "^0.3.2",
|
|
35
|
+
"@gjsify/canvas2d": "^0.3.2",
|
|
36
|
+
"@gjsify/cli": "^0.3.2",
|
|
37
37
|
"@types/node": "^25.6.0",
|
|
38
38
|
"excalibur": "0.32.0",
|
|
39
39
|
"http-server": "^14.1.1",
|
|
40
40
|
"typescript": "^6.0.3"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@gjsify/webgl": "^0.3.
|
|
43
|
+
"@gjsify/webgl": "^0.3.2"
|
|
44
44
|
},
|
|
45
45
|
"author": "Pascal Garber <pascal@artandcode.studio>",
|
|
46
46
|
"license": "MIT"
|