@prosopo/procaptcha 2.11.5 → 2.11.7

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
 
2
- > @prosopo/procaptcha@2.11.5 build:cjs
2
+ > @prosopo/procaptcha@2.11.7 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -54,4 +54,4 @@ dist/cjs/modules/collector.cjs 1.83 kB │ gzip: 0.59 kB
54
54
  dist/cjs/modules/ProsopoCaptchaApi.cjs 2.17 kB │ gzip: 0.78 kB
55
55
  dist/cjs/modules/Manager.cjs 13.57 kB │ gzip: 3.75 kB
56
56
 
57
- ✓ built in 43ms
57
+ ✓ built in 92ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/procaptcha@2.11.5 build:tsc
2
+ > @prosopo/procaptcha@2.11.7 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 1:56:33 PM - Projects in this build:
5
+ 1:15:32 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -21,39 +21,39 @@
21
21
  * ../procaptcha-common/tsconfig.json
22
22
  * tsconfig.json
23
23
 
24
- 1:56:33 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'
24
+ 1:15:32 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'
25
25
 
26
- 1:56:33 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
26
+ 1:15:33 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
27
27
 
28
- 1:56:33 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
28
+ 1:15:33 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
29
29
 
30
- 1:56:33 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
30
+ 1:15:33 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
31
31
 
32
- 1:56:33 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
+ 1:15:33 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
- 1:56:33 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
34
+ 1:15:33 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
- 1:56:33 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
36
+ 1:15:33 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/utils/batches.ts' is older than output '../common/tsconfig.tsbuildinfo'
37
37
 
38
- 1:56:33 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
38
+ 1:15:33 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/dataset.unit.test.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
39
39
 
40
- 1:56:33 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
40
+ 1:15:33 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
41
41
 
42
- 1:56:33 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
42
+ 1:15:33 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
43
43
 
44
- 1:56:33 PM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/constants.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
44
+ 1:15:33 PM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/index.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
45
45
 
46
- 1:56:33 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
46
+ 1:15:33 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
47
47
 
48
- 1:56:33 PM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
48
+ 1:15:33 PM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
49
49
 
50
- 1:56:33 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
50
+ 1:15:33 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
- 1:56:33 PM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/workers/cryptoWorker.ts' is older than output '../account/tsconfig.tsbuildinfo'
52
+ 1:15:33 PM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/custom.d.ts' is older than output '../account/tsconfig.tsbuildinfo'
53
53
 
54
- 1:56:33 PM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/simdReadings.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
54
+ 1:15:33 PM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/tests/challengeSurfaceRender.unit.test.tsx' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
55
55
 
56
- 1:56:33 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
56
+ 1:15:33 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
57
57
 
58
- 1:56:33 PM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha/tsconfig.json'...
58
+ 1:15:33 PM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha/tsconfig.json'...
59
59
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/procaptcha@2.11.5 build
2
+ > @prosopo/procaptcha@2.11.7 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/procaptcha@2.11.5 build:cross-env
6
+ > @prosopo/procaptcha@2.11.7 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -59,4 +59,4 @@ dist/modules/collector.js 1.81 kB │ gzip: 0.59 kB
59
59
  dist/modules/ProsopoCaptchaApi.js 2.09 kB │ gzip: 0.78 kB
60
60
  dist/modules/Manager.js 12.79 kB │ gzip: 3.69 kB
61
61
 
62
- ✓ built in 722ms
62
+ ✓ built in 66ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,68 @@
1
1
  # @prosopo/procaptcha
2
2
 
