@alwatr/nanotron 4.2.2 → 4.4.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,34 @@
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.4.0](https://github.com/Alwatr/nanotron/compare/v4.3.0...v4.4.0) (2024-10-14)
7
+
8
+ **Note:** Version bump only for package @alwatr/nanotron
9
+
10
+ ## [4.3.0](https://github.com/Alwatr/nanotron/compare/v4.2.2...v4.3.0) (2024-10-11)
11
+
12
+ ### Features
13
+
14
+ * **nanotron:** install `nanolib` packages & export them here ([169f360](https://github.com/Alwatr/nanotron/commit/169f36053c9ff94192e7126695859ff5e4e275b9)) by @mohammadhonarvar
15
+ * update `import`s & packages based on the latest changes of `nanolib` & prevent `sideeffects` from `build` result ([1d234b8](https://github.com/Alwatr/nanotron/commit/1d234b83152fb246b793476898e9cf026aa52874)) by @mohammadhonarvar
16
+
17
+ ### Bug Fixes
18
+
19
+ * **nanotro:** update `import`s & remove extra `export`s ([2bc4d2e](https://github.com/Alwatr/nanotron/commit/2bc4d2e160e39e7633bcdb15bd2fac13ed310629)) by @mohammadhonarvar
20
+
21
+ ### Code Refactoring
22
+
23
+ * update `import`s & packages based on the latest changes of `nanolib` ([7652b5d](https://github.com/Alwatr/nanotron/commit/7652b5d9cc69218f2ff28bda3d0d8f52f147c6f6)) by @mohammadhonarvar
24
+
25
+ ### Miscellaneous Chores
26
+
27
+ * edited README ([d707d38](https://github.com/Alwatr/nanotron/commit/d707d389e085dd320402521cb23af5805013d777)) by @ArmanAsadian
28
+
29
+ ### Dependencies update
30
+
31
+ * update ([834ffcc](https://github.com/Alwatr/nanotron/commit/834ffcc8f6de96cc11a1a6fa933f948b7813cde6)) by @mohammadhonarvar
32
+ * update ([fab97ef](https://github.com/Alwatr/nanotron/commit/fab97ef111f2a173dccd673e84041b4a0fc6e900)) by @mohammadhonarvar
33
+
6
34
  ## [4.2.2](https://github.com/Alwatr/nanotron/compare/v4.2.1...v4.2.2) (2024-09-29)
7
35
 
8
36
  ### Miscellaneous Chores
package/README.md CHANGED
@@ -55,7 +55,7 @@ apiServer.defineRoute({
55
55
 
56
56
  ## Sponsors
57
57
 
58
- The following companies, organizations, and individuals support Nitrobase ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
58
+ The following companies, organizations, and individuals support Nanotron ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
59
59
 
60
60
  [![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com)
61
61
 
package/dist/main.cjs CHANGED
@@ -1,3 +1,31 @@
1
- /* @alwatr/nanotron v4.2.2 */
2
- "use strict";var f=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var m=(r,o,n,p)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of l(o))!c.call(r,t)&&t!==n&&f(r,t,{get:()=>o[t],enumerable:!(p=_(o,t))||p.enumerable});return r},e=(r,o,n)=>(m(r,o,"default"),n&&m(n,o,"default"));var d=r=>m(f({},"__esModule",{value:!0}),r);var a={};module.exports=d(a);var i=require("@alwatr/logger");e(a,require("@alwatr/nanotron-api-server"),module.exports);e(a,require("@alwatr/crypto"),module.exports);(0,i.definePackage)("@alwatr/nanotron","4.2.2");0&&(module.exports={...require("@alwatr/nanotron-api-server"),...require("@alwatr/crypto")});
1
+ /* @alwatr/nanotron v4.4.0 */
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from))
10
+ if (!__hasOwnProp.call(to, key) && key !== except)
11
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ }
13
+ return to;
14
+ };
15
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
16
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
17
+
18
+ // src/main.ts
19
+ var main_exports = {};
20
+ module.exports = __toCommonJS(main_exports);
21
+ var import_nanolib = require("@alwatr/nanolib");
22
+ __reExport(main_exports, require("@alwatr/nanotron-api-server"), module.exports);
23
+ __reExport(main_exports, require("@alwatr/crypto"), module.exports);
24
+ __dev_mode__: import_nanolib.packageTracer.add("@alwatr/nanotron", "4.4.0");
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ ...require("@alwatr/nanotron-api-server"),
28
+ ...require("@alwatr/crypto")
29
+ });
30
+ /*! For license information please see main.cjs.LEGAL.txt */
3
31
  //# 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": ["import {definePackage} from '@alwatr/logger';\n\nimport type {} from '@alwatr/nano-build';\n\nexport * from '@alwatr/nanotron-api-server';\nexport * from '@alwatr/crypto';\n\ndefinePackage('@alwatr/nanotron', __package_version__);\n"],
5
- "mappings": ";iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAA,IAAAE,EAA4B,0BAI5BC,EAAAH,EAAc,uCAJd,gBAKAG,EAAAH,EAAc,0BALd,mBAOA,iBAAc,mBAAoB,OAAmB",
6
- "names": ["main_exports", "__toCommonJS", "import_logger", "__reExport"]
4
+ "sourcesContent": ["import {packageTracer} from '@alwatr/nanolib';\n\nexport * from '@alwatr/nanotron-api-server';\nexport * from '@alwatr/crypto';\n\n__dev_mode__: packageTracer.add(__package_name__, __package_version__);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,qBAA4B;AAE5B,yBAAc,wCAFd;AAGA,yBAAc,2BAHd;AAKA,aAAc,8BAAc,IAAI,oBAAkB,OAAmB;",
6
+ "names": []
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAIA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC"}
package/dist/main.mjs CHANGED
@@ -1,3 +1,9 @@
1
- /* @alwatr/nanotron v4.2.2 */
2
- import{definePackage as o}from"@alwatr/logger";export*from"@alwatr/nanotron-api-server";export*from"@alwatr/crypto";o("@alwatr/nanotron","4.2.2");
1
+ /* @alwatr/nanotron v4.4.0 */
2
+
3
+ // src/main.ts
4
+ import { packageTracer } from "@alwatr/nanolib";
5
+ export * from "@alwatr/nanotron-api-server";
6
+ export * from "@alwatr/crypto";
7
+ __dev_mode__: packageTracer.add("@alwatr/nanotron", "4.4.0");
8
+ /*! For license information please see main.mjs.LEGAL.txt */
3
9
  //# 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": ["import {definePackage} from '@alwatr/logger';\n\nimport type {} from '@alwatr/nano-build';\n\nexport * from '@alwatr/nanotron-api-server';\nexport * from '@alwatr/crypto';\n\ndefinePackage('@alwatr/nanotron', __package_version__);\n"],
5
- "mappings": ";AAAA,OAAQ,iBAAAA,MAAoB,iBAI5B,WAAc,8BACd,WAAc,iBAEdA,EAAc,mBAAoB,OAAmB",
6
- "names": ["definePackage"]
4
+ "sourcesContent": ["import {packageTracer} from '@alwatr/nanolib';\n\nexport * from '@alwatr/nanotron-api-server';\nexport * from '@alwatr/crypto';\n\n__dev_mode__: packageTracer.add(__package_name__, __package_version__);\n"],
5
+ "mappings": ";;;AAAA,SAAQ,qBAAoB;AAE5B,cAAc;AACd,cAAc;AAEd,aAAc,eAAc,IAAI,oBAAkB,OAAmB;",
6
+ "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/nanotron",
3
- "version": "4.2.2",
3
+ "version": "4.4.0",
4
4
  "description": "Nanotron: Your Lightweight, High-Performance Micro/Nano Service Framework. Nanotron is designed for building blazingly fast and efficient microservices and APIs. Its minimalist approach and focus on performance make it ideal for resource-constrained environments and scenarios where every millisecond counts.",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -57,18 +57,18 @@
57
57
  "clean": "rm -rfv dist *.tsbuildinfo"
58
58
  },
59
59
  "dependencies": {
60
- "@alwatr/crypto": "^4.2.2",
61
- "@alwatr/logger": "^3.2.14",
62
- "@alwatr/nanotron-api-server": "^4.2.2"
60
+ "@alwatr/crypto": "^4.3.0",
61
+ "@alwatr/nanolib": "^1.2.0",
62
+ "@alwatr/nanotron-api-server": "^4.4.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@alwatr/nano-build": "^1.3.10",
66
- "@alwatr/prettier-config": "^1.0.4",
67
- "@alwatr/tsconfig-base": "^1.2.0",
68
- "@alwatr/type-helper": "^1.2.6",
69
- "@types/node": "^22.7.4",
65
+ "@alwatr/nano-build": "^2.0.1",
66
+ "@alwatr/prettier-config": "^1.0.6",
67
+ "@alwatr/tsconfig-base": "^1.3.2",
68
+ "@alwatr/type-helper": "^2.0.2",
69
+ "@types/node": "^22.7.5",
70
70
  "jest": "^29.7.0",
71
- "typescript": "^5.6.2"
71
+ "typescript": "^5.6.3"
72
72
  },
73
- "gitHead": "887f58ef716850a245871fe0f3672354201cdb9a"
73
+ "gitHead": "f8efcbf871f291c98b59c844c68d5b8b72f29a49"
74
74
  }