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

kopy

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kopy - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

9

dist/kopy.common.js

@@ -69,2 +69,6 @@ 'use strict';

function noop(files, metalsmith, done) {
done();
}
var getEngine = function (name) { return cons[name]; };

@@ -118,5 +122,6 @@

var cwd = ref.cwd; if ( cwd === void 0 ) cwd = process.cwd();
var clean = ref.clean; if ( clean === void 0 ) clean = true;
var clean = ref.clean; if ( clean === void 0 ) clean = false;
var data = ref.data;
var prompts = ref.prompts;
var disableInterpolation = ref.disableInterpolation; if ( disableInterpolation === void 0 ) disableInterpolation = false;
var skipInterpolation = ref.skipInterpolation;

@@ -133,3 +138,3 @@ var engine = ref.engine; if ( engine === void 0 ) engine = 'handlebars';

.use(filterFiles(filters))
.use(template({skipInterpolation: skipInterpolation, engine: engine}))
.use(disableInterpolation ? noop : template({skipInterpolation: skipInterpolation, engine: engine}))
.clean(clean)

@@ -136,0 +141,0 @@ .destination(path.resolve(cwd, dest))

{
"name": "kopy",
"version": "2.3.0",
"version": "2.4.0",
"description": "Gracefully copy a directory and render templates.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -67,3 +67,3 @@ # kopy

Type: `boolean`<br>
Default: `true`
Default: `false`

@@ -111,2 +111,9 @@ Whether to clean destination directory before writing to it.

##### disableInterpolation
Type: `boolean`<br>
Default: `false`
Similar to `skipInterpolation`, but `disableInterpolation` disables all template interpolation, template markup will remain the way it is.
##### filters

@@ -113,0 +120,0 @@

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