@girs/javascriptcore-4.1 2.44.2-4.0.0-beta.9 → 2.44.2-4.0.0-beta.11

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/javascriptcore-4.1)
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.9.
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.11.
9
9
 
10
10
 
11
11
  ## Install
@@ -16,13 +16,17 @@ export namespace JavaScriptCore {
16
16
  * JavaScriptCore-4.1
17
17
  */
18
18
 
19
- export namespace CheckSyntaxMode {
20
- export const $gtype: GObject.GType<CheckSyntaxMode>;
21
- }
19
+ /**
20
+ * Enum values to specify a mode to check for syntax errors in jsc_context_check_syntax().
21
+ */
22
22
 
23
23
  /**
24
24
  * Enum values to specify a mode to check for syntax errors in jsc_context_check_syntax().
25
25
  */
26
+ export namespace CheckSyntaxMode {
27
+ export const $gtype: GObject.GType<CheckSyntaxMode>;
28
+ }
29
+
26
30
  enum CheckSyntaxMode {
27
31
  /**
28
32
  * mode to check syntax of a script
@@ -33,13 +37,17 @@ export namespace JavaScriptCore {
33
37
  */
34
38
  MODULE,
35
39
  }
36
- export namespace CheckSyntaxResult {
37
- export const $gtype: GObject.GType<CheckSyntaxResult>;
38
- }
40
+ /**
41
+ * Enum values to specify the result of jsc_context_check_syntax().
42
+ */
39
43
 
40
44
  /**
41
45
  * Enum values to specify the result of jsc_context_check_syntax().
42
46
  */
47
+ export namespace CheckSyntaxResult {
48
+ export const $gtype: GObject.GType<CheckSyntaxResult>;
49
+ }
50
+
43
51
  enum CheckSyntaxResult {
44
52
  /**
45
53
  * no errors
@@ -66,13 +74,17 @@ export namespace JavaScriptCore {
66
74
  */
67
75
  STACK_OVERFLOW_ERROR,
68
76
  }
69
- export namespace OptionType {
70
- export const $gtype: GObject.GType<OptionType>;
71
- }
77
+ /**
78
+ * Enum values for options types.
79
+ */
72
80
 
73
81
  /**
74
82
  * Enum values for options types.
75
83
  */
84
+ export namespace OptionType {
85
+ export const $gtype: GObject.GType<OptionType>;
86
+ }
87
+
76
88
  enum OptionType {
77
89
  /**
78
90
  * A #gboolean option type.
@@ -103,13 +115,17 @@ export namespace JavaScriptCore {
103
115
  */
104
116
  RANGE_STRING,
105
117
  }
106
- export namespace TypedArrayType {
107
- export const $gtype: GObject.GType<TypedArrayType>;
108
- }
118
+ /**
119
+ * Possible types of the elements contained in a typed array.
120
+ */
109
121
 
110
122
  /**
111
123
  * Possible types of the elements contained in a typed array.
112
124
  */
125
+ export namespace TypedArrayType {
126
+ export const $gtype: GObject.GType<TypedArrayType>;
127
+ }
128
+
113
129
  enum TypedArrayType {
114
130
  /**
115
131
  * Not a typed array, or type unsupported.
@@ -370,14 +386,19 @@ export namespace JavaScriptCore {
370
386
  interface OptionsFunc {
371
387
  (option: string, type: OptionType, description?: string | null): boolean;
372
388
  }
373
- export namespace ValuePropertyFlags {
374
- export const $gtype: GObject.GType<ValuePropertyFlags>;
375
- }
389
+ /**
390
+ * Flags used when defining properties with jsc_value_object_define_property_data() and
391
+ * jsc_value_object_define_property_accessor().
392
+ */
376
393
 
377
394
  /**
378
395
  * Flags used when defining properties with jsc_value_object_define_property_data() and
379
396
  * jsc_value_object_define_property_accessor().
380
397
  */
398
+ export namespace ValuePropertyFlags {
399
+ export const $gtype: GObject.GType<ValuePropertyFlags>;
400
+ }
401
+
381
402
  enum ValuePropertyFlags {
382
403
  /**
383
404
  * the type of the property descriptor may be changed and the
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.9",
3
+ "version": "2.44.2-4.0.0-beta.11",
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.9",
35
- "@girs/glib-2.0": "^2.80.2-4.0.0-beta.9",
36
- "@girs/gobject-2.0": "^2.80.2-4.0.0-beta.9"
34
+ "@girs/gjs": "^4.0.0-beta.11",
35
+ "@girs/glib-2.0": "^2.80.3-4.0.0-beta.11",
36
+ "@girs/gobject-2.0": "^2.80.3-4.0.0-beta.11"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "*"