
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.
gulp-ember-rocks-traceur
Advanced tools
A Gulp plugin. Compile ES6 script on the fly using traceur-compiler for ember-rocks
Preprocessor to compile ES6 JavaScript on the fly using traceur-compiler for ember-rocks.
$ npm install --save-dev gulp-ember-rocks-traceur
var gulp = require('gulp');
var traceur = require('gulp-ember-rocks-traceur');
gulp.task('default', function () {
return gulp.src('src/app.js')
.pipe(traceur({modules: 'amd'}))
.pipe(gulp.dest('dist'));
});
Options are passed through to Traceur, except for options.filename
which is set for you.
Type: string
Default: amd
Values: amd, commonjs, instantiate, inline, register
By default, gulp-ember-rocks-traceur treats all files as modules. This allows use of the export
, module
and import
syntax. In this way the transformer can be used to compile ES6 for AMD or Node.js environments.
Use gulp-sourcemaps like this:
var gulp = require('gulp');
var concat = require('gulp-concat');
var sourcemaps = require('gulp-sourcemaps');
var emberRocksTraceur = require('gulp-ember-rocks-traceur');
gulp.task('default', function () {
return gulp.src('src/*.js')
.pipe(sourcemaps.init())
.pipe(emberRocksTraceur())
.pipe(concat('all.js'))
.pipe(sourcemaps.write())
.pipe(gulp.dest('dist'));
});
FAQs
A Gulp plugin. Compile ES6 script on the fly using traceur-compiler for ember-rocks
We found that gulp-ember-rocks-traceur 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.