@prosopo/api-express-router 3.3.0 → 3.3.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.
@@ -1,5 +1,5 @@
1
1
  $ tsc --build --verbose
2
- 5:08:46 PM - Projects in this build:
2
+ 9:33:54 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
- 5:08:46 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
+ 9:33:54 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/vite/vite-plugin-modify-exports-files.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
23
23
 
24
- 5:08:46 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
24
+ 9:33:54 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
- 5:08:46 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
26
+ 9:33:54 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
27
27
 
28
- 5:08:46 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
28
+ 9:33:54 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
29
29
 
30
- 5:08:46 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
30
+ 9:33:54 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
31
31
 
32
- 5:08:46 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
+ 9:33:54 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
- 5:08:46 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
+ 9:33:54 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
- 5:08:46 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/errorCodes.ts' is older than output '../common/tsconfig.tsbuildinfo'
36
+ 9:33:54 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
- 5:08:46 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/types.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
38
+ 9:33:54 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/types.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
39
39
 
40
- 5:08:46 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/tests/redisIndex.integration.test.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
40
+ 9:33:54 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
- 5:08:46 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
42
+ 9:33:54 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
43
43
 
44
- 5:08:46 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
+ 9:33:54 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
- 5:08:46 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
+ 9:33:54 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/provider.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
47
47
 
48
- 5:08:46 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
+ 9:33:54 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
49
49
 
50
- 5:08:46 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
+ 9:33:54 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/errorSites.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
51
51
 
52
- 5:08:46 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/tests/typesEnv.test-d.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
52
+ 9:33:54 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
- 5:08:46 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/errorSites.ts' is older than output '../env/tsconfig.tsbuildinfo'
54
+ 9:33:54 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/errorSites.ts' is older than output '../env/tsconfig.tsbuildinfo'
55
55
 
56
- 5:08:46 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
56
+ 9:33:54 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
57
57
 
58
- 5:08:46 PM - Building project '/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json'...
58
+ 9:33:54 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 421ms
61
+ ✓ built in 67ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @prosopo/api-express-router
2
2
 
3
+ ## 3.3.2
4
+ ### Patch Changes
5
+
6
+ - 749fe8a: Finish holding express at 4, and build `@prosopo/fingerprint` before the
7
+ provider that imports it.
8
+
9
+ v3.8.37 pinned `@prosopo/locale` back to express 4 because the i18next
10
+ middleware has no express 5 typings, but left `provider`, `cli`,
11
+ `api-express-router` and the two demos on express 5. That split the workspace:
12
+ `provider` takes the middleware handler from `locale`, which is now typed for
13
+ express 4, and hands it to its own express 5 `app.use`, which does not accept
14
+ it. All six are on express 4 now.
15
+
16
+ Separately, `packages/provider` gained a dependency on `@prosopo/fingerprint`
17
+ without a matching tsconfig project reference, so `tsc --build` did not build
18
+ it first. A full build hid this because something else built fingerprint
19
+ earlier; a partial build of just the packages a consumer needs did not, and
20
+ failed with "Cannot find module '@prosopo/fingerprint/summary'". The reference
21
+ is now declared.
22
+
23
+ Lift the express pins together with the dependabot ignore once the middleware
24
+ ships express 5 typings.
25
+
26
+ ## 3.3.1
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [49892fc]
30
+ - @prosopo/locale@3.12.1
31
+ - @prosopo/types@5.17.1
32
+ - @prosopo/common@3.3.0
33
+ - @prosopo/env@3.6.79
34
+
3
35
  ## 3.3.0
4
36
  ### Minor Changes
5
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/api-express-router",
3
- "version": "3.3.0",
3
+ "version": "3.3.2",
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.78",
23
- "@prosopo/locale": "3.12.0",
24
- "@prosopo/types": "5.17.0",
22
+ "@prosopo/env": "3.6.79",
23
+ "@prosopo/locale": "3.12.1",
24
+ "@prosopo/types": "5.17.1",
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",