exrout 1.1.0 → 1.1.1

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.
@@ -159,4 +159,7 @@ Object.defineProperty(exports, "cleanSlashes", { enumerable: true, get: function
159
159
  Object.defineProperty(exports, "shouldExclude", { enumerable: true, get: function () { return utils_2.shouldExclude; } });
160
160
  Object.defineProperty(exports, "extractHttpMethod", { enumerable: true, get: function () { return utils_2.extractHttpMethod; } });
161
161
  Object.defineProperty(exports, "sortRoutes", { enumerable: true, get: function () { return utils_2.sortRoutes; } });
162
- //# sourceMappingURL=index.js.map
162
+ //# sourceMappingURL=index.js.map
163
+ // CommonJS compatibility - allow require('exrout') to work directly
164
+ module.exports = exports.default;
165
+ Object.assign(module.exports, exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exrout",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Automatically load and register Express routes from folder structure",
5
5
  "type": "module",
6
6