@revealui/security 0.0.1-pre.1 → 0.2.0
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/LICENSE +22 -202
- package/LICENSE.commercial +112 -0
- package/dist/index.d.ts +1358 -0
- package/dist/index.js +2247 -1654
- package/dist/index.js.map +1 -1
- package/package.json +27 -74
package/package.json
CHANGED
|
@@ -1,94 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revealui/security",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "Security
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"keywords": [
|
|
10
|
-
"security",
|
|
11
|
-
"rate-limiting",
|
|
12
|
-
"encryption",
|
|
13
|
-
"csrf",
|
|
14
|
-
"tokens",
|
|
15
|
-
"authentication",
|
|
16
|
-
"authorization"
|
|
17
|
-
],
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Security infrastructure for RevealUI - headers, CORS, RBAC/ABAC, encryption, audit, GDPR",
|
|
18
5
|
"license": "MIT",
|
|
19
|
-
"publishable": true,
|
|
20
|
-
"author": "RevealUI Team",
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "https://github.com/RevealUIStudio/reveal.git",
|
|
24
|
-
"directory": "packages/security"
|
|
25
|
-
},
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/RevealUIStudio/reveal/issues"
|
|
28
|
-
},
|
|
29
|
-
"homepage": "https://revealui.com",
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"access": "public"
|
|
32
|
-
},
|
|
33
6
|
"dependencies": {
|
|
34
|
-
"@revealui/
|
|
35
|
-
"
|
|
36
|
-
},
|
|
37
|
-
"peerDependencies": {
|
|
38
|
-
"next": "^16.0.0",
|
|
39
|
-
"payload": "^3.0.0"
|
|
7
|
+
"@revealui/utils": "0.3.0",
|
|
8
|
+
"@revealui/contracts": "1.2.0"
|
|
40
9
|
},
|
|
41
10
|
"devDependencies": {
|
|
11
|
+
"@types/node": "^25.3.0",
|
|
12
|
+
"tsup": "^8.5.1",
|
|
42
13
|
"typescript": "^5.9.3",
|
|
43
|
-
"vitest": "^4.0.
|
|
44
|
-
"
|
|
14
|
+
"vitest": "^4.0.18",
|
|
15
|
+
"dev": "0.0.1"
|
|
45
16
|
},
|
|
46
17
|
"engines": {
|
|
47
|
-
"node": ">=
|
|
18
|
+
"node": ">=24.13.0"
|
|
48
19
|
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist",
|
|
51
|
-
"README.md",
|
|
52
|
-
"LICENSE"
|
|
53
|
-
],
|
|
54
20
|
"exports": {
|
|
55
21
|
".": {
|
|
56
22
|
"types": "./dist/index.d.ts",
|
|
57
23
|
"import": "./dist/index.js"
|
|
58
|
-
},
|
|
59
|
-
"./csrf": {
|
|
60
|
-
"types": "./dist/CSRFService.d.ts",
|
|
61
|
-
"import": "./dist/CSRFService.js"
|
|
62
|
-
},
|
|
63
|
-
"./encryption": {
|
|
64
|
-
"types": "./dist/EncryptionService.d.ts",
|
|
65
|
-
"import": "./dist/EncryptionService.js"
|
|
66
|
-
},
|
|
67
|
-
"./rate-limiter": {
|
|
68
|
-
"types": "./dist/RateLimiterService.d.ts",
|
|
69
|
-
"import": "./dist/RateLimiterService.js"
|
|
70
|
-
},
|
|
71
|
-
"./session": {
|
|
72
|
-
"types": "./dist/SessionService.d.ts",
|
|
73
|
-
"import": "./dist/SessionService.js"
|
|
74
|
-
},
|
|
75
|
-
"./token": {
|
|
76
|
-
"types": "./dist/TokenService.d.ts",
|
|
77
|
-
"import": "./dist/TokenService.js"
|
|
78
|
-
},
|
|
79
|
-
"./validation": {
|
|
80
|
-
"types": "./dist/SecurityValidation.d.ts",
|
|
81
|
-
"import": "./dist/SecurityValidation.js"
|
|
82
|
-
},
|
|
83
|
-
"./monitoring": {
|
|
84
|
-
"types": "./dist/SecurityMonitoringService.d.ts",
|
|
85
|
-
"import": "./dist/SecurityMonitoringService.js"
|
|
86
24
|
}
|
|
87
25
|
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"main": "./dist/index.js",
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public",
|
|
32
|
+
"registry": "https://registry.npmjs.org"
|
|
33
|
+
},
|
|
34
|
+
"type": "module",
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
88
36
|
"scripts": {
|
|
89
|
-
"build": "
|
|
90
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
37
|
+
"build": "tsup",
|
|
91
38
|
"clean": "rm -rf dist",
|
|
92
|
-
"
|
|
39
|
+
"dev": "tsup --watch",
|
|
40
|
+
"lint": "biome check .",
|
|
41
|
+
"lint:fix": "biome check --write .",
|
|
42
|
+
"test": "vitest run --passWithNoTests",
|
|
43
|
+
"test:coverage": "vitest run --coverage --coverage.reporter=json-summary --coverage.reporter=html --coverage.reporter=text --passWithNoTests",
|
|
44
|
+
"test:watch": "vitest",
|
|
45
|
+
"typecheck": "tsc --noEmit"
|
|
93
46
|
}
|
|
94
47
|
}
|