You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surface fixes uncovered by the first end-to-end build/lint/type pass
on the fleet-onboarded codebase. Functional behavior unchanged.
Build/dep:
- Rename @socketsecurity/registry/lib/constants import to
@socketsecurity/lib/constants/socket (canonical fleet home for
shared constants since registry@2.0 dropped the lib/* subpath).
- Drop @socketsecurity/registry from runtime deps (unused after rename).
- Restore toml-eslint-parser as a runtime dep — util.ts, github.ts,
parse-externals.ts use it for TOML parsing.
- Move @socketsecurity/lib to runtime deps (auth.ts uses it now).
Type-check:
- Add .config/tsconfig.{base,check}.json matching fleet pattern.
Base ES2024 + DOM lib for WebAssembly globals; check uses bundler
resolution + node + vscode types.
- Cast WebAssembly.instantiate(Uint8Array, …) result to
WebAssemblyInstantiatedSource in mod-parser.ts (TS picks the
Module-overload incorrectly).
Lint:
- Drop orphan `path.is` at parse-externals.ts:467 (refactor leftover).
- Drop orphan `null` at manager.ts:140 (pre-await placeholder).
- Replace Array<T> with T[] in auth.ts (array-type rule).
- Inline-disable no-this-alias on Go WASM runtime's _makeFuncWrapper.
Format:
- oxfmt --write across the tree (fleet style auto-applied).
Config:
- Add **/vendor to oxlint + oxfmt ignorePatterns (vendored acorn-wasm
bindings break the wasm-bindgen contract if reformatted).
Verified: pnpm install --ignore-scripts && pnpm rebuild esbuild &&
pnpm run build && pnpm run check all green. out/main.js 5.8 MB.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ This extension provides automatic reporting of security concerns from [Socket Se
4
4
5
5
## Ahead of Package Installation
6
6
7
-
* Package imports in JavaScript and Python are detected and given summary scores to show concerns with configurable overlays. These overlays will persist even after package installation.
7
+
- Package imports in JavaScript and Python are detected and given summary scores to show concerns with configurable overlays. These overlays will persist even after package installation.
8
8
9
-
* Socket detects multiple alternate forms of package imports, including dynamic `import()` or `require` in JavaScript or `importlib.import_module` in Python.
9
+
- Socket detects multiple alternate forms of package imports, including dynamic `import()` or `require` in JavaScript or `importlib.import_module` in Python.
10
10
11
11
## MCP Server
12
12
13
-
* This will automatically register the socket MCP server at https://mcp.socket.dev to allow usage of the public MCP server.
13
+
- This will automatically register the socket MCP server at https://mcp.socket.dev to allow usage of the public MCP server.
0 commit comments