@aimeloic/monkey-tester 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2,4 +2,9 @@
2
2
 
3
3
  const { endtesterExpress } = require('./monkey.js');
4
4
 
5
- module.exports = { endtesterExpress };
5
+ // For backward compatibility with CommonJS projects using require()
6
+ module.exports = { endtesterExpress };
7
+
8
+ // CRITICAL: Explicitly attach to defaults to satisfy Node's ESM interop loader
9
+ module.exports.default = { endtesterExpress };
10
+ module.exports.endtesterExpress = endtesterExpress;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aimeloic/monkey-tester",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Auto route scanning visual runner dashboard.",
5
5
  "main": "index.js",
6
6
  "type": "module",