@girs/javascriptcore-4.1 2.44.2-4.0.0-beta.10 → 2.44.2-4.0.0-beta.12
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/README.md +1 -1
- package/javascriptcore-4.1.d.ts +25 -25
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for JavaScriptCore-4.1, generated from library version 2.44.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for JavaScriptCore-4.1, generated from library version 2.44.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.12.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/javascriptcore-4.1.d.ts
CHANGED
|
@@ -436,7 +436,7 @@ export namespace JavaScriptCore {
|
|
|
436
436
|
class Class extends GObject.Object {
|
|
437
437
|
static $gtype: GObject.GType<Class>;
|
|
438
438
|
|
|
439
|
-
//
|
|
439
|
+
// Properties
|
|
440
440
|
|
|
441
441
|
/**
|
|
442
442
|
* The #JSCContext in which the class was registered.
|
|
@@ -451,13 +451,13 @@ export namespace JavaScriptCore {
|
|
|
451
451
|
*/
|
|
452
452
|
get parent(): Class;
|
|
453
453
|
|
|
454
|
-
// Constructors
|
|
454
|
+
// Constructors
|
|
455
455
|
|
|
456
456
|
constructor(properties?: Partial<Class.ConstructorProps>, ...args: any[]);
|
|
457
457
|
|
|
458
458
|
_init(...args: any[]): void;
|
|
459
459
|
|
|
460
|
-
//
|
|
460
|
+
// Methods
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
463
|
* Add a constructor to `jsc_class`. If `name` is %NULL, the class name will be used. When <function>new</function>
|
|
@@ -608,7 +608,7 @@ export namespace JavaScriptCore {
|
|
|
608
608
|
class Context extends GObject.Object {
|
|
609
609
|
static $gtype: GObject.GType<Context>;
|
|
610
610
|
|
|
611
|
-
//
|
|
611
|
+
// Properties
|
|
612
612
|
|
|
613
613
|
/**
|
|
614
614
|
* The #JSCVirtualMachine in which the context was created.
|
|
@@ -619,7 +619,7 @@ export namespace JavaScriptCore {
|
|
|
619
619
|
*/
|
|
620
620
|
get virtualMachine(): VirtualMachine;
|
|
621
621
|
|
|
622
|
-
// Constructors
|
|
622
|
+
// Constructors
|
|
623
623
|
|
|
624
624
|
constructor(properties?: Partial<Context.ConstructorProps>, ...args: any[]);
|
|
625
625
|
|
|
@@ -629,7 +629,7 @@ export namespace JavaScriptCore {
|
|
|
629
629
|
|
|
630
630
|
static new_with_virtual_machine(vm: VirtualMachine): Context;
|
|
631
631
|
|
|
632
|
-
//
|
|
632
|
+
// Static methods
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
635
|
* Get the #JSCContext that is currently executing a function. This should only be
|
|
@@ -637,7 +637,7 @@ export namespace JavaScriptCore {
|
|
|
637
637
|
*/
|
|
638
638
|
static get_current(): Context | null;
|
|
639
639
|
|
|
640
|
-
//
|
|
640
|
+
// Methods
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
643
|
* Check the given `code` in `context` for syntax errors. The `line_number` is the starting line number in `uri;`
|
|
@@ -798,7 +798,7 @@ export namespace JavaScriptCore {
|
|
|
798
798
|
class Exception extends GObject.Object {
|
|
799
799
|
static $gtype: GObject.GType<Exception>;
|
|
800
800
|
|
|
801
|
-
// Constructors
|
|
801
|
+
// Constructors
|
|
802
802
|
|
|
803
803
|
constructor(properties?: Partial<Exception.ConstructorProps>, ...args: any[]);
|
|
804
804
|
|
|
@@ -808,7 +808,7 @@ export namespace JavaScriptCore {
|
|
|
808
808
|
|
|
809
809
|
static new_with_name(context: Context, name: string, message: string): Exception;
|
|
810
810
|
|
|
811
|
-
//
|
|
811
|
+
// Methods
|
|
812
812
|
|
|
813
813
|
/**
|
|
814
814
|
* Get a string with the exception backtrace.
|
|
@@ -868,14 +868,14 @@ export namespace JavaScriptCore {
|
|
|
868
868
|
class Value extends GObject.Object {
|
|
869
869
|
static $gtype: GObject.GType<Value>;
|
|
870
870
|
|
|
871
|
-
//
|
|
871
|
+
// Properties
|
|
872
872
|
|
|
873
873
|
/**
|
|
874
874
|
* The #JSCContext in which the value was created.
|
|
875
875
|
*/
|
|
876
876
|
get context(): Context;
|
|
877
877
|
|
|
878
|
-
// Constructors
|
|
878
|
+
// Constructors
|
|
879
879
|
|
|
880
880
|
constructor(properties?: Partial<Value.ConstructorProps>, ...args: any[]);
|
|
881
881
|
|
|
@@ -927,7 +927,7 @@ export namespace JavaScriptCore {
|
|
|
927
927
|
|
|
928
928
|
static new_undefined(context: Context): Value;
|
|
929
929
|
|
|
930
|
-
//
|
|
930
|
+
// Methods
|
|
931
931
|
|
|
932
932
|
/**
|
|
933
933
|
* Gets a pointer to memory that contains the array buffer data.
|
|
@@ -1266,7 +1266,7 @@ export namespace JavaScriptCore {
|
|
|
1266
1266
|
class VirtualMachine extends GObject.Object {
|
|
1267
1267
|
static $gtype: GObject.GType<VirtualMachine>;
|
|
1268
1268
|
|
|
1269
|
-
// Constructors
|
|
1269
|
+
// Constructors
|
|
1270
1270
|
|
|
1271
1271
|
constructor(properties?: Partial<VirtualMachine.ConstructorProps>, ...args: any[]);
|
|
1272
1272
|
|
|
@@ -1297,14 +1297,14 @@ export namespace JavaScriptCore {
|
|
|
1297
1297
|
class WeakValue extends GObject.Object {
|
|
1298
1298
|
static $gtype: GObject.GType<WeakValue>;
|
|
1299
1299
|
|
|
1300
|
-
//
|
|
1300
|
+
// Properties
|
|
1301
1301
|
|
|
1302
1302
|
/**
|
|
1303
1303
|
* The #JSCValue referencing the JavaScript value.
|
|
1304
1304
|
*/
|
|
1305
1305
|
set value(val: Value);
|
|
1306
1306
|
|
|
1307
|
-
// Constructors
|
|
1307
|
+
// Constructors
|
|
1308
1308
|
|
|
1309
1309
|
constructor(properties?: Partial<WeakValue.ConstructorProps>, ...args: any[]);
|
|
1310
1310
|
|
|
@@ -1312,7 +1312,7 @@ export namespace JavaScriptCore {
|
|
|
1312
1312
|
|
|
1313
1313
|
static ['new'](value: Value): WeakValue;
|
|
1314
1314
|
|
|
1315
|
-
//
|
|
1315
|
+
// Signals
|
|
1316
1316
|
|
|
1317
1317
|
connect(id: string, callback: (...args: any[]) => any): number;
|
|
1318
1318
|
connect_after(id: string, callback: (...args: any[]) => any): number;
|
|
@@ -1321,7 +1321,7 @@ export namespace JavaScriptCore {
|
|
|
1321
1321
|
connect_after(signal: 'cleared', callback: (_source: this) => void): number;
|
|
1322
1322
|
emit(signal: 'cleared'): void;
|
|
1323
1323
|
|
|
1324
|
-
//
|
|
1324
|
+
// Methods
|
|
1325
1325
|
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Get a #JSCValue referencing the JavaScript value of `weak_value`.
|
|
@@ -1334,7 +1334,7 @@ export namespace JavaScriptCore {
|
|
|
1334
1334
|
abstract class ClassPrivate {
|
|
1335
1335
|
static $gtype: GObject.GType<ClassPrivate>;
|
|
1336
1336
|
|
|
1337
|
-
// Constructors
|
|
1337
|
+
// Constructors
|
|
1338
1338
|
|
|
1339
1339
|
_init(...args: any[]): void;
|
|
1340
1340
|
}
|
|
@@ -1347,7 +1347,7 @@ export namespace JavaScriptCore {
|
|
|
1347
1347
|
class ClassVTable {
|
|
1348
1348
|
static $gtype: GObject.GType<ClassVTable>;
|
|
1349
1349
|
|
|
1350
|
-
//
|
|
1350
|
+
// Fields
|
|
1351
1351
|
|
|
1352
1352
|
get_property: ClassGetPropertyFunction;
|
|
1353
1353
|
set_property: ClassSetPropertyFunction;
|
|
@@ -1355,7 +1355,7 @@ export namespace JavaScriptCore {
|
|
|
1355
1355
|
delete_property: ClassDeletePropertyFunction;
|
|
1356
1356
|
enumerate_properties: ClassEnumeratePropertiesFunction;
|
|
1357
1357
|
|
|
1358
|
-
// Constructors
|
|
1358
|
+
// Constructors
|
|
1359
1359
|
|
|
1360
1360
|
_init(...args: any[]): void;
|
|
1361
1361
|
}
|
|
@@ -1364,7 +1364,7 @@ export namespace JavaScriptCore {
|
|
|
1364
1364
|
abstract class ContextPrivate {
|
|
1365
1365
|
static $gtype: GObject.GType<ContextPrivate>;
|
|
1366
1366
|
|
|
1367
|
-
// Constructors
|
|
1367
|
+
// Constructors
|
|
1368
1368
|
|
|
1369
1369
|
_init(...args: any[]): void;
|
|
1370
1370
|
}
|
|
@@ -1373,7 +1373,7 @@ export namespace JavaScriptCore {
|
|
|
1373
1373
|
abstract class ExceptionPrivate {
|
|
1374
1374
|
static $gtype: GObject.GType<ExceptionPrivate>;
|
|
1375
1375
|
|
|
1376
|
-
// Constructors
|
|
1376
|
+
// Constructors
|
|
1377
1377
|
|
|
1378
1378
|
_init(...args: any[]): void;
|
|
1379
1379
|
}
|
|
@@ -1382,7 +1382,7 @@ export namespace JavaScriptCore {
|
|
|
1382
1382
|
abstract class ValuePrivate {
|
|
1383
1383
|
static $gtype: GObject.GType<ValuePrivate>;
|
|
1384
1384
|
|
|
1385
|
-
// Constructors
|
|
1385
|
+
// Constructors
|
|
1386
1386
|
|
|
1387
1387
|
_init(...args: any[]): void;
|
|
1388
1388
|
}
|
|
@@ -1391,7 +1391,7 @@ export namespace JavaScriptCore {
|
|
|
1391
1391
|
abstract class VirtualMachinePrivate {
|
|
1392
1392
|
static $gtype: GObject.GType<VirtualMachinePrivate>;
|
|
1393
1393
|
|
|
1394
|
-
// Constructors
|
|
1394
|
+
// Constructors
|
|
1395
1395
|
|
|
1396
1396
|
_init(...args: any[]): void;
|
|
1397
1397
|
}
|
|
@@ -1400,7 +1400,7 @@ export namespace JavaScriptCore {
|
|
|
1400
1400
|
abstract class WeakValuePrivate {
|
|
1401
1401
|
static $gtype: GObject.GType<WeakValuePrivate>;
|
|
1402
1402
|
|
|
1403
|
-
// Constructors
|
|
1403
|
+
// Constructors
|
|
1404
1404
|
|
|
1405
1405
|
_init(...args: any[]): void;
|
|
1406
1406
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/javascriptcore-4.1",
|
|
3
|
-
"version": "2.44.2-4.0.0-beta.
|
|
3
|
+
"version": "2.44.2-4.0.0-beta.12",
|
|
4
4
|
"description": "GJS TypeScript type definitions for JavaScriptCore-4.1, generated from library version 2.44.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "javascriptcore-4.1.js",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
35
|
-
"@girs/glib-2.0": "^2.80.
|
|
36
|
-
"@girs/gobject-2.0": "^2.80.
|
|
34
|
+
"@girs/gjs": "^4.0.0-beta.12",
|
|
35
|
+
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.12",
|
|
36
|
+
"@girs/gobject-2.0": "^2.80.3-4.0.0-beta.12"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "*"
|