@alwatr/nanotron-api-server 4.9.3 → 4.9.4

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
@@ -1,8 +1,22 @@
1
1
  # Change Log
2
+ # Changelog
3
+
4
+ All notable changes to this project will be documented in this file.
2
5
 
3
6
  All notable changes to this project will be documented in this file.
4
7
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
8
 
9
+ ## [4.9.4](https://github.com/Alwatr/nanotron/compare/v4.9.3...v4.9.4) (2025-08-23)
10
+
11
+ ### 🔨 Code Refactoring
12
+
13
+ * reorganize package.json files for consistency and clarity ([bde116e](https://github.com/Alwatr/nanotron/commit/bde116e21f9d9bd6084940e257438916d2c3d312)) by @alimd
14
+
15
+ ### 🔗 Dependencies update
16
+
17
+ * downgrade @types/node version to 22.17.2 in all package.json files ([4f01e14](https://github.com/Alwatr/nanotron/commit/4f01e1408d8d0954865eb9d20f90178f13e98719)) by @alimd
18
+ * update dependencies for eslint-config, lerna-lite, typescript, and nanolib ([de16a71](https://github.com/Alwatr/nanotron/commit/de16a718bb1c0fa569d39c824ec39a1e67ef8dfe)) by @alimd
19
+
6
20
  ## [4.9.3](https://github.com/Alwatr/nanotron/compare/v4.9.2...v4.9.3) (2025-07-23)
7
21
 
8
22
  **Note:** Version bump only for package @alwatr/nanotron-api-server
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/nanotron-api-server v4.9.3 */
1
+ /* @alwatr/nanotron-api-server v4.9.4 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -638,7 +638,7 @@ _NanotronUrl.versionPattern_ = new RegExp("^/v[0-9]+/");
638
638
  var NanotronUrl = _NanotronUrl;
639
639
 
640
640
  // src/api-server.ts
641
- __dev_mode__: import_nanolib3.packageTracer.add("@alwatr/nanotron-api-server", "4.9.3");
641
+ __dev_mode__: import_nanolib3.packageTracer.add("@alwatr/nanotron-api-server", "4.9.4");
642
642
  var _NanotronApiServer = class _NanotronApiServer {
643
643
  constructor(config) {
644
644
  this.config_ = {
package/dist/main.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/nanotron-api-server v4.9.3 */
1
+ /* @alwatr/nanotron-api-server v4.9.4 */
2
2
 
3
3
  // src/api-server.ts
4
4
  import { createServer } from "node:http";
@@ -610,7 +610,7 @@ _NanotronUrl.versionPattern_ = new RegExp("^/v[0-9]+/");
610
610
  var NanotronUrl = _NanotronUrl;
611
611
 
612
612
  // src/api-server.ts
613
- __dev_mode__: packageTracer.add("@alwatr/nanotron-api-server", "4.9.3");
613
+ __dev_mode__: packageTracer.add("@alwatr/nanotron-api-server", "4.9.4");
614
614
  var _NanotronApiServer = class _NanotronApiServer {
615
615
  constructor(config) {
616
616
  this.config_ = {
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@alwatr/nanotron-api-server",
3
- "version": "4.9.3",
4
3
  "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.",
4
+ "version": "4.9.4",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
- "keywords": [
7
- "server",
8
- "nanoservice",
9
- "api",
10
- "typescript",
11
- "esm",
12
- "alwatr"
13
- ],
14
- "type": "module",
15
- "main": "./dist/main.cjs",
16
- "module": "./dist/main.mjs",
17
- "types": "./dist/main.d.ts",
6
+ "bugs": "https://github.com/Alwatr/nanotron/issues",
7
+ "dependencies": {
8
+ "@alwatr/nanolib": "^5.6.6"
9
+ },
10
+ "devDependencies": {
11
+ "@alwatr/nano-build": "^5.5.4",
12
+ "@alwatr/prettier-config": "^5.0.0",
13
+ "@alwatr/tsconfig-base": "^5.0.0",
14
+ "@alwatr/type-helper": "^5.4.2",
15
+ "@types/node": "^22.17.2",
16
+ "jest": "^30.0.5",
17
+ "typescript": "^5.9.2"
18
+ },
18
19
  "exports": {
19
20
  ".": {
20
21
  "types": "./dist/main.d.ts",
@@ -22,11 +23,23 @@
22
23
  "require": "./dist/main.cjs"
23
24
  }
24
25
  },
25
- "license": "AGPL-3.0-only",
26
26
  "files": [
27
27
  "**/*.{js,mjs,cjs,map,d.ts,html,md}",
28
28
  "!demo/**/*"
29
29
  ],
30
+ "homepage": "https://github.com/Alwatr/nanotron/tree/next/packages/api-server#readme",
31
+ "keywords": [
32
+ "alwatr",
33
+ "api",
34
+ "esm",
35
+ "nanoservice",
36
+ "server",
37
+ "typescript"
38
+ ],
39
+ "license": "AGPL-3.0-only",
40
+ "main": "./dist/main.cjs",
41
+ "module": "./dist/main.mjs",
42
+ "prettier": "@alwatr/prettier-config",
30
43
  "publishConfig": {
31
44
  "access": "public"
32
45
  },
@@ -35,38 +48,23 @@
35
48
  "url": "https://github.com/Alwatr/nanotron",
36
49
  "directory": "packages/api-server"
37
50
  },
38
- "homepage": "https://github.com/Alwatr/nanotron/tree/next/packages/api-server#readme",
39
- "bugs": {
40
- "url": "https://github.com/Alwatr/nanotron/issues"
41
- },
42
- "prettier": "@alwatr/prettier-config",
43
51
  "scripts": {
44
52
  "b": "yarn run build",
45
- "t": "yarn run test",
46
- "w": "yarn run watch",
47
- "c": "yarn run clean",
48
- "cb": "yarn run clean && yarn run build",
49
- "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
50
53
  "build": "yarn run build:ts & yarn run build:es",
51
54
  "build:es": "nano-build --preset=module",
52
55
  "build:ts": "tsc --build",
56
+ "c": "yarn run clean",
57
+ "cb": "yarn run clean && yarn run build",
58
+ "clean": "rm -rfv dist *.tsbuildinfo",
59
+ "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
60
+ "t": "yarn run test",
53
61
  "test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
62
+ "w": "yarn run watch",
54
63
  "watch": "yarn run watch:ts & yarn run watch:es",
55
64
  "watch:es": "yarn run build:es --watch",
56
- "watch:ts": "yarn run build:ts --watch --preserveWatchOutput",
57
- "clean": "rm -rfv dist *.tsbuildinfo"
58
- },
59
- "dependencies": {
60
- "@alwatr/nanolib": "^5.6.5"
61
- },
62
- "devDependencies": {
63
- "@alwatr/nano-build": "^5.5.3",
64
- "@alwatr/prettier-config": "^5.0.0",
65
- "@alwatr/tsconfig-base": "^5.0.0",
66
- "@alwatr/type-helper": "^5.4.1",
67
- "@types/node": "^24.1.0",
68
- "jest": "^30.0.5",
69
- "typescript": "^5.8.3"
65
+ "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
70
66
  },
71
- "gitHead": "17852256f4aab632c64437d1c50c64d02ee108b9"
67
+ "type": "module",
68
+ "types": "./dist/main.d.ts",
69
+ "gitHead": "d225632fac937bbf0faeb6db7eb9796e6ff0f00a"
72
70
  }