
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
grunt-riotts-precompile
Advanced tools
Precompile tags for RiotTS
This task is meant to be used with RiotTS, the TypeScript friendly version of Riot.js.
It reads HTML template files from a directory, compiles them with Riot and makes them available to RiotTS into a single concatenated JavaScript file.
See RiotTS documentation for more details on how to use precompiled tags.
Install with
npm install grunt-riotts-precompile --save-dev
Then customize your Gruntfile.js
with something like this:
grunt.initConfig({
precompileTags: {
src: ['tags/**/*.html'],
dest: 'precompiled-tags.js',
indexByTagName: false
}
});
grunt.loadNpmTasks('grunt-riotts-precompile');
grunt.registerTask('default', ['precompileTags']);
grunt.registerTask('clean', ['precompileTags:off']);
With the above example task, all tags from the tags/
directory are read and compiled into precompiled-tags.js
.
src
is the source folderdest
is the output JavaScript file to be linked in your applicationindexByTagName
if set to true
will index compiled tags by tagname rather than file path.FAQs
precompile tags for RiotTS
The npm package grunt-riotts-precompile receives a total of 1 weekly downloads. As such, grunt-riotts-precompile popularity was classified as not popular.
We found that grunt-riotts-precompile 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.