Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@typescript/server-harness
Advanced tools
Readme
Tool for communicationg with a TypeScript tsserver process (i.e. a node process running the JS/TS language service). Pairs responses with requests and provides hooks for listening to events. Chiefly useful for reproducibly running editor scenarios for standalone investigation.
See samples/index.js
for an example of how to use the harness.
It can be run with npm ci && node index
.
The easiest way to figure out what the requests should contain is to look at the server log from a real editor session.
In VS Code, you can access the server log by running the command TypeScript: Open TS Server Log
.
To publish a new version of this package, change the version in package.json
and push to main.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
FAQs
Communicate with a tsserver process
The npm package @typescript/server-harness receives a total of 1,678 weekly downloads. As such, @typescript/server-harness popularity was classified as popular.
We found that @typescript/server-harness demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.