
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.
Use GF to generates a diff style girl friend for you
Generate-file-commands
is a very easy tool for generate file for differently lib betweenVue
、React
andAngular
.
npm install gene-file -g
// or
yarn add gene-file -g
gf
command be used before unalias gf // clear
npm install -g // reset alias 'gf'
vim ~/.bash_profile
i // edit mode
alias gf='node /usr/local/lib/node_modules/gene-file/index.js'
:wq // save
rm /usr/local/bin/{command}
rm /usr/local/lib/{command_lib}
alias {command}={'any other commands'}
Usage: gf <type> <file> [options]
Use GF to generates a beautiful girl friend for you.
Options:
-V, --version output the version number
-d, --dom, <ReactDOM> false Do you wanna import module `ReactDOM`? (default: false)
-f, --format <format=class||function> 'class' It declares a `function` or `class`? (default: class)
-p, --pure, <PureComponent> false Is it generate a `React.PureComponent`? (default: false)
-r, --render, <selector> '#root' Does it use ReactDOM.render method? (default: #root)
-de, --debug, boolean open debug mode
-h, --help output usage information
Examples with React:
$ gf r test.js
$ gf r test -f function --debug
gf r [-f <class/function>] [-p <React.PureComponent>] [-d <ReactDOM>] <filename>
Todo
gf v <filename>
Todo
gf a <filename>
vue.js
style generates.angular.js
style generates.FAQs
A fast generator tool for create `React` or `Vue` JS template
We found that gene-file 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.
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.