Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@yumemi-inc/statictrace
Advanced tools
Node.js 14.15.0 or later.
Currently you can only use this tool by building it from source.
pnpm install
pnpm run build
With ts-node
:
`pnpx ts-node src/lib.ts -p /absolute/path/to/tsconfig.json`
pnpm run build
pnpm run parse -- -p /absolute/path/to/tsconfig.json
You can omit the -p
option by creating an .env
file with a TS_PROJECT_CONFIG
variable.
Other options
u, --use <printer>
(optional): choose one of default printer types (text
or mermaid
).Examples
pnpm run parse -- -u mermaid > graphs.md
TS_PROJECT_CONFIG=/absolute/path/to/tsconfig.json
const { run } = require('./build/lib');
const output = run('/absolute/path/to/tsconfig.json');
// ...do something with output
run(pathToTsConfig: string, printerType: "text" | "mermaid"): any
Load all project files and build a graph of all function calls marked with @entrypoint
or @trace
tags. You should pass a printer type as a second argument. A printer is an interface that represents anything that can print (display the static analysis result in one way or another). Currently you cannot provide your own implementations but can choose one of the default ones.
FAQs
A library for semi-automatic static testing.
The npm package @yumemi-inc/statictrace receives a total of 0 weekly downloads. As such, @yumemi-inc/statictrace popularity was classified as not popular.
We found that @yumemi-inc/statictrace demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.