@prosopo/procaptcha-bundle 4.4.5 → 4.4.6

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.4.5 build:cjs
2
+ > @prosopo/procaptcha-bundle@4.4.6 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -75,4 +75,4 @@ dist/cjs/index.cjs 11.88 kB │ gzip: 3.88 kB
75
75
 
76
76
  [MIXED_EXPORTS] Entry module "src/index.ts" is using named (including "default", "execute", "remove", "render", "reset", "start") 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.
77
77
  
78
- ✓ built in 54ms
78
+ ✓ built in 89ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/procaptcha-bundle@4.4.5 build:tsc
2
+ > @prosopo/procaptcha-bundle@4.4.6 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 5:39:35 AM - Projects in this build:
5
+ 1:04:59 PM - 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
- 5:39:35 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
+ 1:04:59 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'
31
31
 
32
- 5:39:35 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
32
+ 1:04:59 PM - 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
- 5:39:35 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
34
+ 1:04:59 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
35
35
 
36
- 5:39:35 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
36
+ 1:04:59 PM - 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
- 5:39:35 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
38
+ 1:04:59 PM - 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
- 5:39:35 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
+ 1:04:59 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:35 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
+ 1:04:59 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:35 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
44
+ 1:04:59 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
- 5:39:35 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
46
+ 1:04:59 PM - 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'
47
47
 
48
- 5:39:35 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
+ 1:04:59 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
49
49
 
50
- 5:39:35 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
50
+ 1:04:59 PM - 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
- 5:39:35 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'
52
+ 1:04:59 PM - 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'
53
53
 
54
- 5:39:35 AM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/webComponent/createWidget.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
54
+ 1:04:59 PM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/webComponent/createWidget.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
55
55
 
56
- 5:39:35 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
+ 1:04:59 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/pair/decode.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
57
57
 
58
- 5:39:35 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
+ 1:04:59 PM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/tests/cryptoWorker.unit.test.ts' is older than output '../account/tsconfig.tsbuildinfo'
59
59
 
60
- 5:39:35 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'
60
+ 1:04:59 PM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/tests/challengeSurfaceRender.unit.test.tsx' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
61
61
 
62
- 5:39:35 AM - Project '../procaptcha-pow/tsconfig.json' is up to date because newest input '../procaptcha-pow/src/index.ts' is older than output '../procaptcha-pow/tsconfig.tsbuildinfo'
62
+ 1:05:00 PM - 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
- 5:39:35 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
+ 1:05:00 PM - 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'
65
65
 
66
- 5:39:35 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
66
+ 1:05:00 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'
67
67
 
68
- 5:39:35 AM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/index.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
68
+ 1:05:00 PM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/modules/Manager.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
69
69
 
70
- 5:39:35 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'
70
+ 1:05:00 PM - 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
- 5:39:35 AM - Project '../procaptcha-frictionless/tsconfig.json' is up to date because newest input '../procaptcha-frictionless/src/AuthenticatedBadge.tsx' is older than output '../procaptcha-frictionless/tsconfig.tsbuildinfo'
72
+ 1:05:00 PM - Project '../procaptcha-frictionless/tsconfig.json' is up to date because newest input '../procaptcha-frictionless/src/tests/customDetectBotAssignTimeout.test.ts' is older than output '../procaptcha-frictionless/tsconfig.tsbuildinfo'
73
73
 
74
- 5:39:35 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
74
+ 1:05:00 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
75
75
 
76
- 5:39:35 AM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-bundle/tsconfig.json'...
76
+ 1:05:00 PM - 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.4.5 build
2
+ > @prosopo/procaptcha-bundle@4.4.6 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/procaptcha-bundle@4.4.5 build:cross-env
6
+ > @prosopo/procaptcha-bundle@4.4.6 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -77,4 +77,4 @@ dist/util/widgetFactory.js 2.57 kB │ gzip: 0.87 kB
77
77
  dist/util/captcha/captchaRenderer.js 2.64 kB │ gzip: 0.92 kB
78
78
  dist/index.js 11.43 kB │ gzip: 3.79 kB
79
79
 
80
- ✓ built in 65ms
80
+ ✓ built in 54ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @prosopo/procaptcha-bundle
2
2
 
3
+ ## 4.4.6
4
+ ### Patch Changes
5
+
6
+ - 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)
7
+ - Updated dependencies [f4e4a83]
8
+ - Updated dependencies [c386199]
9
+ - Updated dependencies [08e2254]
10
+ - Updated dependencies [4d45e3d]
11
+ - Updated dependencies [d710b7f]
12
+ - Updated dependencies [d4e9425]
13
+ - Updated dependencies [ae121df]
14
+ - Updated dependencies [0be8838]
15
+ - @prosopo/locale@3.4.3
16
+ - @prosopo/procaptcha-common@2.14.1
17
+ - @prosopo/procaptcha-frictionless@2.16.4
18
+ - @prosopo/types@5.8.4
19
+ - @prosopo/util@3.3.10
20
+ - @prosopo/dotenv@3.0.56
21
+
3
22
  ## 4.4.5
4
23
  ### Patch Changes
5
24
 
@@ -10,8 +10,7 @@ describe("procaptcha:ready event", () => {
10
10
  global.window = dom.window;
11
11
  });
12
12
  afterEach(() => {
13
- global.document = undefined;
14
- global.window = undefined;
13
+ Object.assign(global, { document: undefined, window: undefined });
15
14
  });
