jeff-zucker / solid-file-client

A Javascript library for creating and managing files and folders in Solid data stores
MIT License
55 stars 18 forks source link

do not build with node 18 #246

Open bourgeoa opened 6 months ago

bourgeoa commented 6 months ago

To make it build with node 18. I tried to add on top of webpack-config.js

const crypto = require("crypto");
const crypto_orig_createHash = crypto.createHash;
crypto.createHash = algorithm => crypto_orig_createHash(algorithm == "md4" ? "sha256" : algorithm);

Then build with node 18 works , but much more tests fails.