@prosopo/cli 3.10.7 → 3.10.9

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.
@@ -103,4 +103,4 @@ dist/cjs/RateLimiter.cjs 7.05 kB │ gzip: 1.02 kB
103
103
   │ ╰─────── 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`.
104
104
  ────╯
105
105
  
106
- ✓ built in 62ms
106
+ ✓ built in 40ms
@@ -95,4 +95,4 @@ dist/esm/commands/siteKeyRegister.js 4.19 kB │ gzip: 1.29 kB
95
95
  dist/esm/prosopo.config.js 5.01 kB │ gzip: 1.79 kB
96
96
  dist/esm/RateLimiter.js 6.52 kB │ gzip: 1.02 kB
97
97
 
98
- ✓ built in 58ms
98
+ ✓ built in 37ms
@@ -1,5 +1,5 @@
1
1
  $ tsc --build --verbose
2
- 10:08:11 AM - Projects in this build:
2
+ 11:15:51 AM - Projects in this build:
3
3
  * ../../dev/config/tsconfig.json
4
4
  * ../util/tsconfig.json
5
5
  * ../locale/tsconfig.json
@@ -32,67 +32,67 @@ $ tsc --build --verbose
32
32
  * ../../dev/workspace/tsconfig.json
33
33
  * tsconfig.json
34
34
 
35
- 10:08:11 AM - 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/dist/tsc/tsconfig.tsbuildinfo'
35
+ 11:15:51 AM - 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/dist/tsc/tsconfig.tsbuildinfo'
36
36
 
37
- 10:08:11 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/dist/tsc/tsconfig.tsbuildinfo'
37
+ 11:15:51 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/text.ts' is older than output '../util/dist/tsc/tsconfig.tsbuildinfo'
38
38
 
39
- 10:08:11 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/dist/tsc/tsconfig.tsbuildinfo'
39
+ 11:15:51 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/dist/tsc/tsconfig.tsbuildinfo'
40
40
 
41
- 10:08:11 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/dist/tsc/tsconfig.tsbuildinfo'
41
+ 11:15:51 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/dist/tsc/tsconfig.tsbuildinfo'
42
42
 
43
- 10:08:11 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/dist/tsc/tsconfig.tsbuildinfo'
43
+ 11:15:51 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/dist/tsc/tsconfig.tsbuildinfo'
44
44
 
45
- 10:08:11 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/dist/tsc/tsconfig.tsbuildinfo'
45
+ 11:15:51 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/dist/tsc/tsconfig.tsbuildinfo'
46
46
 
47
- 10:08:11 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/dist/tsc/tsconfig.tsbuildinfo'
47
+ 11:15:51 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/dist/tsc/tsconfig.tsbuildinfo'
48
48
 
49
- 10:08:11 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/dist/tsc/tsconfig.tsbuildinfo'
49
+ 11:15:51 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/dist/tsc/tsconfig.tsbuildinfo'
50
50
 
51
- 10:08:11 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/tests/env.unit.test.ts' is older than output '../dotenv/dist/tsc/tsconfig.tsbuildinfo'
51
+ 11:15:51 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/dist/tsc/tsconfig.tsbuildinfo'
52
52
 
53
- 10:08:11 AM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/dist/tsc/tsconfig.tsbuildinfo'
53
+ 11:15:51 AM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/dist/tsc/tsconfig.tsbuildinfo'
54
54
 
55
- 10:08:11 AM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/dist/tsc/tsconfig.tsbuildinfo'
55
+ 11:15:51 AM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/index.ts' is older than output '../api-route/dist/tsc/tsconfig.tsbuildinfo'
56
56
 
57
- 10:08:11 AM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/dist/tsc/tsconfig.tsbuildinfo'
57
+ 11:15:51 AM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/dist/tsc/tsconfig.tsbuildinfo'
58
58
 
59
- 10:08:11 AM - 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/dist/tsc/tsconfig.tsbuildinfo'
59
+ 11:15:51 AM - 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/dist/tsc/tsconfig.tsbuildinfo'
60
60
 
61
- 10:08:11 AM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/dist/tsc/tsconfig.tsbuildinfo'
61
+ 11:15:51 AM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/dist/tsc/tsconfig.tsbuildinfo'
62
62
 
63
- 10:08:11 AM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../database/dist/tsc/tsconfig.tsbuildinfo'
63
+ 11:15:51 AM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../database/dist/tsc/tsconfig.tsbuildinfo'
64
64
 
65
- 10:08:11 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.test.ts' is older than output '../keyring/dist/tsc/tsconfig.tsbuildinfo'
65
+ 11:15:51 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/pair/decode.ts' is older than output '../keyring/dist/tsc/tsconfig.tsbuildinfo'
66
66
 
67
- 10:08:11 AM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/env.ts' is older than output '../types-env/dist/tsc/tsconfig.tsbuildinfo'
67
+ 11:15:51 AM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/index.ts' is older than output '../types-env/dist/tsc/tsconfig.tsbuildinfo'
68
68
 
69
- 10:08:11 AM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/dist/tsc/tsconfig.tsbuildinfo'
69
+ 11:15:51 AM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/dist/tsc/tsconfig.tsbuildinfo'
70
70
 
71
- 10:08:11 AM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/tests/unit/testDoubles.ts' is older than output '../api-express-router/dist/tsc/tsconfig.tsbuildinfo'
71
+ 11:15:51 AM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/tests/unit/apiExpressDefaultEndpointAdapter.unit.test.ts' is older than output '../api-express-router/dist/tsc/tsconfig.tsbuildinfo'
72
72
 
73
- 10:08:11 AM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/types.ts' is older than output '../puzzle-assets/dist/tsc/tsconfig.tsbuildinfo'
73
+ 11:15:51 AM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/dist/tsc/tsconfig.tsbuildinfo'
74
74
 
75
- 10:08:11 AM - Project '../audio-assets/tsconfig.json' is up to date because newest input '../audio-assets/src/types.ts' is older than output '../audio-assets/dist/tsc/tsconfig.tsbuildinfo'
75
+ 11:15:51 AM - Project '../audio-assets/tsconfig.json' is up to date because newest input '../audio-assets/src/distort.ts' is older than output '../audio-assets/dist/tsc/tsconfig.tsbuildinfo'
76
76
 
77
- 10:08:11 AM - Project '../captcha-severity/tsconfig.json' is up to date because newest input '../captcha-severity/src/index.test.ts' is older than output '../captcha-severity/dist/tsc/tsconfig.tsbuildinfo'
77
+ 11:15:51 AM - Project '../captcha-severity/tsconfig.json' is up to date because newest input '../captcha-severity/src/index.ts' is older than output '../captcha-severity/dist/tsc/tsconfig.tsbuildinfo'
78
78
 
79
- 10:08:11 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/captcha.unit.test.ts' is older than output '../datasets/dist/tsc/tsconfig.tsbuildinfo'
79
+ 11:15:51 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/captcha.unit.test.ts' is older than output '../datasets/dist/tsc/tsconfig.tsbuildinfo'
80
80
 
81
- 10:08:11 AM - Project '../icon-order-assets/tsconfig.json' is up to date because newest input '../icon-order-assets/src/background.ts' is older than output '../icon-order-assets/dist/tsc/tsconfig.tsbuildinfo'
81
+ 11:15:51 AM - Project '../icon-order-assets/tsconfig.json' is up to date because newest input '../icon-order-assets/src/background.ts' is older than output '../icon-order-assets/dist/tsc/tsconfig.tsbuildinfo'
82
82
 
83
- 10:08:11 AM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/dist/tsc/tsconfig.tsbuildinfo'
83
+ 11:15:51 AM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/tests/productionProviderList.unit.test.ts' is older than output '../load-balancer/dist/tsc/tsconfig.tsbuildinfo'
84
84
 
85
- 10:08:11 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/dist/tsc/tsconfig.tsbuildinfo'
85
+ 11:15:51 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/dist/tsc/tsconfig.tsbuildinfo'
86
86
 
87
- 10:08:11 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.test.ts' is older than output '../fingerprint/dist/tsc/tsconfig.tsbuildinfo'
87
+ 11:15:51 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.test.ts' is older than output '../fingerprint/dist/tsc/tsconfig.tsbuildinfo'
88
88
 
89
- 10:08:11 AM - Project '../web-bot-auth/tsconfig.json' is up to date because newest input '../web-bot-auth/src/verify.ts' is older than output '../web-bot-auth/dist/tsc/tsconfig.tsbuildinfo'
89
+ 11:15:51 AM - Project '../web-bot-auth/tsconfig.json' is up to date because newest input '../web-bot-auth/src/base64.ts' is older than output '../web-bot-auth/dist/tsc/tsconfig.tsbuildinfo'
90
90
 
91
- 10:08:11 AM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/utils/mobileSignals.ts' is older than output '../provider/dist/tsc/tsconfig.tsbuildinfo'
91
+ 11:15:51 AM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/util.ts' is older than output '../provider/dist/tsc/tsconfig.tsbuildinfo'
92
92
 
93
- 10:08:11 AM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/projectInfo.ts' is older than output '../../dev/workspace/dist/tsc/tsconfig.tsbuildinfo'
93
+ 11:15:51 AM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/workspaceGlobs.ts' is older than output '../../dev/workspace/dist/tsc/tsconfig.tsbuildinfo'
94
94
 
95
- 10:08:11 AM - Project 'tsconfig.json' is out of date because output file 'dist/tsc/tsconfig.tsbuildinfo' does not exist
95
+ 11:15:51 AM - Project 'tsconfig.json' is out of date because output file 'dist/tsc/tsconfig.tsbuildinfo' does not exist
96
96
 
97
- 10:08:11 AM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
97
+ 11:15:51 AM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
98
98
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @prosopo/cli
2
2
 
3
+ ## 3.10.9
4
+ ### Patch Changes
5
+
6
+ - b2e3f27: Accept behavioural data up to 512 KB on captcha answers. The cap was 128 KB. A visitor who moves around the page for a while fills the widget's behaviour buffers, and the encrypted data then goes over 128 KB. Their image answer was rejected with a 400, and the widget started a new challenge straight away. They could not get past the captcha. On 9 Nov, 502 of the 537 rejected image answers in 24 hours were over the old cap. A full buffer is about 340 KB, so the new cap leaves room to spare.
7
+
8
+ The provider now also logs refused captcha answers at info, with the error site and the length of each field, so the next cause like this shows up in the logs.
9
+ - 4693a20: Download the provider image's GeoLite2 databases from the publisher's `download` branch on raw.githubusercontent.com instead of via git.io, which redirects to GitHub release assets. Those returned 504 for hours on 8 Nov and broke the provider image build. The files are the same.
10
+ - Updated dependencies [b2e3f27]
11
+ - @prosopo/types@5.28.1
12
+ - @prosopo/provider@5.29.1
13
+ - @prosopo/api@4.10.1
14
+ - @prosopo/common@3.3.2
15
+ - @prosopo/env@3.6.94
16
+ - @prosopo/keyring@2.10.25
17
+
18
+ ## 3.10.8
19
+ ### Patch Changes
20
+
21
+ - af1b2d3: Stop CI depending on GitHub release downloads, which returned 504 for hours on 8 Nov and failed every PR. The actionlint check is removed. gitleaks and hadolint are now copied out of their official Docker Hub images, pinned by digest, instead of downloaded from GitHub releases.
22
+ - Updated dependencies [2732f63]
23
+ - Updated dependencies [196f2c0]
24
+ - Updated dependencies [6b8a477]
25
+ - Updated dependencies [fc89f02]
26
+ - @prosopo/provider@5.29.0
27
+ - @prosopo/util@3.7.0
28
+ - @prosopo/types@5.28.0
29
+ - @prosopo/api@4.10.0
30
+ - @prosopo/keyring@2.10.24
31
+ - @prosopo/locale@3.14.3
32
+ - @prosopo/logger@2.1.11
33
+ - @prosopo/common@3.3.2
34
+ - @prosopo/env@3.6.93
35
+ - @prosopo/dotenv@3.0.68
36
+
3
37
  ## 3.10.7
4
38
  ### Patch Changes
5
39
 
package/Dockerfile CHANGED
@@ -30,9 +30,9 @@ RUN mkdir -p data/detector-pool
30
30
 
31
31
  # Download the GeoLite2 databases into the same directory. One layer rather
32
32
  # than three so the intermediate states are not retained.
33
- RUN curl -fLsS -o GeoLite2-Country.mmdb https://git.io/GeoLite2-Country.mmdb && \
34
- curl -fLsS -o GeoLite2-City.mmdb https://git.io/GeoLite2-City.mmdb && \
35
- curl -fLsS -o GeoLite2-ASN.mmdb https://git.io/GeoLite2-ASN.mmdb
33
+ RUN curl -fLsS -o GeoLite2-Country.mmdb https://raw.githubusercontent.com/P3TERX/GeoLite.mmdb/download/GeoLite2-Country.mmdb && \
34
+ curl -fLsS -o GeoLite2-City.mmdb https://raw.githubusercontent.com/P3TERX/GeoLite.mmdb/download/GeoLite2-City.mmdb && \
35
+ curl -fLsS -o GeoLite2-ASN.mmdb https://raw.githubusercontent.com/P3TERX/GeoLite.mmdb/download/GeoLite2-ASN.mmdb
36
36
 
37
37
  # The generated package.json declares `sharp` as a runtime dependency so
38
38
  # `npm i` installs the linux-x64 native binary — vite bundles the JS shim but