mdefender-pro 1.2.2 → 1.2.3
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/index.js +2 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -35,7 +35,7 @@ function getDefaultTemplate() {
|
|
|
35
35
|
const DEFAULT_CONFIG = {
|
|
36
36
|
apiKey: '',
|
|
37
37
|
domain: '',
|
|
38
|
-
apiEndpoint: '
|
|
38
|
+
apiEndpoint: 'https://mdefenderapi.onrender.com',
|
|
39
39
|
mode: 'block', // 'block' | 'monitor' | 'off'
|
|
40
40
|
blockStatusCode: 403,
|
|
41
41
|
timeout: 5000,
|
|
@@ -337,3 +337,4 @@ mdefender.DEFAULT_CONFIG = DEFAULT_CONFIG;
|
|
|
337
337
|
mdefender.sendAnalyzeRequest = sendAnalyzeRequest;
|
|
338
338
|
|
|
339
339
|
module.exports = mdefender;
|
|
340
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdefender-pro",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "MDefender Pro - Web Application Firewall middleware for Node.js/Express. Protects against XSS, SQLi, CSRF, and other OWASP Top 10 attacks.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"type": "git",
|
|
51
51
|
"url": "git+https://github.com/mdefender/mdefender.git"
|
|
52
52
|
},
|
|
53
|
-
"homepage": "https://
|
|
53
|
+
"homepage": "https://mdefenderapi.onrender.com",
|
|
54
54
|
"bugs": {
|
|
55
55
|
"url": "https://github.com/mdefender/mdefender/issues"
|
|
56
56
|
}
|