@alwatr/nanotron 4.2.1 → 4.3.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 +35 -0
- package/README.md +5 -5
- package/dist/main.cjs +30 -2
- package/dist/main.cjs.map +3 -3
- package/dist/main.d.ts.map +1 -1
- package/dist/main.mjs +8 -2
- package/dist/main.mjs.map +3 -3
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.3.0](https://github.com/Alwatr/nanotron/compare/v4.2.2...v4.3.0) (2024-10-11)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **nanotron:** install `nanolib` packages & export them here ([169f360](https://github.com/Alwatr/nanotron/commit/169f36053c9ff94192e7126695859ff5e4e275b9)) by @mohammadhonarvar
|
|
11
|
+
* 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
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **nanotro:** update `import`s & remove extra `export`s ([2bc4d2e](https://github.com/Alwatr/nanotron/commit/2bc4d2e160e39e7633bcdb15bd2fac13ed310629)) by @mohammadhonarvar
|
|
16
|
+
|
|
17
|
+
### Code Refactoring
|
|
18
|
+
|
|
19
|
+
* update `import`s & packages based on the latest changes of `nanolib` ([7652b5d](https://github.com/Alwatr/nanotron/commit/7652b5d9cc69218f2ff28bda3d0d8f52f147c6f6)) by @mohammadhonarvar
|
|
20
|
+
|
|
21
|
+
### Miscellaneous Chores
|
|
22
|
+
|
|
23
|
+
* edited README ([d707d38](https://github.com/Alwatr/nanotron/commit/d707d389e085dd320402521cb23af5805013d777)) by @ArmanAsadian
|
|
24
|
+
|
|
25
|
+
### Dependencies update
|
|
26
|
+
|
|
27
|
+
* update ([834ffcc](https://github.com/Alwatr/nanotron/commit/834ffcc8f6de96cc11a1a6fa933f948b7813cde6)) by @mohammadhonarvar
|
|
28
|
+
* update ([fab97ef](https://github.com/Alwatr/nanotron/commit/fab97ef111f2a173dccd673e84041b4a0fc6e900)) by @mohammadhonarvar
|
|
29
|
+
|
|
30
|
+
## [4.2.2](https://github.com/Alwatr/nanotron/compare/v4.2.1...v4.2.2) (2024-09-29)
|
|
31
|
+
|
|
32
|
+
### Miscellaneous Chores
|
|
33
|
+
|
|
34
|
+
* **nanotron:** change the license to AGPL-3.0 ([a1699ee](https://github.com/Alwatr/nanotron/commit/a1699ee5154577dcb85476bc14c4d9472c50143f)) by @ArmanAsadian
|
|
35
|
+
|
|
36
|
+
### Dependencies update
|
|
37
|
+
|
|
38
|
+
* bump @types/node in the development-dependencies group ([9c8d7d5](https://github.com/Alwatr/nanotron/commit/9c8d7d518d9a5da2ea57ac2b210a8697267e6d3d)) by @dependabot[bot]
|
|
39
|
+
* update ([1c4ef63](https://github.com/Alwatr/nanotron/commit/1c4ef635fc969d4abd416aea2b954de674748da8)) by @AliMD
|
|
40
|
+
|
|
6
41
|
## [4.2.1](https://github.com/Alwatr/nanotron/compare/v4.2.0...v4.2.1) (2024-09-24)
|
|
7
42
|
|
|
8
43
|
### Dependencies update
|
package/README.md
CHANGED
|
@@ -55,14 +55,14 @@ apiServer.defineRoute({
|
|
|
55
55
|
|
|
56
56
|
## Sponsors
|
|
57
57
|
|
|
58
|
-
The following companies, organizations, and individuals support
|
|
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
|
[](https://exirstudio.com)
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
### Contributing
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
### License
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
This project is licensed under the [AGPL-3.0 License](LICENSE).
|
package/dist/main.cjs
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
/* @alwatr/nanotron v4.
|
|
2
|
-
"use strict";
|
|
1
|
+
/* @alwatr/nanotron v4.3.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.3.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 {
|
|
5
|
-
"mappings": ";
|
|
6
|
-
"names": [
|
|
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
|
}
|
package/dist/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"
|
|
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
|
-
|
|
1
|
+
/* @alwatr/nanotron v4.3.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.3.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 {
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
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.
|
|
3
|
+
"version": "4.3.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": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"require": "./dist/main.cjs"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"license": "
|
|
25
|
+
"license": "AGPL-3.0-only",
|
|
26
26
|
"files": [
|
|
27
27
|
"**/*.{js,mjs,cjs,map,d.ts,html,md}",
|
|
28
28
|
"!demo/**/*"
|
|
@@ -57,18 +57,18 @@
|
|
|
57
57
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@alwatr/crypto": "^4.
|
|
61
|
-
"@alwatr/
|
|
62
|
-
"@alwatr/nanotron-api-server": "^4.
|
|
60
|
+
"@alwatr/crypto": "^4.3.0",
|
|
61
|
+
"@alwatr/nanolib": "^1.2.0",
|
|
62
|
+
"@alwatr/nanotron-api-server": "^4.3.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@alwatr/nano-build": "^
|
|
66
|
-
"@alwatr/prettier-config": "^1.0.
|
|
67
|
-
"@alwatr/tsconfig-base": "^1.2
|
|
68
|
-
"@alwatr/type-helper": "^
|
|
69
|
-
"@types/node": "^22.
|
|
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.
|
|
71
|
+
"typescript": "^5.6.3"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "5dd04b482d18bc8160ead9003f1d518512a62a8e"
|
|
74
74
|
}
|