Commit 668d6ea
committed
refactor(build): remove Socket dependencies from external array
Removed @socketsecurity/sdk, @socketsecurity/lib,
@socketsecurity/packageurl-js, and @socketsecurity/registry from
external array. With platform: 'node', esbuild automatically handles
Node.js built-ins correctly without explicit externalization.
Also added SDK mocking to repository-list-simplified test to prevent
dynamic require errors in isolated test environments.1 parent 43385e2 commit 668d6ea
File tree
2 files changed
+9
-5
lines changed- packages/cli
- .config
- src/commands/repository
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 194 | | |
199 | 195 | | |
200 | 196 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
4 | 12 | | |
5 | 13 | | |
6 | 14 | | |
| |||
0 commit comments