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

dest

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dest - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

9

index.js

@@ -10,4 +10,5 @@ 'use strict';

module.exports = dest;
module.exports = function dest(dir, options) {
function dest(dir, options) {
var stream = through.obj(function (file, enc, cb) {

@@ -22,3 +23,3 @@ var opts = normalizeOpts(file, options);

normalize(dir, file, opts, function (err, fp) {
dest.normalize(dir, file, opts, function (err, fp) {
if (err) return cb(err);

@@ -157,3 +158,3 @@ writeFile(fp, file, opts, cb);

function normalize(dest, file, opts, cb) {
dest.normalize = function normalize(dest, file, opts, cb) {
opts = opts || {};

@@ -193,2 +194,2 @@ var cwd = path.resolve(opts.cwd);

cb(null, filepath);
}
};
{
"name": "dest",
"description": "Plugin for Template, for writing a file to the file system.",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "https://github.com/jonschlinkert/dest",

@@ -50,2 +50,2 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

]
}
}
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