gulp-modify
Advanced tools
Comparing version
@@ -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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
3614
23.3%1
-50%6
20%22
Infinity%1
-50%48
4.35%0
-100%3
50%- Removed
- Removed