Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @jsdevtools/ono@7.1.3
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/@jsdevtools/ono/esm/index.js b/node_modules/@jsdevtools/ono/esm/index.js
index 7e6b469..c0cebe6 100644
--- a/node_modules/@jsdevtools/ono/esm/index.js
+++ b/node_modules/@jsdevtools/ono/esm/index.js
@@ -6,6 +6,6 @@ export { ono };
export default ono;
// CommonJS default export hack
if (typeof module === "object" && typeof module.exports === "object") {
- module.exports = Object.assign(module.exports.default, module.exports);
+ module.exports = Object.assign(module.exports.default || {}, module.exports);
}
//# sourceMappingURL=index.js.map
This issue body was partially generated by patch-package.