@anonympins/fingerprint 0.3.3 → 0.3.5

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.
package/composer.json CHANGED
@@ -11,8 +11,8 @@
11
11
  ],
12
12
  "require": {
13
13
  "php": ">=8.0",
14
- "ext-gmp": "*",
15
- "ext-json": "*"
14
+ "ext-json": "*",
15
+ "ext-bcmath": "*"
16
16
  },
17
17
  "require-dev": {
18
18
  "phpunit/phpunit": "^9.5"
@@ -28,6 +28,7 @@
28
28
  }
29
29
  },
30
30
  "suggest": {
31
+ "ext-gmp": "Recommended for high-performance big integer arithmetic in cryptographic challenges.",
31
32
  "ext-redis": "Required to use the Redis store adapter.",
32
33
  "ext-pdo": "Required to use SQL store adapters (e.g., for PostgreSQL, MySQL)."
33
34
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anonympins/fingerprint",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Advanced anti-bot library for Node.js using multi-layer fingerprinting (JA3, client-side, headers), behavioral analysis, and adaptive Proof-of-Work (PoW) challenges to mitigate scraping, scalping, and automated threats.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -68,14 +68,17 @@
68
68
  },
69
69
  "homepage": "https://github.com/anonympins/fingerprint#readme",
70
70
  "devDependencies": {
71
- "body-parser": "^1.20.2",
72
71
  "cookie-parser": "^1.4.6",
73
- "express": "^4.18.2",
74
- "prom-client": "^15.1.2",
75
- "vitest": "^4.1.11",
72
+ "express": "^4.22.2",
76
73
  "javascript-obfuscator": "^4.1.0",
74
+ "jsdom": "^24.0.0",
75
+ "prom-client": "^15.1.2",
77
76
  "terser": "^5.30.3",
78
- "jsdom": "^24.0.0"
77
+ "vitest": "^4.1.11"
78
+ },
79
+ "overrides": {
80
+ "body-parser": "2.3.0",
81
+ "qs": "6.16.0"
79
82
  },
80
83
  "peerDependencies": {
81
84
  "ioredis": "^5.3.2",
package/phpunit.xml CHANGED
@@ -5,7 +5,7 @@
5
5
  colors="true">
6
6
  <testsuites>
7
7
  <testsuite name="default">
8
- <directory>src/php/Tests</directory>
8
+ <directory suffix="Test.php">src/php/Tests</directory>
9
9
  </testsuite>
10
10
  </testsuites>
11
11
 
@@ -14,6 +14,7 @@
14
14
  <directory suffix=".php">./src/php</directory>
15
15
  </include>
16
16
  <exclude>
17
+ <directory>./src/php/Tests/*</directory>
17
18
  <directory>./src/php/Tests</directory>
18
19
  </exclude>
19
20
  </coverage>