16
15
  it("should dispatch procaptcha:ready event when window.procaptcha is set", (done) => {
17
16
  document.addEventListener("procaptcha:ready", (event) => {
@@ -1 +1 @@
1
- {"version":3,"file":"procaptchaReady.unit.test.js","sourceRoot":"","sources":["../../src/tests/procaptchaReady.unit.test.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,EAAE,MA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AE;QAEnF,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,CAAC,KAAY,EAAE,EAAE;YAC9D,MAAM,WAAW,GAAG,KAAoB,CAAC;YACzC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;YACzC,MAAM,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC3D,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvC,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAG3C,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,CAAC;YACxC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;YAChD,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;YAC/C,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;YAC/C,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;YACjD,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;QAChD,CAAC,CAAC,CAAC;QAGH,MAAM,CAAC,aAAa,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -10,7 +10,7 @@ describe("Config utility functions", () => {
10
10
  global.document = dom.window.document;
11
11
  });
12
12
  afterEach(() => {
13
- global.document = undefined;
13
+ Object.assign(global, { document: undefined });
14
14
  });
15
15
  describe("getProcaptchaScript", () => {
16
16
  it("should return null when no matching script is found", () => {
@@ -1 +1 @@
1
- {"version":3,"file":"config.test.js","sourceR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O,CAAC;gBACtB,iBAAiB,EAAE,gBAAgB;gBACnC,cAAc,EAAE,UAAU;aAC1B,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;YACzD,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAChD,MAAM,CAAC,GAAG,GAAG,yDAAyD,CAAC;YACvE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YAElC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;YAC7C,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;gBACtB,iBAAiB,EAAE,gBAAgB;gBACnC,cAAc,EAAE,SAAS;aACzB,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;YACzD,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAChD,MAAM,CAAC,GAAG,GAAG,mCAAmC,CAAC;YACjD,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YAElC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;YAC7C,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;gBACtB,iBAAiB,EAAE,SAAS;gBAC5B,cAAc,EAAE,SAAS;aACzB,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/procaptcha-bundle",
3
- "version": "4.4.5",
3
+ "version": "4.4.6",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -39,20 +39,20 @@
39
39
  },
40
40
  "browserslist": ["> 0.5%, last 2 versions, not dead"],
41
41
  "dependencies": {
42
- "@prosopo/dotenv": "3.0.55",
43
- "@prosopo/locale": "3.4.2",
44
- "@prosopo/procaptcha-common": "2.14.0",
45
- "@prosopo/procaptcha-frictionless": "2.16.3",
46
- "@prosopo/types": "5.8.3",
47
- "@prosopo/util": "3.3.9",
42
+ "@prosopo/dotenv": "3.0.56",
43
+ "@prosopo/locale": "3.4.3",
44
+ "@prosopo/procaptcha-common": "2.14.1",
45
+ "@prosopo/procaptcha-frictionless": "2.16.4",
46
+ "@prosopo/types": "5.8.4",
47
+ "@prosopo/util": "3.3.10",
48
48
  "@prosopo/widget-skeleton": "2.8.7",
49
49
  "dotenv": "16.4.5",
50
50
  "fast-glob": "3.3.3",
51
51
  "jsdom": "25.0.0",
52
- "react": "19.2.8",
52
+ "react": "19.3.0",
53
53
  "@emotion/cache": "11.14.0",
54
54
  "@emotion/react": "11.14.0",
55
- "react-dom": "19.2.8"
55
+ "react-dom": "19.3.0"
56
56
  },
57
57
  "repository": {
58
58
  "type": "git",
@@ -68,11 +68,11 @@
68
68
  "registry": "https://registry.npmjs.org"
69
69
  },
70
70
  "devDependencies": {
71
- "@prosopo/config": "3.3.16",
71
+ "@prosopo/config": "3.3.17",
72
72
  "@types/jsdom": "30.0.0",
73
73
  "@types/node": "22.10.2",
74
- "@types/react": "19.2.18",
75
- "@types/react-dom": "19.2.5",
74
+ "@types/react": "19.3.0",
75
+ "@types/react-dom": "19.3.0",
76
76
  "@vitest/coverage-v8": "4.1.11",
77
77
  "concurrently": "9.0.1",
78
78
  "del-cli": "6.0.0",
@@ -84,6 +84,6 @@
84
84
  "vitest": "4.1.11"
85
85
  },
86
86
  "overrides": {
87
- "@types/react": "19.2.18"
87
+ "@types/react": "19.3.0"
88
88
  }
89
89
  }
@@ -29,10 +29,7 @@ describe("procaptcha:ready event", () => {
29
29
  });
30
30
 
31
31
  afterEach(() => {
32
- // biome-ignore lint/suspicious/noExplicitAny: TODO fix any
33
- (global as any).document = undefined;
34
- // biome-ignore lint/suspicious/noExplicitAny: TODO fix any
35
- (global as any).window = undefined;
32
+ Object.assign(global, { document: undefined, window: undefined });
36
33
  });
37
34
 
38
35
  it("should dispatch procaptcha:ready event when window.procaptcha is set", (done) => {
@@ -28,8 +28,7 @@ describe("Config utility functions", () => {
28
28
  });
29
29
 
30
30
  afterEach(() => {
31
- // biome-ignore lint/suspicious/noExplicitAny: TODO fix any
32
- (global as any).document = undefined;
31
+ Object.assign(global, { document: undefined });
33
32
  });
34
33
 
35
34
  describe("getProcaptchaScript", () => {