baja-lite 1.1.11 → 1.1.13

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.
Files changed (3) hide show
  1. package/package.json +11 -11
  2. package/sql.js +2 -1
  3. package/sqlite.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baja-lite",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "some util for self",
5
5
  "homepage": "https://github.com/void-soul/util-man",
6
6
  "repository": {
@@ -34,9 +34,9 @@
34
34
  "xml": "bun --inspect ./src/test-xml.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@msgpack/msgpack": "3.0.0-beta3",
37
+ "@msgpack/msgpack": "3.1.0",
38
38
  "@types/request-promise": "4.1.51",
39
- "axios": "1.7.9",
39
+ "axios": "1.8.1",
40
40
  "decimal.js": "10.5.0",
41
41
  "html-parse-stringify": "3.0.1",
42
42
  "iterare": "1.2.1",
@@ -47,7 +47,7 @@
47
47
  "reflect-metadata": "0.2.2",
48
48
  "request": "2.88.2",
49
49
  "request-promise": "4.2.6",
50
- "sql-formatter": "15.4.10",
50
+ "sql-formatter": "15.4.11",
51
51
  "sqlstring": "2.3.3",
52
52
  "tslib": "2.8.1"
53
53
  },
@@ -59,14 +59,14 @@
59
59
  "@types/pg-pool": "2.0.6",
60
60
  "@types/shelljs": "0.8.15",
61
61
  "@types/sqlstring": "2.3.2",
62
- "@typescript-eslint/eslint-plugin": "8.22.0",
63
- "@typescript-eslint/parser": "8.22.0",
62
+ "@typescript-eslint/eslint-plugin": "8.26.0",
63
+ "@typescript-eslint/parser": "8.26.0",
64
64
  "better-sqlite3": "11.8.1",
65
- "ioredis": "5.4.2",
66
- "mongodb": "6.13.0",
67
- "mysql2": "3.12.0",
68
- "pg": "8.13.1",
69
- "pg-pool": "3.7.0",
65
+ "ioredis": "5.6.0",
66
+ "mongodb": "6.14.2",
67
+ "mysql2": "3.13.0",
68
+ "pg": "8.13.3",
69
+ "pg-pool": "3.7.1",
70
70
  "redlock": "5.0.0-beta.2",
71
71
  "shelljs": "0.8.5",
72
72
  "typescript": "5.7.3"
package/sql.js CHANGED
@@ -11,7 +11,7 @@ var _b, _c, _d, _e;
11
11
  var _f, _g, _h, _j;
12
12
  import { Throw } from './error.js';
13
13
  import tslib from 'tslib';
14
- import { iterate } from 'iterare';
14
+ import * as ite from 'iterare';
15
15
  import { emptyString } from './string.js';
16
16
  import pino from 'pino';
17
17
  import { excuteSplit, ExcuteSplitMode, sleep } from './fn.js';
@@ -24,6 +24,7 @@ import { convert } from './convert-xml.js';
24
24
  import { ArrayList } from './list.js';
25
25
  import LGet from 'lodash.get';
26
26
  import { encode, decode, ExtensionCodec, DecodeError } from "@msgpack/msgpack";
27
+ const iterate = ite.iterate;
27
28
  BigInt.prototype.toJSON = function () { return this.toString(); };
28
29
  const BIGINT_EXT_TYPE = 0;
29
30
  export const extensionCodec = new ExtensionCodec();
package/sqlite.js CHANGED
@@ -154,7 +154,7 @@ export class SqliteRemoteClass {
154
154
  }
155
155
  else {
156
156
  for (const db of Object.values(this.dbList)) {
157
- db.close();
157
+ db?.close();
158
158
  }
159
159
  this.dbList = {};
160
160
  }