@prosopo/types-env 2.10.43 → 2.10.45

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/types-env@2.10.43 build:cjs
2
+ > @prosopo/types-env@2.10.45 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -47,4 +47,4 @@ dist/cjs/env.cjs 0.00 kB │ gzip: 0.02 kB
47
47
  dist/cjs/ipinfo.cjs 0.00 kB │ gzip: 0.02 kB
48
48
  dist/cjs/provider.cjs 0.00 kB │ gzip: 0.02 kB
49
49
 
50
- ✓ built in 34ms
50
+ ✓ built in 65ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/types-env@2.10.43 build:tsc
2
+ > @prosopo/types-env@2.10.45 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 1:56:38 PM - Projects in this build:
5
+ 1:15:35 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../util/tsconfig.json
8
8
  * ../logger/tsconfig.json
@@ -18,33 +18,33 @@
18
18
  * ../keyring/tsconfig.json
19
19
  * tsconfig.json
20
20
 
21
- 1:56:39 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'
21
+ 1:15:35 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'
22
22
 
23
- 1:56:39 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
23
+ 1:15:35 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
24
24
 
25
- 1:56:39 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
25
+ 1:15:35 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
26
26
 
27
- 1:56:39 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
27
+ 1:15:35 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
28
28
 
29
- 1:56:39 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'
29
+ 1:15:35 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'
30
30
 
31
- 1:56:39 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
31
+ 1:15:35 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'
32
32
 
33
- 1:56:39 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
33
+ 1:15:35 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/utils/batches.ts' is older than output '../common/tsconfig.tsbuildinfo'
34
34
 
35
- 1:56:39 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'
35
+ 1:15:35 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
36
36
 
37
- 1:56:39 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'
37
+ 1:15:35 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'
38
38
 
39
- 1:56:39 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
39
+ 1:15:36 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
40
40
 
41
- 1:56:39 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/rule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
41
+ 1:15:36 PM - 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/tsconfig.tsbuildinfo'
42
42
 
43
- 1:56:39 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
43
+ 1:15:36 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types.test-d.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
44
44
 
45
- 1:56:39 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
45
+ 1:15:36 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'
46
46
 
47
- 1:56:39 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
47
+ 1:15:36 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
48
48
 
49
- 1:56:39 PM - Building project '/home/runner/work/captcha/captcha/packages/types-env/tsconfig.json'...
49
+ 1:15:36 PM - Building project '/home/runner/work/captcha/captcha/packages/types-env/tsconfig.json'...
50
50
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/types-env@2.10.43 build
2
+ > @prosopo/types-env@2.10.45 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/types-env@2.10.43 build:cross-env
6
+ > @prosopo/types-env@2.10.45 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -52,4 +52,4 @@ dist/provider.js 0.01 kB │ gzip: 0.03 kB
52
52
  dist/_virtual/_rolldown/runtime.js 0.04 kB │ gzip: 0.06 kB
53
53
  dist/index.js 0.05 kB │ gzip: 0.07 kB
54
54
 
55
- ✓ built in 49ms
55
+ ✓ built in 57ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # @prosopo/types-env
2
2
 
3
+ ## 2.10.45
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [6f57ee9]
7
+ - Updated dependencies [b6918c0]
8
+ - Updated dependencies [d288371]
9
+ - @prosopo/types@5.7.0
10
+ - @prosopo/types-database@5.4.1
11
+ - @prosopo/keyring@2.9.85
12
+ - @prosopo/logger@2.0.9
13
+
14
+ ## 2.10.44
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 [89dd38a]
52
+ - Updated dependencies [80f73c1]
53
+ - Updated dependencies [8a670d3]
54
+ - @prosopo/keyring@2.9.84
55
+ - @prosopo/logger@2.0.8
56
+ - @prosopo/types@5.6.0
57
+ - @prosopo/types-database@5.4.0
58
+
3
59
  ## 2.10.43
4
60
  ### Patch Changes
5
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/types-env",
3
- "version": "2.10.43",
3
+ "version": "2.10.45",
4
4
  "description": "Types for prosopo environment",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,15 +39,15 @@
39
39
  },
40
40
  "homepage": "https://github.com/prosopo/captcha#readme",
41
41
  "dependencies": {
42
- "@prosopo/logger": "2.0.7",
43
- "@prosopo/keyring": "2.9.83",
44
- "@prosopo/types": "5.5.3",
45
- "@prosopo/types-database": "5.3.4"
42
+ "@prosopo/logger": "2.0.9",
43
+ "@prosopo/keyring": "2.9.85",
44
+ "@prosopo/types": "5.7.0",
45
+ "@prosopo/types-database": "5.4.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@prosopo/config": "3.3.12",
48
+ "@prosopo/config": "3.3.14",
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
  "npm-run-all": "4.1.5",
@@ -55,7 +55,7 @@
55
55
  "tsx": "4.20.3",
56
56
  "typescript": "5.6.2",
57
57
  "vite": "8.1.5",
58
- "vitest": "4.1.10"
58
+ "vitest": "4.1.11"
59
59
  },
60
60
  "sideEffects": false
61
61
  }