gulp-rename
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -19,4 +19,6 @@ 'use strict'; | ||
stream._transform = function(file, unused, callback) { | ||
stream._transform = function (originalFile, unused, callback) { | ||
var file = originalFile.clone({contents: false}); | ||
var parsedPath = parsePath(file.relative); | ||
@@ -23,0 +25,0 @@ var path; |
{ | ||
"name": "gulp-rename", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Rename files", | ||
@@ -24,23 +24,19 @@ "keywords": [ | ||
"scripts": { | ||
"pretest": "jshint index.js test/", | ||
"pretest": "jscs index.js test/ && jshint index.js test/", | ||
"test": "mocha" | ||
}, | ||
"devDependencies": { | ||
"gulp": ">=3.0.0", | ||
"gulp-sourcemaps": "^1.5.0", | ||
"gulp-util": "^3.0.4", | ||
"jshint": "^2.6.3", | ||
"map-stream": ">=0.0.4", | ||
"mocha": ">=1.15.0", | ||
"should": ">=2.1.0" | ||
"gulp": "^4.0.0", | ||
"gulp-sourcemaps": "^2.6.4", | ||
"jscs": "^3.0.0", | ||
"jshint": "^2.0.0", | ||
"map-stream": "^0.0.7", | ||
"mocha": "^5.0.0", | ||
"should": "^13.0.0", | ||
"vinyl": "^2.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=0.10.0", | ||
"npm": ">=1.2.10" | ||
"node": ">=4" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT" | ||
} | ||
] | ||
"license": "MIT" | ||
} |
@@ -27,3 +27,3 @@ # gulp-rename | ||
path.basename += "-goodbye"; | ||
path.extname = ".md" | ||
path.extname = ".md"; | ||
})) | ||
@@ -30,0 +30,0 @@ .pipe(gulp.dest("./dist")); // ./dist/main/text/ciao/hello-goodbye.md |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5870
4
44
1
8