Skip to content

Commit 4808aa9

Browse files
committed
Remove graceful-fs use per Node-compat recommendation from e18e 11ty/eleventy#3715
1 parent 52aa861 commit 4808aa9

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ A temporary fork of [`timkendrick/recursive-copy`](https://github.com/timkendric
1717
- Choose whether to overwrite existing files
1818
- Choose whether to copy system files
1919
- Filters out [junk](https://www.npmjs.com/package/junk) files by default
20-
- Uses [graceful-fs](https://www.npmjs.com/package/graceful-fs) and [mkdirp](https://www.npmjs.com/package/mkdirp) to avoid filesystem errors
2120
- Emits start, finish and error events for each file that is processed
2221
- Optional promise-based interface
2322

lib/copy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var Promise = global.Promise;
44
var path = require('node:path');
55
var EventEmitter = require('node:events').EventEmitter;
6-
var fs = require('graceful-fs');
6+
var fs = require('fs');
77
var junk = require('junk');
88
var errno = require('errno');
99
var maximatch = require('maximatch');

package-lock.json

+7-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"homepage": "https://github.com/11ty/recursive-copy",
5454
"dependencies": {
5555
"errno": "^1.0.0",
56-
"graceful-fs": "^4.2.11",
5756
"junk": "^3.1.0",
5857
"maximatch": "^0.1.0",
5958
"slash": "^3.0.0"

0 commit comments

Comments
 (0)