@prosopo/cli 3.7.9 → 3.7.10
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.7.
|
|
2
|
+
> @prosopo/cli@3.7.10 build:cjs
|
|
3
3
|
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
4
|
|
|
5
5
|
ViteCommonJSConfig: .
|
|
@@ -90,4 +90,4 @@ dist/cjs/RateLimiter.cjs 5.42 kB │ gzip: 0.88 kB
|
|
|
90
90
|
[38;5;240m │[0m ╰─────── This `import.meta` will be replaced with an empty object (`{}`) automatically. If this is desired, you can suppress this warning by adding `transform.define: { 'import.meta': {} }`. If `import.meta` needs to be kept as-is, you need to set the output format to `esm`.
|
|
91
91
|
[38;5;246m────╯[0m
|
|
92
92
|
[39m
|
|
93
|
-
[32m✓ built in
|
|
93
|
+
[32m✓ built in 62ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/cli@3.7.
|
|
2
|
+
> @prosopo/cli@3.7.10 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
8:
|
|
5
|
+
8:13:58 AM - Projects in this build:
|
|
6
6
|
* ../../dev/config/tsconfig.json
|
|
7
7
|
* ../locale/tsconfig.json
|
|
8
8
|
* ../util/tsconfig.json
|
|
@@ -28,53 +28,53 @@
|
|
|
28
28
|
* ../../dev/workspace/tsconfig.json
|
|
29
29
|
* tsconfig.json
|
|
30
30
|
|
|
31
|
-
8:
|
|
31
|
+
8:13:58 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'
|
|
32
32
|
|
|
33
|
-
8:
|
|
33
|
+
8:13:58 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
|
|
34
34
|
|
|
35
|
-
8:
|
|
35
|
+
8:13:58 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
|
|
36
36
|
|
|
37
|
-
8:
|
|
37
|
+
8:13:58 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'
|
|
38
38
|
|
|
39
|
-
8:
|
|
39
|
+
8:13:58 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'
|
|
40
40
|
|
|
41
|
-
8:
|
|
41
|
+
8:13:58 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
|
|
42
42
|
|
|
43
|
-
8:
|
|
43
|
+
8:13:58 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
|
|
44
44
|
|
|
45
|
-
8:
|
|
45
|
+
8:13:58 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
|
|
46
46
|
|
|
47
|
-
8:
|
|
47
|
+
8:13:58 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
|
|
48
48
|
|
|
49
|
-
8:
|
|
49
|
+
8:13:58 AM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/types.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
|
|
50
50
|
|
|
51
|
-
8:
|
|
51
|
+
8:13:58 AM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/tests/apiRoute.unit.test.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
|
|
52
52
|
|
|
53
|
-
8:
|
|
53
|
+
8:13:58 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'
|
|
54
54
|
|
|
55
|
-
8:
|
|
55
|
+
8:13:58 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'
|
|
56
56
|
|
|
57
|
-
8:
|
|
57
|
+
8:13:58 AM - 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'
|
|
58
58
|
|
|
59
|
-
8:
|
|
59
|
+
8:13:58 AM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/redisCacheEscalation.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
|
|
60
60
|
|
|
61
|
-
8:
|
|
61
|
+
8:13:58 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
|
|
62
62
|
|
|
63
|
-
8:
|
|
63
|
+
8:13:58 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'
|
|
64
64
|
|
|
65
|
-
8:
|
|
65
|
+
8:13:59 AM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/tsconfig.tsbuildinfo'
|
|
66
66
|
|
|
67
|
-
8:
|
|
67
|
+
8:13:59 AM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/tests/unit/testDoubles.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
|
|
68
68
|
|
|
69
|
-
8:
|
|
69
|
+
8:13:59 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/dataset.unit.test.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
|
|
70
70
|
|
|
71
|
-
8:
|
|
71
|
+
8:13:59 AM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
|
|
72
72
|
|
|
73
|
-
8:
|
|
73
|
+
8:13:59 AM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/util.ts' is older than output '../provider/tsconfig.tsbuildinfo'
|
|
74
74
|
|
|
75
|
-
8:
|
|
75
|
+
8:13:59 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'
|
|
76
76
|
|
|
77
|
-
8:
|
|
77
|
+
8:13:59 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
78
78
|
|
|
79
|
-
8:
|
|
79
|
+
8:13:59 AM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
|
|
80
80
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/cli@3.7.
|
|
2
|
+
> @prosopo/cli@3.7.10 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/cli@3.7.
|
|
6
|
+
> @prosopo/cli@3.7.10 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
ViteEsmConfig: .
|
|
@@ -86,4 +86,4 @@ dist/commands/siteKeyRegister.js 3.30 kB │ gzip: 1.14 kB
|
|
|
86
86
|
dist/prosopo.config.js 4.43 kB │ gzip: 1.47 kB
|
|
87
87
|
dist/RateLimiter.js 5.02 kB │ gzip: 0.87 kB
|
|
88
88
|
|
|
89
|
-
[32m✓ built in
|
|
89
|
+
[32m✓ built in 56ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1391,7 +1391,7 @@ function an(e, t, n) {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
//#endregion
|
|
1393
1393
|
//#region ../util/dist/version.js
|
|
1394
|
-
var on = (typeof process < "u" ? "3.7.
|
|
1394
|
+
var on = (typeof process < "u" ? "3.7.10" : void 0) || "dev", sn = Array(256), cn = Array(256 * 256);
|
|
1395
1395
|
for (let e = 0; e < 256; e++) sn[e] = e.toString(16).padStart(2, "0");
|
|
1396
1396
|
for (let e = 0; e < 256; e++) {
|
|
1397
1397
|
let t = e << 8;
|
|
@@ -76843,7 +76843,7 @@ var j4 = async (e, t) => {
|
|
|
76843
76843
|
...w.session.iframeUrl && { iframeUrl: w.session.iframeUrl }
|
|
76844
76844
|
}
|
|
76845
76845
|
}) : { captchaType: m }, g = h.captchaType !== m, _ = !1, y;
|
|
76846
|
-
if (d && w.session.bundleId && (y = (await b.frictionlessManager.resolveBundleByDetectorSession(d))?.bundleId, y !== void 0 && y !== w.session.bundleId && (_ = !0)), p || g
|
|
76846
|
+
if (d && w.session.bundleId && (y = (await b.frictionlessManager.resolveBundleByDetectorSession(d))?.bundleId, y !== void 0 && y !== w.session.bundleId && (_ = !0)), p || g) n.logger.info(() => ({
|
|
76847
76847
|
msg: "Evicting reused session: cached captchaType conflicts with access policy or routing machine",
|
|
76848
76848
|
data: {
|
|
76849
76849
|
userSitekeyIpHash: x,
|
|
@@ -76853,14 +76853,18 @@ var j4 = async (e, t) => {
|
|
|
76853
76853
|
policyType: f?.type,
|
|
76854
76854
|
policyCaptchaType: f?.captchaType
|
|
76855
76855
|
},
|
|
76856
|
-
...g && { routedCaptchaType: h.captchaType }
|
|
76857
|
-
..._ && {
|
|
76858
|
-
cachedBundleId: w.session.bundleId,
|
|
76859
|
-
incomingBundleId: y
|
|
76860
|
-
}
|
|
76856
|
+
...g && { routedCaptchaType: h.captchaType }
|
|
76861
76857
|
}
|
|
76862
76858
|
})), await b.db.checkAndRemoveSession(w.sessionId), await Promise.all([b.writeQueue?.invalidateCachedSession(w.sessionId) ?? Promise.resolve(), b.writeQueue?.invalidateCachedSessionByHash(x) ?? Promise.resolve()]);
|
|
76863
|
-
else return n.logger.info(() => ({
|
|
76859
|
+
else return _ && y && (n.logger.info(() => ({
|
|
76860
|
+
msg: "Rebinding reused session bundleId to match incoming detector",
|
|
76861
|
+
data: {
|
|
76862
|
+
userSitekeyIpHash: x,
|
|
76863
|
+
sessionId: w.sessionId,
|
|
76864
|
+
cachedBundleId: w.session.bundleId,
|
|
76865
|
+
incomingBundleId: y
|
|
76866
|
+
}
|
|
76867
|
+
})), await b.frictionlessManager.updateSessionRecordWithCache(w.sessionId, { bundleId: y })), n.logger.info(() => ({
|
|
76864
76868
|
msg: "Reusing existing session for user-IP-sitekey combination",
|
|
76865
76869
|
data: {
|
|
76866
76870
|
userSitekeyIpHash: x,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/cli",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.10",
|
|
4
4
|
"description": "CLI for Prosopo Provider",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@prosopo/env": "3.6.30",
|
|
43
43
|
"@prosopo/keyring": "2.9.69",
|
|
44
44
|
"@prosopo/locale": "3.3.0",
|
|
45
|
-
"@prosopo/provider": "5.1.
|
|
45
|
+
"@prosopo/provider": "5.1.2",
|
|
46
46
|
"@prosopo/types": "5.1.1",
|
|
47
47
|
"@prosopo/util": "3.3.6",
|
|
48
48
|
"@prosopo/workspace": "3.2.0",
|