metalsmith-renamer
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -0,1 +1,3 @@ | ||
## [0.5.3](https://github.com/alex-ketch/metalsmith-renamer/compare/v0.5.2...v0.5.3) (2020-06-15) | ||
## [0.5.2](https://github.com/alex-ketch/metalsmith-renamer/compare/v0.5.1...v0.5.2) (2020-06-15) | ||
@@ -2,0 +4,0 @@ |
@@ -14,3 +14,3 @@ var minimatch = require('minimatch'); | ||
const nameTransformer = options[opt].rename; | ||
let newFilename = path.dirname(file); | ||
let newFilename = path.dirname(file); // If file is at root of the `source` directory, strip the relative file path | ||
@@ -17,0 +17,0 @@ if (newFilename === ".") { |
@@ -14,3 +14,3 @@ import { Minimatch } from 'minimatch'; | ||
const nameTransformer = options[opt].rename; | ||
let newFilename = dirname(file); | ||
let newFilename = dirname(file); // If file is at root of the `source` directory, strip the relative file path | ||
@@ -17,0 +17,0 @@ if (newFilename === ".") { |
{ | ||
"name": "metalsmith-renamer", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Plugin to take a pattern and rename each matched file", | ||
@@ -41,3 +41,3 @@ "source": "src/index.js", | ||
"metalsmith": "2.3.0", | ||
"microbundle": "0.12.0", | ||
"microbundle": "0.12.1", | ||
"prettier": "2.0.5", | ||
@@ -44,0 +44,0 @@ "semantic-release": "17.0.8" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
14316