@prosopo/datasets-fs 3.0.125 → 3.0.127

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-fs@3.0.125 build:cjs
2
+ > @prosopo/datasets-fs@3.0.127 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -34,7 +34,7 @@ dist/cjs/index.cjs 0.15 kB │ gzip: 0.14 kB
34
34
  dist/cjs/_virtual/_rolldown/runtime.cjs 1.00 kB │ gzip: 0.50 kB
35
35
  dist/cjs/cli/cli.cjs 1.74 kB │ gzip: 0.81 kB
36
36
 
37
- ✓ built in 41ms
37
+ ✓ built in 70ms
38
38
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat/data.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/tests/data/flat/data.json
39
39
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v1.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/tests/data/flat_resized/captchas_v1.json
40
40
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v2.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/tests/data/flat_resized/captchas_v2.json
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/datasets-fs@3.0.125 build:tsc
2
+ > @prosopo/datasets-fs@3.0.127 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 1:56:20 PM - Projects in this build:
5
+ 1:15:18 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -13,23 +13,23 @@
13
13
  * ../../dev/workspace/tsconfig.json
14
14
  * tsconfig.json
15
15
 
16
- 1:56:20 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'
16
+ 1:15:18 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'
17
17
 
18
- 1:56:20 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
18
+ 1:15:18 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
19
19
 
20
- 1:56:20 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
20
+ 1:15:18 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
21
21
 
22
- 1:56:20 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
22
+ 1:15:18 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
23
23
 
24
- 1:56:20 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
+ 1:15:18 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'
25
25
 
26
- 1:56:20 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
26
+ 1:15:18 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'
27
27
 
28
- 1:56:20 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
28
+ 1:15:18 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/utils/batches.ts' is older than output '../common/tsconfig.tsbuildinfo'
29
29
 
30
- 1:56:20 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/index.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
30
+ 1:15:18 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/index.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
31
31
 
32
- 1:56:20 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
32
+ 1:15:18 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
33
33
 
34
- 1:56:20 PM - Building project '/home/runner/work/captcha/captcha/packages/datasets-fs/tsconfig.json'...
34
+ 1:15:18 PM - Building project '/home/runner/work/captcha/captcha/packages/datasets-fs/tsconfig.json'...
35
35
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/datasets-fs@3.0.125 build
2
+ > @prosopo/datasets-fs@3.0.127 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/datasets-fs@3.0.125 build:cross-env
6
+ > @prosopo/datasets-fs@3.0.127 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -18,7 +18,6 @@ ViteEsmConfig: .
18
18
  ]
19
19
  }
20
20
  {
21
- The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
22
21
  externals: [
23
22
  '@prosopo/common',
24
23
  '@prosopo/locale',
@@ -28,6 +27,7 @@ ViteEsmConfig: .
28
27
  '@prosopo/util-crypto'
29
28
  ]
30
29
  }
30
+ The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
31
31
  vite v8.1.5 building ssr environment for production...
32
32
  Bundle build started
33
33
  
@@ -38,7 +38,7 @@ dist/_virtual/_rolldown/runtime.js 0.04 kB │ gzip: 0.06 kB
38
38
  dist/index.js 0.09 kB │ gzip: 0.09 kB
39
39
  dist/cli/cli.js 1.52 kB │ gzip: 0.73 kB
40
40
 
41
- ✓ built in 31ms
41
+ ✓ built in 67ms
42
42
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat/data.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/tests/data/flat/data.json
43
43
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v1.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/tests/data/flat_resized/captchas_v1.json
44
44
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v2.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/tests/data/flat_resized/captchas_v2.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,64 @@
1
1
  # @prosopo/datasets-fs
2
2
 
3
+ ## 3.0.127
4
+ ### Patch Changes
5
+
6
+ - 6f57ee9: chore(deps): bump yargs from 17.7.2 to 18.1.0
7
+ - Updated dependencies [6f57ee9]
8
+ - Updated dependencies [d288371]
9
+ - @prosopo/types@5.7.0
10
+ - @prosopo/util@3.3.9
11
+ - @prosopo/common@3.1.54
12
+ - @prosopo/logger@2.0.9
13
+
14
+ ## 3.0.126
15
+ ### Patch Changes
16
+
17
+ - 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
18
+
19
+ Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
20
+ 8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
21
+ 13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
22
+ `@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
23
+ `testcontainers` 11 -> 12. The rest are minor/patch.
24
+
25
+ Code changes the majors forced:
26
+ - `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
27
+ so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
28
+ `secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
29
+ `ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
30
+ - mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
31
+ `background: true` on schema indexes by default, and no longer declares
32
+ `id` on `Document`, which un-hid a mismatch between
33
+ `updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
34
+ filters on.
35
+ - mongoose 9 rejects an aggregation-pipeline update (an array) unless the
36
+ call passes `updatePipeline: true`, so the six pipeline writes in
37
+ `ProviderDatabase` now opt in explicitly.
38
+ - mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
39
+ `storeUserImageCaptchaSolution` passed its record straight in as the
40
+ update, and mongoose's `moveImmutableProperties` mutates that object on
41
+ an upsert -- adding the very `$setOnInsert` key the record then carried
42
+ into `CentralDbStreamer.streamImageRecord`. Image records stopped
43
+ reaching the central DB (the streamer is fire-and-forget, so it only
44
+ logged) and signup verification returned 500. The update is now an
45
+ explicit `$set` over a shallow copy.
46
+ - `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
47
+ mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
48
+ - `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
49
+ `@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
50
+ `@vitest/spy` and broke type inference in the provider test utils.
51
+ - Updated dependencies [1b77849]
52
+ - Updated dependencies [89dd38a]
53
+ - Updated dependencies [80f73c1]
54
+ - Updated dependencies [8a670d3]
55
+ - @prosopo/util-crypto@13.5.31
56
+ - @prosopo/workspace@3.2.1
57
+ - @prosopo/common@3.1.53
58
+ - @prosopo/logger@2.0.8
59
+ - @prosopo/types@5.6.0
60
+ - @prosopo/util@3.3.8
61
+
3
62
  ## 3.0.125
4
63
  ### Patch Changes
5
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/datasets-fs",
3
- "version": "3.0.125",
3
+ "version": "3.0.127",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -30,24 +30,24 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@noble/hashes": "1.8.0",
33
- "@prosopo/common": "3.1.52",
34
- "@prosopo/logger": "2.0.7",
35
- "@prosopo/types": "5.5.3",
36
- "@prosopo/util": "3.3.7",
37
- "@prosopo/util-crypto": "13.5.30",
38
- "@prosopo/workspace": "3.2.0",
33
+ "@prosopo/common": "3.1.54",
34
+ "@prosopo/logger": "2.0.9",
35
+ "@prosopo/types": "5.7.0",
36
+ "@prosopo/util": "3.3.9",
37
+ "@prosopo/util-crypto": "13.5.31",
38
+ "@prosopo/workspace": "3.2.1",
39
39
  "bcrypt": "6.0.0",
40
40
  "cli-progress": "3.12.0",
41
- "sharp": "0.35.3",
42
- "yargs": "17.7.2",
41
+ "sharp": "0.35.4",
42
+ "yargs": "18.1.0",
43
43
  "zod": "3.23.8"
44
44
  },
45
45
  "devDependencies": {
46
- "@prosopo/config": "3.3.12",
47
- "@types/bcrypt": "5.0.2",
46
+ "@prosopo/config": "3.3.14",
47
+ "@types/bcrypt": "6.0.0",
48
48
  "@types/cli-progress": "3.11.6",
49
49
  "@types/node": "22.10.2",
50
- "@vitest/coverage-v8": "4.1.10",
50
+ "@vitest/coverage-v8": "4.1.11",
51
51
  "concurrently": "9.0.1",
52
52
  "del-cli": "6.0.0",
53
53
  "dotenv": "16.4.5",
@@ -56,7 +56,7 @@
56
56
  "tsx": "4.20.3",
57
57
  "typescript": "5.6.2",
58
58
  "vite": "8.1.5",
59
- "vitest": "4.1.10"
59
+ "vitest": "4.1.11"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",