-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.32 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@openclaw/fs-safe",
"version": "0.1.2",
"description": "Capability-style filesystem roots for Node.js apps that handle untrusted relative paths.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/openclaw/fs-safe.git"
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
"docs/**/*.md",
"README.md",
"CHANGELOG.md",
"SECURITY.md",
"LICENSE"
],
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./root": {
"types": "./dist/root.d.ts",
"default": "./dist/root.js"
},
"./config": {
"types": "./dist/config.d.ts",
"default": "./dist/config.js"
},
"./path": {
"types": "./dist/path.d.ts",
"default": "./dist/path.js"
},
"./output": {
"types": "./dist/output.d.ts",
"default": "./dist/output.js"
},
"./advanced": {
"types": "./dist/advanced.d.ts",
"default": "./dist/advanced.js"
},
"./json": {
"types": "./dist/json.d.ts",
"default": "./dist/json.js"
},
"./store": {
"types": "./dist/store.d.ts",
"default": "./dist/store.js"
},
"./secret": {
"types": "./dist/secret.d.ts",
"default": "./dist/secret.js"
},
"./permissions": {
"types": "./dist/permissions-public.d.ts",
"default": "./dist/permissions-public.js"
},
"./secure-file": {
"types": "./dist/secure-file.d.ts",
"default": "./dist/secure-file.js"
},
"./file-lock": {
"types": "./dist/file-lock.d.ts",
"default": "./dist/file-lock.js"
},
"./walk": {
"types": "./dist/walk.d.ts",
"default": "./dist/walk.js"
},
"./temp": {
"types": "./dist/temp.d.ts",
"default": "./dist/temp.js"
},
"./atomic": {
"types": "./dist/atomic.d.ts",
"default": "./dist/atomic.js"
},
"./archive": {
"types": "./dist/archive.d.ts",
"default": "./dist/archive.js"
},
"./errors": {
"types": "./dist/errors.d.ts",
"default": "./dist/errors.js"
},
"./types": {
"types": "./dist/types.d.ts",
"default": "./dist/types.js"
},
"./test-hooks": {
"types": "./dist/test-hooks.d.ts",
"default": "./dist/test-hooks.js"
}
},
"scripts": {
"benchmark": "node scripts/benchmark.mjs",
"build": "tsc -p tsconfig.json",
"lint:file-size": "node scripts/check-file-size.mjs",
"lint:fs-boundary": "node scripts/check-fs-boundary-primitives.mjs",
"prepack": "node scripts/prepack-build.mjs",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:security": "vitest run test/fs-safe.test.ts test/openclaw-read-bypass-parity.test.ts test/openclaw-write-bypass-parity.test.ts test/additional-bypass-parity.test.ts test/adversarial-boundary-payloads.test.ts",
"check": "pnpm lint:file-size && pnpm lint:fs-boundary && pnpm build && pnpm test",
"docs:site": "node scripts/build-docs-site.mjs"
},
"optionalDependencies": {
"jszip": "^3.10.1",
"tar": "7.5.13"
},
"devDependencies": {
"@types/node": "^22.15.19",
"@vitest/coverage-v8": "3.2.4",
"typescript": "^5.8.3",
"vitest": "^3.1.4"
},
"engines": {
"node": ">=20.11"
}
}