@anchan828/nest-redlock 0.1.10 → 0.1.12

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.
@@ -1,6 +1,6 @@
1
1
  import Redis, { Cluster } from "ioredis";
2
2
  import { Settings } from "redlock";
3
- export declare type RedlockModuleOptions = {
3
+ export type RedlockModuleOptions = {
4
4
  clients: Iterable<Redis | Cluster>;
5
5
  settings?: Partial<Settings>;
6
6
  scripts?: {
@@ -15,4 +15,4 @@ export declare type RedlockModuleOptions = {
15
15
  */
16
16
  duration?: number;
17
17
  };
18
- export declare type RedlockKeyFunction<T extends (...args: any) => any = (...args: any) => any> = (target: any, ...args: Parameters<T>) => string[] | string;
18
+ export type RedlockKeyFunction<T extends (...args: any) => any = (...args: any) => any> = (target: any, ...args: Parameters<T>) => string[] | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anchan828/nest-redlock",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "This is a [Nest](https://github.com/nestjs/nest) implementation of the redlock algorithm for distributed redis locks.",
5
5
  "homepage": "https://github.com/anchan828/nest-redlock#readme",
6
6
  "bugs": {
@@ -28,21 +28,21 @@
28
28
  "devDependencies": {
29
29
  "@commitlint/cli": "^17.2.0",
30
30
  "@commitlint/config-conventional": "^17.2.0",
31
- "@nestjs/common": "^9.1.6",
32
- "@nestjs/core": "^9.1.6",
33
- "@nestjs/platform-express": "^9.1.6",
34
- "@nestjs/testing": "^9.1.6",
35
- "@types/jest": "^29.2.2",
31
+ "@nestjs/common": "^9.2.0",
32
+ "@nestjs/core": "^9.2.0",
33
+ "@nestjs/platform-express": "^9.2.0",
34
+ "@nestjs/testing": "^9.2.0",
35
+ "@types/jest": "^29.2.3",
36
36
  "@types/node": "^18.11.9",
37
37
  "@types/supertest": "^2.0.12",
38
- "@typescript-eslint/eslint-plugin": "^5.42.0",
39
- "@typescript-eslint/parser": "^5.42.0",
40
- "eslint": "^8.26.0",
38
+ "@typescript-eslint/eslint-plugin": "^5.43.0",
39
+ "@typescript-eslint/parser": "^5.43.0",
40
+ "eslint": "^8.27.0",
41
41
  "eslint-config-prettier": "^8.5.0",
42
42
  "eslint-plugin-prettier": "^4.2.1",
43
- "husky": "^8.0.1",
43
+ "husky": "^8.0.2",
44
44
  "ioredis": "^5.2.4",
45
- "jest": "^29.2.2",
45
+ "jest": "^29.3.1",
46
46
  "lint-staged": "^13.0.3",
47
47
  "prettier": "^2.7.1",
48
48
  "reflect-metadata": "^0.1.13",
@@ -50,7 +50,7 @@
50
50
  "supertest": "^6.3.1",
51
51
  "ts-jest": "^29.0.3",
52
52
  "ts-node": "^10.9.1",
53
- "typescript": "^4.8.4"
53
+ "typescript": "^4.9.3"
54
54
  },
55
55
  "volta": {
56
56
  "node": "18.12.1"