@aimeloic/monkey-tester 2.0.9 → 2.0.10

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 +5 -8
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,10 +1,7 @@
1
- 'use strict';
1
+ import { endtesterExpress } from './monkey.js';
2
2
 
3
- const { endtesterExpress } = require('./monkey.js');
3
+ // Support named import syntax: import { endtesterExpress } from '...'
4
+ export { endtesterExpress };
4
5
 
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;
6
+ // Support default import syntax for complete backward compatibility
7
+ export default { endtesterExpress };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aimeloic/monkey-tester",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Auto route scanning visual runner dashboard.",
5
5
  "main": "index.js",
6
6
  "type": "module",