@prosopo/api-express-router 3.3.1 → 3.3.3

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.
@@ -56,4 +56,4 @@ dist/cjs/index.cjs 1.55 kB │ gzip:
56
56
  dist/cjs/middlewares/requestLoggerMiddleware.cjs 1.81 kB │ gzip: 0.78 kB
57
57
  dist/cjs/middlewares/authMiddleware.cjs 2.45 kB │ gzip: 0.95 kB
58
58
 
59
- ✓ built in 32ms
59
+ ✓ built in 53ms
@@ -1,5 +1,5 @@
1
1
  $ tsc --build --verbose
2
- 7:41:14 PM - Projects in this build:
2
+ 4:00:17 PM - Projects in this build:
3
3
  * ../../dev/config/tsconfig.json
4
4
  * ../util/tsconfig.json
5
5
  * ../logger/tsconfig.json
@@ -19,41 +19,41 @@ $ tsc --build --verbose
19
19
  * ../env/tsconfig.json
20
20
  * tsconfig.json
21
21
 
22
- 7:41:14 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
22
+ 4:00:17 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
23
23
 
24
- 7:41:14 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
24
+ 4:00:17 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
25
25
 
26
- 7:41:14 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/tests/loggerBrowser.unit.test.ts' is older than output '../logger/tsconfig.tsbuildinfo'
26
+ 4:00:17 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/tests/loggerBrowser.unit.test.ts' is older than output '../logger/tsconfig.tsbuildinfo'
27
27
 
28
- 7:41:14 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/tests/apiRoute.unit.test.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
28
+ 4:00:17 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/tests/apiRoute.unit.test.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
29
29
 
30
- 7:41:14 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/process.ts' is older than output '../locale/tsconfig.tsbuildinfo'
30
+ 4:00:17 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/process.ts' is older than output '../locale/tsconfig.tsbuildinfo'
31
31
 
32
- 7:41:14 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
32
+ 4:00:17 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
33
33
 
34
- 7:41:14 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
34
+ 4:00:17 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
35
35
 
36
- 7:41:14 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/utils/objectUtils.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
36
+ 4:00:17 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/errorSites.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
37
37
 
38
- 7:41:14 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/types.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
38
+ 4:00:17 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
39
39
 
40
- 7:41:14 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
40
+ 4:00:17 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
41
41
 
42
- 7:41:14 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
42
+ 4:00:17 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
43
43
 
44
- 7:41:14 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/transformRule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
44
+ 4:00:18 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/transformRule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
45
45
 
46
- 7:41:15 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
46
+ 4:00:18 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
47
47
 
48
- 7:41:15 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
48
+ 4:00:18 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
49
49
 
50
- 7:41:15 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.test.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
50
+ 4:00:18 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.test.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
51
51
 
52
- 7:41:15 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/env.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
52
+ 4:00:18 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/index.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
53
53
 
54
- 7:41:15 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/tests/env.maintenance.unit.test.ts' is older than output '../env/tsconfig.tsbuildinfo'
54
+ 4:00:18 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/tsconfig.tsbuildinfo'
55
55
 
56
- 7:41:15 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
56
+ 4:00:18 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
57
57
 
58
- 7:41:15 PM - Building project '/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json'...
58
+ 4:00:18 PM - Building project '/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json'...
59
59
 
@@ -58,4 +58,4 @@ dist/endpointAdapter/apiExpressDefaultEndpointAdapter.js 1.15 kB │ gzip: 0.52
58
58
  dist/middlewares/requestLoggerMiddleware.js 1.75 kB │ gzip: 0.76 kB
59
59
  dist/middlewares/authMiddleware.js 2.31 kB │ gzip: 0.92 kB
60
60
 
61
- ✓ built in 45ms
61
+ ✓ built in 72ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @prosopo/api-express-router
2
2
 
3
+ ## 3.3.3
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [b460b0b]
7
+ - Updated dependencies [159766a]
8
+ - @prosopo/locale@3.13.0
9
+ - @prosopo/types@5.18.0
10
+ - @prosopo/env@3.6.80
11
+ - @prosopo/common@3.3.0
12
+
13
+ ## 3.3.2
14
+ ### Patch Changes
15
+
16
+ - 749fe8a: Finish holding express at 4, and build `@prosopo/fingerprint` before the
17
+ provider that imports it.
18
+
19
+ v3.8.37 pinned `@prosopo/locale` back to express 4 because the i18next
20
+ middleware has no express 5 typings, but left `provider`, `cli`,
21
+ `api-express-router` and the two demos on express 5. That split the workspace:
22
+ `provider` takes the middleware handler from `locale`, which is now typed for
23
+ express 4, and hands it to its own express 5 `app.use`, which does not accept
24
+ it. All six are on express 4 now.
25
+
26
+ Separately, `packages/provider` gained a dependency on `@prosopo/fingerprint`
27
+ without a matching tsconfig project reference, so `tsc --build` did not build
28
+ it first. A full build hid this because something else built fingerprint
29
+ earlier; a partial build of just the packages a consumer needs did not, and
30
+ failed with "Cannot find module '@prosopo/fingerprint/summary'". The reference
31
+ is now declared.
32
+
33
+ Lift the express pins together with the dependabot ignore once the middleware
34
+ ships express 5 typings.
35
+
3
36
  ## 3.3.1
4
37
  ### Patch Changes
5
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/api-express-router",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -19,19 +19,19 @@
19
19
  "@prosopo/api-route": "2.6.65",
20
20
  "@prosopo/common": "3.3.0",
21
21
  "@prosopo/logger": "2.1.5",
22
- "@prosopo/env": "3.6.79",
23
- "@prosopo/locale": "3.12.1",
24
- "@prosopo/types": "5.17.1",
22
+ "@prosopo/env": "3.6.80",
23
+ "@prosopo/locale": "3.13.0",
24
+ "@prosopo/types": "5.18.0",
25
25
  "@prosopo/util": "3.3.16",
26
26
  "@prosopo/util-crypto": "13.6.1",
27
27
  "dotenv": "18.0.7",
28
- "express": "5.3.0",
28
+ "express": "4.22.2",
29
29
  "uuid": "14.0.3",
30
30
  "zod": "3.23.8"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@prosopo/config": "3.5.0",
34
- "@types/express": "5.0.6",
34
+ "@types/express": "4.17.25",
35
35
  "@types/node": "22.10.2",
36
36
  "del-cli": "6.0.0",
37
37
  "typescript": "5.6.2",