
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
gulp plugin for Earl Grey
earl([opts])
opts.es5 is a boolean option to change compilation to ES5. Defaults to false.
opts.sourceMaps is a string that specifies how to handle sourcemaps. .compute will compute sourcemaps but does not place sourceMappingURL within the file. .inline does add it. The default is null.
opts.runtime is a string that specifies which runtime to require. If null, no runtime is used and this removes some boilerplate code. This defaults to requiring earlgrey-runtime.
opts.parameters is an object containing flags that you can pass right into your programs to be accessed by macros via @getopt("flagName"). Flags are not limited to booleans and can be any arbitray data. For example (in EG):
parameters = {
debug-level = .critical
test-data = {"Pepperoni", "Cheese", "Sausage", "Peppers"}
tests = false
}
var earl = require('gulp-earl');
gulp.task('earl', function() {
gulp.src('./src/**/*.eg')
.pipe(earl({}))
.pipe(gulp.dest('./build/'))
});
earl-gulp)earl-gulp exports macros to neatly define gulp tasks in Earl Grey,
whereas gulp-earl (this package) is to compile .eg files. Don't
confuse them (maybe I should just merge them...)
require-macros:
earl-gulp -> task
require:
gulp-earl as earl
task earl:
chain gulp:
@src("./src/**/*.eg")
@pipe(earl())
@pipe(gulp.dest("./build/"))
FAQs
gulp plugin to compile Earl Grey
We found that gulp-earl 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.