Skip to content

Commit

Permalink
One more audit down 11ty/eleventy#3299
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jul 11, 2024
1 parent 16211b0 commit 3308eb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var fs = require('graceful-fs');
var path = require('path');
var EventEmitter = require('events').EventEmitter;
var pify = require('pify');
var mkdirp = require('mkdirp');
var mkdirp = require('mkdirp').mkdirp;
var rimraf = require('rimraf').rimraf;
var junk = require('junk');
var errno = require('errno');
Expand All @@ -27,7 +27,7 @@ var EVENT_COPY_FILE_START = 'copyFileStart';
var EVENT_COPY_FILE_ERROR = 'copyFileError';
var EVENT_COPY_FILE_COMPLETE = 'copyFileComplete';

var mkdir = pify(mkdirp, Promise);
var mkdir = mkdirp;
var stat = pify(fs.stat, Promise);
var lstat = pify(fs.lstat, Promise);
var readlink = pify(fs.readlink, Promise);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"graceful-fs": "^4.2.11",
"junk": "^1.0.1",
"maximatch": "^0.1.0",
"mkdirp": "^0.5.1",
"mkdirp": "^3.0.1",
"pify": "^2.3.0",
"promise": "^7.0.1",
"rimraf": "^5.0.7",
Expand Down

0 comments on commit 3308eb4

Please sign in to comment.