@gjsify/inspector 0.3.13 → 0.3.14
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/lib/esm/index.js +26 -30
- package/package.json +3 -3
package/lib/esm/index.js
CHANGED
|
@@ -1,34 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
}
|
|
3
|
-
function close() {
|
|
4
|
-
}
|
|
1
|
+
//#region src/index.ts
|
|
2
|
+
function open(_port, _host, _wait) {}
|
|
3
|
+
function close() {}
|
|
5
4
|
function url() {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
function waitForDebugger() {
|
|
9
|
-
}
|
|
10
|
-
class Session {
|
|
11
|
-
connect() {
|
|
12
|
-
}
|
|
13
|
-
connectToMainThread() {
|
|
14
|
-
}
|
|
15
|
-
disconnect() {
|
|
16
|
-
}
|
|
17
|
-
post(_method, _params, _callback) {
|
|
18
|
-
if (_callback) _callback(null);
|
|
19
|
-
}
|
|
20
|
-
on(_event, _listener) {
|
|
21
|
-
return this;
|
|
22
|
-
}
|
|
5
|
+
return undefined;
|
|
23
6
|
}
|
|
7
|
+
function waitForDebugger() {}
|
|
8
|
+
var Session = class {
|
|
9
|
+
connect() {}
|
|
10
|
+
connectToMainThread() {}
|
|
11
|
+
disconnect() {}
|
|
12
|
+
post(_method, _params, _callback) {
|
|
13
|
+
if (_callback) _callback(null);
|
|
14
|
+
}
|
|
15
|
+
on(_event, _listener) {
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
24
19
|
const _console = { ...globalThis.console };
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
url,
|
|
33
|
-
waitForDebugger
|
|
20
|
+
var src_default = {
|
|
21
|
+
open,
|
|
22
|
+
close,
|
|
23
|
+
url,
|
|
24
|
+
waitForDebugger,
|
|
25
|
+
Session,
|
|
26
|
+
console: _console
|
|
34
27
|
};
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { Session, close, _console as console, src_default as default, open, url, waitForDebugger };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/inspector",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.14",
|
|
4
4
|
"description": "Node.js inspector module for Gjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"inspector"
|
|
31
31
|
],
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@gjsify/cli": "^0.3.
|
|
34
|
-
"@gjsify/unit": "^0.3.
|
|
33
|
+
"@gjsify/cli": "^0.3.14",
|
|
34
|
+
"@gjsify/unit": "^0.3.14",
|
|
35
35
|
"@types/node": "^25.6.0",
|
|
36
36
|
"typescript": "^6.0.3"
|
|
37
37
|
}
|