@ts-for-gir/lib 4.0.0-beta.6 → 4.0.0-beta.7
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/constants.d.ts +6 -7
- package/lib/constants.js +74 -9
- package/lib/constants.js.map +1 -1
- package/lib/dependency-manager.d.ts +5 -38
- package/lib/dependency-manager.js +18 -95
- package/lib/dependency-manager.js.map +1 -1
- package/lib/generators/dts-inline.d.ts +2 -0
- package/lib/generators/dts-inline.js +6 -8
- package/lib/generators/dts-inline.js.map +1 -1
- package/lib/generators/dts-modules.d.ts +2 -0
- package/lib/generators/dts-modules.js +6 -8
- package/lib/generators/dts-modules.js.map +1 -1
- package/lib/generators/json.d.ts +2 -0
- package/lib/generators/json.js +7 -9
- package/lib/generators/json.js.map +1 -1
- package/lib/gir-module.d.ts +7 -13
- package/lib/gir-module.js +7 -5
- package/lib/gir-module.js.map +1 -1
- package/lib/gir.js +1 -1
- package/lib/gir.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/messages.d.ts +0 -3
- package/lib/messages.js +0 -3
- package/lib/messages.js.map +1 -1
- package/lib/transformation.d.ts +0 -12
- package/lib/transformation.js +2 -89
- package/lib/transformation.js.map +1 -1
- package/lib/types/options-generation.d.ts +19 -8
- package/lib/types/user-config.d.ts +21 -6
- package/lib/utils/files.d.ts +21 -0
- package/lib/utils/files.js +62 -0
- package/lib/utils/files.js.map +1 -0
- package/lib/utils/girs.d.ts +45 -0
- package/lib/utils/girs.js +101 -0
- package/lib/utils/girs.js.map +1 -0
- package/lib/utils/index.d.ts +6 -0
- package/lib/utils/index.js +7 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/numbers.d.ts +6 -0
- package/lib/utils/numbers.js +10 -0
- package/lib/utils/numbers.js.map +1 -0
- package/lib/utils/objects.d.ts +135 -0
- package/lib/utils/objects.js +122 -0
- package/lib/utils/objects.js.map +1 -0
- package/lib/utils/path.d.ts +1 -0
- package/lib/utils/path.js +7 -0
- package/lib/utils/path.js.map +1 -0
- package/lib/utils/strings.d.ts +74 -0
- package/lib/utils/strings.js +121 -0
- package/lib/utils/strings.js.map +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
+
import lodash from 'lodash';
|
|
3
|
+
export { inspect } from 'util';
|
|
4
|
+
/**
|
|
5
|
+
* Performs a deep comparison between two values to determine if they are
|
|
6
|
+
* equivalent.
|
|
7
|
+
*
|
|
8
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
|
9
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
|
10
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
|
11
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
|
12
|
+
* nodes are **not** supported.
|
|
13
|
+
*
|
|
14
|
+
* @category Lang
|
|
15
|
+
* @param value The value to compare.
|
|
16
|
+
* @param other The other value to compare.
|
|
17
|
+
* @returns Returns `true` if the values are equivalent, else `false`.
|
|
18
|
+
* @example
|
|
19
|
+
*
|
|
20
|
+
* var object = { 'user': 'fred' };
|
|
21
|
+
* var other = { 'user': 'fred' };
|
|
22
|
+
*
|
|
23
|
+
* _.isEqual(object, other);
|
|
24
|
+
* // => true
|
|
25
|
+
*
|
|
26
|
+
* object === other;
|
|
27
|
+
* // => false
|
|
28
|
+
*/
|
|
29
|
+
export const isEqual = lodash.isEqual;
|
|
30
|
+
/**
|
|
31
|
+
* Creates an array of values by running each element in collection through iteratee. The iteratee is
|
|
32
|
+
* invoked with three arguments: (value, index|key, collection).
|
|
33
|
+
*
|
|
34
|
+
* Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues,
|
|
35
|
+
* _.reject, and _.some.
|
|
36
|
+
*
|
|
37
|
+
* The guarded methods are:
|
|
38
|
+
* ary, callback, chunk, clone, create, curry, curryRight, drop, dropRight, every, fill, flatten, invert, max,
|
|
39
|
+
* min, parseInt, slice, sortBy, take, takeRight, template, trim, trimLeft, trimRight, trunc, random, range,
|
|
40
|
+
* sample, some, sum, uniq, and words
|
|
41
|
+
*
|
|
42
|
+
* @param collection The collection to iterate over.
|
|
43
|
+
* @param iteratee The function invoked per iteration.
|
|
44
|
+
* @return Returns the new mapped array.
|
|
45
|
+
*/
|
|
46
|
+
export const map = lodash.map;
|
|
47
|
+
/**
|
|
48
|
+
* Iterates over elements of collection, returning the first element predicate returns truthy for.
|
|
49
|
+
* The predicate is invoked with three arguments: (value, index|key, collection).
|
|
50
|
+
*
|
|
51
|
+
* @param collection The collection to search.
|
|
52
|
+
* @param predicate The function invoked per iteration.
|
|
53
|
+
* @param fromIndex The index to search from.
|
|
54
|
+
* @return Returns the matched element, else undefined.
|
|
55
|
+
*/
|
|
56
|
+
export const find = lodash.find;
|
|
57
|
+
/**
|
|
58
|
+
* Recursively merges own and inherited enumerable properties of source
|
|
59
|
+
* objects into the destination object, skipping source properties that resolve
|
|
60
|
+
* to `undefined`. Array and plain object properties are merged recursively.
|
|
61
|
+
* Other objects and value types are overridden by assignment. Source objects
|
|
62
|
+
* are applied from left to right. Subsequent sources overwrite property
|
|
63
|
+
* assignments of previous sources.
|
|
64
|
+
*
|
|
65
|
+
* **Note:** This method mutates `object`.
|
|
66
|
+
*
|
|
67
|
+
* @category Object
|
|
68
|
+
* @param object The destination object.
|
|
69
|
+
* @param [sources] The source objects.
|
|
70
|
+
* @returns Returns `object`.
|
|
71
|
+
* @example
|
|
72
|
+
*
|
|
73
|
+
* var users = {
|
|
74
|
+
* 'data': [{ 'user': 'barney' }, { 'user': 'fred' }]
|
|
75
|
+
* };
|
|
76
|
+
*
|
|
77
|
+
* var ages = {
|
|
78
|
+
* 'data': [{ 'age': 36 }, { 'age': 40 }]
|
|
79
|
+
* };
|
|
80
|
+
*
|
|
81
|
+
* _.merge(users, ages);
|
|
82
|
+
* // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }
|
|
83
|
+
*/
|
|
84
|
+
export const merge = lodash.merge;
|
|
85
|
+
/**
|
|
86
|
+
* Creates a shallow clone of value.
|
|
87
|
+
*
|
|
88
|
+
* Note: This method is loosely based on the structured clone algorithm and supports cloning arrays,
|
|
89
|
+
* array buffers, booleans, date objects, maps, numbers, Object objects, regex's, sets, strings, symbols,
|
|
90
|
+
* and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty
|
|
91
|
+
* object is returned for not cloneable values such as error objects, functions, DOM nodes, and WeakMaps.
|
|
92
|
+
*
|
|
93
|
+
* @param value The value to clone.
|
|
94
|
+
* @return Returns the cloned value.
|
|
95
|
+
*/
|
|
96
|
+
export const clone = lodash.clone;
|
|
97
|
+
/**
|
|
98
|
+
* This method is like clone except that it recursively clones value.
|
|
99
|
+
*
|
|
100
|
+
* @param value The value to recursively clone.
|
|
101
|
+
* @return Returns the deep cloned value.
|
|
102
|
+
*/
|
|
103
|
+
export const cloneDeep = lodash.cloneDeep;
|
|
104
|
+
/**
|
|
105
|
+
* Checking whether some variable is iterable
|
|
106
|
+
* @see https://stackoverflow.com/a/32538867
|
|
107
|
+
* @param obj Variable to check for iterable
|
|
108
|
+
* @returns Whether the variable is iterable or not
|
|
109
|
+
*/
|
|
110
|
+
export const isIterable = (obj) => {
|
|
111
|
+
return obj != null && typeof obj[Symbol.iterator] === 'function';
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Union (a ∪ b): create a set that contains the elements of both set a and set b.
|
|
115
|
+
* See https://2ality.com/2015/01/es6-set-operations.html#union
|
|
116
|
+
* @param target
|
|
117
|
+
* @param source
|
|
118
|
+
*/
|
|
119
|
+
export const union = (target, source) => {
|
|
120
|
+
return (target = new Set([...target, ...source]));
|
|
121
|
+
};
|
|
122
|
+
//# sourceMappingURL=objects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objects.js","sourceRoot":"","sources":["../../src/utils/objects.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,MAAM,MAAM,QAAQ,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;AAErC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAA;AAE7B;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;AAEjC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;AAEjC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,CAAA;AAEzC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAc,EAAW,EAAE;IAClD,OAAO,GAAG,IAAI,IAAI,IAAI,OAAO,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,UAAU,CAAA;AACpE,CAAC,CAAA;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAI,MAAoB,EAAE,MAAoB,EAAU,EAAE;IAC3E,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,CAAI,CAAC,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;AACxD,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const __dirname: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { dirname, resolve } from 'path';
|
|
2
|
+
import { fileURLToPath } from 'url';
|
|
3
|
+
// Get __filename on ESM
|
|
4
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
5
|
+
// Get __dirname on ESM, resolve to the root directory of this package
|
|
6
|
+
export const __dirname = resolve(dirname(__filename), '../..');
|
|
7
|
+
//# sourceMappingURL=path.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path.js","sourceRoot":"","sources":["../../src/utils/path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AAEnC,wBAAwB;AACxB,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACjD,sEAAsE;AACtE,MAAM,CAAC,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Removes line breaks and consecutive white spaces from a given string
|
|
3
|
+
* @param str
|
|
4
|
+
* @returns
|
|
5
|
+
*/
|
|
6
|
+
export declare const cleanString: (str: string) => string;
|
|
7
|
+
/**
|
|
8
|
+
* Get the first character of a string
|
|
9
|
+
* @param str The string to get the first character from
|
|
10
|
+
* @returns The first character
|
|
11
|
+
*/
|
|
12
|
+
export declare const getFirstChar: (str: string) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Get the last character of a string
|
|
15
|
+
* @param str The string to get the last character from
|
|
16
|
+
* @returns The last character
|
|
17
|
+
*/
|
|
18
|
+
export declare const getLastChar: (str: string) => string;
|
|
19
|
+
/**
|
|
20
|
+
* Check if the first character of a string is numeric
|
|
21
|
+
* @param str The string to check
|
|
22
|
+
* @returns Whether the first character is numeric or not
|
|
23
|
+
*/
|
|
24
|
+
export declare const isFirstCharNumeric: (str: string) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Convert a string to camelCase, keeps the first alphabet character as it is.
|
|
27
|
+
* @param str The string to convert
|
|
28
|
+
* @returns The converted string
|
|
29
|
+
*/
|
|
30
|
+
export declare const camelCase: (str: string) => string;
|
|
31
|
+
/**
|
|
32
|
+
* Convert a string to `lowerCamelCase`
|
|
33
|
+
* @param str The string to convert
|
|
34
|
+
* @returns The converted string
|
|
35
|
+
*/
|
|
36
|
+
export declare const lowerCamelCase: (str: string) => string;
|
|
37
|
+
/**
|
|
38
|
+
* Convert a string to `PascalCase`
|
|
39
|
+
* @param str The string to convert
|
|
40
|
+
* @returns The converted string
|
|
41
|
+
*/
|
|
42
|
+
export declare const pascalCase: (str: string) => string;
|
|
43
|
+
/** Alias for {@link pascalCase} */
|
|
44
|
+
export declare const upperCamelCase: (str: string) => string;
|
|
45
|
+
/**
|
|
46
|
+
* Convert a string to `snake_case`
|
|
47
|
+
* @param str The string to convert
|
|
48
|
+
* @returns The converted string
|
|
49
|
+
*/
|
|
50
|
+
export declare const snakeCase: (str: string) => string;
|
|
51
|
+
/**
|
|
52
|
+
* Convert a string to `kebab-case`
|
|
53
|
+
* @param str The string to convert
|
|
54
|
+
* @returns The converted string
|
|
55
|
+
*/
|
|
56
|
+
export declare const kebabCase: (str: string) => string;
|
|
57
|
+
/** Alias for {@link kebabCase} */
|
|
58
|
+
export declare const slugCase: (str: string) => string;
|
|
59
|
+
export declare const underscores: (str: string) => string;
|
|
60
|
+
/**
|
|
61
|
+
* Add indents to a string
|
|
62
|
+
* @param indents The number of indents
|
|
63
|
+
* @param spaceForIndent The number of spaces for each indent
|
|
64
|
+
* @returns The indented string
|
|
65
|
+
*/
|
|
66
|
+
export declare const generateIndent: (indents?: number, spaceForIndent?: number) => string;
|
|
67
|
+
/**
|
|
68
|
+
* Merge a large array of strings by using a smaller chunk size
|
|
69
|
+
* @param target The target array to merge into
|
|
70
|
+
* @param source The source array to merge from
|
|
71
|
+
* @param chunkSize The size of the chunks to merge
|
|
72
|
+
* @returns The merged array
|
|
73
|
+
*/
|
|
74
|
+
export declare const mergeLargeStringArray: (target: string[], source: string[], chunkSize?: number) => string[];
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { isNumeric } from './numbers.js';
|
|
2
|
+
/**
|
|
3
|
+
* Removes line breaks and consecutive white spaces from a given string
|
|
4
|
+
* @param str
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export const cleanString = (str) => {
|
|
8
|
+
str = str.replace(/\r?\n|\r/g, ' ');
|
|
9
|
+
str = str.replace(/\s+/g, ' ');
|
|
10
|
+
return str.trim();
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Get the first character of a string
|
|
14
|
+
* @param str The string to get the first character from
|
|
15
|
+
* @returns The first character
|
|
16
|
+
*/
|
|
17
|
+
export const getFirstChar = (str) => {
|
|
18
|
+
return str.charAt(0);
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Get the last character of a string
|
|
22
|
+
* @param str The string to get the last character from
|
|
23
|
+
* @returns The last character
|
|
24
|
+
*/
|
|
25
|
+
export const getLastChar = (str) => {
|
|
26
|
+
return str.charAt(str.length - 1);
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if the first character of a string is numeric
|
|
30
|
+
* @param str The string to check
|
|
31
|
+
* @returns Whether the first character is numeric or not
|
|
32
|
+
*/
|
|
33
|
+
export const isFirstCharNumeric = (str) => {
|
|
34
|
+
return isNumeric(getFirstChar(str));
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Convert a string to camelCase, keeps the first alphabet character as it is.
|
|
38
|
+
* @param str The string to convert
|
|
39
|
+
* @returns The converted string
|
|
40
|
+
*/
|
|
41
|
+
export const camelCase = (str) => {
|
|
42
|
+
return str
|
|
43
|
+
.replace(/\s(.)|(\s|-|_|\.)(.)/g, (a) => {
|
|
44
|
+
return a.toUpperCase();
|
|
45
|
+
})
|
|
46
|
+
.replace(/(\s|-|_|\.)/g, '');
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Convert a string to `lowerCamelCase`
|
|
50
|
+
* @param str The string to convert
|
|
51
|
+
* @returns The converted string
|
|
52
|
+
*/
|
|
53
|
+
export const lowerCamelCase = (str) => {
|
|
54
|
+
str = camelCase(str);
|
|
55
|
+
str = getFirstChar(str).toLowerCase() + str.slice(1);
|
|
56
|
+
return str;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Convert a string to `PascalCase`
|
|
60
|
+
* @param str The string to convert
|
|
61
|
+
* @returns The converted string
|
|
62
|
+
*/
|
|
63
|
+
export const pascalCase = (str) => {
|
|
64
|
+
str = camelCase(str);
|
|
65
|
+
str = getFirstChar(str).toUpperCase() + str.slice(1);
|
|
66
|
+
return str;
|
|
67
|
+
};
|
|
68
|
+
/** Alias for {@link pascalCase} */
|
|
69
|
+
export const upperCamelCase = pascalCase;
|
|
70
|
+
/**
|
|
71
|
+
* Convert a string to `snake_case`
|
|
72
|
+
* @param str The string to convert
|
|
73
|
+
* @returns The converted string
|
|
74
|
+
*/
|
|
75
|
+
export const snakeCase = (str) => {
|
|
76
|
+
return str
|
|
77
|
+
.replace(/([a-z])([A-Z])/g, '$1-$2') // replace camelCase with hyphen-case
|
|
78
|
+
.replace(/[^a-zA-Z0-9-]+/g, '_') // replace non-alphanumeric characters with underscore
|
|
79
|
+
.replace(/^_+|_+$/g, '') // remove any leading or trailing underscores
|
|
80
|
+
.toLowerCase();
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Convert a string to `kebab-case`
|
|
84
|
+
* @param str The string to convert
|
|
85
|
+
* @returns The converted string
|
|
86
|
+
*/
|
|
87
|
+
export const kebabCase = (str) => {
|
|
88
|
+
return str
|
|
89
|
+
.replace(/([a-z])([A-Z])/g, '$1-$2') // replace camelCase with hyphen-case
|
|
90
|
+
.replace(/[^a-zA-Z0-9-]+/g, '-') // replace non-alphanumeric characters with hyphen
|
|
91
|
+
.replace(/^-+|-+$/g, '') // remove any leading or trailing hyphens
|
|
92
|
+
.toLowerCase();
|
|
93
|
+
};
|
|
94
|
+
/** Alias for {@link kebabCase} */
|
|
95
|
+
export const slugCase = kebabCase;
|
|
96
|
+
export const underscores = (str) => {
|
|
97
|
+
return str.replace(/-|_/g, '_');
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Add indents to a string
|
|
101
|
+
* @param indents The number of indents
|
|
102
|
+
* @param spaceForIndent The number of spaces for each indent
|
|
103
|
+
* @returns The indented string
|
|
104
|
+
*/
|
|
105
|
+
export const generateIndent = (indents = 1, spaceForIndent = 4) => {
|
|
106
|
+
return ' '.repeat(indents * spaceForIndent);
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Merge a large array of strings by using a smaller chunk size
|
|
110
|
+
* @param target The target array to merge into
|
|
111
|
+
* @param source The source array to merge from
|
|
112
|
+
* @param chunkSize The size of the chunks to merge
|
|
113
|
+
* @returns The merged array
|
|
114
|
+
*/
|
|
115
|
+
export const mergeLargeStringArray = (target, source, chunkSize = 1000) => {
|
|
116
|
+
for (let i = 0; i < source.length; i += chunkSize) {
|
|
117
|
+
target.push(...source.slice(i, i + chunkSize));
|
|
118
|
+
}
|
|
119
|
+
return target;
|
|
120
|
+
};
|
|
121
|
+
//# sourceMappingURL=strings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strings.js","sourceRoot":"","sources":["../../src/utils/strings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE;IACvC,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC,CAAA;IACnC,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC9B,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACrB,CAAC,CAAA;AAED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AI,EAAY,EAAE;IAC5G,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,SAAS,EAAE,CAAC;QAChD,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,CAAA;IAClD,CAAC;IACD,OAAO,MAAM,CAAA;AACjB,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-for-gir/lib",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.7",
|
|
4
4
|
"description": "Typescript .d.ts generator from GIR for gjs",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/ejs": "^3.1.5",
|
|
54
54
|
"@types/eslint": "8.56.10",
|
|
55
|
-
"@types/lodash": "^4.17.
|
|
56
|
-
"@types/node": "^20.14.
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^7.16.
|
|
58
|
-
"@typescript-eslint/parser": "^7.16.
|
|
55
|
+
"@types/lodash": "^4.17.7",
|
|
56
|
+
"@types/node": "^20.14.11",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
|
58
|
+
"@typescript-eslint/parser": "^7.16.1",
|
|
59
59
|
"eslint": "^8.57.0",
|
|
60
60
|
"eslint-config-prettier": "^9.1.0",
|
|
61
|
-
"eslint-plugin-prettier": "^5.1
|
|
62
|
-
"prettier": "^3.3.
|
|
61
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
62
|
+
"prettier": "^3.3.3",
|
|
63
63
|
"rimraf": "^6.0.1",
|
|
64
64
|
"typescript": "^5.5.3"
|
|
65
65
|
},
|