🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

gulp-modify

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-modify - npm Package Compare versions

Comparing version

to
0.0.5

@@ -9,5 +9,5 @@ {

},
"version": "0.0.3",
"version": "0.0.5",
"license": "MIT",
"main": "index.coffee",
"main": "index.js",
"repository": {

@@ -26,12 +26,13 @@ "type": "git",

"scripts": {
"test": "mocha"
"test": "mocha",
"prepublish": "node_modules/.bin/coffee -c index.coffee"
},
"dependencies": {
"through2": "*",
"coffee-script": "*"
"through2": "*"
},
"devDependencies": {
"mocha": "*",
"expect": "*"
"expect": "*",
"coffee-script": "*"
}
}

@@ -21,5 +21,7 @@ # [gulp](http://gulpjs.com)-modify

gulp.src('src/app.ext')
.pipe(modify(function(content) {
return 'modified'
}))
.pipe(modify({
fileModifier: function(file, contents) {
return 'modified';
}
}))
.pipe(gulp.dest('dist'));

@@ -26,0 +28,0 @@ });

Sorry, the diff of this file is not supported yet