@prosopo/datasets 3.1.75 → 3.1.77

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/datasets@3.1.75 build:cjs
2
+ > @prosopo/datasets@3.1.77 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -38,7 +38,7 @@ dist/cjs/captcha/merkle.cjs 4.37 kB │ gzip: 1.41 kB
38
38
  dist/cjs/captcha/captcha.cjs 7.89 kB │ gzip: 2.27 kB
39
39
  dist/cjs/tests/mocks/data/captchas.cjs 41.00 kB │ gzip: 5.46 kB
40
40
 
41
- ✓ built in 79ms
41
+ ✓ built in 59ms
42
42
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets/src/tests/mocks/data/captchas.json to /home/runner/work/captcha/captcha/packages/datasets/dist/tests/mocks/data/captchas.json
43
43
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets/src/tests/mocks/data/captchas1.json to /home/runner/work/captcha/captcha/packages/datasets/dist/tests/mocks/data/captchas1.json
44
44
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets/src/tests/mocks/data/captchas2.json to /home/runner/work/captcha/captcha/packages/datasets/dist/tests/mocks/data/captchas2.json
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/datasets@3.1.75 build:tsc
2
+ > @prosopo/datasets@3.1.77 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 10:02:04 PM - Projects in this build:
5
+ 10:39:25 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -12,21 +12,21 @@
12
12
  * ../common/tsconfig.json
13
13
  * tsconfig.json
14
14
 
15
- 10:02:04 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'
15
+ 10:39:25 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'
16
16
 
17
- 10:02:04 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
17
+ 10:39:25 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
18
18
 
19
- 10:02:04 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
19
+ 10:39:25 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
20
20
 
21
- 10:02:04 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
21
+ 10:39:25 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
22
22
 
23
- 10:02:04 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'
23
+ 10:39:25 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'
24
24
 
25
- 10:02:04 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'
25
+ 10:39: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'
26
26
 
27
- 10:02:04 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
27
+ 10:39: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'
28
28
 
29
- 10:02:04 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
29
+ 10:39:26 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
30
30
 
31
- 10:02:04 PM - Building project '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json'...
31
+ 10:39:26 PM - Building project '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json'...
32
32
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/datasets@3.1.75 build
2
+ > @prosopo/datasets@3.1.77 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/datasets@3.1.75 build:cross-env
6
+ > @prosopo/datasets@3.1.77 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -43,7 +43,7 @@ dist/captcha/merkle.js 3.89 kB │ gzip: 1.37 kB
43
43
  dist/captcha/captcha.js 7.19 kB │ gzip: 2.19 kB
44
44
  dist/tests/mocks/data/captchas.js 40.94 kB │ gzip: 5.44 kB
45
45
 
46
- ✓ built in 74ms
46
+ ✓ built in 229ms
47
47
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets/src/tests/mocks/data/captchas.json to /home/runner/work/captcha/captcha/packages/datasets/dist/tests/mocks/data/captchas.json
48
48
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets/src/tests/mocks/data/captchas1.json to /home/runner/work/captcha/captcha/packages/datasets/dist/tests/mocks/data/captchas1.json
49
49
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets/src/tests/mocks/data/captchas2.json to /home/runner/work/captcha/captcha/packages/datasets/dist/tests/mocks/data/captchas2.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,59 @@
1
1
  # @prosopo/datasets
2
2
 
3
+ ## 3.1.77
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
+ - Updated dependencies [1b77849]
41
+ - Updated dependencies [89dd38a]
42
+ - Updated dependencies [80f73c1]
43
+ - Updated dependencies [8a670d3]
44
+ - @prosopo/util-crypto@13.5.31
45
+ - @prosopo/common@3.1.53
46
+ - @prosopo/logger@2.0.8
47
+ - @prosopo/types@5.6.0
48
+ - @prosopo/util@3.3.8
49
+
50
+ ## 3.1.76
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies [a62b994]
54
+ - Updated dependencies [a447afa]
55
+ - @prosopo/types@5.5.3
56
+
3
57
  ## 3.1.75
4
58
  ### Patch Changes
5
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/datasets",
3
- "version": "3.1.75",
3
+ "version": "3.1.77",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -42,16 +42,16 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@polkadot/util": "13.5.7",
45
- "@prosopo/common": "3.1.52",
46
- "@prosopo/logger": "2.0.7",
47
- "@prosopo/types": "5.5.2",
48
- "@prosopo/util": "3.3.7",
49
- "@prosopo/util-crypto": "13.5.30"
45
+ "@prosopo/common": "3.1.53",
46
+ "@prosopo/logger": "2.0.8",
47
+ "@prosopo/types": "5.6.0",
48
+ "@prosopo/util": "3.3.8",
49
+ "@prosopo/util-crypto": "13.5.31"
50
50
  },
51
51
  "devDependencies": {
52
- "@prosopo/config": "3.3.12",
52
+ "@prosopo/config": "3.3.13",
53
53
  "@types/node": "22.10.2",
54
- "@vitest/coverage-v8": "4.1.10",
54
+ "@vitest/coverage-v8": "4.1.11",
55
55
  "concurrently": "9.0.1",
56
56
  "del-cli": "6.0.0",
57
57
  "dotenv": "16.4.5",
@@ -60,7 +60,7 @@
60
60
  "tsx": "4.20.3",
61
61
  "typescript": "5.6.2",
62
62
  "vite": "8.1.5",
63
- "vitest": "4.1.10"
63
+ "vitest": "4.1.11"
64
64
  },
65
65
  "repository": {
66
66
  "type": "git",