@prosopo/fingerprint 2.7.40 → 2.7.42

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/fingerprint@2.7.40 build:cjs
2
+ > @prosopo/fingerprint@2.7.42 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -32,4 +32,4 @@ dist/cjs/index.cjs 2.50 kB │ gzip: 0.89 kB
32
32
  dist/cjs/merkle.cjs 2.84 kB │ gzip: 1.09 kB
33
33
  dist/cjs/proof.cjs 4.31 kB │ gzip: 1.70 kB
34
34
 
35
- ✓ built in 47ms
35
+ ✓ built in 69ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/fingerprint@2.7.40 build:tsc
2
+ > @prosopo/fingerprint@2.7.42 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 1:56:11 PM - Projects in this build:
5
+ 1:15:00 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../fingerprintjs/tsconfig.json
8
8
  * ../locale/tsconfig.json
@@ -11,19 +11,19 @@
11
11
  * ../types/tsconfig.json
12
12
  * tsconfig.json
13
13
 
14
- 1:56:11 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'
14
+ 1:15:00 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'
15
15
 
16
- 1:56:11 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
16
+ 1:15:00 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
17
17
 
18
- 1:56:11 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
18
+ 1:15:00 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
19
19
 
20
- 1:56:11 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
20
+ 1:15:00 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
21
21
 
22
- 1:56:11 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'
22
+ 1:15:00 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'
23
23
 
24
- 1:56:11 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
24
+ 1:15:00 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'
25
25
 
26
- 1:56:11 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
26
+ 1:15:00 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
27
27
 
28
- 1:56:11 PM - Building project '/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json'...
28
+ 1:15:00 PM - Building project '/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json'...
29
29
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/fingerprint@2.7.40 build
2
+ > @prosopo/fingerprint@2.7.42 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/fingerprint@2.7.40 build:cross-env
6
+ > @prosopo/fingerprint@2.7.42 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -17,7 +17,6 @@ ViteEsmConfig: .
17
17
  ]
18
18
  }
19
19
  {
20
- 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.
21
20
  externals: [
22
21
  '@prosopo/fingerprintjs',
23
22
  '@prosopo/types',
@@ -26,6 +25,7 @@ ViteEsmConfig: .
26
25
  '@prosopo/util-crypto'
27
26
  ]
28
27
  }
28
+ 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.
29
29
  vite v8.1.5 building ssr environment for production...
30
30
  Bundle build started
31
31
  
@@ -37,4 +37,4 @@ dist/index.js 2.06 kB │ gzip: 0.81 kB
37
37
  dist/merkle.js 2.68 kB │ gzip: 1.06 kB
38
38
  dist/proof.js 4.03 kB │ gzip: 1.66 kB
39
39
 
40
- ✓ built in 73ms
40
+ ✓ built in 122ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # @prosopo/fingerprint
2
2
 
3
+ ## 2.7.42
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [6f57ee9]
7
+ - Updated dependencies [d288371]
8
+ - @prosopo/types@5.7.0
9
+
10
+ ## 2.7.41
11
+ ### Patch Changes
12
+
13
+ - 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
14
+
15
+ Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
16
+ 8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
17
+ 13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
18
+ `@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
19
+ `testcontainers` 11 -> 12. The rest are minor/patch.
20
+
21
+ Code changes the majors forced:
22
+ - `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
23
+ so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
24
+ `secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
25
+ `ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
26
+ - mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
27
+ `background: true` on schema indexes by default, and no longer declares
28
+ `id` on `Document`, which un-hid a mismatch between
29
+ `updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
30
+ filters on.
31
+ - mongoose 9 rejects an aggregation-pipeline update (an array) unless the
32
+ call passes `updatePipeline: true`, so the six pipeline writes in
33
+ `ProviderDatabase` now opt in explicitly.
34
+ - mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
35
+ `storeUserImageCaptchaSolution` passed its record straight in as the
36
+ update, and mongoose's `moveImmutableProperties` mutates that object on
37
+ an upsert -- adding the very `$setOnInsert` key the record then carried
38
+ into `CentralDbStreamer.streamImageRecord`. Image records stopped
39
+ reaching the central DB (the streamer is fire-and-forget, so it only
40
+ logged) and signup verification returned 500. The update is now an
41
+ explicit `$set` over a shallow copy.
42
+ - `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
43
+ mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
44
+ - `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
45
+ `@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
46
+ `@vitest/spy` and broke type inference in the provider test utils.
47
+ - Updated dependencies [1b77849]
48
+ - Updated dependencies [89dd38a]
49
+ - Updated dependencies [80f73c1]
50
+ - Updated dependencies [8a670d3]
51
+ - @prosopo/util-crypto@13.5.31
52
+ - @prosopo/types@5.6.0
53
+
3
54
  ## 2.7.40
4
55
  ### Patch Changes
5
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/fingerprint",
3
- "version": "2.7.40",
3
+ "version": "2.7.42",
4
4
  "description": "Provider fingerprint",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -38,13 +38,13 @@
38
38
  "homepage": "https://github.com/prosopo/captcha#readme",
39
39
  "dependencies": {
40
40
  "@prosopo/fingerprintjs": "5.2.0",
41
- "@prosopo/types": "5.5.3",
42
- "@prosopo/util-crypto": "13.5.30"
41
+ "@prosopo/types": "5.7.0",
42
+ "@prosopo/util-crypto": "13.5.31"
43
43
  },
44
44
  "devDependencies": {
45
- "@prosopo/config": "3.3.12",
45
+ "@prosopo/config": "3.3.14",
46
46
  "@types/node": "22.10.2",
47
- "@vitest/coverage-v8": "4.1.10",
47
+ "@vitest/coverage-v8": "4.1.11",
48
48
  "concurrently": "9.0.1",
49
49
  "del-cli": "6.0.0",
50
50
  "npm-run-all": "4.1.5",
@@ -53,7 +53,7 @@
53
53
  "tsx": "4.20.3",
54
54
  "typescript": "5.6.2",
55
55
  "vite": "8.1.5",
56
- "vitest": "4.1.10"
56
+ "vitest": "4.1.11"
57
57
  },
58
58
  "sideEffects": false
59
59
  }