sedentary 0.0.14 → 0.0.15
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 +3 -0
- package/index.d.ts +9 -7
- package/index.js +12 -8
- package/lib/db.d.ts +9 -11
- package/lib/db.js +12 -18
- package/lib/minidb.js +1 -1
- package/package.json +10 -7
- package/sedentary-pg/README.md +2 -0
- package/sedentary-pg/lib/pgdb.ts +6 -7
- package/sedentary-pg/package-lock.json +144 -141
- package/sedentary-pg/package.json +11 -8
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
[![Stars][stars-badge]][github-url]
|
|
10
10
|
|
|
11
11
|
[![Types][types-badge]][npm-url]
|
|
12
|
+
[![Documentation][doc-badge]][doc-url]
|
|
12
13
|
[![Dependents][deps-badge]][npm-url]
|
|
13
14
|
[![Donate][donate-badge]][donate-url]
|
|
14
15
|
|
|
@@ -16,6 +17,8 @@
|
|
|
16
17
|
[code-url]: https://codeclimate.com/github/iccicci/sedentary
|
|
17
18
|
[cover-badge]: https://codeclimate.com/github/iccicci/sedentary/badges/coverage.svg
|
|
18
19
|
[deps-badge]: https://badgen.net/npm/dependents/sedentary?icon=npm&cache=300
|
|
20
|
+
[doc-badge]: https://readthedocs.org/projects/sedentary/badge/?version=latest
|
|
21
|
+
[doc-url]: https://sedentary.readthedocs.io/
|
|
19
22
|
[donate-badge]: https://badgen.net/badge/donate/bitcoin?icon=bitcoin&cache=300
|
|
20
23
|
[donate-url]: https://blockchain.info/address/1Md9WFAHrXTb3yPBwQWmUfv2RmzrtbHioB
|
|
21
24
|
[github-url]: https://github.com/iccicci/sedentary
|
package/index.d.ts
CHANGED
|
@@ -30,10 +30,11 @@ export interface IndexOptions {
|
|
|
30
30
|
unique?: boolean;
|
|
31
31
|
}
|
|
32
32
|
export declare type IndexDefinition = IndexAttributes | IndexOptions;
|
|
33
|
-
export declare type
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
export declare type IndexesDefinition = {
|
|
34
|
+
[key: string]: IndexDefinition;
|
|
35
|
+
};
|
|
36
|
+
declare type BaseModelOptions<T> = {
|
|
37
|
+
indexes?: IndexesDefinition;
|
|
37
38
|
init?: (this: T) => void;
|
|
38
39
|
sync?: boolean;
|
|
39
40
|
tableName?: string;
|
|
@@ -60,16 +61,17 @@ declare type Ancestor<A, N extends Natural, T extends Entry> = (new () => T) & {
|
|
|
60
61
|
} & {
|
|
61
62
|
load: (boh: boolean) => Promise<T[]>;
|
|
62
63
|
} & Meta<N, T>;
|
|
63
|
-
export interface
|
|
64
|
+
export interface SedentaryOptions {
|
|
64
65
|
log?: ((message: string) => void) | null;
|
|
66
|
+
serverless?: boolean;
|
|
65
67
|
sync?: boolean;
|
|
66
68
|
}
|
|
67
69
|
export declare class Sedentary {
|
|
68
70
|
protected db: DB;
|
|
69
71
|
protected log: (...data: unknown[]) => void;
|
|
70
|
-
|
|
72
|
+
protected sync: boolean;
|
|
71
73
|
private models;
|
|
72
|
-
constructor(filename: string, options?:
|
|
74
|
+
constructor(filename: string, options?: SedentaryOptions);
|
|
73
75
|
DATETIME(): Type<Date, unknown>;
|
|
74
76
|
FKEY<N extends Natural, E extends Entry>(attribute: Type<N, E>): Type<N, E>;
|
|
75
77
|
INT(size?: number): Type<number, unknown>;
|
package/index.js
CHANGED
|
@@ -25,18 +25,20 @@ class Sedentary {
|
|
|
25
25
|
for (const k in options)
|
|
26
26
|
if (!["log", "sync"].includes(k))
|
|
27
27
|
throw new Error(`new Sedentary: 'options' argument: Unknown '${k}' option`);
|
|
28
|
-
|
|
29
|
-
if (
|
|
30
|
-
|
|
28
|
+
const { log, sync } = Object.assign({ sync: true }, options);
|
|
29
|
+
if (log !== null && log !== undefined && !(log instanceof Function))
|
|
30
|
+
throw new Error("new Sedentary: 'log' option: Wrong type, expected 'null' or 'Function'");
|
|
31
|
+
if (typeof sync !== "boolean")
|
|
32
|
+
throw new Error("new Sedentary: 'sync' option: Wrong type, expected 'boolean'");
|
|
33
|
+
this.log = (0, log_1.createLogger)(log);
|
|
31
34
|
this.db = new minidb_1.MiniDB(filename, this.log);
|
|
35
|
+
this.sync = sync;
|
|
32
36
|
}
|
|
33
37
|
DATETIME() {
|
|
34
38
|
return new db_1.Type({ base: Date, type: "DATETIME" });
|
|
35
39
|
}
|
|
36
40
|
FKEY(attribute) {
|
|
37
|
-
const { attributeName, base, fieldName, size, tableName, type
|
|
38
|
-
if (!unique)
|
|
39
|
-
throw new Error(`Sedentary.FKEY: '${tableName}' table: '${attributeName}' attribute: is not unique: can't be used as FKEY target`);
|
|
41
|
+
const { attributeName, base, fieldName, size, tableName, type } = attribute;
|
|
40
42
|
return new db_1.Type({ base, foreignKey: { attributeName, fieldName, tableName }, size, type });
|
|
41
43
|
}
|
|
42
44
|
INT(size) {
|
|
@@ -59,7 +61,7 @@ class Sedentary {
|
|
|
59
61
|
this.log("Connecting...");
|
|
60
62
|
await this.db.connect();
|
|
61
63
|
this.log("Connected, syncing...");
|
|
62
|
-
await this.db.
|
|
64
|
+
await this.db.syncDataBase();
|
|
63
65
|
this.log("Synced");
|
|
64
66
|
}
|
|
65
67
|
catch (e) {
|
|
@@ -94,6 +96,7 @@ class Sedentary {
|
|
|
94
96
|
throw new Error(`Sedentary.model: '${name}' model: 'int8id' and 'primaryKey' options conflict each other`);
|
|
95
97
|
if (options.parent && options.primaryKey)
|
|
96
98
|
throw new Error(`Sedentary.model: '${name}' model: 'parent' and 'primaryKey' options conflict each other`);
|
|
99
|
+
let autoIncrement = true;
|
|
97
100
|
const { indexes, int8id, parent, primaryKey, sync, tableName } = Object.assign({ sync: this.sync, tableName: name }, options);
|
|
98
101
|
let { methods } = options;
|
|
99
102
|
let aarray = int8id
|
|
@@ -119,6 +122,7 @@ class Sedentary {
|
|
|
119
122
|
if (primaryKey && !Object.keys(attributes).includes(primaryKey))
|
|
120
123
|
throw new Error(`Sedentary.model: '${name}' model: 'primaryKey' option: Attribute '${primaryKey}' does not exists`);
|
|
121
124
|
if (parent || primaryKey) {
|
|
125
|
+
autoIncrement = false;
|
|
122
126
|
aarray = [];
|
|
123
127
|
constraints = [];
|
|
124
128
|
}
|
|
@@ -235,7 +239,7 @@ class Sedentary {
|
|
|
235
239
|
iarray.push({ fields: attributes, indexName, type, unique });
|
|
236
240
|
}
|
|
237
241
|
}
|
|
238
|
-
this.db.
|
|
242
|
+
this.db.tables.push(new db_1.Table({ autoIncrement, constraints, attributes: aarray, indexes: iarray, parent, sync, tableName }));
|
|
239
243
|
this.models[name] = true;
|
|
240
244
|
const init = parent
|
|
241
245
|
? options.init
|
package/lib/db.d.ts
CHANGED
|
@@ -48,32 +48,30 @@ export interface Index {
|
|
|
48
48
|
}
|
|
49
49
|
interface ITable {
|
|
50
50
|
attributes: Attribute<Natural, unknown>[];
|
|
51
|
+
autoIncrement: boolean;
|
|
51
52
|
constraints: Constraint[];
|
|
52
53
|
indexes: Index[];
|
|
53
|
-
oid?: number;
|
|
54
54
|
parent: Meta<Natural, unknown>;
|
|
55
|
-
primaryKey: string;
|
|
56
55
|
sync: boolean;
|
|
57
56
|
tableName: string;
|
|
58
57
|
}
|
|
59
58
|
declare const Table_base: new (defaults?: ITable) => ITable;
|
|
60
59
|
export declare class Table extends Table_base {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
autoIncrementOwn?: boolean;
|
|
61
|
+
oid?: number;
|
|
62
|
+
findField(name: string): Attribute<Natural, unknown>;
|
|
64
63
|
}
|
|
65
64
|
export declare abstract class DB {
|
|
66
|
-
tables:
|
|
67
|
-
[key: string]: Table;
|
|
68
|
-
};
|
|
69
|
-
tablesArr: Table[];
|
|
65
|
+
tables: Table[];
|
|
70
66
|
protected log: (...data: unknown[]) => void;
|
|
67
|
+
protected sync: boolean;
|
|
71
68
|
abstract connect(): Promise<void>;
|
|
72
69
|
abstract end(): Promise<void>;
|
|
73
70
|
constructor(log: (message: string) => void);
|
|
74
|
-
|
|
71
|
+
findTable(name: string): Table;
|
|
75
72
|
protected indexesEq(a: Index, b: Index): boolean;
|
|
76
|
-
|
|
73
|
+
syncDataBase(): Promise<void>;
|
|
74
|
+
protected syncLog(...data: unknown[]): void;
|
|
77
75
|
abstract dropConstraints(table: Table): Promise<number[]>;
|
|
78
76
|
abstract dropFields(table: Table): Promise<void>;
|
|
79
77
|
abstract dropIndexes(table: Table, constraintIndexes: number[]): Promise<void>;
|
package/lib/db.js
CHANGED
|
@@ -34,28 +34,18 @@ function autoImplement() {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
class Table extends autoImplement() {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (!this.primaryKey) {
|
|
40
|
-
if (this.parent)
|
|
41
|
-
this.primaryKey = this.parent.primaryKey;
|
|
42
|
-
else {
|
|
43
|
-
this.primaryKey = "id";
|
|
44
|
-
this.autoIncrement = true;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
37
|
+
findField(name) {
|
|
38
|
+
return this.attributes.filter(_ => _.fieldName === name)[0];
|
|
47
39
|
}
|
|
48
40
|
}
|
|
49
41
|
exports.Table = Table;
|
|
50
42
|
class DB {
|
|
51
43
|
constructor(log) {
|
|
52
|
-
this.tables =
|
|
53
|
-
this.tablesArr = [];
|
|
44
|
+
this.tables = [];
|
|
54
45
|
this.log = log;
|
|
55
46
|
}
|
|
56
|
-
|
|
57
|
-
this.tables
|
|
58
|
-
this.tablesArr.push(table);
|
|
47
|
+
findTable(name) {
|
|
48
|
+
return this.tables.filter(_ => _.tableName === name)[0];
|
|
59
49
|
}
|
|
60
50
|
indexesEq(a, b) {
|
|
61
51
|
if (a.fields.length !== b.fields.length)
|
|
@@ -69,9 +59,9 @@ class DB {
|
|
|
69
59
|
return false;
|
|
70
60
|
return true;
|
|
71
61
|
}
|
|
72
|
-
async
|
|
73
|
-
for (const
|
|
74
|
-
|
|
62
|
+
async syncDataBase() {
|
|
63
|
+
for (const table of this.tables) {
|
|
64
|
+
this.sync = table.sync;
|
|
75
65
|
await this.syncTable(table);
|
|
76
66
|
const indexes = await this.dropConstraints(table);
|
|
77
67
|
await this.dropIndexes(table, indexes);
|
|
@@ -82,5 +72,9 @@ class DB {
|
|
|
82
72
|
await this.syncIndexes(table);
|
|
83
73
|
}
|
|
84
74
|
}
|
|
75
|
+
syncLog(...data) {
|
|
76
|
+
const args = this.sync ? data : ["NOT SYNCING:", ...data];
|
|
77
|
+
this.log(...args);
|
|
78
|
+
}
|
|
85
79
|
}
|
|
86
80
|
exports.DB = DB;
|
package/lib/minidb.js
CHANGED
|
@@ -40,7 +40,7 @@ class MiniDB extends db_1.DB {
|
|
|
40
40
|
async dropFields(table) {
|
|
41
41
|
const { fields } = this.body.tables[table.tableName];
|
|
42
42
|
for (const attribute in fields) {
|
|
43
|
-
if (table.
|
|
43
|
+
if (!table.findField(attribute)) {
|
|
44
44
|
this.log(`'${table.tableName}': Removing field: '${attribute}'`);
|
|
45
45
|
delete fields[attribute];
|
|
46
46
|
}
|
package/package.json
CHANGED
|
@@ -5,21 +5,24 @@
|
|
|
5
5
|
"description": "The ORM which never needs to migrate",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@types/mocha": "9.0.0",
|
|
8
|
-
"@types/node": "16.11.
|
|
8
|
+
"@types/node": "16.11.10",
|
|
9
9
|
"@types/yamljs": "0.2.31",
|
|
10
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
11
|
-
"@typescript-eslint/parser": "5.
|
|
12
|
-
"eslint": "8.
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "5.4.0",
|
|
11
|
+
"@typescript-eslint/parser": "5.4.0",
|
|
12
|
+
"eslint": "8.3.0",
|
|
13
13
|
"mocha": "9.1.3",
|
|
14
14
|
"nyc": "15.1.0",
|
|
15
|
-
"prettier": "2.
|
|
15
|
+
"prettier": "2.5.0",
|
|
16
16
|
"ts-node": "10.4.0",
|
|
17
|
-
"typescript": "4.
|
|
17
|
+
"typescript": "4.5.2",
|
|
18
18
|
"yamljs": "0.3.0"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=12.0"
|
|
22
22
|
},
|
|
23
|
+
"funding": {
|
|
24
|
+
"url": "https://blockchain.info/address/1Md9WFAHrXTb3yPBwQWmUfv2RmzrtbHioB"
|
|
25
|
+
},
|
|
23
26
|
"homepage": "https://github.com/iccicci/sedentary#readme",
|
|
24
27
|
"keywords": [
|
|
25
28
|
"DB",
|
|
@@ -53,5 +56,5 @@
|
|
|
53
56
|
"version": "node -r ts-node/register utils.ts version"
|
|
54
57
|
},
|
|
55
58
|
"types": "index.d.ts",
|
|
56
|
-
"version": "0.0.
|
|
59
|
+
"version": "0.0.15"
|
|
57
60
|
}
|
package/sedentary-pg/README.md
CHANGED
package/sedentary-pg/lib/pgdb.ts
CHANGED
|
@@ -64,7 +64,7 @@ export class PGDB extends DB {
|
|
|
64
64
|
async dropFields(table: Table): Promise<void> {
|
|
65
65
|
const res = await this.client.query("SELECT attname FROM pg_attribute WHERE attrelid = $1 AND attnum > 0 AND attisdropped = false AND attinhcount = 0", [table.oid]);
|
|
66
66
|
|
|
67
|
-
for(const i in res.rows) if(table.
|
|
67
|
+
for(const i in res.rows) if(! table.findField(res.rows[i].attname)) await this.dropField(table.tableName, res.rows[i].attname);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
async dropIndexes(table: Table, constraintIndexes: number[]): Promise<void> {
|
|
@@ -126,11 +126,11 @@ export class PGDB extends DB {
|
|
|
126
126
|
throw new Error(`Unknown type: '${type}', '${size}'`);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
async
|
|
129
|
+
async syncDataBase(): Promise<void> {
|
|
130
130
|
let err: Error;
|
|
131
131
|
|
|
132
132
|
try {
|
|
133
|
-
await super.
|
|
133
|
+
await super.syncDataBase();
|
|
134
134
|
} catch(e) {
|
|
135
135
|
err = e;
|
|
136
136
|
}
|
|
@@ -175,11 +175,10 @@ export class PGDB extends DB {
|
|
|
175
175
|
const { fieldName, notNull, size } = attribute;
|
|
176
176
|
const defaultValue = attribute.defaultValue === undefined ? undefined : format("%L", attribute.defaultValue);
|
|
177
177
|
const [base, type] = this.fieldType(attribute);
|
|
178
|
+
const adsrc = this.version >= 12 ? "pg_get_expr(pg_attrdef.adbin, pg_attrdef.adrelid) AS adsrc" : "adsrc";
|
|
178
179
|
|
|
179
180
|
const res = await this.client.query(
|
|
180
|
-
`SELECT attnotnull, atttypmod, typname, ${
|
|
181
|
-
this.version >= 12 ? "pg_get_expr(pg_attrdef.adbin, pg_attrdef.adrelid) AS adsrc" : "adsrc"
|
|
182
|
-
} FROM pg_type, pg_attribute LEFT JOIN pg_attrdef ON adrelid = attrelid AND adnum = attnum WHERE attrelid = $1 AND attnum > 0 AND atttypid = pg_type.oid AND attislocal = 't' AND attname = $2`,
|
|
181
|
+
`SELECT attnotnull, atttypmod, typname, ${adsrc} FROM pg_type, pg_attribute LEFT JOIN pg_attrdef ON adrelid = attrelid AND adnum = attnum WHERE attrelid = $1 AND attnum > 0 AND atttypid = pg_type.oid AND attislocal = 't' AND attname = $2`,
|
|
183
182
|
[oid, fieldName]
|
|
184
183
|
);
|
|
185
184
|
|
|
@@ -310,7 +309,7 @@ export class PGDB extends DB {
|
|
|
310
309
|
|
|
311
310
|
if(resParent.rowCount) {
|
|
312
311
|
if(! table.parent) drop = true;
|
|
313
|
-
else if(this.
|
|
312
|
+
else if(this.findTable(table.parent.tableName).oid === resParent.rows[0].inhparent) return;
|
|
314
313
|
|
|
315
314
|
drop = true;
|
|
316
315
|
} else if(table.parent) drop = true;
|
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sedentary-pg",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sedentary-pg",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.14",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@types/pg": "8.6.1",
|
|
13
13
|
"@types/pg-format": "1.0.2",
|
|
14
14
|
"pg": "8.7.1",
|
|
15
15
|
"pg-format": "1.0.4",
|
|
16
|
-
"sedentary": "0.0.
|
|
16
|
+
"sedentary": "0.0.14"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/mocha": "9.0.0",
|
|
20
|
-
"@types/node": "16.11.
|
|
20
|
+
"@types/node": "16.11.10",
|
|
21
21
|
"@types/yamljs": "0.2.31",
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
23
|
-
"@typescript-eslint/parser": "5.
|
|
24
|
-
"eslint": "8.
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "5.4.0",
|
|
23
|
+
"@typescript-eslint/parser": "5.4.0",
|
|
24
|
+
"eslint": "8.3.0",
|
|
25
25
|
"mocha": "9.1.3",
|
|
26
26
|
"nyc": "15.1.0",
|
|
27
|
-
"prettier": "2.
|
|
27
|
+
"prettier": "2.5.0",
|
|
28
28
|
"ts-node": "10.4.0",
|
|
29
|
-
"typescript": "4.
|
|
29
|
+
"typescript": "4.5.2",
|
|
30
30
|
"yamljs": "0.3.0"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": ">=12.0"
|
|
34
|
+
},
|
|
35
|
+
"funding": {
|
|
36
|
+
"url": "https://blockchain.info/address/1Md9WFAHrXTb3yPBwQWmUfv2RmzrtbHioB"
|
|
34
37
|
}
|
|
35
38
|
},
|
|
36
39
|
"node_modules/@babel/code-frame": {
|
|
@@ -540,9 +543,9 @@
|
|
|
540
543
|
"dev": true
|
|
541
544
|
},
|
|
542
545
|
"node_modules/@types/node": {
|
|
543
|
-
"version": "16.11.
|
|
544
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.
|
|
545
|
-
"integrity": "sha512-
|
|
546
|
+
"version": "16.11.10",
|
|
547
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.10.tgz",
|
|
548
|
+
"integrity": "sha512-3aRnHa1KlOEEhJ6+CvyHKK5vE9BcLGjtUpwvqYLRvYNQKMfabu3BwfJaA/SLW8dxe28LsNDjtHwePTuzn3gmOA=="
|
|
546
549
|
},
|
|
547
550
|
"node_modules/@types/pg": {
|
|
548
551
|
"version": "8.6.1",
|
|
@@ -566,13 +569,13 @@
|
|
|
566
569
|
"dev": true
|
|
567
570
|
},
|
|
568
571
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
|
569
|
-
"version": "5.
|
|
570
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.
|
|
571
|
-
"integrity": "sha512-
|
|
572
|
+
"version": "5.4.0",
|
|
573
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.4.0.tgz",
|
|
574
|
+
"integrity": "sha512-9/yPSBlwzsetCsGEn9j24D8vGQgJkOTr4oMLas/w886ZtzKIs1iyoqFrwsX2fqYEeUwsdBpC21gcjRGo57u0eg==",
|
|
572
575
|
"dev": true,
|
|
573
576
|
"dependencies": {
|
|
574
|
-
"@typescript-eslint/experimental-utils": "5.
|
|
575
|
-
"@typescript-eslint/scope-manager": "5.
|
|
577
|
+
"@typescript-eslint/experimental-utils": "5.4.0",
|
|
578
|
+
"@typescript-eslint/scope-manager": "5.4.0",
|
|
576
579
|
"debug": "^4.3.2",
|
|
577
580
|
"functional-red-black-tree": "^1.0.1",
|
|
578
581
|
"ignore": "^5.1.8",
|
|
@@ -598,15 +601,15 @@
|
|
|
598
601
|
}
|
|
599
602
|
},
|
|
600
603
|
"node_modules/@typescript-eslint/experimental-utils": {
|
|
601
|
-
"version": "5.
|
|
602
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.
|
|
603
|
-
"integrity": "sha512-
|
|
604
|
+
"version": "5.4.0",
|
|
605
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.4.0.tgz",
|
|
606
|
+
"integrity": "sha512-Nz2JDIQUdmIGd6p33A+naQmwfkU5KVTLb/5lTk+tLVTDacZKoGQisj8UCxk7onJcrgjIvr8xWqkYI+DbI3TfXg==",
|
|
604
607
|
"dev": true,
|
|
605
608
|
"dependencies": {
|
|
606
609
|
"@types/json-schema": "^7.0.9",
|
|
607
|
-
"@typescript-eslint/scope-manager": "5.
|
|
608
|
-
"@typescript-eslint/types": "5.
|
|
609
|
-
"@typescript-eslint/typescript-estree": "5.
|
|
610
|
+
"@typescript-eslint/scope-manager": "5.4.0",
|
|
611
|
+
"@typescript-eslint/types": "5.4.0",
|
|
612
|
+
"@typescript-eslint/typescript-estree": "5.4.0",
|
|
610
613
|
"eslint-scope": "^5.1.1",
|
|
611
614
|
"eslint-utils": "^3.0.0"
|
|
612
615
|
},
|
|
@@ -622,14 +625,14 @@
|
|
|
622
625
|
}
|
|
623
626
|
},
|
|
624
627
|
"node_modules/@typescript-eslint/parser": {
|
|
625
|
-
"version": "5.
|
|
626
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.
|
|
627
|
-
"integrity": "sha512-
|
|
628
|
+
"version": "5.4.0",
|
|
629
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.4.0.tgz",
|
|
630
|
+
"integrity": "sha512-JoB41EmxiYpaEsRwpZEYAJ9XQURPFer8hpkIW9GiaspVLX8oqbqNM8P4EP8HOZg96yaALiLEVWllA2E8vwsIKw==",
|
|
628
631
|
"dev": true,
|
|
629
632
|
"dependencies": {
|
|
630
|
-
"@typescript-eslint/scope-manager": "5.
|
|
631
|
-
"@typescript-eslint/types": "5.
|
|
632
|
-
"@typescript-eslint/typescript-estree": "5.
|
|
633
|
+
"@typescript-eslint/scope-manager": "5.4.0",
|
|
634
|
+
"@typescript-eslint/types": "5.4.0",
|
|
635
|
+
"@typescript-eslint/typescript-estree": "5.4.0",
|
|
633
636
|
"debug": "^4.3.2"
|
|
634
637
|
},
|
|
635
638
|
"engines": {
|
|
@@ -649,13 +652,13 @@
|
|
|
649
652
|
}
|
|
650
653
|
},
|
|
651
654
|
"node_modules/@typescript-eslint/scope-manager": {
|
|
652
|
-
"version": "5.
|
|
653
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.
|
|
654
|
-
"integrity": "sha512-
|
|
655
|
+
"version": "5.4.0",
|
|
656
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.4.0.tgz",
|
|
657
|
+
"integrity": "sha512-pRxFjYwoi8R+n+sibjgF9iUiAELU9ihPBtHzocyW8v8D8G8KeQvXTsW7+CBYIyTYsmhtNk50QPGLE3vrvhM5KA==",
|
|
655
658
|
"dev": true,
|
|
656
659
|
"dependencies": {
|
|
657
|
-
"@typescript-eslint/types": "5.
|
|
658
|
-
"@typescript-eslint/visitor-keys": "5.
|
|
660
|
+
"@typescript-eslint/types": "5.4.0",
|
|
661
|
+
"@typescript-eslint/visitor-keys": "5.4.0"
|
|
659
662
|
},
|
|
660
663
|
"engines": {
|
|
661
664
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
@@ -666,9 +669,9 @@
|
|
|
666
669
|
}
|
|
667
670
|
},
|
|
668
671
|
"node_modules/@typescript-eslint/types": {
|
|
669
|
-
"version": "5.
|
|
670
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.
|
|
671
|
-
"integrity": "sha512-
|
|
672
|
+
"version": "5.4.0",
|
|
673
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.4.0.tgz",
|
|
674
|
+
"integrity": "sha512-GjXNpmn+n1LvnttarX+sPD6+S7giO+9LxDIGlRl4wK3a7qMWALOHYuVSZpPTfEIklYjaWuMtfKdeByx0AcaThA==",
|
|
672
675
|
"dev": true,
|
|
673
676
|
"engines": {
|
|
674
677
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
@@ -679,13 +682,13 @@
|
|
|
679
682
|
}
|
|
680
683
|
},
|
|
681
684
|
"node_modules/@typescript-eslint/typescript-estree": {
|
|
682
|
-
"version": "5.
|
|
683
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.
|
|
684
|
-
"integrity": "sha512-
|
|
685
|
+
"version": "5.4.0",
|
|
686
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.4.0.tgz",
|
|
687
|
+
"integrity": "sha512-nhlNoBdhKuwiLMx6GrybPT3SFILm5Gij2YBdPEPFlYNFAXUJWX6QRgvi/lwVoadaQEFsizohs6aFRMqsXI2ewA==",
|
|
685
688
|
"dev": true,
|
|
686
689
|
"dependencies": {
|
|
687
|
-
"@typescript-eslint/types": "5.
|
|
688
|
-
"@typescript-eslint/visitor-keys": "5.
|
|
690
|
+
"@typescript-eslint/types": "5.4.0",
|
|
691
|
+
"@typescript-eslint/visitor-keys": "5.4.0",
|
|
689
692
|
"debug": "^4.3.2",
|
|
690
693
|
"globby": "^11.0.4",
|
|
691
694
|
"is-glob": "^4.0.3",
|
|
@@ -706,12 +709,12 @@
|
|
|
706
709
|
}
|
|
707
710
|
},
|
|
708
711
|
"node_modules/@typescript-eslint/visitor-keys": {
|
|
709
|
-
"version": "5.
|
|
710
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.
|
|
711
|
-
"integrity": "sha512-
|
|
712
|
+
"version": "5.4.0",
|
|
713
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.4.0.tgz",
|
|
714
|
+
"integrity": "sha512-PVbax7MeE7tdLfW5SA0fs8NGVVr+buMPrcj+CWYWPXsZCH8qZ1THufDzbXm1xrZ2b2PA1iENJ0sRq5fuUtvsJg==",
|
|
712
715
|
"dev": true,
|
|
713
716
|
"dependencies": {
|
|
714
|
-
"@typescript-eslint/types": "5.
|
|
717
|
+
"@typescript-eslint/types": "5.4.0",
|
|
715
718
|
"eslint-visitor-keys": "^3.0.0"
|
|
716
719
|
},
|
|
717
720
|
"engines": {
|
|
@@ -729,9 +732,9 @@
|
|
|
729
732
|
"dev": true
|
|
730
733
|
},
|
|
731
734
|
"node_modules/acorn": {
|
|
732
|
-
"version": "8.
|
|
733
|
-
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.
|
|
734
|
-
"integrity": "sha512-
|
|
735
|
+
"version": "8.6.0",
|
|
736
|
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz",
|
|
737
|
+
"integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==",
|
|
735
738
|
"dev": true,
|
|
736
739
|
"bin": {
|
|
737
740
|
"acorn": "bin/acorn"
|
|
@@ -1261,9 +1264,9 @@
|
|
|
1261
1264
|
}
|
|
1262
1265
|
},
|
|
1263
1266
|
"node_modules/eslint": {
|
|
1264
|
-
"version": "8.
|
|
1265
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.
|
|
1266
|
-
"integrity": "sha512-
|
|
1267
|
+
"version": "8.3.0",
|
|
1268
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.3.0.tgz",
|
|
1269
|
+
"integrity": "sha512-aIay56Ph6RxOTC7xyr59Kt3ewX185SaGnAr8eWukoPLeriCrvGjvAubxuvaXOfsxhtwV5g0uBOsyhAom4qJdww==",
|
|
1267
1270
|
"dev": true,
|
|
1268
1271
|
"dependencies": {
|
|
1269
1272
|
"@eslint/eslintrc": "^1.0.4",
|
|
@@ -1275,10 +1278,10 @@
|
|
|
1275
1278
|
"doctrine": "^3.0.0",
|
|
1276
1279
|
"enquirer": "^2.3.5",
|
|
1277
1280
|
"escape-string-regexp": "^4.0.0",
|
|
1278
|
-
"eslint-scope": "^
|
|
1281
|
+
"eslint-scope": "^7.1.0",
|
|
1279
1282
|
"eslint-utils": "^3.0.0",
|
|
1280
|
-
"eslint-visitor-keys": "^3.
|
|
1281
|
-
"espree": "^9.
|
|
1283
|
+
"eslint-visitor-keys": "^3.1.0",
|
|
1284
|
+
"espree": "^9.1.0",
|
|
1282
1285
|
"esquery": "^1.4.0",
|
|
1283
1286
|
"esutils": "^2.0.2",
|
|
1284
1287
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -1356,9 +1359,9 @@
|
|
|
1356
1359
|
}
|
|
1357
1360
|
},
|
|
1358
1361
|
"node_modules/eslint-visitor-keys": {
|
|
1359
|
-
"version": "3.
|
|
1360
|
-
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.
|
|
1361
|
-
"integrity": "sha512-
|
|
1362
|
+
"version": "3.1.0",
|
|
1363
|
+
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz",
|
|
1364
|
+
"integrity": "sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==",
|
|
1362
1365
|
"dev": true,
|
|
1363
1366
|
"engines": {
|
|
1364
1367
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
@@ -1383,9 +1386,9 @@
|
|
|
1383
1386
|
}
|
|
1384
1387
|
},
|
|
1385
1388
|
"node_modules/eslint/node_modules/eslint-scope": {
|
|
1386
|
-
"version": "
|
|
1387
|
-
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-
|
|
1388
|
-
"integrity": "sha512-
|
|
1389
|
+
"version": "7.1.0",
|
|
1390
|
+
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.0.tgz",
|
|
1391
|
+
"integrity": "sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==",
|
|
1389
1392
|
"dev": true,
|
|
1390
1393
|
"dependencies": {
|
|
1391
1394
|
"esrecurse": "^4.3.0",
|
|
@@ -1426,14 +1429,14 @@
|
|
|
1426
1429
|
}
|
|
1427
1430
|
},
|
|
1428
1431
|
"node_modules/espree": {
|
|
1429
|
-
"version": "9.
|
|
1430
|
-
"resolved": "https://registry.npmjs.org/espree/-/espree-9.
|
|
1431
|
-
"integrity": "sha512-
|
|
1432
|
+
"version": "9.1.0",
|
|
1433
|
+
"resolved": "https://registry.npmjs.org/espree/-/espree-9.1.0.tgz",
|
|
1434
|
+
"integrity": "sha512-ZgYLvCS1wxOczBYGcQT9DDWgicXwJ4dbocr9uYN+/eresBAUuBu+O4WzB21ufQ/JqQT8gyp7hJ3z8SHii32mTQ==",
|
|
1432
1435
|
"dev": true,
|
|
1433
1436
|
"dependencies": {
|
|
1434
|
-
"acorn": "^8.
|
|
1437
|
+
"acorn": "^8.6.0",
|
|
1435
1438
|
"acorn-jsx": "^5.3.1",
|
|
1436
|
-
"eslint-visitor-keys": "^3.
|
|
1439
|
+
"eslint-visitor-keys": "^3.1.0"
|
|
1437
1440
|
},
|
|
1438
1441
|
"engines": {
|
|
1439
1442
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
@@ -3072,9 +3075,9 @@
|
|
|
3072
3075
|
}
|
|
3073
3076
|
},
|
|
3074
3077
|
"node_modules/prettier": {
|
|
3075
|
-
"version": "2.
|
|
3076
|
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.
|
|
3077
|
-
"integrity": "sha512-
|
|
3078
|
+
"version": "2.5.0",
|
|
3079
|
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.0.tgz",
|
|
3080
|
+
"integrity": "sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg==",
|
|
3078
3081
|
"dev": true,
|
|
3079
3082
|
"bin": {
|
|
3080
3083
|
"prettier": "bin-prettier.js"
|
|
@@ -3295,9 +3298,9 @@
|
|
|
3295
3298
|
]
|
|
3296
3299
|
},
|
|
3297
3300
|
"node_modules/sedentary": {
|
|
3298
|
-
"version": "0.0.
|
|
3299
|
-
"resolved": "https://registry.npmjs.org/sedentary/-/sedentary-0.0.
|
|
3300
|
-
"integrity": "sha512-
|
|
3301
|
+
"version": "0.0.14",
|
|
3302
|
+
"resolved": "https://registry.npmjs.org/sedentary/-/sedentary-0.0.14.tgz",
|
|
3303
|
+
"integrity": "sha512-tJEcDRsQfoEGr8b3b51LAB/jL9WHdSMjXdiAvsVAa6or/vm6u6Vb82IkVVP51DCWP35/CvDwFBEPgnLSDBBddA==",
|
|
3301
3304
|
"engines": {
|
|
3302
3305
|
"node": ">=12.0"
|
|
3303
3306
|
}
|
|
@@ -3609,9 +3612,9 @@
|
|
|
3609
3612
|
}
|
|
3610
3613
|
},
|
|
3611
3614
|
"node_modules/typescript": {
|
|
3612
|
-
"version": "4.
|
|
3613
|
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.
|
|
3614
|
-
"integrity": "sha512-
|
|
3615
|
+
"version": "4.5.2",
|
|
3616
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz",
|
|
3617
|
+
"integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==",
|
|
3615
3618
|
"dev": true,
|
|
3616
3619
|
"bin": {
|
|
3617
3620
|
"tsc": "bin/tsc",
|
|
@@ -4319,9 +4322,9 @@
|
|
|
4319
4322
|
"dev": true
|
|
4320
4323
|
},
|
|
4321
4324
|
"@types/node": {
|
|
4322
|
-
"version": "16.11.
|
|
4323
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.
|
|
4324
|
-
"integrity": "sha512-
|
|
4325
|
+
"version": "16.11.10",
|
|
4326
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.10.tgz",
|
|
4327
|
+
"integrity": "sha512-3aRnHa1KlOEEhJ6+CvyHKK5vE9BcLGjtUpwvqYLRvYNQKMfabu3BwfJaA/SLW8dxe28LsNDjtHwePTuzn3gmOA=="
|
|
4325
4328
|
},
|
|
4326
4329
|
"@types/pg": {
|
|
4327
4330
|
"version": "8.6.1",
|
|
@@ -4345,13 +4348,13 @@
|
|
|
4345
4348
|
"dev": true
|
|
4346
4349
|
},
|
|
4347
4350
|
"@typescript-eslint/eslint-plugin": {
|
|
4348
|
-
"version": "5.
|
|
4349
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.
|
|
4350
|
-
"integrity": "sha512-
|
|
4351
|
+
"version": "5.4.0",
|
|
4352
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.4.0.tgz",
|
|
4353
|
+
"integrity": "sha512-9/yPSBlwzsetCsGEn9j24D8vGQgJkOTr4oMLas/w886ZtzKIs1iyoqFrwsX2fqYEeUwsdBpC21gcjRGo57u0eg==",
|
|
4351
4354
|
"dev": true,
|
|
4352
4355
|
"requires": {
|
|
4353
|
-
"@typescript-eslint/experimental-utils": "5.
|
|
4354
|
-
"@typescript-eslint/scope-manager": "5.
|
|
4356
|
+
"@typescript-eslint/experimental-utils": "5.4.0",
|
|
4357
|
+
"@typescript-eslint/scope-manager": "5.4.0",
|
|
4355
4358
|
"debug": "^4.3.2",
|
|
4356
4359
|
"functional-red-black-tree": "^1.0.1",
|
|
4357
4360
|
"ignore": "^5.1.8",
|
|
@@ -4361,55 +4364,55 @@
|
|
|
4361
4364
|
}
|
|
4362
4365
|
},
|
|
4363
4366
|
"@typescript-eslint/experimental-utils": {
|
|
4364
|
-
"version": "5.
|
|
4365
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.
|
|
4366
|
-
"integrity": "sha512-
|
|
4367
|
+
"version": "5.4.0",
|
|
4368
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.4.0.tgz",
|
|
4369
|
+
"integrity": "sha512-Nz2JDIQUdmIGd6p33A+naQmwfkU5KVTLb/5lTk+tLVTDacZKoGQisj8UCxk7onJcrgjIvr8xWqkYI+DbI3TfXg==",
|
|
4367
4370
|
"dev": true,
|
|
4368
4371
|
"requires": {
|
|
4369
4372
|
"@types/json-schema": "^7.0.9",
|
|
4370
|
-
"@typescript-eslint/scope-manager": "5.
|
|
4371
|
-
"@typescript-eslint/types": "5.
|
|
4372
|
-
"@typescript-eslint/typescript-estree": "5.
|
|
4373
|
+
"@typescript-eslint/scope-manager": "5.4.0",
|
|
4374
|
+
"@typescript-eslint/types": "5.4.0",
|
|
4375
|
+
"@typescript-eslint/typescript-estree": "5.4.0",
|
|
4373
4376
|
"eslint-scope": "^5.1.1",
|
|
4374
4377
|
"eslint-utils": "^3.0.0"
|
|
4375
4378
|
}
|
|
4376
4379
|
},
|
|
4377
4380
|
"@typescript-eslint/parser": {
|
|
4378
|
-
"version": "5.
|
|
4379
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.
|
|
4380
|
-
"integrity": "sha512-
|
|
4381
|
+
"version": "5.4.0",
|
|
4382
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.4.0.tgz",
|
|
4383
|
+
"integrity": "sha512-JoB41EmxiYpaEsRwpZEYAJ9XQURPFer8hpkIW9GiaspVLX8oqbqNM8P4EP8HOZg96yaALiLEVWllA2E8vwsIKw==",
|
|
4381
4384
|
"dev": true,
|
|
4382
4385
|
"requires": {
|
|
4383
|
-
"@typescript-eslint/scope-manager": "5.
|
|
4384
|
-
"@typescript-eslint/types": "5.
|
|
4385
|
-
"@typescript-eslint/typescript-estree": "5.
|
|
4386
|
+
"@typescript-eslint/scope-manager": "5.4.0",
|
|
4387
|
+
"@typescript-eslint/types": "5.4.0",
|
|
4388
|
+
"@typescript-eslint/typescript-estree": "5.4.0",
|
|
4386
4389
|
"debug": "^4.3.2"
|
|
4387
4390
|
}
|
|
4388
4391
|
},
|
|
4389
4392
|
"@typescript-eslint/scope-manager": {
|
|
4390
|
-
"version": "5.
|
|
4391
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.
|
|
4392
|
-
"integrity": "sha512-
|
|
4393
|
+
"version": "5.4.0",
|
|
4394
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.4.0.tgz",
|
|
4395
|
+
"integrity": "sha512-pRxFjYwoi8R+n+sibjgF9iUiAELU9ihPBtHzocyW8v8D8G8KeQvXTsW7+CBYIyTYsmhtNk50QPGLE3vrvhM5KA==",
|
|
4393
4396
|
"dev": true,
|
|
4394
4397
|
"requires": {
|
|
4395
|
-
"@typescript-eslint/types": "5.
|
|
4396
|
-
"@typescript-eslint/visitor-keys": "5.
|
|
4398
|
+
"@typescript-eslint/types": "5.4.0",
|
|
4399
|
+
"@typescript-eslint/visitor-keys": "5.4.0"
|
|
4397
4400
|
}
|
|
4398
4401
|
},
|
|
4399
4402
|
"@typescript-eslint/types": {
|
|
4400
|
-
"version": "5.
|
|
4401
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.
|
|
4402
|
-
"integrity": "sha512-
|
|
4403
|
+
"version": "5.4.0",
|
|
4404
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.4.0.tgz",
|
|
4405
|
+
"integrity": "sha512-GjXNpmn+n1LvnttarX+sPD6+S7giO+9LxDIGlRl4wK3a7qMWALOHYuVSZpPTfEIklYjaWuMtfKdeByx0AcaThA==",
|
|
4403
4406
|
"dev": true
|
|
4404
4407
|
},
|
|
4405
4408
|
"@typescript-eslint/typescript-estree": {
|
|
4406
|
-
"version": "5.
|
|
4407
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.
|
|
4408
|
-
"integrity": "sha512-
|
|
4409
|
+
"version": "5.4.0",
|
|
4410
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.4.0.tgz",
|
|
4411
|
+
"integrity": "sha512-nhlNoBdhKuwiLMx6GrybPT3SFILm5Gij2YBdPEPFlYNFAXUJWX6QRgvi/lwVoadaQEFsizohs6aFRMqsXI2ewA==",
|
|
4409
4412
|
"dev": true,
|
|
4410
4413
|
"requires": {
|
|
4411
|
-
"@typescript-eslint/types": "5.
|
|
4412
|
-
"@typescript-eslint/visitor-keys": "5.
|
|
4414
|
+
"@typescript-eslint/types": "5.4.0",
|
|
4415
|
+
"@typescript-eslint/visitor-keys": "5.4.0",
|
|
4413
4416
|
"debug": "^4.3.2",
|
|
4414
4417
|
"globby": "^11.0.4",
|
|
4415
4418
|
"is-glob": "^4.0.3",
|
|
@@ -4418,12 +4421,12 @@
|
|
|
4418
4421
|
}
|
|
4419
4422
|
},
|
|
4420
4423
|
"@typescript-eslint/visitor-keys": {
|
|
4421
|
-
"version": "5.
|
|
4422
|
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.
|
|
4423
|
-
"integrity": "sha512-
|
|
4424
|
+
"version": "5.4.0",
|
|
4425
|
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.4.0.tgz",
|
|
4426
|
+
"integrity": "sha512-PVbax7MeE7tdLfW5SA0fs8NGVVr+buMPrcj+CWYWPXsZCH8qZ1THufDzbXm1xrZ2b2PA1iENJ0sRq5fuUtvsJg==",
|
|
4424
4427
|
"dev": true,
|
|
4425
4428
|
"requires": {
|
|
4426
|
-
"@typescript-eslint/types": "5.
|
|
4429
|
+
"@typescript-eslint/types": "5.4.0",
|
|
4427
4430
|
"eslint-visitor-keys": "^3.0.0"
|
|
4428
4431
|
}
|
|
4429
4432
|
},
|
|
@@ -4434,9 +4437,9 @@
|
|
|
4434
4437
|
"dev": true
|
|
4435
4438
|
},
|
|
4436
4439
|
"acorn": {
|
|
4437
|
-
"version": "8.
|
|
4438
|
-
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.
|
|
4439
|
-
"integrity": "sha512-
|
|
4440
|
+
"version": "8.6.0",
|
|
4441
|
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz",
|
|
4442
|
+
"integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==",
|
|
4440
4443
|
"dev": true
|
|
4441
4444
|
},
|
|
4442
4445
|
"acorn-jsx": {
|
|
@@ -4851,9 +4854,9 @@
|
|
|
4851
4854
|
"dev": true
|
|
4852
4855
|
},
|
|
4853
4856
|
"eslint": {
|
|
4854
|
-
"version": "8.
|
|
4855
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.
|
|
4856
|
-
"integrity": "sha512-
|
|
4857
|
+
"version": "8.3.0",
|
|
4858
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.3.0.tgz",
|
|
4859
|
+
"integrity": "sha512-aIay56Ph6RxOTC7xyr59Kt3ewX185SaGnAr8eWukoPLeriCrvGjvAubxuvaXOfsxhtwV5g0uBOsyhAom4qJdww==",
|
|
4857
4860
|
"dev": true,
|
|
4858
4861
|
"requires": {
|
|
4859
4862
|
"@eslint/eslintrc": "^1.0.4",
|
|
@@ -4865,10 +4868,10 @@
|
|
|
4865
4868
|
"doctrine": "^3.0.0",
|
|
4866
4869
|
"enquirer": "^2.3.5",
|
|
4867
4870
|
"escape-string-regexp": "^4.0.0",
|
|
4868
|
-
"eslint-scope": "^
|
|
4871
|
+
"eslint-scope": "^7.1.0",
|
|
4869
4872
|
"eslint-utils": "^3.0.0",
|
|
4870
|
-
"eslint-visitor-keys": "^3.
|
|
4871
|
-
"espree": "^9.
|
|
4873
|
+
"eslint-visitor-keys": "^3.1.0",
|
|
4874
|
+
"espree": "^9.1.0",
|
|
4872
4875
|
"esquery": "^1.4.0",
|
|
4873
4876
|
"esutils": "^2.0.2",
|
|
4874
4877
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -4909,9 +4912,9 @@
|
|
|
4909
4912
|
"dev": true
|
|
4910
4913
|
},
|
|
4911
4914
|
"eslint-scope": {
|
|
4912
|
-
"version": "
|
|
4913
|
-
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-
|
|
4914
|
-
"integrity": "sha512-
|
|
4915
|
+
"version": "7.1.0",
|
|
4916
|
+
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.0.tgz",
|
|
4917
|
+
"integrity": "sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==",
|
|
4915
4918
|
"dev": true,
|
|
4916
4919
|
"requires": {
|
|
4917
4920
|
"esrecurse": "^4.3.0",
|
|
@@ -4969,20 +4972,20 @@
|
|
|
4969
4972
|
}
|
|
4970
4973
|
},
|
|
4971
4974
|
"eslint-visitor-keys": {
|
|
4972
|
-
"version": "3.
|
|
4973
|
-
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.
|
|
4974
|
-
"integrity": "sha512-
|
|
4975
|
+
"version": "3.1.0",
|
|
4976
|
+
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz",
|
|
4977
|
+
"integrity": "sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==",
|
|
4975
4978
|
"dev": true
|
|
4976
4979
|
},
|
|
4977
4980
|
"espree": {
|
|
4978
|
-
"version": "9.
|
|
4979
|
-
"resolved": "https://registry.npmjs.org/espree/-/espree-9.
|
|
4980
|
-
"integrity": "sha512-
|
|
4981
|
+
"version": "9.1.0",
|
|
4982
|
+
"resolved": "https://registry.npmjs.org/espree/-/espree-9.1.0.tgz",
|
|
4983
|
+
"integrity": "sha512-ZgYLvCS1wxOczBYGcQT9DDWgicXwJ4dbocr9uYN+/eresBAUuBu+O4WzB21ufQ/JqQT8gyp7hJ3z8SHii32mTQ==",
|
|
4981
4984
|
"dev": true,
|
|
4982
4985
|
"requires": {
|
|
4983
|
-
"acorn": "^8.
|
|
4986
|
+
"acorn": "^8.6.0",
|
|
4984
4987
|
"acorn-jsx": "^5.3.1",
|
|
4985
|
-
"eslint-visitor-keys": "^3.
|
|
4988
|
+
"eslint-visitor-keys": "^3.1.0"
|
|
4986
4989
|
}
|
|
4987
4990
|
},
|
|
4988
4991
|
"esprima": {
|
|
@@ -6198,9 +6201,9 @@
|
|
|
6198
6201
|
"dev": true
|
|
6199
6202
|
},
|
|
6200
6203
|
"prettier": {
|
|
6201
|
-
"version": "2.
|
|
6202
|
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.
|
|
6203
|
-
"integrity": "sha512-
|
|
6204
|
+
"version": "2.5.0",
|
|
6205
|
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.0.tgz",
|
|
6206
|
+
"integrity": "sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg==",
|
|
6204
6207
|
"dev": true
|
|
6205
6208
|
},
|
|
6206
6209
|
"process-on-spawn": {
|
|
@@ -6330,9 +6333,9 @@
|
|
|
6330
6333
|
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
|
|
6331
6334
|
},
|
|
6332
6335
|
"sedentary": {
|
|
6333
|
-
"version": "0.0.
|
|
6334
|
-
"resolved": "https://registry.npmjs.org/sedentary/-/sedentary-0.0.
|
|
6335
|
-
"integrity": "sha512-
|
|
6336
|
+
"version": "0.0.14",
|
|
6337
|
+
"resolved": "https://registry.npmjs.org/sedentary/-/sedentary-0.0.14.tgz",
|
|
6338
|
+
"integrity": "sha512-tJEcDRsQfoEGr8b3b51LAB/jL9WHdSMjXdiAvsVAa6or/vm6u6Vb82IkVVP51DCWP35/CvDwFBEPgnLSDBBddA=="
|
|
6336
6339
|
},
|
|
6337
6340
|
"semver": {
|
|
6338
6341
|
"version": "7.3.5",
|
|
@@ -6560,9 +6563,9 @@
|
|
|
6560
6563
|
}
|
|
6561
6564
|
},
|
|
6562
6565
|
"typescript": {
|
|
6563
|
-
"version": "4.
|
|
6564
|
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.
|
|
6565
|
-
"integrity": "sha512-
|
|
6566
|
+
"version": "4.5.2",
|
|
6567
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz",
|
|
6568
|
+
"integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==",
|
|
6566
6569
|
"dev": true
|
|
6567
6570
|
},
|
|
6568
6571
|
"uri-js": {
|
|
@@ -6,26 +6,29 @@
|
|
|
6
6
|
"@types/pg-format": "1.0.2",
|
|
7
7
|
"pg": "8.7.1",
|
|
8
8
|
"pg-format": "1.0.4",
|
|
9
|
-
"sedentary": "0.0.
|
|
9
|
+
"sedentary": "0.0.14"
|
|
10
10
|
},
|
|
11
11
|
"description": "The ORM which never needs to migrate - PostgreSQL",
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/mocha": "9.0.0",
|
|
14
|
-
"@types/node": "16.11.
|
|
14
|
+
"@types/node": "16.11.10",
|
|
15
15
|
"@types/yamljs": "0.2.31",
|
|
16
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
17
|
-
"@typescript-eslint/parser": "5.
|
|
18
|
-
"eslint": "8.
|
|
16
|
+
"@typescript-eslint/eslint-plugin": "5.4.0",
|
|
17
|
+
"@typescript-eslint/parser": "5.4.0",
|
|
18
|
+
"eslint": "8.3.0",
|
|
19
19
|
"mocha": "9.1.3",
|
|
20
20
|
"nyc": "15.1.0",
|
|
21
|
-
"prettier": "2.
|
|
21
|
+
"prettier": "2.5.0",
|
|
22
22
|
"ts-node": "10.4.0",
|
|
23
|
-
"typescript": "4.
|
|
23
|
+
"typescript": "4.5.2",
|
|
24
24
|
"yamljs": "0.3.0"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=12.0"
|
|
28
28
|
},
|
|
29
|
+
"funding": {
|
|
30
|
+
"url": "https://blockchain.info/address/1Md9WFAHrXTb3yPBwQWmUfv2RmzrtbHioB"
|
|
31
|
+
},
|
|
29
32
|
"homepage": "https://github.com/iccicci/sedentary-pg#readme",
|
|
30
33
|
"keywords": [
|
|
31
34
|
"DB",
|
|
@@ -59,5 +62,5 @@
|
|
|
59
62
|
"version": "node -r ts-node/register utils.ts version"
|
|
60
63
|
},
|
|
61
64
|
"types": "index.d.ts",
|
|
62
|
-
"version": "0.0.
|
|
65
|
+
"version": "0.0.14"
|
|
63
66
|
}
|