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

flatten-dirname

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flatten-dirname - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js
var path = require('path');
var fs = require('fs-extra');
var fs = require('fs');
var glob = require('glob');
var cpFile = require('cp-file');
var async = require('async');

@@ -37,3 +38,3 @@ var _ = require('lodash');

run.push(function(callback){
fs.copy(file,path.join(dest,newName),callback);
cpFile(file,path.join(dest,newName)).then(callback);
});

@@ -40,0 +41,0 @@ });

6

package.json
{
"name": "flatten-dirname",
"version": "1.0.0",
"version": "1.0.1",
"description": "Flatten files to from relative folders. But keep dirname on filename.",

@@ -16,3 +16,3 @@ "main": "index.js",

"async": "^2.1.2",
"fs-extra": "^2.0.0",
"cp-file": "^4.1.1",
"glob": "^7.1.1",

@@ -45,4 +45,4 @@ "lodash": "^4.13.1",

"type": "git",
"url": "https://github.com/webcaetano/flatten-dirnames"
"url": "https://github.com/webcaetano/flatten-dirname"
}
}
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