@prosopo/cli 3.8.11 → 3.8.13

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/cli@3.8.11 build:cjs
2
+ > @prosopo/cli@3.8.13 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -67,11 +67,11 @@ Bundle build started
67
67
  rendering chunks...
68
68
  computing gzip size...
69
69
  dist/cjs/commands/version.cjs 0.52 kB │ gzip: 0.29 kB
70
+ dist/cjs/commands/validators.cjs 0.79 kB │ gzip: 0.37 kB
70
71
  dist/cjs/index.cjs 0.82 kB │ gzip: 0.29 kB
71
72
  dist/cjs/commands/ensureIndexes.cjs 0.91 kB │ gzip: 0.46 kB
72
73
  dist/cjs/process.env.cjs 0.92 kB │ gzip: 0.36 kB
73
74
  dist/cjs/commands/storeCaptchasExternally.cjs 0.93 kB │ gzip: 0.45 kB
74
- dist/cjs/commands/validators.cjs 0.93 kB │ gzip: 0.44 kB
75
75
  dist/cjs/_virtual/_rolldown/runtime.cjs 1.00 kB │ gzip: 0.50 kB
76
76
  dist/cjs/commands/ensureExternalIndexes.cjs 1.07 kB │ gzip: 0.50 kB
77
77
  dist/cjs/files.cjs 1.21 kB │ gzip: 0.56 kB
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/cli@3.8.11 build:tsc
2
+ > @prosopo/cli@3.8.13 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 5:39:54 AM - Projects in this build:
5
+ 10:46:28 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -31,59 +31,59 @@
31
31
  * ../../dev/workspace/tsconfig.json
32
32
  * tsconfig.json
33
33
 
34
- 5:39:54 AM - 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'
34
+ 10:46:28 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'
35
35
 
36
- 5:39:54 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
36
+ 10:46:28 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
37
37
 
38
- 5:39:54 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
38
+ 10:46:28 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
39
39
 
40
- 5:39:54 AM - 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'
40
+ 10:46:28 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'
41
41
 
42
- 5:39:54 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
42
+ 10:46:28 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'
43
43
 
44
- 5:39:54 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
44
+ 10:46:28 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
- 5:39:54 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
46
+ 10:46:28 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
47
47
 
48
- 5:39:54 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
48
+ 10:46:28 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/tsconfig.tsbuildinfo'
49
49
 
50
- 5:39:54 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
50
+ 10:46:28 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
51
51
 
52
- 5:39:54 AM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/types.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
52
+ 10:46:28 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
53
53
 
54
- 5:39:54 AM - 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'
54
+ 10:46:28 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'
55
55
 
56
- 5:39:54 AM - 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'
56
+ 10:46:28 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/redisClient.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
57
57
 
58
- 5:39:54 AM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/ruleRecord.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
58
+ 10:46:28 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'
59
59
 
60
- 5:39:54 AM - 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'
60
+ 10:46:28 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'
61
61
 
62
- 5:39:54 AM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
62
+ 10:46:28 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'
63
63
 
64
- 5:39:54 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.test.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
64
+ 10:46:28 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
65
65
 
66
- 5:39:54 AM - 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'
66
+ 10:46:28 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'
67
67
 
68
- 5:39:54 AM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/tests/env.maintenance.unit.test.ts' is older than output '../env/tsconfig.tsbuildinfo'
68
+ 10:46:28 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/index.ts' is older than output '../env/tsconfig.tsbuildinfo'
69
69
 
70
- 5:39:55 AM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/errorHandler.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
70
+ 10:46:28 PM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/apiExpressRouterFactory.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
71
71
 
72
- 5:39:55 AM - Project '../captcha-severity/tsconfig.json' is up to date because newest input '../captcha-severity/src/index.test.ts' is older than output '../captcha-severity/tsconfig.tsbuildinfo'
72
+ 10:46:29 PM - Project '../captcha-severity/tsconfig.json' is up to date because newest input '../captcha-severity/src/index.test.ts' is older than output '../captcha-severity/tsconfig.tsbuildinfo'
73
73
 
74
- 5:39:55 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
74
+ 10:46:29 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/mocks/data/captchas.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
75
75
 
76
- 5:39:55 AM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/tests/productionProviderList.unit.test.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
76
+ 10:46:29 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/developmentProviderUrl.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
77
77
 
78
- 5:39:55 AM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/tsconfig.tsbuildinfo'
78
+ 10:46:29 PM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/tsconfig.tsbuildinfo'
79
79
 
80
- 5:39:55 AM - Project '../web-bot-auth/tsconfig.json' is up to date because newest input '../web-bot-auth/src/base64.ts' is older than output '../web-bot-auth/tsconfig.tsbuildinfo'
80
+ 10:46:29 PM - Project '../web-bot-auth/tsconfig.json' is up to date because newest input '../web-bot-auth/src/base64.ts' is older than output '../web-bot-auth/tsconfig.tsbuildinfo'
81
81
 
82
- 5:39:55 AM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/utils/devicePlatform.ts' is older than output '../provider/tsconfig.tsbuildinfo'
82
+ 10:46:29 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/util.ts' is older than output '../provider/tsconfig.tsbuildinfo'
83
83
 
