
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` command. `pgtyped` supports two modes: normal and watch mode.
This package provides the pgtyped
command.
pgtyped
supports two modes: normal and watch mode.
In normal mode, pgtyped
operates as follows:
srcDir
for query files. Query file name format is specified using the queryFileName
config option.sql
tagged template.emitFileName
option of the config.Watch mode operation is the same, except that pgtyped
doesn't exit after processing all files, but continues running in the background, watching srcDir
for changes and regenerating query types files on file change or creation.
Config file format (config.json
):
{
"emit": {
"mode": "query-file", // Only query-file mode is supported at the moment.
"queryFileName": "queries.ts", // Filenames to scan for SQL queries
"emitFileName": "queries.types.ts" // Filenames to save type information into
},
"srcDir": "./src/", // Directory to scan or watch for query files
"db": {
"user": "adel", // Database username
"dbName": "testdb" // Database name
}
}
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 15,194 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.