@nestjs-kitchen/authz 2.0.0 → 2.0.2

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.
@@ -226,7 +226,7 @@ const createJwtAuthzModule = /* @__PURE__ */ __name((authzProvider) => {
226
226
  }
227
227
  configure(consumer) {
228
228
  consumer.apply(JwtAuthzAlsMiddleware).exclude(...this.routesOpt.excludes).forRoutes(...this.routesOpt.global ? [
229
- "{*splat}"
229
+ "*"
230
230
  ] : this.routesOpt.routes);
231
231
  }
232
232
  }, __name(_a, "JwtAuthzModule"), _a);
@@ -223,7 +223,7 @@ const cereateSessionAuthzModule = /* @__PURE__ */ __name((authzProvider) => {
223
223
  }
224
224
  configure(consumer) {
225
225
  consumer.apply((0, import_express_session.default)(this.sessionAuthzOptions.session), SessionAuthzAlsMiddleware).exclude(...this.routesOpt.excludes).forRoutes(...this.routesOpt.global ? [
226
- "{*splat}"
226
+ "*"
227
227
  ] : this.routesOpt.routes);
228
228
  }
229
229
  }, __name(_a, "SessionAuthzModule"), _a);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nestjs-kitchen/authz",
3
3
  "private": false,
4
4
  "description": "Simplest authentication & authorization module in NextJS",
5
- "version": "2.0.0",
5
+ "version": "2.0.2",
6
6
  "homepage": "https://github.com/yikenman/nestjs-kitchen",
7
7
  "repository": "https://github.com/yikenman/nestjs-kitchen",
8
8
  "author": "yikenman",
@@ -27,13 +27,13 @@
27
27
  "uid": "^2.0.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@nestjs/testing": "^11.0.10",
30
+ "@nestjs/testing": "^11.0.0",
31
31
  "@types/cookie-parser": "^1.4.8",
32
32
  "@types/express": "^4.17.21",
33
33
  "@types/express-session": "^1.18.1",
34
34
  "@types/jest": "^29.5.14",
35
35
  "@types/jsonwebtoken": "^9.0.9",
36
- "@types/node": "^22.13.5",
36
+ "@types/node": "^22.13.9",
37
37
  "@types/passport": "^1.0.17",
38
38
  "@types/supertest": "^6.0.2",
39
39
  "jest": "^29.7.0",
@@ -42,7 +42,7 @@
42
42
  "ts-node": "^10.9.2",
43
43
  "tsconfig-paths": "^4.2.0",
44
44
  "tsup": "^8.4.0",
45
- "typescript": "^5.7.3"
45
+ "typescript": "^5.8.2"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=20.13.0"
@@ -58,10 +58,10 @@
58
58
  "Session"
59
59
  ],
60
60
  "peerDependencies": {
61
- "@nestjs/common": "^11.0.10",
62
- "@nestjs/core": "^11.0.10",
63
- "@nestjs/passport": "^11.0.5",
64
- "@nestjs/platform-express": "^11.0.10",
61
+ "@nestjs/common": "^10.0.0 || ^11.0.0",
62
+ "@nestjs/core": "^10.0.0 || ^11.0.0",
63
+ "@nestjs/passport": "^10.0.0 || ^11.0.0",
64
+ "@nestjs/platform-express": "^10.0.0 || ^11.0.0",
65
65
  "passport": "^0.7.0",
66
66
  "reflect-metadata": "^0.2.2",
67
67
  "rxjs": "^7.8.2"