xypriss 1.3.7 → 1.3.8

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.
@@ -4,8 +4,9 @@ var url = require('url');
4
4
  var path = require('path');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
- url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('src/server/utils/es_modules.js', document.baseURI).href)));
8
- const __dirname__ = path.dirname(__filename);
7
+ const __filename__ = url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('src/server/utils/es_modules.js', document.baseURI).href)));
8
+ const __dirname__ = path.dirname(__filename__);
9
9
 
10
10
  exports.__dirname__ = __dirname__;
11
+ exports.__filename__ = __filename__;
11
12
  //# sourceMappingURL=es_modules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es_modules.js","sources":["../../../../../src/server/utils/es_modules.ts"],"sourcesContent":[null],"names":["fileURLToPath","dirname"],"mappings":";;;;;;AAG4BA,iBAAa,CAAC,gRAAe,EAAE;MAC9C,WAAW,GAAGC,YAAO,CAAC,UAAU;;;;"}
1
+ {"version":3,"file":"es_modules.js","sources":["../../../../../src/server/utils/es_modules.ts"],"sourcesContent":[null],"names":["fileURLToPath","dirname"],"mappings":";;;;;;AAGO,MAAM,YAAY,GAAGA,iBAAa,CAAC,gRAAe,EAAE;MAC9C,WAAW,GAAGC,YAAO,CAAC,YAAY;;;;;"}
@@ -1,8 +1,8 @@
1
1
  import { fileURLToPath } from 'url';
2
2
  import { dirname } from 'path';
3
3
 
4
- fileURLToPath(import.meta.url);
5
- const __dirname__ = dirname(__filename);
4
+ const __filename__ = fileURLToPath(import.meta.url);
5
+ const __dirname__ = dirname(__filename__);
6
6
 
7
- export { __dirname__ };
7
+ export { __dirname__, __filename__ };
8
8
  //# sourceMappingURL=es_modules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es_modules.js","sources":["../../../../../src/server/utils/es_modules.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAG4B,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE;MAC9C,WAAW,GAAG,OAAO,CAAC,UAAU;;;;"}
1
+ {"version":3,"file":"es_modules.js","sources":["../../../../../src/server/utils/es_modules.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAGO,MAAM,YAAY,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE;MAC9C,WAAW,GAAG,OAAO,CAAC,YAAY;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xypriss",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "XyPriss is a Node.js framework that extends Express.js with additional performance, security, and scalability features. Built with TypeScript, it maintains full Express.js compatibility while adding enterprise-level capabilities for production applications.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",