3
+ ## 2.11.7
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [6f57ee9]
7
+ - Updated dependencies [d288371]
8
+ - @prosopo/types@5.7.0
9
+ - @prosopo/util@3.3.9
10
+ - @prosopo/procaptcha-common@2.13.0
11
+ - @prosopo/api@4.1.6
12
+ - @prosopo/common@3.1.54
13
+ - @prosopo/datasets@3.1.78
14
+ - @prosopo/load-balancer@2.10.40
15
+
16
+ ## 2.11.6
17
+ ### Patch Changes
18
+
19
+ - 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
20
+
21
+ Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
22
+ 8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
23
+ 13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
24
+ `@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
25
+ `testcontainers` 11 -> 12. The rest are minor/patch.
26
+
27
+ Code changes the majors forced:
28
+ - `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
29
+ so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
30
+ `secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
31
+ `ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
32
+ - mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
33
+ `background: true` on schema indexes by default, and no longer declares
34
+ `id` on `Document`, which un-hid a mismatch between
35
+ `updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
36
+ filters on.
37
+ - mongoose 9 rejects an aggregation-pipeline update (an array) unless the
38
+ call passes `updatePipeline: true`, so the six pipeline writes in
39
+ `ProviderDatabase` now opt in explicitly.
40
+ - mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
41
+ `storeUserImageCaptchaSolution` passed its record straight in as the
42
+ update, and mongoose's `moveImmutableProperties` mutates that object on
43
+ an upsert -- adding the very `$setOnInsert` key the record then carried
44
+ into `CentralDbStreamer.streamImageRecord`. Image records stopped
45
+ reaching the central DB (the streamer is fire-and-forget, so it only
46
+ logged) and signup verification returned 500. The update is now an
47
+ explicit `$set` over a shallow copy.
48
+ - `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
49
+ mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
50
+ - `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
51
+ `@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
52
+ `@vitest/spy` and broke type inference in the provider test utils.
53
+ - Updated dependencies [1b77849]
54
+ - Updated dependencies [89dd38a]
55
+ - Updated dependencies [80f73c1]
56
+ - Updated dependencies [8a670d3]
57
+ - @prosopo/util-crypto@13.5.31
58
+ - @prosopo/api@4.1.5
59
+ - @prosopo/common@3.1.53
60
+ - @prosopo/datasets@3.1.77
61
+ - @prosopo/load-balancer@2.10.39
62
+ - @prosopo/procaptcha-common@2.12.6
63
+ - @prosopo/types@5.6.0
64
+ - @prosopo/util@3.3.8
65
+
3
66
  ## 2.11.5
4
67
  ### Patch Changes
5
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/procaptcha",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/index.js",
@@ -36,19 +36,19 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@polkadot/util": "13.5.7",
39
- "@prosopo/api": "4.1.4",
40
- "@prosopo/common": "3.1.52",
41
- "@prosopo/datasets": "3.1.76",
42
- "@prosopo/load-balancer": "2.10.38",
43
- "@prosopo/procaptcha-common": "2.12.5",
44
- "@prosopo/types": "5.5.3",
45
- "@prosopo/util": "3.3.7",
46
- "@prosopo/util-crypto": "13.5.30"
39
+ "@prosopo/api": "4.1.6",
40
+ "@prosopo/common": "3.1.54",
41
+ "@prosopo/datasets": "3.1.78",
42
+ "@prosopo/load-balancer": "2.10.40",
43
+ "@prosopo/procaptcha-common": "2.13.0",
44
+ "@prosopo/types": "5.7.0",
45
+ "@prosopo/util": "3.3.9",
46
+ "@prosopo/util-crypto": "13.5.31"
47
47
  },
48
48
  "devDependencies": {
49
- "@prosopo/config": "3.3.12",
49
+ "@prosopo/config": "3.3.14",
50
50
  "@types/node": "22.10.2",
51
- "@vitest/coverage-v8": "4.1.10",
51
+ "@vitest/coverage-v8": "4.1.11",
52
52
  "concurrently": "9.0.1",
53
53
  "del-cli": "6.0.0",
54
54
  "dotenv": "16.4.5",
@@ -58,7 +58,7 @@
58
58
  "tsx": "4.20.3",
59
59
  "typescript": "5.6.2",
60
60
  "vite": "8.1.5",
61
- "vitest": "4.1.10"
61
+ "vitest": "4.1.11"
62
62
  },
63
63
  "keywords": [],
64
64
  "repository": {