@naturalcycles/mysql-lib 4.2.0 → 4.3.0

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/dist/mysql.db.js CHANGED
@@ -3,7 +3,7 @@ import { Readable, Transform } from 'node:stream';
3
3
  import { promisify } from 'node:util';
4
4
  import { BaseCommonDB, commonDBFullSupport, CommonDBType, DBQuery } from '@naturalcycles/db-lib';
5
5
  import { _assert, _filterUndefinedValues, _mapKeys, _mapValues, _Memo, _omit, commonLoggerPrefix, } from '@naturalcycles/js-lib';
6
- import { white } from '@naturalcycles/nodejs-lib';
6
+ import { white } from '@naturalcycles/nodejs-lib/colors';
7
7
  import * as mysql from 'mysql';
8
8
  import { dbQueryToSQLDelete, dbQueryToSQLSelect, dbQueryToSQLUpdate, insertSQL, } from './query.util.js';
9
9
  import { jsonSchemaToMySQLDDL, mapNameFromMySQL, mysqlTableStatsToJsonSchemaField, } from './schema/mysql.schema.util.js';
@@ -1,5 +1,5 @@
1
1
  import { _hb } from '@naturalcycles/js-lib';
2
- import { white, yellow } from '@naturalcycles/nodejs-lib';
2
+ import { white, yellow } from '@naturalcycles/nodejs-lib/colors';
3
3
  import * as mysql from 'mysql';
4
4
  import { mapNameToMySQL } from './schema/mysql.schema.util.js';
5
5
  const MAX_PACKET_SIZE = 1024 * 1024; // 1Mb
package/package.json CHANGED
@@ -38,7 +38,7 @@
38
38
  "engines": {
39
39
  "node": ">=22.12.0"
40
40
  },
41
- "version": "4.2.0",
41
+ "version": "4.3.0",
42
42
  "description": "MySQL client implementing CommonDB interface",
43
43
  "keywords": [
44
44
  "mysql",
package/src/mysql.db.ts CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  _omit,
25
25
  commonLoggerPrefix,
26
26
  } from '@naturalcycles/js-lib'
27
- import { white } from '@naturalcycles/nodejs-lib'
27
+ import { white } from '@naturalcycles/nodejs-lib/colors'
28
28
  import type { ReadableTyped } from '@naturalcycles/nodejs-lib/stream'
29
29
  import type {
30
30
  Connection,
package/src/query.util.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { DBQuery, DBQueryFilterOperator } from '@naturalcycles/db-lib'
2
2
  import type { AnyObjectWithId, CommonLogger } from '@naturalcycles/js-lib'
3
3
  import { _hb } from '@naturalcycles/js-lib'
4
- import { white, yellow } from '@naturalcycles/nodejs-lib'
4
+ import { white, yellow } from '@naturalcycles/nodejs-lib/colors'
5
5
  import type { QueryOptions } from 'mysql'
6
6
  import * as mysql from 'mysql'
7
7
  import { mapNameToMySQL } from './schema/mysql.schema.util.js'