
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@pgtyped/cli
Advanced tools
This package provides the `pgtyped` CLI. The `pgtyped` CLI can work in build and watch mode.
This package provides the pgtyped
CLI.
The pgtyped
CLI can work in build and watch mode.
The CLI supports two flags:
-c config_file_path.json
to pass the config file path.-w
to start in watch mode.Running the CLI:
npx pgtyped -w -c config.json
Config file format (config.json
):
{
// You can specify as many transforms as you want
// Only TS and SQL files (modes) are supported at the moment
"transforms": [
{
"mode": "sql", // SQL mode
"include": "queries.sql" // SQL files pattern to scan for queries
},
{
"mode": "ts", // TS mode
"include": "sample.ts", // TS files pattern to scan for queries
"emitFileName": "sample.types.ts" // Filename to save the generated query types
}
],
"srcDir": "./src/", // Directory to scan or watch for query files
"db": {
"dbName": "testdb", // DB name
"user": "user", // DB username
"password": "password", // DB password (optional)
"host": "127.0.0.1" // DB host (optional)
}
}
This package is part of the pgtyped project.
Refer to root README for details.
FAQs
Unknown package
The npm package @pgtyped/cli receives a total of 19,735 weekly downloads. As such, @pgtyped/cli popularity was classified as popular.
We found that @pgtyped/cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.