@prosopo/procaptcha-bundle 4.1.47 → 4.1.49

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/procaptcha-bundle@4.1.47 build:cjs
2
+ > @prosopo/procaptcha-bundle@4.1.49 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -29,6 +29,7 @@ ViteCommonJSConfig: .
29
29
  ]
30
30
  }
31
31
  {
32
+ The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
32
33
  externals: [
33
34
  '@prosopo/dotenv',
34
35
  '@prosopo/logger',
@@ -53,7 +54,6 @@ ViteCommonJSConfig: .
53
54
  '@prosopo/datasets'
54
55
  ]
55
56
  }
56
- The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
57
57
  vite v8.1.5 building ssr environment for production...
58
58
  Bundle build started
59
59
  
@@ -73,4 +73,4 @@ dist/cjs/index.cjs 6.42 kB │ gzip: 2.14 kB
73
73
 
74
74
  [MIXED_EXPORTS] Entry module "src/index.ts" is using named (including "default", "execute", "render", "reset") and default exports together. Consumers of your bundle will have to use `..default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
75
75
  
76
- ✓ built in 60ms
76
+ ✓ built in 64ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/procaptcha-bundle@4.1.47 build:tsc
2
+ > @prosopo/procaptcha-bundle@4.1.49 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 9:46:00 AM - Projects in this build:
5
+ 7:05:50 AM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../util/tsconfig.json
8
8
  * ../logger/tsconfig.json
@@ -27,51 +27,51 @@
27
27
  * ../procaptcha-frictionless/tsconfig.json
28
28
  * tsconfig.json
29
29
 
30
- 9:46:00 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'
30
+ 7:05:50 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/vite/vite-plugin-copy.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
31
31
 
32
- 9:46:00 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
32
+ 7:05:50 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
33
33
 
34
- 9:46:00 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
34
+ 7:05:50 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
35
35
 
36
- 9:46:00 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
36
+ 7:05:50 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
37
37
 
38
- 9:46:00 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
38
+ 7:05:50 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
39
39
 
40
- 9:46:00 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
+ 7:05:50 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'
41
41
 
42
- 9:46:00 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
+ 7:05:50 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'
43
43
 
44
- 9:46:00 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
44
+ 7:05:50 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/api.test-d.ts' is older than output '../api/tsconfig.tsbuildinfo'
45
45
 
46
- 9:46:00 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/utils/batches.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
46
+ 7:05:50 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
47
47
 
48
- 9:46:00 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
48
+ 7:05:50 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/sources/webgl.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
49
49
 
50
- 9:46:00 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
50
+ 7:05:50 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
51
51
 
52
- 9:46:00 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'
52
+ 7:05:50 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'
53
53
 
54
- 9:46:00 AM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/constants.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
54
+ 7:05:50 AM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/webComponent/createWebComponent.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
55
55
 
56
- 9:46:00 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'
56
+ 7:05:50 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
57
57
 
58
- 9:46:00 AM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/custom.d.ts' is older than output '../account/tsconfig.tsbuildinfo'
58
+ 7:05:50 AM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/index.ts' is older than output '../account/tsconfig.tsbuildinfo'
59
59
 
60
- 9:46:00 AM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/tests/defaultEvents.test.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
60
+ 7:05:51 AM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/simdReadings.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
61
61
 
62
- 9:46:00 AM - Project '../procaptcha-pow/tsconfig.json' is up to date because newest input '../procaptcha-pow/src/tests/managerHarness.ts' is older than output '../procaptcha-pow/tsconfig.tsbuildinfo'
62
+ 7:05:51 AM - Project '../procaptcha-pow/tsconfig.json' is up to date because newest input '../procaptcha-pow/src/tests/managerHarness.ts' is older than output '../procaptcha-pow/tsconfig.tsbuildinfo'
63
63
 
64
- 9:46:00 AM - Project '../procaptcha-puzzle/tsconfig.json' is up to date because newest input '../procaptcha-puzzle/src/index.ts' is older than output '../procaptcha-puzzle/tsconfig.tsbuildinfo'
64
+ 7:05:51 AM - Project '../procaptcha-puzzle/tsconfig.json' is up to date because newest input '../procaptcha-puzzle/src/tests/manager.unit.test.ts' is older than output '../procaptcha-puzzle/tsconfig.tsbuildinfo'
65
65
 
66
- 9:46:00 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
66
+ 7:05:51 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
67
67
 
68
- 9:46:00 AM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/modules/Manager.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
68
+ 7:05:51 AM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/tests/manager.unit.test.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
69
69
 
70
- 9:46:00 AM - Project '../procaptcha-react/tsconfig.json' is up to date because newest input '../procaptcha-react/src/tests/captchaComponent.unit.test.tsx' is older than output '../procaptcha-react/tsconfig.tsbuildinfo'
70
+ 7:05:51 AM - Project '../procaptcha-react/tsconfig.json' is up to date because newest input '../procaptcha-react/src/index.ts' is older than output '../procaptcha-react/tsconfig.tsbuildinfo'
71
71
 
72
- 9:46:00 AM - Project '../procaptcha-frictionless/tsconfig.json' is up to date because newest input '../procaptcha-frictionless/src/customDetectBot.ts' is older than output '../procaptcha-frictionless/tsconfig.tsbuildinfo'
72
+ 7:05:51 AM - Project '../procaptcha-frictionless/tsconfig.json' is up to date because newest input '../procaptcha-frictionless/src/ProcaptchaFrictionless.tsx' is older than output '../procaptcha-frictionless/tsconfig.tsbuildinfo'
73
73
 
74
- 9:46:00 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
74
+ 7:05:51 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
75
75
 
76
- 9:46:00 AM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-bundle/tsconfig.json'...
76
+ 7:05:51 AM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-bundle/tsconfig.json'...
77
77
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/procaptcha-bundle@4.1.47 build
2
+ > @prosopo/procaptcha-bundle@4.1.49 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/procaptcha-bundle@4.1.47 build:cross-env
6
+ > @prosopo/procaptcha-bundle@4.1.49 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -75,4 +75,4 @@ dist/util/captcha/captchaRenderer.js 1.93 kB │ gzip: 0.70 kB
75
75
  dist/util/widgetFactory.js 2.52 kB │ gzip: 0.85 kB
76
76
  dist/index.js 6.11 kB │ gzip: 2.06 kB
77
77
 
78
- ✓ built in 62ms
78
+ ✓ built in 67ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @prosopo/procaptcha-bundle
2
2
 
3
+ ## 4.1.49
4
+ ### Patch Changes
5
+
6
+ - 729349e: Run the cypress suite in firefox as well as chrome whenever the PR is a release
7
+ PR, via a new cypress-firefox workflow. cypress.yml is untouched.
8
+
9
+ The trusted-event checks scattered across the widget components now go through a
10
+ single `isEventTrusted()` helper in `@prosopo/procaptcha-common`. Behaviour is
11
+ unchanged: it still returns early for synthetic input, unless the bundle was
12
+ built with `PROSOPO_ALLOW_UNTRUSTED_EVENTS=1`, which only the firefox CI leg
13
+ sets. Production builds pin the define to `false`, so the branch is folded away
14
+ at build time and the allowance cannot reach a shipped bundle.
15
+
16
+ The allowance exists because cypress-real-events dispatches input over the chrome
17
+ devtools protocol, which cypress exposes for chromium browsers only — on firefox
18
+ the specs fall back to cypress' own synthetic clicks.
19
+ - Updated dependencies [729349e]
20
+ - Updated dependencies [16dbab0]
21
+ - Updated dependencies [b525956]
22
+ - Updated dependencies [9091a78]
23
+ - Updated dependencies [d5e104b]
24
+ - Updated dependencies [063e69d]
25
+ - Updated dependencies [8a4d6ad]
26
+ - @prosopo/procaptcha-common@2.11.23
27
+ - @prosopo/types@5.0.3
28
+ - @prosopo/util@3.3.6
29
+ - @prosopo/widget-skeleton@2.8.6
30
+ - @prosopo/locale@3.3.0
31
+ - @prosopo/procaptcha-frictionless@2.13.5
32
+ - @prosopo/dotenv@3.0.52
33
+
34
+ ## 4.1.48
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [d6cb841]
38
+ - @prosopo/types@5.0.2
39
+ - @prosopo/procaptcha-common@2.11.22
40
+ - @prosopo/procaptcha-frictionless@2.13.4
41
+
3
42
  ## 4.1.47
4
43
  ### Patch Changes
5
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/procaptcha-bundle",
3
- "version": "4.1.47",
3
+ "version": "4.1.49",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -39,13 +39,13 @@
39
39
  },
40
40
  "browserslist": ["> 0.5%, last 2 versions, not dead"],
41
41
  "dependencies": {
42
- "@prosopo/dotenv": "3.0.51",
43
- "@prosopo/locale": "3.2.9",
44
- "@prosopo/procaptcha-common": "2.11.21",
45
- "@prosopo/procaptcha-frictionless": "2.13.3",
46
- "@prosopo/types": "5.0.1",
47
- "@prosopo/util": "3.3.5",
48
- "@prosopo/widget-skeleton": "2.8.5",
42
+ "@prosopo/dotenv": "3.0.52",
43
+ "@prosopo/locale": "3.3.0",
44
+ "@prosopo/procaptcha-common": "2.11.23",
45
+ "@prosopo/procaptcha-frictionless": "2.13.5",
46
+ "@prosopo/types": "5.0.3",
47
+ "@prosopo/util": "3.3.6",
48
+ "@prosopo/widget-skeleton": "2.8.6",
49
49
  "dotenv": "16.4.5",
50
50
  "fast-glob": "3.3.2",
51
51
  "jsdom": "25.0.0",