-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 4.28 KB
/
Copy pathpackage.json
File metadata and controls
156 lines (156 loc) · 4.28 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "@openclaw/fs-safe",
"version": "0.4.7",
"description": "Capability-style filesystem roots for Node.js apps that handle untrusted relative paths.",
"keywords": [
"filesystem",
"openclaw",
"path-traversal",
"security",
"typescript"
],
"homepage": "https://fs-safe.io",
"bugs": {
"url": "https://github.com/openclaw/fs-safe/issues"
},
"license": "MIT",
"author": "OpenClaw Team <dev@openclaw.ai>",
"repository": {
"type": "git",
"url": "git+https://github.com/openclaw/fs-safe.git"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"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"
},
"./durability": {
"types": "./dist/durability.d.ts",
"default": "./dist/durability.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"
},
"./package.json": "./package.json"
},
"scripts": {
"benchmark": "node scripts/benchmark.mjs",
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && 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/read-boundary-bypass.test.ts test/write-boundary-bypass.test.ts test/additional-boundary-bypass.test.ts test/adversarial-boundary-payloads.test.ts",
"check": "pnpm lint:file-size && pnpm lint:fs-boundary && pnpm build && pnpm test && node scripts/check-pack.mjs",
"docs:site": "node scripts/build-docs-site.mjs",
"pack:check": "pnpm build && node scripts/check-pack.mjs",
"check:changed": "pnpm run check",
"release:notes": "node scripts/release-notes.mjs",
"test:changed": "pnpm run test",
"crabbox:hydrate": "crabbox actions hydrate",
"crabbox:run": "crabbox run",
"crabbox:stop": "crabbox stop",
"crabbox:warmup": "crabbox warmup"
},
"optionalDependencies": {
"jszip": "^3.10.1",
"tar": "7.5.21"
},
"devDependencies": {
"@types/node": "^26.1.1",
"@vitest/coverage-v8": "4.1.10",
"typescript": "^7.0.2",
"vite": "8.1.5",
"vitest": "^4.1.10"
},
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@10.34.5"
}