@prosopo/env 3.6.10 → 3.6.12
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.
|
|
2
|
+
> @prosopo/env@3.6.12 build:cjs
|
|
3
3
|
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
4
|
|
|
5
5
|
ViteCommonJSConfig: .
|
|
@@ -50,4 +50,4 @@ rendering chunks...
|
|
|
50
50
|
[2mdist/cjs/[22m[36mindex.cjs [39m[1m[2m0.32 kB[22m[1m[22m
|
|
51
51
|
[2mdist/cjs/[22m[36mprovider.cjs [39m[1m[2m1.43 kB[22m[1m[22m
|
|
52
52
|
[2mdist/cjs/[22m[36menv.cjs [39m[1m[2m6.95 kB[22m[1m[22m
|
|
53
|
-
[32m✓ built in
|
|
53
|
+
[32m✓ built in 168ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/env@3.6.
|
|
2
|
+
> @prosopo/env@3.6.12 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1:22:09 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
|
-
|
|
24
|
+
1:22:09 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
|
-
|
|
26
|
+
1:22:09 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
|
-
|
|
28
|
+
1:22:09 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
|
-
|
|
30
|
+
1:22:09 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
|
-
|
|
32
|
+
1:22:09 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
|
-
|
|
34
|
+
1:22:09 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/provider/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
1:22:09 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
1:22:09 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/index.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
1:22:09 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
|
-
|
|
42
|
+
1:22:09 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/tests/testRedisConnection.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
1:22:09 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
1:22:09 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
|
-
|
|
48
|
+
1:22:09 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/bannedDomain.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
1:22:09 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
1:22:09 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/pair/decode.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
1:22:09 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
|
-
|
|
56
|
+
1:22:09 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
1:22:09 PM - Building project '/home/runner/work/captcha/captcha/packages/env/tsconfig.json'...
|
|
59
59
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/env@3.6.
|
|
2
|
+
> @prosopo/env@3.6.12 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/env@3.6.
|
|
6
|
+
> @prosopo/env@3.6.12 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
ViteEsmConfig: .
|
|
@@ -54,4 +54,4 @@ rendering chunks...
|
|
|
54
54
|
[2mdist/[22m[36mindex.js [39m[1m[2m0.18 kB[22m[1m[22m
|
|
55
55
|
[2mdist/[22m[36mprovider.js [39m[1m[2m1.35 kB[22m[1m[22m
|
|
56
56
|
[2mdist/[22m[36menv.js [39m[1m[2m6.77 kB[22m[1m[22m
|
|
57
|
-
[32m✓ built in
|
|
57
|
+
[32m✓ built in 167ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @prosopo/env
|
|
2
2
|
|
|
3
|
+
## 3.6.12
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [6abff15]
|
|
7
|
+
- Updated dependencies [29b5c6a]
|
|
8
|
+
- @prosopo/logger@2.0.3
|
|
9
|
+
- @prosopo/database@3.15.12
|
|
10
|
+
- @prosopo/common@3.1.45
|
|
11
|
+
- @prosopo/ipinfo@0.2.36
|
|
12
|
+
- @prosopo/types-env@2.10.11
|
|
13
|
+
- @prosopo/keyring@2.9.56
|
|
14
|
+
|
|
15
|
+
## 3.6.11
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 550d20a: Keep the provider admin endpoints working while `MAINTENANCE_MODE` is on. Previously the admin/access-rule router was skipped entirely at boot in maintenance mode — `Environment.isReady()` never connected the DB, so `env.getDb()` threw and the DB-backed `Tasks` couldn't be constructed — which meant adding/removing site keys (access rules), detector keys and decision machines all 404'd on a node in maintenance mode.
|
|
19
|
+
|
|
20
|
+
Now, in maintenance mode `Environment.isReady()` creates the `ProviderDatabase` handle and connects in the **background** (without awaiting), so a slow or unavailable Mongo/Redis socket still can't gate boot, but `env.getDb()` returns a usable handle and the admin endpoints register and function. The captcha request path is unchanged — it still short-circuits to a maintenance "pass" before touching the DB. `blockMiddleware` now has an explicit maintenance-mode skip (it previously relied on `env.getDb()` throwing to no-op) so the blocklist/Redis lookup stays off the captcha hot path.
|
|
21
|
+
- Updated dependencies [85e8857]
|
|
22
|
+
- @prosopo/types@4.9.8
|
|
23
|
+
- @prosopo/common@3.1.44
|
|
24
|
+
- @prosopo/database@3.15.11
|
|
25
|
+
- @prosopo/ipinfo@0.2.35
|
|
26
|
+
- @prosopo/keyring@2.9.55
|
|
27
|
+
- @prosopo/types-env@2.10.10
|
|
28
|
+
- @prosopo/logger@2.0.2
|
|
29
|
+
|
|
3
30
|
## 3.6.10
|
|
4
31
|
### Patch Changes
|
|
5
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/env",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.12",
|
|
4
4
|
"description": "Path env prosopo environment",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"typecheck": "tsc --project tsconfig.types.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@prosopo/ipinfo": "0.2.
|
|
30
|
-
"@prosopo/common": "3.1.
|
|
31
|
-
"@prosopo/logger": "2.0.
|
|
32
|
-
"@prosopo/database": "3.15.
|
|
33
|
-
"@prosopo/keyring": "2.9.
|
|
34
|
-
"@prosopo/types": "4.9.
|
|
35
|
-
"@prosopo/types-env": "2.10.
|
|
29
|
+
"@prosopo/ipinfo": "0.2.36",
|
|
30
|
+
"@prosopo/common": "3.1.45",
|
|
31
|
+
"@prosopo/logger": "2.0.3",
|
|
32
|
+
"@prosopo/database": "3.15.12",
|
|
33
|
+
"@prosopo/keyring": "2.9.56",
|
|
34
|
+
"@prosopo/types": "4.9.8",
|
|
35
|
+
"@prosopo/types-env": "2.10.11",
|
|
36
36
|
"@prosopo/util-crypto": "13.5.30"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|