@prosopo/env 3.6.49 → 3.6.51

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/env@3.6.49 build:cjs
2
+ > @prosopo/env@3.6.51 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -52,4 +52,4 @@ dist/cjs/index.cjs 0.34 kB │ gzip: 0.18 kB
52
52
  dist/cjs/provider.cjs 1.24 kB │ gzip: 0.56 kB
53
53
  dist/cjs/env.cjs 5.73 kB │ gzip: 1.79 kB
54
54
 
55
- ✓ built in 28ms
55
+ ✓ built in 47ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/env@3.6.49 build:tsc
2
+ > @prosopo/env@3.6.51 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 1:56:48 PM - Projects in this build:
5
+ 1:15:57 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
  * ../types-env/tsconfig.json
22
22
  * tsconfig.json
23
23
 
24
- 1:56:48 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:57 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:48 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:57 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:48 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:57 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:48 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:57 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:48 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:57 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:48 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:57 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:48 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:57 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:48 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
38
+ 1:15:57 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
39
39
 
40
- 1:56:48 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'
40
+ 1:15:57 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'
41
41
 
42
- 1:56:48 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'
42
+ 1:15:57 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'
43
43
 
44
- 1:56:48 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
44
+ 1:15:57 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
45
45
 
46
- 1:56:48 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'
46
+ 1:15:57 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'
47
47
 
48
- 1:56:48 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'
48
+ 1:15:57 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'
49
49
 
50
- 1:56:48 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
50
+ 1:15:58 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
51
51
 
52
- 1:56:48 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
52
+ 1:15:58 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'
53
53
 
54
- 1:56:48 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/index.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
54
+ 1:15:58 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/env.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
55
55
 
56
- 1:56:48 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
56
+ 1:15:58 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
57
57
 
58
- 1:56:48 PM - Building project '/home/runner/work/captcha/captcha/packages/env/tsconfig.json'...
58
+ 1:15:58 PM - Building project '/home/runner/work/captcha/captcha/packages/env/tsconfig.json'...
59
59
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/env@3.6.49 build
2
+ > @prosopo/env@3.6.51 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/env@3.6.49 build:cross-env
6
+ > @prosopo/env@3.6.51 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -57,4 +57,4 @@ dist/index.js 0.21 kB │ gzip: 0.13 kB
57
57
  dist/provider.js 1.15 kB │ gzip: 0.53 kB
58
58
  dist/env.js 5.44 kB │ gzip: 1.75 kB
59
59
 
60
- ✓ built in 141ms
60
+ ✓ built in 59ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # @prosopo/env
2
2
 
3
+ ## 3.6.51
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [f8a41fe]
7
+ - Updated dependencies [6f57ee9]
8
+ - Updated dependencies [6f57ee9]
9
+ - Updated dependencies [d288371]
10
+ - @prosopo/database@4.0.28
11
+ - @prosopo/types@5.7.0
12
+ - @prosopo/common@3.1.54
13
+ - @prosopo/ipinfo@0.3.23
14
+ - @prosopo/keyring@2.9.85
15
+ - @prosopo/logger@2.0.9
16
+ - @prosopo/types-env@2.10.45
17
+
18
+ ## 3.6.50
19
+ ### Patch Changes
20
+
21
+ - 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
22
+
23
+ Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
24
+ 8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
25
+ 13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
26
+ `@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
27
+ `testcontainers` 11 -> 12. The rest are minor/patch.
28
+
29
+ Code changes the majors forced:
30
+ - `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
31
+ so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
32
+ `secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
33
+ `ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
34
+ - mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
35
+ `background: true` on schema indexes by default, and no longer declares
36
+ `id` on `Document`, which un-hid a mismatch between
37
+ `updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
38
+ filters on.
39
+ - mongoose 9 rejects an aggregation-pipeline update (an array) unless the
40
+ call passes `updatePipeline: true`, so the six pipeline writes in
41
+ `ProviderDatabase` now opt in explicitly.
42
+ - mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
43
+ `storeUserImageCaptchaSolution` passed its record straight in as the
44
+ update, and mongoose's `moveImmutableProperties` mutates that object on
45
+ an upsert -- adding the very `$setOnInsert` key the record then carried
46
+ into `CentralDbStreamer.streamImageRecord`. Image records stopped
47
+ reaching the central DB (the streamer is fire-and-forget, so it only
48
+ logged) and signup verification returned 500. The update is now an
49
+ explicit `$set` over a shallow copy.
50
+ - `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
51
+ mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
52
+ - `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
53
+ `@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
54
+ `@vitest/spy` and broke type inference in the provider test utils.
55
+ - Updated dependencies [1b77849]
56
+ - Updated dependencies [89dd38a]
57
+ - Updated dependencies [80f73c1]
58
+ - Updated dependencies [8a670d3]
59
+ - @prosopo/util-crypto@13.5.31
60
+ - @prosopo/common@3.1.53
61
+ - @prosopo/database@4.0.27
62
+ - @prosopo/ipinfo@0.3.22
63
+ - @prosopo/keyring@2.9.84
64
+ - @prosopo/logger@2.0.8
65
+ - @prosopo/types@5.6.0
66
+ - @prosopo/types-env@2.10.44
67
+
3
68
  ## 3.6.49
4
69
  ### Patch Changes
5
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/env",
3
- "version": "3.6.49",
3
+ "version": "3.6.51",
4
4
  "description": "Path env prosopo environment",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,19 +26,19 @@
26
26
  "typecheck": "tsc --project tsconfig.types.json"
27
27
  },
28
28
  "dependencies": {
29
- "@prosopo/ipinfo": "0.3.21",
30
- "@prosopo/common": "3.1.52",
31
- "@prosopo/logger": "2.0.7",
32
- "@prosopo/database": "4.0.26",
33
- "@prosopo/keyring": "2.9.83",
34
- "@prosopo/types": "5.5.3",
35
- "@prosopo/types-env": "2.10.43",
36
- "@prosopo/util-crypto": "13.5.30"
29
+ "@prosopo/ipinfo": "0.3.23",
30
+ "@prosopo/common": "3.1.54",
31
+ "@prosopo/logger": "2.0.9",
32
+ "@prosopo/database": "4.0.28",
33
+ "@prosopo/keyring": "2.9.85",
34
+ "@prosopo/types": "5.7.0",
35
+ "@prosopo/types-env": "2.10.45",
36
+ "@prosopo/util-crypto": "13.5.31"
37
37
  },
38
38
  "devDependencies": {
39
- "@prosopo/config": "3.3.12",
39
+ "@prosopo/config": "3.3.14",
40
40
  "@types/node": "22.10.2",
41
- "@vitest/coverage-v8": "4.1.10",
41
+ "@vitest/coverage-v8": "4.1.11",
42
42
  "concurrently": "9.0.1",
43
43
  "del-cli": "6.0.0",
44
44
  "npm-run-all": "4.1.5",
@@ -46,7 +46,7 @@
46
46
  "tsx": "4.20.3",
47
47
  "typescript": "5.6.2",
48
48
  "vite": "8.1.5",
49
- "vitest": "4.1.10"
49
+ "vitest": "4.1.11"
50
50
  },
51
51
  "author": "Prosopo",
52
52
  "license": "Apache-2.0",