Skip to content

chore(deps): reduce dependency surface and clear dev CVEs - #75

Merged
daltskin merged 2 commits into
mainfrom
chore/reduce-dependencies
Aug 14, 2026
Merged

chore(deps): reduce dependency surface and clear dev CVEs#75
daltskin merged 2 commits into
mainfrom
chore/reduce-dependencies

Conversation

@daltskin

Copy link
Copy Markdown
Owner
  • Move elkjs to devDependencies: it is only a build-time source for copy-webview-assets.js; the webview loads the committed media/vendor/elk.bundled.js at runtime. Production deps are now just sysml-v2-lsp and vscode-languageclient.
  • Remove unused ts-node (only referenced in a comment noting it is avoided).
  • npm audit fix resolves the 3 high-severity advisories (brace-expansion, fast-uri, js-yaml), all of which came from dev-only tooling (@vscode/vsce, mocha) and never shipped to users.

Visualization libs (d3, cytoscape*, elkjs) are now all build-only devDependencies whose vendored outputs are committed, so their advisories no longer require an extension release.

- Move elkjs to devDependencies: it is only a build-time source for
  copy-webview-assets.js; the webview loads the committed
  media/vendor/elk.bundled.js at runtime. Production deps are now just
  sysml-v2-lsp and vscode-languageclient.
- Remove unused ts-node (only referenced in a comment noting it is avoided).
- npm audit fix resolves the 3 high-severity advisories (brace-expansion,
  fast-uri, js-yaml), all of which came from dev-only tooling (@vscode/vsce,
  mocha) and never shipped to users.

Visualization libs (d3, cytoscape*, elkjs) are now all build-only
devDependencies whose vendored outputs are committed, so their advisories no
longer require an extension release.
@daltskin
daltskin merged commit 74a8c0f into main Aug 14, 2026
4 checks passed
@daltskin
daltskin deleted the chore/reduce-dependencies branch August 14, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant