-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
248 lines (248 loc) · 6.04 KB
/
Copy pathpackage.json
File metadata and controls
248 lines (248 loc) · 6.04 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
{
"name": "@cipherstash/stack",
"version": "1.0.0-rc.2",
"description": "CipherStash Stack for TypeScript and JavaScript",
"keywords": [
"encrypted",
"searchable",
"language",
"typescript",
"ts",
"stack"
],
"bugs": {
"url": "https://github.com/cipherstash/stack/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cipherstash/stack.git",
"directory": "packages/stack"
},
"license": "MIT",
"author": "CipherStash <humans@cipherstash.com>",
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"sideEffects": false,
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"encryption": [
"./dist/encryption/index.d.ts"
],
"errors": [
"./dist/errors/index.d.ts"
],
"adapter-kit": [
"./dist/adapter-kit.d.ts"
],
"client": [
"./dist/client.d.ts"
],
"identity": [
"./dist/identity/index.d.ts"
],
"secrets": [
"./dist/secrets/index.d.ts"
],
"schema": [
"./dist/schema/index.d.ts"
],
"eql/v3": [
"./dist/eql/v3/index.d.ts"
],
"v3": [
"./dist/encryption/v3.d.ts"
],
"types": [
"./dist/types-public.d.ts"
],
"dynamodb": [
"./dist/dynamodb/index.d.ts"
],
"wasm-inline": [
"./dist/wasm-inline.d.ts"
]
}
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./client": {
"import": {
"types": "./dist/client.d.ts",
"default": "./dist/client.js"
},
"require": {
"types": "./dist/client.d.cts",
"default": "./dist/client.cjs"
}
},
"./identity": {
"import": {
"types": "./dist/identity/index.d.ts",
"default": "./dist/identity/index.js"
},
"require": {
"types": "./dist/identity/index.d.cts",
"default": "./dist/identity/index.cjs"
}
},
"./schema": {
"import": {
"types": "./dist/schema/index.d.ts",
"default": "./dist/schema/index.js"
},
"require": {
"types": "./dist/schema/index.d.cts",
"default": "./dist/schema/index.cjs"
}
},
"./eql/v3": {
"import": {
"types": "./dist/eql/v3/index.d.ts",
"default": "./dist/eql/v3/index.js"
},
"require": {
"types": "./dist/eql/v3/index.d.cts",
"default": "./dist/eql/v3/index.cjs"
}
},
"./v3": {
"import": {
"types": "./dist/encryption/v3.d.ts",
"default": "./dist/encryption/v3.js"
},
"require": {
"types": "./dist/encryption/v3.d.cts",
"default": "./dist/encryption/v3.cjs"
}
},
"./types": {
"import": {
"types": "./dist/types-public.d.ts",
"default": "./dist/types-public.js"
},
"require": {
"types": "./dist/types-public.d.cts",
"default": "./dist/types-public.cjs"
}
},
"./dynamodb": {
"import": {
"types": "./dist/dynamodb/index.d.ts",
"default": "./dist/dynamodb/index.js"
},
"require": {
"types": "./dist/dynamodb/index.d.cts",
"default": "./dist/dynamodb/index.cjs"
}
},
"./encryption": {
"import": {
"types": "./dist/encryption/index.d.ts",
"default": "./dist/encryption/index.js"
},
"require": {
"types": "./dist/encryption/index.d.cts",
"default": "./dist/encryption/index.cjs"
}
},
"./errors": {
"import": {
"types": "./dist/errors/index.d.ts",
"default": "./dist/errors/index.js"
},
"require": {
"types": "./dist/errors/index.d.cts",
"default": "./dist/errors/index.cjs"
}
},
"./adapter-kit": {
"import": {
"types": "./dist/adapter-kit.d.ts",
"default": "./dist/adapter-kit.js"
},
"require": {
"types": "./dist/adapter-kit.d.cts",
"default": "./dist/adapter-kit.cjs"
}
},
"./wasm-inline": {
"import": {
"types": "./dist/wasm-inline.d.ts",
"default": "./dist/wasm-inline.js"
}
},
"./package.json": "./package.json"
},
"scripts": {
"prebuild": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
"build": "tsup",
"dev": "tsup --watch",
"analyze:complexity": "fta src/eql/v3 --score-cap 69",
"db:eql-v3:install": "tsx scripts/install-eql-v3.ts",
"test": "vitest run",
"test:types": "vitest --run --typecheck.only",
"release": "tsup",
"test:integration": "vitest run --config integration/vitest.config.ts"
},
"devDependencies": {
"@cipherstash/eql": "3.0.0",
"@clack/prompts": "^1.7.0",
"@clerk/backend": "3.11.2",
"@supabase/postgrest-js": "2.110.1",
"@supabase/supabase-js": "^2.110.1",
"@types/pg": "^8.20.0",
"@types/uuid": "^11.0.0",
"dotenv": "17.4.2",
"drizzle-orm": "^0.45.2",
"execa": "^9.5.2",
"fast-check": "^4.9.0",
"fta-cli": "3.0.0",
"json-schema-to-typescript": "^15.0.2",
"pg": "8.22.0",
"postgres": "^3.4.8",
"tsup": "catalog:repo",
"tsx": "catalog:repo",
"typescript": "catalog:repo",
"vitest": "catalog:repo"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@byteslice/result": "0.2.0",
"@cipherstash/auth": "catalog:repo",
"@cipherstash/protect-ffi": "0.29.0",
"evlog": "1.11.0",
"uuid": "14.0.1",
"zod": "3.25.76"
},
"//optionalDependencies": "@cipherstash/auth ships per-platform native bindings as optional peerDependencies. pnpm does not auto-install platform-matched optional peer deps, so we declare them here as optionalDependencies — pnpm then picks the binary matching the host's os/cpu (from each sub-package's own package.json) and ignores the rest. Required because @cipherstash/stack re-exports the Node auth strategies (OidcFederationStrategy, AccessKeyStrategy, …). All seven names share a single catalog entry to keep them in lockstep.",
"optionalDependencies": {
"@cipherstash/auth-darwin-arm64": "catalog:repo",
"@cipherstash/auth-darwin-x64": "catalog:repo",
"@cipherstash/auth-linux-arm64-gnu": "catalog:repo",
"@cipherstash/auth-linux-x64-gnu": "catalog:repo",
"@cipherstash/auth-linux-x64-musl": "catalog:repo",
"@cipherstash/auth-win32-x64-msvc": "catalog:repo"
},
"engines": {
"node": ">=22"
}
}