Skip to content

Commit 4c7b161

Browse files
authored
Merge pull request #63 from outslept/slpt/deps
Removing `graceful-fs` in favor of node:fs
2 parents d89816e + 2126544 commit 4c7b161

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"@rgrove/parse-xml": "^4.2.0",
5050
"debug": "^4.4.0",
5151
"flatted": "^3.3.3",
52-
"graceful-fs": "^4.2.11",
5352
"p-queue": "6.6.2"
5453
},
5554
"ava": {

src/AssetCache.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const fs = require("graceful-fs");
2-
const path = require("path");
3-
const { createHash } = require("crypto");
1+
const fs = require("node:fs");
2+
const path = require("node:path");
3+
const { createHash } = require("node:crypto");
44
const { DateCompare } = require("@11ty/eleventy-utils");
55

66
const FileCache = require("./FileCache.js");

test/AssetCacheTest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const test = require("ava");
2-
const path = require("path");
3-
const fs = require("fs");
2+
const path = require("node:path");
3+
const fs = require("node:fs");
44
const AssetCache = require("../src/AssetCache");
55

66
function normalizePath(pathStr) {

test/RemoteAssetCacheTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const test = require("ava");
2-
const path = require("path");
2+
const path = require("node:path");
33
const { Util } = require("../");
44
const AssetCache = require("../src/AssetCache");
55
const RemoteAssetCache = require("../src/RemoteAssetCache");

0 commit comments

Comments
 (0)