84
- 5:39:55 AM - 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'
84
+ 10:46:29 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/projectInfo.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
85
85
 
86
- 5:39:55 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
86
+ 10:46:29 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
87
87
 
88
- 5:39:55 AM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
88
+ 10:46:29 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
89
89
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/cli@3.8.11 build
2
+ > @prosopo/cli@3.8.13 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/cli@3.8.11 build:cross-env
6
+ > @prosopo/cli@3.8.13 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -73,7 +73,7 @@ computing gzip size...
73
73
  dist/_virtual/_rolldown/runtime.js 0.04 kB │ gzip: 0.06 kB
74
74
  dist/index.js 0.45 kB │ gzip: 0.21 kB
75
75
  dist/commands/version.js 0.47 kB │ gzip: 0.28 kB
76
- dist/commands/validators.js 0.70 kB │ gzip: 0.36 kB
76
+ dist/commands/validators.js 0.70 kB │ gzip: 0.35 kB
77
77
  dist/process.env.js 0.84 kB │ gzip: 0.34 kB
78
78
  dist/commands/ensureIndexes.js 0.84 kB │ gzip: 0.45 kB
79
79
  dist/commands/storeCaptchasExternally.js 0.86 kB │ gzip: 0.44 kB
@@ -92,4 +92,4 @@ dist/commands/siteKeyRegister.js 3.99 kB │ gzip: 1.24 kB
92
92
  dist/prosopo.config.js 4.49 kB │ gzip: 1.48 kB
93
93
  dist/RateLimiter.js 5.35 kB │ gzip: 0.92 kB
94
94
 
95
- ✓ built in 58ms
95
+ ✓ built in 53ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @prosopo/cli
2
2
 
3
+ ## 3.8.13
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [be25974]
7
+ - Updated dependencies [8d158a1]
8
+ - Updated dependencies [be25974]
9
+ - @prosopo/types@5.8.5
10
+ - @prosopo/provider@5.10.4
11
+ - @prosopo/api@4.2.5
12
+ - @prosopo/env@3.6.58
13
+ - @prosopo/keyring@2.9.91
14
+
15
+ ## 3.8.12
16
+ ### Patch Changes
17
+
18
+ - 3334ef2: Replace loose `any` types in the CLI's JSON file writer and env file reloader with real types. No behaviour change.
19
+ - f4e4a83: chore(deps): roll up the open dependabot bumps (react 19.3, mongoose 9.10, @polkadot/util 14, redis 6, cron-parser 5, react-i18next 17 with i18next 26, @scure/base 2, cypress 16, rollup/babel plugin majors, vitest 4.1.11, angular 20.3.28, js-yaml)
20
+ - Updated dependencies [f4e4a83]
21
+ - Updated dependencies [c386199]
22
+ - Updated dependencies [4d45e3d]
23
+ - Updated dependencies [d710b7f]
24
+ - Updated dependencies [d4e9425]
25
+ - Updated dependencies [ae121df]
26
+ - Updated dependencies [0be8838]
27
+ - @prosopo/common@3.1.56
28
+ - @prosopo/keyring@2.9.90
29
+ - @prosopo/locale@3.4.3
30
+ - @prosopo/provider@5.10.3
31
+ - @prosopo/types@5.8.4
32
+ - @prosopo/util@3.3.10
33
+ - @prosopo/api@4.2.4
34
+ - @prosopo/dotenv@3.0.56
35
+ - @prosopo/env@3.6.57
36
+ - @prosopo/logger@2.0.10
37
+
3
38
  ## 3.8.11
4
39
  ### Patch Changes
5
40
 
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./i18next-DZyUEvVF.js";
1
+ import { n as e, t } from "./i18next-CzgfK_Ir.js";
2
2
  import { i as n, l as r, r as i, s as a } from "./provider.cli.bundle.js";
3
3
  import o from "node:path";
4
4
  //#region ../locale/dist/util.js
@@ -103,7 +103,7 @@ var s = () => !!(typeof window < "u" && window.document && window.document.creat
103
103
  if (!e) return {};
104
104
  var a = r(i.shift());
105
105
  if (s.indexOf(a) > -1) return {};
106
- !e[a] && n && (e[a] = new n()), e = e[a];
106
+ !Object.prototype.hasOwnProperty.call(e, a) && n && (e[a] = new n()), e = Object.prototype.hasOwnProperty.call(e, a) ? e[a] : {};
107
107
  }
108
108
  if (!e) return {};
109
109
  var o = r(i.shift());
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./i18next-DZyUEvVF.js";
1
+ import { n as e, t } from "./i18next-CzgfK_Ir.js";
2
2
  import { l as n } from "./provider.cli.bundle.js";
3
3
  //#region ../../node_modules/react-i18next/dist/es/unescape.js
4
4
  var r = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, i = {
@@ -35,7 +35,8 @@ var r = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#17
35
35
  "p"
36
36
  ],
37
37
  useSuspense: !0,
38
- unescape: (e) => e.replace(r, a)
38
+ unescape: (e) => e.replace(r, a),
39
+ transDefaultProps: void 0
39
40
  }, s = (e = {}) => {
40
41
  o = {
41
42
  ...o,