
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
gulp-ng-test-utils
Advanced tools
This project has changed it's name to gulp-tang. All further updates will be under the new name. Change your dependencies now!
Gulp is a great build system, but most users will benefit more by using the karma-preprocessor to apply the transforms for their tests. If you are not using karma, or have a need to package up your tests with the transforms applied, then read on.
Install:
npm install --save-dev ng-test-utils gulp-ng-test-utils
Since this is all about testing, you almost certainly want to enable source-maps. There are two ways to accomplish this.
Using gulp-sourcemaps is the recommended way if you are chaining this transform
together with others that support gulp-sourcemaps.
var gulp = require('gulp');
var ngTestUtils = require('gulp-ng-test-utils');
var sourcemaps = require('gulp-sourcemaps');
gulp.task('instrument-test-files', function (){
return gulp.src('tests/*.js')
.pipe(sourcemaps.init())
.pipe(ngTestUtils())
.pipe(sourcemaps.write())
.pipe(gulp.dest('build/tests'))
});
Using ng-test-utils internal source map support is handy if it is the only transform being applied
to your test code, or if up/downstream transforms do not support gulp-sourcemaps.
gulp.task('instrument-test-files', function() {
return gulp.src('tests/*.js')
.pipe(plugin({
sourceMap:true
}))
.pipe(gulp.dest('build/tests'))
});
Check out the examples and gulpfile.js folder on github
for more ideas.
FAQs
ng-test-utils for gulp
The npm package gulp-ng-test-utils receives a total of 1 weekly downloads. As such, gulp-ng-test-utils popularity was classified as not popular.
We found that gulp-ng-test-utils 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.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.