@prosopo/cli 3.8.4 → 3.8.5
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/.turbo/turbo-build$colon$cjs.log +5 -3
- package/.turbo/turbo-build$colon$tsc.log +31 -28
- package/.turbo/turbo-build.log +6 -4
- package/CHANGELOG.md +67 -0
- package/dist/bundle/provider.cli.bundle.js +60079 -40467
- package/dist/cjs/commands/siteKeyRegister.cjs +0 -7
- package/dist/commands/siteKeyRegister.d.ts.map +1 -1
- package/dist/commands/siteKeyRegister.js +1 -8
- package/dist/commands/siteKeyRegister.js.map +1 -1
- package/package.json +15 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/cli@3.8.
|
|
2
|
+
> @prosopo/cli@3.8.5 build:cjs
|
|
3
3
|
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
4
|
|
|
5
5
|
ViteCommonJSConfig: .
|
|
@@ -24,6 +24,7 @@ ViteCommonJSConfig: .
|
|
|
24
24
|
'/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
|
|
25
25
|
'/home/runner/work/captcha/captcha/packages/provider/tsconfig.json',
|
|
26
26
|
'/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json',
|
|
27
|
+
'/home/runner/work/captcha/captcha/packages/captcha-severity/tsconfig.json',
|
|
27
28
|
'/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json',
|
|
28
29
|
'/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
|
|
29
30
|
'/home/runner/work/captcha/captcha/packages/puzzle-assets/tsconfig.json'
|
|
@@ -50,6 +51,7 @@ ViteCommonJSConfig: .
|
|
|
50
51
|
'@prosopo/keyring',
|
|
51
52
|
'@prosopo/provider',
|
|
52
53
|
'@prosopo/api-express-router',
|
|
54
|
+
'@prosopo/captcha-severity',
|
|
53
55
|
'@prosopo/datasets',
|
|
54
56
|
'@prosopo/load-balancer',
|
|
55
57
|
'@prosopo/puzzle-assets'
|
|
@@ -80,11 +82,10 @@ dist/cjs/commands/migrateAbuserScoreThreshold.cjs 2.17 kB │ gzip: 0.90 kB
|
|
|
80
82
|
dist/cjs/argv.cjs 2.30 kB │ gzip: 0.66 kB
|
|
81
83
|
dist/cjs/start.cjs 2.45 kB │ gzip: 0.84 kB
|
|
82
84
|
dist/cjs/commands/siteKeyRegisterApi.cjs 3.70 kB │ gzip: 1.19 kB
|
|
83
|
-
dist/cjs/commands/siteKeyRegister.cjs 4.
|
|
85
|
+
dist/cjs/commands/siteKeyRegister.cjs 4.06 kB │ gzip: 1.22 kB
|
|
84
86
|
dist/cjs/prosopo.config.cjs 4.58 kB │ gzip: 1.46 kB
|
|
85
87
|
dist/cjs/RateLimiter.cjs 5.58 kB │ gzip: 0.89 kB
|
|
86
88
|
|
|
87
|
-
[32m✓ built in 48ms[39m
|
|
88
89
|
[33m[33m[EMPTY_IMPORT_META] [0m`import.meta` may not be a valid syntax with the `cjs` output format.
|
|
89
90
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m src/prosopo.config.ts:56:21 [38;5;246m][0m
|
|
90
91
|
[38;5;246m│[0m
|
|
@@ -93,3 +94,4 @@ dist/cjs/RateLimiter.cjs 5.58 kB │ gzip: 0.89 kB
|
|
|
93
94
|
[38;5;240m │[0m ╰─────── This `import.meta` will be replaced with an empty object (`{}`) automatically. If this is desired, you can suppress this warning by adding `transform.define: { 'import.meta': {} }`. If `import.meta` needs to be kept as-is, you need to set the output format to `esm`.
|
|
94
95
|
[38;5;246m────╯[0m
|
|
95
96
|
[39m
|
|
97
|
+
[32m✓ built in 70ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/cli@3.8.
|
|
2
|
+
> @prosopo/cli@3.8.5 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
10:40:26 PM - Projects in this build:
|
|
6
6
|
* ../../dev/config/tsconfig.json
|
|
7
7
|
* ../locale/tsconfig.json
|
|
8
8
|
* ../util/tsconfig.json
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
* ../types-env/tsconfig.json
|
|
23
23
|
* ../env/tsconfig.json
|
|
24
24
|
* ../api-express-router/tsconfig.json
|
|
25
|
+
* ../captcha-severity/tsconfig.json
|
|
25
26
|
* ../datasets/tsconfig.json
|
|
26
27
|
* ../load-balancer/tsconfig.json
|
|
27
28
|
* ../puzzle-assets/tsconfig.json
|
|
@@ -29,55 +30,57 @@
|
|
|
29
30
|
* ../../dev/workspace/tsconfig.json
|
|
30
31
|
* tsconfig.json
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
10:40:26 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/vite/NodejsPolarsNativeFilePlugin.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
10:40:26 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
10:40:26 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
10:40:26 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'
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
10:40:26 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'
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
10:40:26 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
44
|
|
|
44
|
-
|
|
45
|
+
10:40:26 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
10:40:26 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/utils/batches.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
|
|
47
48
|
|
|
48
|
-
|
|
49
|
+
10:40:26 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
|
|
49
50
|
|
|
50
|
-
|
|
51
|
+
10:40:26 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
10:40:26 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/index.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
|
|
53
54
|
|
|
54
|
-
|
|
55
|
+
10:40:26 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'
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
10:40:26 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/ruleRecord.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
|
|
57
58
|
|
|
58
|
-
|
|
59
|
+
10:40:26 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/captcha.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
|
|
59
60
|
|
|
60
|
-
|
|
61
|
+
10:40:26 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/redisCacheEscalation.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
|
|
61
62
|
|
|
62
|
-
|
|
63
|
+
10:40:26 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/pair/decode.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
|
|
63
64
|
|
|
64
|
-
|
|
65
|
+
10:40:26 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'
|
|
65
66
|
|
|
66
|
-
|
|
67
|
+
10:40:26 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'
|
|
67
68
|
|
|
68
|
-
|
|
69
|
+
10:40:26 PM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/tests/unit/apiExpressRouterFactory.unit.test.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
|
|
69
70
|
|
|
70
|
-
|
|
71
|
+
10:40:26 PM - Project '../captcha-severity/tsconfig.json' is up to date because newest input '../captcha-severity/src/index.test.ts' is older than output '../captcha-severity/tsconfig.tsbuildinfo'
|
|
71
72
|
|
|
72
|
-
|
|
73
|
+
10:40:26 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
|
|
73
74
|
|
|
74
|
-
|
|
75
|
+
10:40:26 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/index.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
|
|
75
76
|
|
|
76
|
-
|
|
77
|
+
10:40:26 PM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/tsconfig.tsbuildinfo'
|
|
77
78
|
|
|
78
|
-
|
|
79
|
+
10:40:26 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/utils/devicePlatform.ts' is older than output '../provider/tsconfig.tsbuildinfo'
|
|
79
80
|
|
|
80
|
-
|
|
81
|
+
10:40:26 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/tests/projectInfo.unit.test.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
|
|
81
82
|
|
|
82
|
-
|
|
83
|
+
10:40:26 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
84
|
+
|
|
85
|
+
10:40:26 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
|
|
83
86
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/cli@3.8.
|
|
2
|
+
> @prosopo/cli@3.8.5 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/cli@3.8.
|
|
6
|
+
> @prosopo/cli@3.8.5 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
ViteEsmConfig: .
|
|
@@ -28,6 +28,7 @@ ViteEsmConfig: .
|
|
|
28
28
|
'/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
|
|
29
29
|
'/home/runner/work/captcha/captcha/packages/provider/tsconfig.json',
|
|
30
30
|
'/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json',
|
|
31
|
+
'/home/runner/work/captcha/captcha/packages/captcha-severity/tsconfig.json',
|
|
31
32
|
'/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json',
|
|
32
33
|
'/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
|
|
33
34
|
'/home/runner/work/captcha/captcha/packages/puzzle-assets/tsconfig.json'
|
|
@@ -54,6 +55,7 @@ ViteEsmConfig: .
|
|
|
54
55
|
'@prosopo/keyring',
|
|
55
56
|
'@prosopo/provider',
|
|
56
57
|
'@prosopo/api-express-router',
|
|
58
|
+
'@prosopo/captcha-severity',
|
|
57
59
|
'@prosopo/datasets',
|
|
58
60
|
'@prosopo/load-balancer',
|
|
59
61
|
'@prosopo/puzzle-assets'
|
|
@@ -84,8 +86,8 @@ dist/argv.js 1.98 kB │ gzip: 0.59 kB
|
|
|
84
86
|
dist/commands/migrateAbuserScoreThreshold.js 2.11 kB │ gzip: 0.89 kB
|
|
85
87
|
dist/start.js 2.23 kB │ gzip: 0.82 kB
|
|
86
88
|
dist/commands/siteKeyRegisterApi.js 3.63 kB │ gzip: 1.19 kB
|
|
87
|
-
dist/commands/siteKeyRegister.js
|
|
89
|
+
dist/commands/siteKeyRegister.js 3.91 kB │ gzip: 1.22 kB
|
|
88
90
|
dist/prosopo.config.js 4.43 kB │ gzip: 1.47 kB
|
|
89
91
|
dist/RateLimiter.js 5.16 kB │ gzip: 0.89 kB
|
|
90
92
|
|
|
91
|
-
[32m✓ built in
|
|
93
|
+
[32m✓ built in 67ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
1
|
# @prosopo/cli
|
|
2
2
|
|
|
3
|
+
## 3.8.5
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
|
|
7
|
+
|
|
8
|
+
Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
|
|
9
|
+
8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
|
|
10
|
+
13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
|
|
11
|
+
`@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
|
|
12
|
+
`testcontainers` 11 -> 12. The rest are minor/patch.
|
|
13
|
+
|
|
14
|
+
Code changes the majors forced:
|
|
15
|
+
- `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
|
|
16
|
+
so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
|
|
17
|
+
`secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
|
|
18
|
+
`ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
|
|
19
|
+
- mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
|
|
20
|
+
`background: true` on schema indexes by default, and no longer declares
|
|
21
|
+
`id` on `Document`, which un-hid a mismatch between
|
|
22
|
+
`updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
|
|
23
|
+
filters on.
|
|
24
|
+
- mongoose 9 rejects an aggregation-pipeline update (an array) unless the
|
|
25
|
+
call passes `updatePipeline: true`, so the six pipeline writes in
|
|
26
|
+
`ProviderDatabase` now opt in explicitly.
|
|
27
|
+
- mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
|
|
28
|
+
`storeUserImageCaptchaSolution` passed its record straight in as the
|
|
29
|
+
update, and mongoose's `moveImmutableProperties` mutates that object on
|
|
30
|
+
an upsert -- adding the very `$setOnInsert` key the record then carried
|
|
31
|
+
into `CentralDbStreamer.streamImageRecord`. Image records stopped
|
|
32
|
+
reaching the central DB (the streamer is fire-and-forget, so it only
|
|
33
|
+
logged) and signup verification returned 500. The update is now an
|
|
34
|
+
explicit `$set` over a shallow copy.
|
|
35
|
+
- `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
|
|
36
|
+
mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
|
|
37
|
+
- `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
|
|
38
|
+
`@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
|
|
39
|
+
`@vitest/spy` and broke type inference in the provider test utils.
|
|
40
|
+
- 8a670d3: Remove the provider-side context validation path.
|
|
41
|
+
|
|
42
|
+
The provider read a per-context baseline out of `clientcontextentropies` on the frictionless path and compared a session's head hash against it. The task that wrote that collection was removed from the provider on 2026-08-21, so the read has returned `undefined` ever since and the branch has been dead in every deployment since then. Computing and applying the baseline now happens off-provider.
|
|
43
|
+
|
|
44
|
+
Removed: `contextAwareValidation.ts`, the decision-machine branch that used it, `getClientContextEntropy` on the provider and its database method, the `clientContextEntropy` table registration, the unused `getRoundsFromSimScore` helper, and the `contextAwareEnabled` parameter threaded into image verification — which logged and then did nothing, its return commented out.
|
|
45
|
+
|
|
46
|
+
Also removes the per-site `settings.contextAware` block that configured it, along with `ContextAwareSchema`, `IContextAware`, `IContexts`, `ContextConfigSchema`, `contextAwareThresholdDefault` and `expandContexts`, the legacy `default`/`webview` context keys and their helpers, and `FrictionlessReason.CONTEXT_AWARE_VALIDATION_FAILED`. The site-key registration CLI no longer writes a `contextAware` default into new sites.
|
|
47
|
+
|
|
48
|
+
`ContextType`, `contextTypeFromSession` and `deviceContextTypes` stay — the off-provider work keys on them. `ClientContextEntropyRecord` and its schema stay for the same reason; only the provider's use of them goes.
|
|
49
|
+
|
|
50
|
+
No behaviour change: every path removed here was already inert.
|
|
51
|
+
- Updated dependencies [7fd6eb2]
|
|
52
|
+
- Updated dependencies [424e467]
|
|
53
|
+
- Updated dependencies [89dd38a]
|
|
54
|
+
- Updated dependencies [4810cb3]
|
|
55
|
+
- Updated dependencies [80f73c1]
|
|
56
|
+
- Updated dependencies [3d2176d]
|
|
57
|
+
- Updated dependencies [8a670d3]
|
|
58
|
+
- @prosopo/provider@5.7.0
|
|
59
|
+
- @prosopo/workspace@3.2.1
|
|
60
|
+
- @prosopo/api@4.1.5
|
|
61
|
+
- @prosopo/common@3.1.53
|
|
62
|
+
- @prosopo/dotenv@3.0.54
|
|
63
|
+
- @prosopo/env@3.6.50
|
|
64
|
+
- @prosopo/keyring@2.9.84
|
|
65
|
+
- @prosopo/locale@3.4.1
|
|
66
|
+
- @prosopo/logger@2.0.8
|
|
67
|
+
- @prosopo/types@5.6.0
|
|
68
|
+
- @prosopo/util@3.3.8
|
|
69
|
+
|
|
3
70
|
## 3.8.4
|
|
4
71
|
### Patch Changes
|
|
5
72
|
|