patches: drop internalModuleReadJSON hack of v14.16.0 (#122)
Fixes: #118 Needs: vercel/pkg#1059
This commit is contained in:
parent
90be40b533
commit
b4ebfadc8e
@ -273,7 +273,7 @@ new file mode 100644
|
||||
|
||||
const { SafeMap } = primordials;
|
||||
-const { internalModuleReadJSON } = internalBinding('fs');
|
||||
+const internalModuleReadJSON = function (f) { let json = require('fs').internalModuleReadJSON(f); return [json, !!json]; };
|
||||
+const internalModuleReadJSON = function (f) { return require('fs').internalModuleReadJSON(f); };
|
||||
const { pathToFileURL } = require('url');
|
||||
const { toNamespacedPath } = require('path');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user