@alwatr/nanotron 4.0.1 → 4.1.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.1.0](https://github.com/Alwatr/nanotron/compare/v4.0.2...v4.1.0) (2024-09-14)
7
+
8
+ ### Features
9
+
10
+ * route handlers to use 'call' method for binding 'this' ([69517c1](https://github.com/Alwatr/nanotron/commit/69517c16909f8a9a4720c4863501b01e6ab0834e)) by @
11
+
12
+ ## [4.0.2](https://github.com/Alwatr/nanotron/compare/v4.0.1...v4.0.2) (2024-09-14)
13
+
14
+ ### Bug Fixes
15
+
16
+ * definePackage ([a2edcc1](https://github.com/Alwatr/nanotron/commit/a2edcc1b3a4822371cefa4a28ff62a7c6754287e)) by @AliMD
17
+
6
18
  ## [4.0.1](https://github.com/Alwatr/nanotron/compare/v4.0.0...v4.0.1) (2024-09-14)
7
19
 
8
20
  **Note:** Version bump only for package @alwatr/nanotron
package/dist/main.cjs CHANGED
@@ -1,3 +1,3 @@
1
- /* @alwatr/nanotron v4.0.1 */
2
- "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o,f,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==f&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},t=(r,o,f)=>(p(r,o,"default"),f&&p(f,o,"default"));var g=r=>p(a({},"__esModule",{value:!0}),r);var m={};module.exports=g(m);t(m,require("@alwatr/nanotron-api-server"),module.exports);0&&(module.exports={...require("@alwatr/nanotron-api-server")});
1
+ /* @alwatr/nanotron v4.1.0 */
2
+ "use strict";var p=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var t=(o,a,e,m)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of l(a))!c.call(o,r)&&r!==e&&p(o,r,{get:()=>a[r],enumerable:!(m=f(a,r))||m.enumerable});return o},i=(o,a,e)=>(t(o,a,"default"),e&&t(e,a,"default"));var d=o=>t(p({},"__esModule",{value:!0}),o);var n={};module.exports=d(n);var _=require("@alwatr/logger");i(n,require("@alwatr/nanotron-api-server"),module.exports);(0,_.definePackage)("@alwatr/nanotron","4.1.0");0&&(module.exports={...require("@alwatr/nanotron-api-server")});
3
3
  //# sourceMappingURL=main.cjs.map
package/dist/main.cjs.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/main.ts"],
4
- "sourcesContent": ["export * from '@alwatr/nanotron-api-server';\n"],
5
- "mappings": ";iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,uCAAd",
6
- "names": ["main_exports", "__toCommonJS", "__reExport"]
4
+ "sourcesContent": ["import {definePackage} from '@alwatr/logger';\n\nimport type {} from '@alwatr/nano-build';\n\nexport * from '@alwatr/nanotron-api-server';\n\ndefinePackage('@alwatr/nanotron', __package_version__);\n"],
5
+ "mappings": ";iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAA,IAAAE,EAA4B,0BAI5BC,EAAAH,EAAc,uCAJd,mBAMA,iBAAc,mBAAoB,OAAmB",
6
+ "names": ["main_exports", "__toCommonJS", "import_logger", "__reExport"]
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAIA,cAAc,6BAA6B,CAAC"}
package/dist/main.mjs CHANGED
@@ -1,3 +1,3 @@
1
- /* @alwatr/nanotron v4.0.1 */
2
- export*from"@alwatr/nanotron-api-server";
1
+ /* @alwatr/nanotron v4.1.0 */
2
+ import{definePackage as a}from"@alwatr/logger";export*from"@alwatr/nanotron-api-server";a("@alwatr/nanotron","4.1.0");
3
3
  //# sourceMappingURL=main.mjs.map
package/dist/main.mjs.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/main.ts"],
4
- "sourcesContent": ["export * from '@alwatr/nanotron-api-server';\n"],
5
- "mappings": ";AAAA,WAAc",
6
- "names": []
4
+ "sourcesContent": ["import {definePackage} from '@alwatr/logger';\n\nimport type {} from '@alwatr/nano-build';\n\nexport * from '@alwatr/nanotron-api-server';\n\ndefinePackage('@alwatr/nanotron', __package_version__);\n"],
5
+ "mappings": ";AAAA,OAAQ,iBAAAA,MAAoB,iBAI5B,WAAc,8BAEdA,EAAc,mBAAoB,OAAmB",
6
+ "names": ["definePackage"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/nanotron",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "description": "Elegant powerful nodejs server for nanoservice use cases, written in tiny TypeScript module.",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -57,7 +57,8 @@
57
57
  "clean": "rm -rfv dist *.tsbuildinfo"
58
58
  },
59
59
  "dependencies": {
60
- "@alwatr/nanotron-api-server": "^4.0.1"
60
+ "@alwatr/logger": "^3.2.12",
61
+ "@alwatr/nanotron-api-server": "^4.1.0"
61
62
  },
62
63
  "devDependencies": {
63
64
  "@alwatr/nano-build": "^1.3.8",
@@ -68,5 +69,5 @@
68
69
  "jest": "^29.7.0",
69
70
  "typescript": "^5.6.2"
70
71
  },
71
- "gitHead": "2fe620c71481283f2e47a9a0056e51961b11504b"
72
+ "gitHead": "41e241d30aedf0fd886b2fb4d304acc2730da2c7"
72
73
  }