@revealui/security 0.0.1-pre.0 → 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/package.json CHANGED
@@ -1,60 +1,47 @@
1
1
  {
2
2
  "name": "@revealui/security",
3
- "version": "0.0.1-pre.0",
4
- "description": "Security services including rate limiting, encryption, CSRF protection, and token management",
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/core": "^0.0.1-pre.0",
35
- "zod": "^4.1.13"
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.14",
44
- "rimraf": "^6.1.2"
14
+ "vitest": "^4.0.18",
15
+ "dev": "0.0.1"
45
16
  },
46
17
  "engines": {
47
- "node": ">=22.0.0"
18
+ "node": ">=24.13.0"
19
+ },
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js"
24
+ }
48
25
  },
49
26
  "files": [
50
- "dist",
51
- "README.md",
52
- "LICENSE"
27
+ "dist"
53
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",
54
36
  "scripts": {
55
- "build": "pnpm exec tsup",
56
- "typecheck": "tsc -p tsconfig.json --noEmit",
37
+ "build": "tsup",
57
38
  "clean": "rm -rf dist",
58
- "test": "vitest run"
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"
59
46
  }
60
47
  }