Comparing version 0.7.2 to 0.7.3
var gulp = require('gulp'), | ||
gutil = require('gulp-util'), | ||
bump = require('gulp-bump'), | ||
git = require('gulp-git'), | ||
mocha = require('gulp-mocha'), | ||
@@ -14,5 +12,2 @@ mochaPhantomJS = require('gulp-mocha-phantomjs'), | ||
config = { | ||
bump: { | ||
target: ['./bower.json', './package.json'] | ||
}, | ||
bundle: { | ||
@@ -91,41 +86,2 @@ standalone: 'empower', | ||
function bumpVersion(options) { | ||
return gulp | ||
.src(config.bump.target) | ||
.pipe(bump(options)) | ||
.pipe(gulp.dest('./')); | ||
} | ||
gulp.task('git_add', function(){ | ||
return gulp | ||
.src(config.bump.target) | ||
.pipe(git.add()); | ||
}); | ||
gulp.task('git_commit', function(){ | ||
var pkg = require('./package.json'); | ||
return gulp | ||
.src(config.bump.target) | ||
.pipe(git.commit(pkg.version)); | ||
}); | ||
gulp.task('git_tag', function(done) { | ||
var pkg = require('./package.json'); | ||
git.tag('v' + pkg.version, pkg.version, null, done); | ||
}); | ||
['patch', 'minor', 'major'].forEach(function (v) { | ||
gulp.task('bump_' + v, function(){ | ||
return bumpVersion({type: v}); | ||
}); | ||
gulp.task('release_' + v, function(){ | ||
runSequence( | ||
'bump_' + v, | ||
'git_add', | ||
'git_commit', | ||
'git_tag' | ||
); | ||
}); | ||
}); | ||
gulp.task('connect', function() { | ||
@@ -132,0 +88,0 @@ connect.server({ |
{ | ||
"name": "empower", | ||
"description": "Power Assert feature enhancer for assert function/object", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"keywords": [ | ||
@@ -23,2 +23,10 @@ "power-assert", | ||
"main": "./lib/empower", | ||
"files": [ | ||
"gulpfile.js", | ||
"MIT-LICENSE.txt", | ||
"README.md", | ||
"lib", | ||
"package.json", | ||
"test" | ||
], | ||
"directories": { | ||
@@ -36,17 +44,15 @@ "lib": "./lib" | ||
"blanket": "~1.1.6", | ||
"browserify": "~4.1.6", | ||
"browserify": "~4.1.11", | ||
"buster-assertions": "~0.10.4", | ||
"espower-source": "~0.7.3", | ||
"gulp": "~3.6.2", | ||
"gulp-bump": "~0.1.8", | ||
"gulp-clean": "~0.3.0", | ||
"gulp": "~3.8.5", | ||
"gulp-clean": "~0.3.1", | ||
"gulp-connect": "~2.0.5", | ||
"gulp-git": "~0.4.2", | ||
"gulp-mocha": "~0.4.1", | ||
"gulp-mocha-phantomjs": "~0.2.1", | ||
"gulp-util": "~2.2.14", | ||
"mocha": "~1.20.0", | ||
"gulp-util": "~2.2.19", | ||
"mocha": "~1.20.1", | ||
"mocha-lcov-reporter": "~0.0.1", | ||
"run-sequence": "~0.3.6", | ||
"through2": "~0.4.2", | ||
"through2": "~0.5.1", | ||
"vinyl-source-stream": "~0.1.1" | ||
@@ -53,0 +59,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
15
0
45952
12
1086