@servicelabsco/slabs-access-manager 2.0.22 → 3.0.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/CHANGELOG.md ADDED
@@ -0,0 +1,42 @@
1
+ # Changelog
2
+
3
+ ## 3.0.0
4
+
5
+ Moves the package to `@servicelabsco/nestjs-utility-services` 4 and NestJS 12.
6
+
7
+ ### Upgrading an app
8
+
9
+ **Take this release in the same change as nu 4 and NestJS 12.** `@nestjs/*` come in as regular
10
+ dependencies of nu and of this package, so an app that upgrades only one of them ends up with two copies
11
+ of `@nestjs/core` / `@nestjs/common` and breaks at runtime: DI tokens and `instanceof HttpException` stop
12
+ matching. After installing, `npm ls @nestjs/core @nestjs/common` must show a single 12.x copy.
13
+
14
+ Follow nu's `docs/upgrade-4.0.md` for the rest of the app: Jest with `--experimental-vm-modules`,
15
+ `--enable-source-maps` in place of `source-map-support`, Node `^24.15.0`, the Sentry
16
+ `dist/instrument` import as the first line of `main.ts` / `worker.ts`, and `{*path}` route wildcards.
17
+ Also delete any `@sentry/*` entries from the app's `resolutions` (fn-arc, fn-expense,
18
+ fn-expense-processors and fn-meta pin them to 10.x): they force Sentry 10 underneath the Sentry 11
19
+ that nu 4 needs.
20
+
21
+ Nothing in this package's exports, routes, DTOs or entities changed for the upgrade. Checked against
22
+ fn-expense-services moved to nu 4 / NestJS 12 / this release: it builds, its suite passes apart from
23
+ suites that already failed before the upgrade, it maps every route it mapped before, and the responses
24
+ to the same requests match the previous build except for the `paused` key below.
25
+
26
+ ### Changed
27
+
28
+ - `@servicelabsco/nestjs-utility-services` `^4.0.0`; `@nestjs/common`, `@nestjs/core`, `@nestjs/typeorm`,
29
+ `@nestjs/testing`, `@nestjs/cli` and `@nestjs/schematics` on 12.x.
30
+ - `engines.node` is `^24.15.0`.
31
+ - Middleware routes use Express 5 named wildcards (`api/{*path}`, `internal/{*path}`, `v1/{*path}`, …).
32
+ - Sentry is initialised from nu's `dist/instrument` before anything else loads; `src/instrument.ts` is
33
+ gone. `source-map-support` is removed and `start:prod` runs with `--enable-source-maps`.
34
+
35
+ ### Behaviour changes inherited from nu 4
36
+
37
+ - BullMQ 6: `QueueService.getQueueStats()` no longer returns `paused` (paused jobs count as `waiting`),
38
+ so the `internal/queue` response loses that field. `QueueService.pause()` no longer waits for running
39
+ jobs; call `pause(true)` to wait.
40
+ - ioredis 6 speaks RESP3 by default and reconnects on a shorter schedule.
41
+ - NestJS 12 maps a plain `Error` carrying a `statusCode` to a 500; throw nu's exceptions instead.
42
+ - nu adds the `sys_upload_sessions` migration, which runs with the others.
@@ -13,7 +13,7 @@ export declare class AppController {
13
13
  getFailedJobs(): Promise<any[]>;
14
14
  refreshCache(): Promise<void>;
15
15
  cleanQueue(): Promise<void>;
16
- getQueueDetails(id: string): Promise<import("bullmq").Job<any, any, string>>;
16
+ getQueueDetails(id: string): Promise<import("bullmq").Job<any, any, string, import("bullmq").JobProgress>>;
17
17
  getQueue(): Promise<{
18
18
  runningStats: any;
19
19
  jobStats: {
@@ -67,15 +67,15 @@ const development_module_1 = require("./development/development.module");
67
67
  const mcp_module_1 = require("./mcp/mcp.module");
68
68
  let AppModule = class AppModule {
69
69
  configure(consumer) {
70
- consumer.apply(nestjs_utility_services_1.JwtMiddleware).forRoutes({ path: '*', method: common_1.RequestMethod.ALL });
71
- consumer.apply(nestjs_utility_services_1.BasicAuthMiddleware).forRoutes({ path: '*', method: common_1.RequestMethod.ALL });
72
- consumer.apply(nestjs_utility_services_1.RestrictedMiddleware).forRoutes({ path: 'api/*', method: common_1.RequestMethod.ALL });
73
- consumer.apply(nestjs_utility_services_1.InternalMiddleware).forRoutes({ path: 'internal/*', method: common_1.RequestMethod.ALL });
74
- consumer.apply(business_middleware_1.BusinessMiddleware).forRoutes({ path: 'api/*', method: common_1.RequestMethod.ALL });
75
- consumer.apply(external_access_middleware_1.ExternalAccessMiddleware).forRoutes({ path: 'v1/*', method: common_1.RequestMethod.ALL });
76
- consumer.apply(idempotency_middleware_1.IdempotencyMiddleware).forRoutes({ path: 'v1/*', method: common_1.RequestMethod.ALL });
77
- consumer.apply(nestjs_utility_services_1.ClientConnectMiddleware).forRoutes({ path: 'ai-server/*', method: common_1.RequestMethod.ALL });
78
- consumer.apply(development_middleware_1.DevelopmentMiddleware).forRoutes({ path: 'development/*', method: common_1.RequestMethod.ALL });
70
+ consumer.apply(nestjs_utility_services_1.JwtMiddleware).forRoutes({ path: '{*path}', method: common_1.RequestMethod.ALL });
71
+ consumer.apply(nestjs_utility_services_1.BasicAuthMiddleware).forRoutes({ path: '{*path}', method: common_1.RequestMethod.ALL });
72
+ consumer.apply(nestjs_utility_services_1.RestrictedMiddleware).forRoutes({ path: 'api/{*path}', method: common_1.RequestMethod.ALL });
73
+ consumer.apply(nestjs_utility_services_1.InternalMiddleware).forRoutes({ path: 'internal/{*path}', method: common_1.RequestMethod.ALL });
74
+ consumer.apply(business_middleware_1.BusinessMiddleware).forRoutes({ path: 'api/{*path}', method: common_1.RequestMethod.ALL });
75
+ consumer.apply(external_access_middleware_1.ExternalAccessMiddleware).forRoutes({ path: 'v1/{*path}', method: common_1.RequestMethod.ALL });
76
+ consumer.apply(idempotency_middleware_1.IdempotencyMiddleware).forRoutes({ path: 'v1/{*path}', method: common_1.RequestMethod.ALL });
77
+ consumer.apply(nestjs_utility_services_1.ClientConnectMiddleware).forRoutes({ path: 'ai-server/{*path}', method: common_1.RequestMethod.ALL });
78
+ consumer.apply(development_middleware_1.DevelopmentMiddleware).forRoutes({ path: 'development/{*path}', method: common_1.RequestMethod.ALL });
79
79
  consumer.apply(mcp_access_middleware_1.McpAccessMiddleware).forRoutes({ path: 'mcp', method: common_1.RequestMethod.ALL });
80
80
  consumer.apply(mcp_rate_limit_middleware_1.McpRateLimitMiddleware).forRoutes({ path: 'mcp', method: common_1.RequestMethod.ALL });
81
81
  consumer.apply(development_middleware_1.DevelopmentMiddleware).forRoutes({ path: 'mcp/admin', method: common_1.RequestMethod.ALL });
@@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'source-map-support/register';
package/dist/main.js CHANGED
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
36
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- require("./instrument");
39
+ require("@servicelabsco/nestjs-utility-services/dist/instrument");
40
40
  const common_1 = require("@nestjs/common");
41
41
  const core_1 = require("@nestjs/core");
42
42
  const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
@@ -45,7 +45,6 @@ require("dotenv/config");
45
45
  const httpContext = __importStar(require("express-http-context2"));
46
46
  const express_rate_limit_1 = __importDefault(require("express-rate-limit"));
47
47
  const helmet_1 = __importDefault(require("helmet"));
48
- require("source-map-support/register");
49
48
  const app_module_1 = require("./app.module");
50
49
  const corsConfig = __importStar(require("./config/cors.config"));
51
50
  const rateLimiterConfig = require("./config/rate.limiter.config");
@@ -53,7 +52,6 @@ const newRelicKey = process.env.NEWRELIC_KEY;
53
52
  if (newRelicKey) {
54
53
  require('newrelic');
55
54
  }
56
- require('source-map-support').install();
57
55
  Error.stackTraceLimit = 100;
58
56
  async function bootstrap() {
59
57
  const app = await core_1.NestFactory.create(app_module_1.AppModule);
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAAsB;AACtB,2CAAgD;AAChD,uCAA2C;AAE3C,oFAAwE;AACxE,wDAA0C;AAC1C,yBAAuB;AACvB,mEAAqD;AACrD,4EAA2C;AAC3C,oDAA4B;AAC5B,uCAAqC;AACrC,6CAAyC;AACzC,iEAAmD;AACnD,kEAAmE;AAEnE,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;AAC7C,IAAI,WAAW,EAAE,CAAC;IAEd,OAAO,CAAC,UAAU,CAAC,CAAC;AACxB,CAAC;AA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AC,GAAG,CAAC,CAAC;IAC/C,MAAM,cAAc,CAAC,cAAc,EAAE,CAAC;IAEtC,GAAG,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;IAExC,GAAG,CAAC,cAAc,CAAC,IAAI,uBAAc,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAG7E,MAAM,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC;AACtD,CAAC;AACD,SAAS,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicelabsco/slabs-access-manager",
3
- "version": "2.0.22",
3
+ "version": "3.0.0",
4
4
  "description": "Support for application level menus and dashboards",
5
5
  "author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "registry": "https://registry.npmjs.org/"
17
17
  },
18
18
  "engines": {
19
- "node": ">=24.11.0"
19
+ "node": "^24.15.0"
20
20
  },
21
21
  "types": "dist/index.d.ts",
22
22
  "scripts": {
@@ -31,13 +31,13 @@
31
31
  "start": "nest start",
32
32
  "start:dev": "nest start --watch",
33
33
  "start:debug": "nest start --debug --watch",
34
- "start:prod": "node dist/main",
34
+ "start:prod": "node --enable-source-maps dist/main",
35
35
  "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
36
- "test": "jest",
37
- "test:watch": "jest --watch",
38
- "test:cov": "jest --coverage",
36
+ "test": "node --experimental-vm-modules --disable-warning=ExperimentalWarning node_modules/jest/bin/jest.js",
37
+ "test:watch": "node --experimental-vm-modules --disable-warning=ExperimentalWarning node_modules/jest/bin/jest.js --watch",
38
+ "test:cov": "node --experimental-vm-modules --disable-warning=ExperimentalWarning node_modules/jest/bin/jest.js --coverage",
39
39
  "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
40
- "test:e2e": "jest --config ./test/jest-e2e.json",
40
+ "test:e2e": "node --experimental-vm-modules --disable-warning=ExperimentalWarning node_modules/jest/bin/jest.js --config ./test/jest-e2e.json",
41
41
  "typeorm": "typeorm-ts-node-commonjs --config src/config/orm.config.ts",
42
42
  "m:g": "./node_modules/.bin/ts-node ./node_modules/.bin/typeorm migration:generate -d src/config/orm.config.ts",
43
43
  "m:r": "./node_modules/.bin/ts-node ./node_modules/.bin/typeorm migration:run -d src/config/orm.config.ts",
@@ -52,8 +52,8 @@
52
52
  "@googleapis/chat": "^44.6.0",
53
53
  "@googleapis/drive": "^26.0.0",
54
54
  "@modelcontextprotocol/sdk": "^1.29.0",
55
- "@nestjs/typeorm": "^11.0.0",
56
- "@servicelabsco/nestjs-utility-services": "^3.0.19",
55
+ "@nestjs/typeorm": "^12.0.2",
56
+ "@servicelabsco/nestjs-utility-services": "^4.0.0",
57
57
  "cheerio": "^1.0.0",
58
58
  "csv-parse": "^6.2.1",
59
59
  "csv-parser": "^3.0.0",
@@ -67,11 +67,11 @@
67
67
  "zod": "^4.4.3"
68
68
  },
69
69
  "devDependencies": {
70
- "@nestjs/cli": "^11.0.16",
71
- "@nestjs/common": "^11.1.16",
72
- "@nestjs/core": "^11.1.16",
73
- "@nestjs/schematics": "^11.0.9",
74
- "@nestjs/testing": "^11.1.16",
70
+ "@nestjs/cli": "^12.0.11",
71
+ "@nestjs/common": "^12.3.2",
72
+ "@nestjs/core": "^12.3.2",
73
+ "@nestjs/schematics": "^12.0.12",
74
+ "@nestjs/testing": "^12.3.2",
75
75
  "@types/express": "^5.0.6",
76
76
  "@types/jest": "^30.0.0",
77
77
  "@types/multer": "^2.1.0",
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
4
- (0, nestjs_utility_services_1.initSentry)();
5
- //# sourceMappingURL=instrument.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"instrument.js","sourceRoot":"","sources":["../src/instrument.ts"],"names":[],"mappings":";;AAAA,oFAAoE;AAEpE,IAAA,oCAAU,GAAE,CAAC"}