Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
A THTP client library implementing Thrift-RPC over standard persistent HTTP connections
The THTP client requires Thrift definitions which have been augmented to expose
the args and result structs for each RPC. This can be achieved by adding a step
to the Thrift compilation process: once thrift
has been run and js:node
definitions have been created, run
# Set to wherever your definitions are outputted
output_dir=target/gen-nodejs
# Modify files (saving originals as *.bak)
find $output_dir -iname '*Service.js' -type f -exec sed -i.bak -E 's/^var ([A-Za-z0-9_]*(_args|_result)) =/var \1 = exports.\1 =/' {} \;
For each rpc Service.do_action
, this will export Service_do_thing_args
and
Service_do_thing_result
, the structs that Thrift-RPC uses under the hood to
manage request/response bodies.
FAQs
A THTP client library implementing Thrift-RPC over standard persistent HTTP connections
The npm package thtp receives a total of 0 weekly downloads. As such, thtp popularity was classified as not popular.
We found that thtp 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.