Description: export commonjs files
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-11-24

--- a/module-caller-callsite/package.json
+++ b/module-caller-callsite/package.json
@@ -11,7 +11,12 @@
 		"url": "https://sindresorhus.com"
 	},
 	"type": "module",
-	"exports": "./index.js",
+	"main": "./index.cjs",
+	"module": "./index.js",
+	"exports": {
+		"import": "./index.js",
+		"require": "./index.cjs"
+	},
 	"engines": {
 		"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
 	},
--- a/module-caller-path/package.json
+++ b/module-caller-path/package.json
@@ -11,7 +11,12 @@
 		"url": "https://sindresorhus.com"
 	},
 	"type": "module",
-	"exports": "./index.js",
+	"main": "./index.cjs",
+	"module": "./index.js",
+	"exports": {
+		"import": "./index.js",
+		"require": "./index.cjs"
+	},
 	"engines": {
 		"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
 	},
