baja-lite 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/cjs/sql.js +1 -1
  2. package/es/sql.js +1 -1
  3. package/package.json +4 -4
package/cjs/sql.js CHANGED
@@ -3351,7 +3351,7 @@ const LetsGo = async function (options) {
3351
3351
  }
3352
3352
  }
3353
3353
  const clients = Object.values(globalThis[_dao][DBType.Redis]);
3354
- const Redlock = await Promise.resolve().then(() => __importStar(require('Redlock')));
3354
+ const Redlock = await Promise.resolve().then(() => __importStar(require('redlock')));
3355
3355
  globalThis[_dao][DBType.RedisLock] = new Redlock.default(clients, {
3356
3356
  // The expected clock drift; for more details see:
3357
3357
  // http://redis.io/topics/distlock
package/es/sql.js CHANGED
@@ -3310,7 +3310,7 @@ export const LetsGo = async function (options) {
3310
3310
  }
3311
3311
  }
3312
3312
  const clients = Object.values(globalThis[_dao][DBType.Redis]);
3313
- const Redlock = await import('Redlock');
3313
+ const Redlock = await import('redlock');
3314
3314
  globalThis[_dao][DBType.RedisLock] = new Redlock.default(clients, {
3315
3315
  // The expected clock drift; for more details see:
3316
3316
  // http://redis.io/topics/distlock
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baja-lite",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "some util for self",
5
5
  "homepage": "https://github.com/void-soul/util-man",
6
6
  "repository": {
@@ -41,11 +41,11 @@
41
41
  "devDependencies": {
42
42
  "@types/better-sqlite3": "7.6.10",
43
43
  "@types/lodash": "4.17.4",
44
- "@types/node": "20.14.0",
44
+ "@types/node": "20.14.1",
45
45
  "@types/md5": "2.3.5",
46
46
  "@types/sqlstring": "2.3.2",
47
- "@typescript-eslint/eslint-plugin": "7.11.0",
48
- "@typescript-eslint/parser": "7.11.0",
47
+ "@typescript-eslint/eslint-plugin": "7.12.0",
48
+ "@typescript-eslint/parser": "7.12.0",
49
49
  "better-sqlite3": "11.0.0",
50
50
  "mongodb": "6.7.0",
51
51
  "mysql2": "3.10.0",