@sqb/connect 4.9.1 → 4.10.1
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/cjs/client/cursor-stream.js +2 -5
- package/cjs/client/cursor.js +5 -12
- package/cjs/client/field-info-map.js +0 -2
- package/cjs/client/sqb-client.js +1 -4
- package/cjs/client/sqb-connection.js +3 -6
- package/cjs/orm/base-entity.js +0 -1
- package/cjs/orm/commands/find.command.js +7 -11
- package/cjs/orm/commands/row-converter.js +1 -4
- package/cjs/orm/model/association-node.js +0 -3
- package/cjs/orm/model/association.js +0 -13
- package/cjs/orm/model/link-chain.js +0 -3
- package/cjs/orm/repository.class.js +0 -3
- package/esm/client/cursor-stream.js +2 -5
- package/esm/client/cursor.js +5 -12
- package/esm/client/field-info-map.js +0 -2
- package/esm/client/sqb-client.js +1 -4
- package/esm/client/sqb-connection.js +3 -6
- package/esm/orm/base-entity.js +0 -1
- package/esm/orm/commands/find.command.js +7 -11
- package/esm/orm/commands/row-converter.js +1 -4
- package/esm/orm/model/association-node.js +0 -3
- package/esm/orm/model/association.js +0 -13
- package/esm/orm/model/link-chain.js +0 -3
- package/esm/orm/repository.class.js +0 -3
- package/package.json +15 -20
- /package/{esm → types}/client/adapter.d.ts +0 -0
- /package/{esm → types}/client/cursor-stream.d.ts +0 -0
- /package/{esm → types}/client/cursor.d.ts +0 -0
- /package/{esm → types}/client/extensions.d.ts +0 -0
- /package/{esm → types}/client/field-info-map.d.ts +0 -0
- /package/{esm → types}/client/helpers.d.ts +0 -0
- /package/{esm → types}/client/sqb-client.d.ts +0 -0
- /package/{esm → types}/client/sqb-connection.d.ts +0 -0
- /package/{esm → types}/client/types.d.ts +0 -0
- /package/{esm → types}/index.d.ts +0 -0
- /package/{esm → types}/orm/backward.d.ts +0 -0
- /package/{esm → types}/orm/base-entity.d.ts +0 -0
- /package/{esm → types}/orm/commands/command.helper.d.ts +0 -0
- /package/{esm → types}/orm/commands/count.command.d.ts +0 -0
- /package/{esm → types}/orm/commands/create.command.d.ts +0 -0
- /package/{esm → types}/orm/commands/delete.command.d.ts +0 -0
- /package/{esm → types}/orm/commands/find.command.d.ts +0 -0
- /package/{esm → types}/orm/commands/row-converter.d.ts +0 -0
- /package/{esm → types}/orm/commands/update.command.d.ts +0 -0
- /package/{esm → types}/orm/decorators/column.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/embedded.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/entity.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/events.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/foreignkey.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/index.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/link.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/primarykey.decorator.d.ts +0 -0
- /package/{esm → types}/orm/decorators/transform.decorator.d.ts +0 -0
- /package/{esm → types}/orm/model/association-field-metadata.d.ts +0 -0
- /package/{esm → types}/orm/model/association-node.d.ts +0 -0
- /package/{esm → types}/orm/model/association.d.ts +0 -0
- /package/{esm → types}/orm/model/column-field-metadata.d.ts +0 -0
- /package/{esm → types}/orm/model/embedded-field-metadata.d.ts +0 -0
- /package/{esm → types}/orm/model/entity-metadata.d.ts +0 -0
- /package/{esm → types}/orm/model/field-metadata.d.ts +0 -0
- /package/{esm → types}/orm/model/index-metadata.d.ts +0 -0
- /package/{esm → types}/orm/model/link-chain.d.ts +0 -0
- /package/{esm → types}/orm/orm.const.d.ts +0 -0
- /package/{esm → types}/orm/orm.type.d.ts +0 -0
- /package/{esm → types}/orm/repository.class.d.ts +0 -0
- /package/{esm → types}/orm/util/apply-mixins.d.ts +0 -0
- /package/{esm → types}/orm/util/extract-keyvalues.d.ts +0 -0
- /package/{esm → types}/orm/util/orm.helper.d.ts +0 -0
- /package/{esm → types}/orm/util/serialize-field.d.ts +0 -0
- /package/{esm → types}/types.d.ts +0 -0
|
@@ -7,13 +7,10 @@ const stream_1 = require("stream");
|
|
|
7
7
|
const inspect = Symbol.for('nodejs.util.inspect.custom');
|
|
8
8
|
const debug = (0, debug_1.default)('sqb:cursorstream');
|
|
9
9
|
class CursorStream extends stream_1.Readable {
|
|
10
|
-
_cursor;
|
|
11
|
-
_objectMode;
|
|
12
|
-
_limit;
|
|
13
|
-
_rowNum = -1;
|
|
14
|
-
_eof = false;
|
|
15
10
|
constructor(cursor, options) {
|
|
16
11
|
super(options);
|
|
12
|
+
this._rowNum = -1;
|
|
13
|
+
this._eof = false;
|
|
17
14
|
this._cursor = cursor;
|
|
18
15
|
this._objectMode = options?.objectMode;
|
|
19
16
|
this._limit = options?.limit || Number.MAX_SAFE_INTEGER;
|
package/cjs/client/cursor.js
CHANGED
|
@@ -11,20 +11,13 @@ const cursor_stream_js_1 = require("./cursor-stream.js");
|
|
|
11
11
|
const helpers_js_1 = require("./helpers.js");
|
|
12
12
|
const debug = (0, debug_1.default)('sqb:cursor');
|
|
13
13
|
class Cursor extends (0, strict_typed_events_1.TypedEventEmitterClass)(strict_typed_events_1.AsyncEventEmitter) {
|
|
14
|
-
_connection;
|
|
15
|
-
_fields;
|
|
16
|
-
_prefetchRows;
|
|
17
|
-
_request;
|
|
18
|
-
_intlcur;
|
|
19
|
-
_taskQueue = new power_tasks_1.TaskQueue();
|
|
20
|
-
_fetchCache = new doublylinked_1.default();
|
|
21
|
-
_rowNum = 0;
|
|
22
|
-
_fetchedAll = false;
|
|
23
|
-
_fetchedRows = 0;
|
|
24
|
-
_row;
|
|
25
|
-
_cache;
|
|
26
14
|
constructor(connection, fields, adapterCursor, request) {
|
|
27
15
|
super();
|
|
16
|
+
this._taskQueue = new power_tasks_1.TaskQueue();
|
|
17
|
+
this._fetchCache = new doublylinked_1.default();
|
|
18
|
+
this._rowNum = 0;
|
|
19
|
+
this._fetchedAll = false;
|
|
20
|
+
this._fetchedRows = 0;
|
|
28
21
|
this._connection = connection;
|
|
29
22
|
this._intlcur = adapterCursor;
|
|
30
23
|
this._fields = fields;
|
package/cjs/client/sqb-client.js
CHANGED
|
@@ -13,12 +13,9 @@ const sqb_connection_js_1 = require("./sqb-connection.js");
|
|
|
13
13
|
const debug = (0, debug_1.default)('sqb:client');
|
|
14
14
|
const inspect = Symbol.for('nodejs.util.inspect.custom');
|
|
15
15
|
class SqbClient extends (0, strict_typed_events_1.TypedEventEmitterClass)(strict_typed_events_1.AsyncEventEmitter) {
|
|
16
|
-
_adapter;
|
|
17
|
-
_pool;
|
|
18
|
-
_defaults;
|
|
19
|
-
_entities = {};
|
|
20
16
|
constructor(config) {
|
|
21
17
|
super();
|
|
18
|
+
this._entities = {};
|
|
22
19
|
if (!(config && typeof config === 'object'))
|
|
23
20
|
throw new TypeError('Configuration object required');
|
|
24
21
|
let adapter;
|
|
@@ -14,15 +14,12 @@ const cursor_js_1 = require("./cursor.js");
|
|
|
14
14
|
const helpers_js_1 = require("./helpers.js");
|
|
15
15
|
const debug = (0, debug_1.default)('sqb:connection');
|
|
16
16
|
class SqbConnection extends (0, strict_typed_events_1.TypedEventEmitterClass)(strict_typed_events_1.AsyncEventEmitter) {
|
|
17
|
-
client;
|
|
18
|
-
_intlcon;
|
|
19
|
-
_tasks = new power_tasks_1.TaskQueue();
|
|
20
|
-
_options;
|
|
21
|
-
_inTransaction = false;
|
|
22
|
-
_refCount = 1;
|
|
23
17
|
constructor(client, adapterConnection, options) {
|
|
24
18
|
super();
|
|
25
19
|
this.client = client;
|
|
20
|
+
this._tasks = new power_tasks_1.TaskQueue();
|
|
21
|
+
this._inTransaction = false;
|
|
22
|
+
this._refCount = 1;
|
|
26
23
|
this._intlcon = adapterConnection;
|
|
27
24
|
this._options = options || {};
|
|
28
25
|
}
|
package/cjs/orm/base-entity.js
CHANGED
|
@@ -4,7 +4,6 @@ exports.BaseEntity = void 0;
|
|
|
4
4
|
const entity_decorator_js_1 = require("./decorators/entity.decorator.js");
|
|
5
5
|
const orm_const_js_1 = require("./orm.const.js");
|
|
6
6
|
class BaseEntity {
|
|
7
|
-
[orm_const_js_1.REPOSITORY_KEY];
|
|
8
7
|
constructor(partial) {
|
|
9
8
|
const fields = entity_decorator_js_1.Entity.getColumnFieldNames(Object.getPrototypeOf(this).constructor);
|
|
10
9
|
if (fields && partial) {
|
|
@@ -11,18 +11,14 @@ const command_helper_js_1 = require("./command.helper.js");
|
|
|
11
11
|
const row_converter_js_1 = require("./row-converter.js");
|
|
12
12
|
const SORT_ORDER_PATTERN = /^([-+])?(.*)$/;
|
|
13
13
|
class FindCommand {
|
|
14
|
-
maxEagerFetch = 100000;
|
|
15
|
-
maxSubQueries = 5;
|
|
16
|
-
mainEntity;
|
|
17
|
-
resultEntity;
|
|
18
|
-
converter;
|
|
19
|
-
mainAlias = 'T';
|
|
20
|
-
resultAlias = 'T';
|
|
21
|
-
_joins = [];
|
|
22
|
-
_selectColumns = {};
|
|
23
|
-
_filter = (0, builder_1.And)();
|
|
24
|
-
_sort;
|
|
25
14
|
constructor(selectEntity, outputEntity) {
|
|
15
|
+
this.maxEagerFetch = 100000;
|
|
16
|
+
this.maxSubQueries = 5;
|
|
17
|
+
this.mainAlias = 'T';
|
|
18
|
+
this.resultAlias = 'T';
|
|
19
|
+
this._joins = [];
|
|
20
|
+
this._selectColumns = {};
|
|
21
|
+
this._filter = (0, builder_1.And)();
|
|
26
22
|
this.mainEntity = selectEntity;
|
|
27
23
|
this.resultEntity = outputEntity;
|
|
28
24
|
this.converter = new row_converter_js_1.RowConverter(outputEntity.ctor);
|
|
@@ -12,13 +12,10 @@ const isNestedProperty = (prop) => {
|
|
|
12
12
|
return prop.converter && prop.findCommand;
|
|
13
13
|
};
|
|
14
14
|
class RowConverter {
|
|
15
|
-
resultType;
|
|
16
|
-
parent;
|
|
17
|
-
_properties = {};
|
|
18
|
-
_propertyKeys;
|
|
19
15
|
constructor(resultType, parent) {
|
|
20
16
|
this.resultType = resultType;
|
|
21
17
|
this.parent = parent;
|
|
18
|
+
this._properties = {};
|
|
22
19
|
}
|
|
23
20
|
addValueProperty(args) {
|
|
24
21
|
this._propertyKeys = undefined;
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AssociationNode = void 0;
|
|
4
4
|
const association_js_1 = require("./association.js");
|
|
5
5
|
class AssociationNode extends association_js_1.Association {
|
|
6
|
-
prior;
|
|
7
|
-
next;
|
|
8
|
-
conditions;
|
|
9
6
|
getFirst() {
|
|
10
7
|
let l = this;
|
|
11
8
|
while (l.prior)
|
|
@@ -5,19 +5,6 @@ const putil_varhelpers_1 = require("putil-varhelpers");
|
|
|
5
5
|
const orm_helper_js_1 = require("../util/orm.helper.js");
|
|
6
6
|
const entity_metadata_js_1 = require("./entity-metadata.js");
|
|
7
7
|
class Association {
|
|
8
|
-
_resolved;
|
|
9
|
-
_source; // cached value
|
|
10
|
-
_target; // cached value
|
|
11
|
-
_sourceKey; // cached value
|
|
12
|
-
_targetKey; // cached value
|
|
13
|
-
_sourceProperty;
|
|
14
|
-
_targetProperty;
|
|
15
|
-
name;
|
|
16
|
-
source;
|
|
17
|
-
target;
|
|
18
|
-
sourceKey;
|
|
19
|
-
targetKey;
|
|
20
|
-
many;
|
|
21
8
|
constructor(name, args) {
|
|
22
9
|
this.name = name;
|
|
23
10
|
this.source = args.source;
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LinkChain = void 0;
|
|
4
4
|
const association_node_js_1 = require("./association-node.js");
|
|
5
5
|
class LinkChain {
|
|
6
|
-
target;
|
|
7
|
-
first;
|
|
8
|
-
current;
|
|
9
6
|
constructor(target, targetKey, sourceKey, many) {
|
|
10
7
|
this.target = target;
|
|
11
8
|
this.first = this.current = new association_node_js_1.AssociationNode('', {
|
|
@@ -10,9 +10,6 @@ const find_command_js_1 = require("./commands/find.command.js");
|
|
|
10
10
|
const update_command_js_1 = require("./commands/update.command.js");
|
|
11
11
|
const extract_keyvalues_js_1 = require("./util/extract-keyvalues.js");
|
|
12
12
|
class Repository extends (0, strict_typed_events_1.TypedEventEmitterClass)(strict_typed_events_1.AsyncEventEmitter) {
|
|
13
|
-
_executor;
|
|
14
|
-
_entity;
|
|
15
|
-
_schema;
|
|
16
13
|
constructor(entityDef, executor, schema) {
|
|
17
14
|
super();
|
|
18
15
|
this._executor = executor;
|
|
@@ -3,13 +3,10 @@ import { Readable } from 'stream';
|
|
|
3
3
|
const inspect = Symbol.for('nodejs.util.inspect.custom');
|
|
4
4
|
const debug = _debug('sqb:cursorstream');
|
|
5
5
|
export class CursorStream extends Readable {
|
|
6
|
-
_cursor;
|
|
7
|
-
_objectMode;
|
|
8
|
-
_limit;
|
|
9
|
-
_rowNum = -1;
|
|
10
|
-
_eof = false;
|
|
11
6
|
constructor(cursor, options) {
|
|
12
7
|
super(options);
|
|
8
|
+
this._rowNum = -1;
|
|
9
|
+
this._eof = false;
|
|
13
10
|
this._cursor = cursor;
|
|
14
11
|
this._objectMode = options?.objectMode;
|
|
15
12
|
this._limit = options?.limit || Number.MAX_SAFE_INTEGER;
|
package/esm/client/cursor.js
CHANGED
|
@@ -7,20 +7,13 @@ import { CursorStream } from './cursor-stream.js';
|
|
|
7
7
|
import { callFetchHooks, normalizeRowsToArrayRows, normalizeRowsToObjectRows } from './helpers.js';
|
|
8
8
|
const debug = _debug('sqb:cursor');
|
|
9
9
|
export class Cursor extends TypedEventEmitterClass(AsyncEventEmitter) {
|
|
10
|
-
_connection;
|
|
11
|
-
_fields;
|
|
12
|
-
_prefetchRows;
|
|
13
|
-
_request;
|
|
14
|
-
_intlcur;
|
|
15
|
-
_taskQueue = new TaskQueue();
|
|
16
|
-
_fetchCache = new DoublyLinked();
|
|
17
|
-
_rowNum = 0;
|
|
18
|
-
_fetchedAll = false;
|
|
19
|
-
_fetchedRows = 0;
|
|
20
|
-
_row;
|
|
21
|
-
_cache;
|
|
22
10
|
constructor(connection, fields, adapterCursor, request) {
|
|
23
11
|
super();
|
|
12
|
+
this._taskQueue = new TaskQueue();
|
|
13
|
+
this._fetchCache = new DoublyLinked();
|
|
14
|
+
this._rowNum = 0;
|
|
15
|
+
this._fetchedAll = false;
|
|
16
|
+
this._fetchedRows = 0;
|
|
24
17
|
this._connection = connection;
|
|
25
18
|
this._intlcur = adapterCursor;
|
|
26
19
|
this._fields = fields;
|
package/esm/client/sqb-client.js
CHANGED
|
@@ -9,12 +9,9 @@ import { SqbConnection } from './sqb-connection.js';
|
|
|
9
9
|
const debug = _debug('sqb:client');
|
|
10
10
|
const inspect = Symbol.for('nodejs.util.inspect.custom');
|
|
11
11
|
export class SqbClient extends TypedEventEmitterClass(AsyncEventEmitter) {
|
|
12
|
-
_adapter;
|
|
13
|
-
_pool;
|
|
14
|
-
_defaults;
|
|
15
|
-
_entities = {};
|
|
16
12
|
constructor(config) {
|
|
17
13
|
super();
|
|
14
|
+
this._entities = {};
|
|
18
15
|
if (!(config && typeof config === 'object'))
|
|
19
16
|
throw new TypeError('Configuration object required');
|
|
20
17
|
let adapter;
|
|
@@ -10,15 +10,12 @@ import { Cursor } from './cursor.js';
|
|
|
10
10
|
import { callFetchHooks, normalizeRowsToArrayRows, normalizeRowsToObjectRows, wrapAdapterFields } from './helpers.js';
|
|
11
11
|
const debug = _debug('sqb:connection');
|
|
12
12
|
export class SqbConnection extends TypedEventEmitterClass(AsyncEventEmitter) {
|
|
13
|
-
client;
|
|
14
|
-
_intlcon;
|
|
15
|
-
_tasks = new TaskQueue();
|
|
16
|
-
_options;
|
|
17
|
-
_inTransaction = false;
|
|
18
|
-
_refCount = 1;
|
|
19
13
|
constructor(client, adapterConnection, options) {
|
|
20
14
|
super();
|
|
21
15
|
this.client = client;
|
|
16
|
+
this._tasks = new TaskQueue();
|
|
17
|
+
this._inTransaction = false;
|
|
18
|
+
this._refCount = 1;
|
|
22
19
|
this._intlcon = adapterConnection;
|
|
23
20
|
this._options = options || {};
|
|
24
21
|
}
|
package/esm/orm/base-entity.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Entity } from './decorators/entity.decorator.js';
|
|
2
2
|
import { REPOSITORY_KEY } from './orm.const.js';
|
|
3
3
|
export class BaseEntity {
|
|
4
|
-
[REPOSITORY_KEY];
|
|
5
4
|
constructor(partial) {
|
|
6
5
|
const fields = Entity.getColumnFieldNames(Object.getPrototypeOf(this).constructor);
|
|
7
6
|
if (fields && partial) {
|
|
@@ -8,18 +8,14 @@ import { joinAssociationGetLast, prepareFilter } from './command.helper.js';
|
|
|
8
8
|
import { RowConverter } from './row-converter.js';
|
|
9
9
|
const SORT_ORDER_PATTERN = /^([-+])?(.*)$/;
|
|
10
10
|
export class FindCommand {
|
|
11
|
-
maxEagerFetch = 100000;
|
|
12
|
-
maxSubQueries = 5;
|
|
13
|
-
mainEntity;
|
|
14
|
-
resultEntity;
|
|
15
|
-
converter;
|
|
16
|
-
mainAlias = 'T';
|
|
17
|
-
resultAlias = 'T';
|
|
18
|
-
_joins = [];
|
|
19
|
-
_selectColumns = {};
|
|
20
|
-
_filter = And();
|
|
21
|
-
_sort;
|
|
22
11
|
constructor(selectEntity, outputEntity) {
|
|
12
|
+
this.maxEagerFetch = 100000;
|
|
13
|
+
this.maxSubQueries = 5;
|
|
14
|
+
this.mainAlias = 'T';
|
|
15
|
+
this.resultAlias = 'T';
|
|
16
|
+
this._joins = [];
|
|
17
|
+
this._selectColumns = {};
|
|
18
|
+
this._filter = And();
|
|
23
19
|
this.mainEntity = selectEntity;
|
|
24
20
|
this.resultEntity = outputEntity;
|
|
25
21
|
this.converter = new RowConverter(outputEntity.ctor);
|
|
@@ -9,13 +9,10 @@ const isNestedProperty = (prop) => {
|
|
|
9
9
|
return prop.converter && prop.findCommand;
|
|
10
10
|
};
|
|
11
11
|
export class RowConverter {
|
|
12
|
-
resultType;
|
|
13
|
-
parent;
|
|
14
|
-
_properties = {};
|
|
15
|
-
_propertyKeys;
|
|
16
12
|
constructor(resultType, parent) {
|
|
17
13
|
this.resultType = resultType;
|
|
18
14
|
this.parent = parent;
|
|
15
|
+
this._properties = {};
|
|
19
16
|
}
|
|
20
17
|
addValueProperty(args) {
|
|
21
18
|
this._propertyKeys = undefined;
|
|
@@ -2,19 +2,6 @@ import { camelCase } from 'putil-varhelpers';
|
|
|
2
2
|
import { resolveEntityMeta } from '../util/orm.helper.js';
|
|
3
3
|
import { EntityMetadata } from './entity-metadata.js';
|
|
4
4
|
export class Association {
|
|
5
|
-
_resolved;
|
|
6
|
-
_source; // cached value
|
|
7
|
-
_target; // cached value
|
|
8
|
-
_sourceKey; // cached value
|
|
9
|
-
_targetKey; // cached value
|
|
10
|
-
_sourceProperty;
|
|
11
|
-
_targetProperty;
|
|
12
|
-
name;
|
|
13
|
-
source;
|
|
14
|
-
target;
|
|
15
|
-
sourceKey;
|
|
16
|
-
targetKey;
|
|
17
|
-
many;
|
|
18
5
|
constructor(name, args) {
|
|
19
6
|
this.name = name;
|
|
20
7
|
this.source = args.source;
|
|
@@ -7,9 +7,6 @@ import { FindCommand } from './commands/find.command.js';
|
|
|
7
7
|
import { UpdateCommand } from './commands/update.command.js';
|
|
8
8
|
import { extractKeyValues } from './util/extract-keyvalues.js';
|
|
9
9
|
export class Repository extends TypedEventEmitterClass(AsyncEventEmitter) {
|
|
10
|
-
_executor;
|
|
11
|
-
_entity;
|
|
12
|
-
_schema;
|
|
13
10
|
constructor(entityDef, executor, schema) {
|
|
14
11
|
super();
|
|
15
12
|
this._executor = executor;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqb/connect",
|
|
3
3
|
"description": "Multi-dialect database connection framework written with TypeScript",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.10.1",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Eray Hanoglu <e.hanoglu@panates.com>",
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
"url": "https://github.com/sqbjs/sqb.git",
|
|
14
14
|
"directory": "packages/connect"
|
|
15
15
|
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"module": "./esm/index.js",
|
|
18
|
+
"main": "./cjs/index.js",
|
|
19
|
+
"types": "./types/index.d.ts",
|
|
16
20
|
"scripts": {
|
|
17
21
|
"compile": "tsc",
|
|
18
22
|
"prebuild": "npm run lint && npm run clean",
|
|
@@ -30,33 +34,23 @@
|
|
|
30
34
|
},
|
|
31
35
|
"dependencies": {
|
|
32
36
|
"debug": "^4.3.4",
|
|
33
|
-
"lightning-pool": "^4.2.
|
|
37
|
+
"lightning-pool": "^4.2.2",
|
|
34
38
|
"lodash": "^4.17.21",
|
|
35
|
-
"power-tasks": "^1.7.
|
|
39
|
+
"power-tasks": "^1.7.2",
|
|
36
40
|
"putil-isplainobject": "^1.1.5",
|
|
37
|
-
"putil-merge": "^3.
|
|
38
|
-
"putil-promisify": "^1.10.
|
|
41
|
+
"putil-merge": "^3.12.1",
|
|
42
|
+
"putil-promisify": "^1.10.1",
|
|
39
43
|
"putil-varhelpers": "^1.6.5",
|
|
40
44
|
"reflect-metadata": "^0.1.13",
|
|
41
|
-
"strict-typed-events": "^2.3.
|
|
42
|
-
"ts-gems": "^2.
|
|
45
|
+
"strict-typed-events": "^2.3.2",
|
|
46
|
+
"ts-gems": "^2.5.0"
|
|
43
47
|
},
|
|
44
48
|
"devDependencies": {
|
|
45
|
-
"@types/debug": "^4.1.
|
|
46
|
-
"@types/lodash": "^4.14.
|
|
49
|
+
"@types/debug": "^4.1.12",
|
|
50
|
+
"@types/lodash": "^4.14.201"
|
|
47
51
|
},
|
|
48
52
|
"peerDependencies": {
|
|
49
|
-
"@sqb/builder": "^4.
|
|
50
|
-
},
|
|
51
|
-
"type": "module",
|
|
52
|
-
"types": "esm/index.d.ts",
|
|
53
|
-
"exports": {
|
|
54
|
-
".": {
|
|
55
|
-
"require": "./cjs/index.js",
|
|
56
|
-
"default": "./esm/index.js"
|
|
57
|
-
},
|
|
58
|
-
"./cjs": "./cjs/index.js",
|
|
59
|
-
"./esm": "./esm/index.js"
|
|
53
|
+
"@sqb/builder": "^4.10.1"
|
|
60
54
|
},
|
|
61
55
|
"engines": {
|
|
62
56
|
"node": ">=16.0",
|
|
@@ -66,6 +60,7 @@
|
|
|
66
60
|
"bin/",
|
|
67
61
|
"cjs/",
|
|
68
62
|
"esm/",
|
|
63
|
+
"types/",
|
|
69
64
|
"LICENSE",
|
|
70
65
|
"README.md"
|
|
71
66
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|