Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metalsmith-renamer

Package Overview
Dependencies
Maintainers
1
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-renamer - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

2

CHANGELOG.md

@@ -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 @@

2

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc