
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Utility for generating interfaces from *.proto schemes.
Eliminates hardcode paths to files and folders.
Recursively reads the paths to the schemes in the specified directory and generates the correct *.js and *.d.ts files.
A configuration file is required for operation (specified by the argument --config).
{
"srcPaths": ["./test/proto/**/*.proto"],
"distDir": "./test/dist",
"commonFiles": ["./test/common/**/*.proto"],
"isolateModule": true
}
After installation, the utility will be available in 2 versions - in npm scripts and through the console indicating the full path.
Using the npm script:
// package.json
"scripts": {
"generate": "protogenjs --config protobuf.json"
}
user@ubuntu$ npm run generate
user@ubuntu$ yarn run generate
Or directly from the terminal:
user@ubuntu$ $(npm bin)/protogenjs --help
Usage examples:
protogenjs -h[--help] Print this message
protogenjs -p[--progress] Show progress
protogenjs -c[--config] protobuf.json Run with config file
Config file example:
{
"srcPaths": ["./test/proto/**/*.proto"],
"distDir": "./test/dist",
"commonFiles": [
"./test/common/**/*.proto"
],
"isolateModule": true
}
user@ubuntu$ $(npm bin)/protogenjs --config protobuf.json
FAQs
Utility for generating interfaces from *.proto schemes
The npm package protogenjs receives a total of 0 weekly downloads. As such, protogenjs popularity was classified as not popular.
We found that protogenjs 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.