New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

copy-template-dir

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-template-dir - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

16

index.js

@@ -52,11 +52,17 @@ const minstache = require('minstache-stream')

return function (done) {
const fileName = file.name
const fileName = file.path
const inFile = file.fullPath
const parentDir = file.parentDir
const outFile = path.join(outDir, reDot(fileName))
const rs = fs.createReadStream(inFile)
const ts = minstache(vars)
const ws = fs.createWriteStream(outFile)
mkdirp(path.join(outDir, parentDir), function (err) {
if (err) return done(err)
console.log('outfile', outFile)
return pump(rs, ts, ws, done)
const rs = fs.createReadStream(inFile)
const ts = minstache(vars)
const ws = fs.createWriteStream(outFile)
pump(rs, ts, ws, done)
})
}

@@ -63,0 +69,0 @@ }

{
"name": "copy-template-dir",
"version": "1.0.1",
"version": "1.0.2",
"description": "High throughput template dir writes",

@@ -5,0 +5,0 @@ "main": "index.js",

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