@girs/libxml2-2.0 2.0.0-3.3.0 → 2.0.0-4.0.0-beta.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/README.md +1 -2
- package/libxml2-2.0-ambient.d.ts +3 -3
- package/libxml2-2.0.d.ts +53 -71
- package/libxml2-2.0.js +0 -4
- package/package.json +9 -14
- package/libxml2-2.0.cjs +0 -11
- package/libxml2-2.0.d.cts +0 -108
package/README.md
CHANGED
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for libxml2-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir)
|
|
8
|
+
GJS TypeScript type definitions for libxml2-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.2.
|
|
9
9
|
|
|
10
|
-
Powerful and feature complete XML handling library.
|
|
11
10
|
|
|
12
11
|
## Install
|
|
13
12
|
|
package/libxml2-2.0-ambient.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
declare module 'gi://libxml2?version=2.0' {
|
|
3
|
-
import
|
|
4
|
-
export default
|
|
3
|
+
import libxml2 from '@girs/libxml2-2.0';
|
|
4
|
+
export default libxml2;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
declare module 'gi://libxml2' {
|
|
8
|
-
import Libxml220 from '
|
|
8
|
+
import Libxml220 from 'gi://libxml2?version=2.0';
|
|
9
9
|
export default Libxml220;
|
|
10
10
|
}
|
|
11
11
|
|
package/libxml2-2.0.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
/*
|
|
3
2
|
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
3
|
*
|
|
@@ -7,7 +6,7 @@
|
|
|
7
6
|
*/
|
|
8
7
|
|
|
9
8
|
import './libxml2-2.0-ambient.d.ts';
|
|
10
|
-
|
|
9
|
+
|
|
11
10
|
/**
|
|
12
11
|
* libxml2-2.0
|
|
13
12
|
*/
|
|
@@ -15,99 +14,82 @@ import './libxml2-2.0-import.d.ts';
|
|
|
15
14
|
import type GObject from '@girs/gobject-2.0';
|
|
16
15
|
|
|
17
16
|
export namespace libxml2 {
|
|
17
|
+
function dummy(): void;
|
|
18
|
+
class Node {
|
|
19
|
+
static $gtype: GObject.GType<Node>;
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
interface Node {
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
class Node {
|
|
21
|
+
// Constructors of libxml2.Node
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
_init(...args: any[]): void;
|
|
24
|
+
}
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
class NodePtr {
|
|
27
|
+
static $gtype: GObject.GType<NodePtr>;
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
}
|
|
29
|
+
// Constructors of libxml2.NodePtr
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
_init(...args: any[]): void;
|
|
32
|
+
}
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
class Doc {
|
|
35
|
+
static $gtype: GObject.GType<Doc>;
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
}
|
|
37
|
+
// Constructors of libxml2.Doc
|
|
39
38
|
|
|
40
|
-
|
|
41
|
-
}
|
|
39
|
+
_init(...args: any[]): void;
|
|
40
|
+
}
|
|
42
41
|
|
|
43
|
-
class
|
|
42
|
+
class DocPtr {
|
|
43
|
+
static $gtype: GObject.GType<DocPtr>;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
// Constructors of libxml2.DocPtr
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
}
|
|
47
|
+
_init(...args: any[]): void;
|
|
48
|
+
}
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
class NsPtr {
|
|
51
|
+
static $gtype: GObject.GType<NsPtr>;
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
// Constructors of libxml2.NsPtr
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
_init(...args: any[]): void;
|
|
56
|
+
}
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
class Char {
|
|
59
|
+
static $gtype: GObject.GType<Char>;
|
|
59
60
|
|
|
60
|
-
|
|
61
|
-
}
|
|
61
|
+
// Constructors of libxml2.Char
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
_init(...args: any[]): void;
|
|
64
|
+
}
|
|
64
65
|
|
|
65
|
-
|
|
66
|
+
class TextWriter {
|
|
67
|
+
static $gtype: GObject.GType<TextWriter>;
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
+
// Constructors of libxml2.TextWriter
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
}
|
|
71
|
+
_init(...args: any[]): void;
|
|
72
|
+
}
|
|
72
73
|
|
|
73
|
-
class
|
|
74
|
+
class TextReader {
|
|
75
|
+
static $gtype: GObject.GType<TextReader>;
|
|
74
76
|
|
|
75
|
-
|
|
77
|
+
// Constructors of libxml2.TextReader
|
|
76
78
|
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
+
_init(...args: any[]): void;
|
|
80
|
+
}
|
|
79
81
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
interface TextReader {
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
class TextReader {
|
|
94
|
-
|
|
95
|
-
// Own properties of libxml2-2.0.libxml2.TextReader
|
|
96
|
-
|
|
97
|
-
static name: string
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Name of the imported GIR library
|
|
102
|
-
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
103
|
-
*/
|
|
104
|
-
const __name__: string
|
|
105
|
-
/**
|
|
106
|
-
* Version of the imported GIR library
|
|
107
|
-
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
108
|
-
*/
|
|
109
|
-
const __version__: string
|
|
82
|
+
/**
|
|
83
|
+
* Name of the imported GIR library
|
|
84
|
+
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
85
|
+
*/
|
|
86
|
+
const __name__: string;
|
|
87
|
+
/**
|
|
88
|
+
* Version of the imported GIR library
|
|
89
|
+
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
90
|
+
*/
|
|
91
|
+
const __version__: string;
|
|
110
92
|
}
|
|
111
93
|
|
|
112
94
|
export default libxml2;
|
|
113
|
-
// END
|
|
95
|
+
// END
|
package/libxml2-2.0.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/libxml2-2.0",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-4.0.0-beta.2",
|
|
4
4
|
"description": "GJS TypeScript type definitions for libxml2-2.0, generated from library version 2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "libxml2-2.0.js",
|
|
@@ -8,31 +8,26 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
"./ambient": {
|
|
10
10
|
"types": "./libxml2-2.0-ambient.d.ts",
|
|
11
|
+
"import": "./libxml2-2.0-ambient.js",
|
|
11
12
|
"default": "./libxml2-2.0-ambient.js"
|
|
12
13
|
},
|
|
13
14
|
"./import": {
|
|
14
15
|
"types": "./libxml2-2.0-import.d.ts",
|
|
16
|
+
"import": "./libxml2-2.0-import.js",
|
|
15
17
|
"default": "./libxml2-2.0-import.js"
|
|
16
18
|
},
|
|
17
19
|
".": {
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
"require": {
|
|
23
|
-
"types": "./libxml2-2.0.d.cts",
|
|
24
|
-
"default": "./libxml2-2.0.cjs"
|
|
25
|
-
}
|
|
20
|
+
"types": "./libxml2-2.0.d.ts",
|
|
21
|
+
"import": "./libxml2-2.0.js",
|
|
22
|
+
"default": "./libxml2-2.0.js"
|
|
26
23
|
}
|
|
27
24
|
},
|
|
28
25
|
"scripts": {
|
|
29
|
-
"test": "
|
|
30
|
-
"test:esm": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit libxml2-2.0.d.ts",
|
|
31
|
-
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit libxml2-2.0.d.cts"
|
|
26
|
+
"test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit libxml2-2.0.d.ts"
|
|
32
27
|
},
|
|
33
28
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^
|
|
35
|
-
"@girs/gobject-2.0": "^2.
|
|
29
|
+
"@girs/gjs": "^4.0.0-beta.2",
|
|
30
|
+
"@girs/gobject-2.0": "^2.80.0-4.0.0-beta.2"
|
|
36
31
|
},
|
|
37
32
|
"devDependencies": {
|
|
38
33
|
"typescript": "*"
|
package/libxml2-2.0.cjs
DELETED
package/libxml2-2.0.d.cts
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/*
|
|
3
|
-
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
|
-
*
|
|
5
|
-
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
-
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import './libxml2-2.0-ambient.d.ts';
|
|
10
|
-
import './libxml2-2.0-import.d.ts';
|
|
11
|
-
/**
|
|
12
|
-
* libxml2-2.0
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import type GObject from '@girs/gobject-2.0';
|
|
16
|
-
|
|
17
|
-
export function dummy(): void
|
|
18
|
-
export interface Node {
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export class Node {
|
|
22
|
-
|
|
23
|
-
// Own properties of libxml2-2.0.libxml2.Node
|
|
24
|
-
|
|
25
|
-
static name: string
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface NodePtr {
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export class NodePtr {
|
|
32
|
-
|
|
33
|
-
// Own properties of libxml2-2.0.libxml2.NodePtr
|
|
34
|
-
|
|
35
|
-
static name: string
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface Doc {
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export class Doc {
|
|
42
|
-
|
|
43
|
-
// Own properties of libxml2-2.0.libxml2.Doc
|
|
44
|
-
|
|
45
|
-
static name: string
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface DocPtr {
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export class DocPtr {
|
|
52
|
-
|
|
53
|
-
// Own properties of libxml2-2.0.libxml2.DocPtr
|
|
54
|
-
|
|
55
|
-
static name: string
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface NsPtr {
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export class NsPtr {
|
|
62
|
-
|
|
63
|
-
// Own properties of libxml2-2.0.libxml2.NsPtr
|
|
64
|
-
|
|
65
|
-
static name: string
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface Char {
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export class Char {
|
|
72
|
-
|
|
73
|
-
// Own properties of libxml2-2.0.libxml2.Char
|
|
74
|
-
|
|
75
|
-
static name: string
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export interface TextWriter {
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export class TextWriter {
|
|
82
|
-
|
|
83
|
-
// Own properties of libxml2-2.0.libxml2.TextWriter
|
|
84
|
-
|
|
85
|
-
static name: string
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface TextReader {
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export class TextReader {
|
|
92
|
-
|
|
93
|
-
// Own properties of libxml2-2.0.libxml2.TextReader
|
|
94
|
-
|
|
95
|
-
static name: string
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Name of the imported GIR library
|
|
100
|
-
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
101
|
-
*/
|
|
102
|
-
export const __name__: string
|
|
103
|
-
/**
|
|
104
|
-
* Version of the imported GIR library
|
|
105
|
-
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
106
|
-
*/
|
|
107
|
-
export const __version__: string
|
|
108
|
-
// END
|