tina4-nodejs 3.13.95 → 3.13.96
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/CLAUDE.md +1 -2
- package/package.json +2 -1
- package/packages/cli/dist/bin.js +681 -994
- package/packages/core/dist/index.js +561 -875
- package/packages/core/public/css/tina4.min.css +1 -1
- package/packages/core/src/index.ts +1 -3
- package/packages/core/src/messenger.ts +288 -96
- package/packages/core/src/request.ts +28 -7
- package/packages/core/src/server.ts +135 -7
- package/packages/orm/dist/index.js +612 -926
- package/packages/orm/src/autoCrud.ts +12 -10
- package/packages/orm/src/database.ts +62 -58
- package/packages/orm/src/databaseResult.ts +44 -73
- package/packages/orm/src/index.ts +0 -3
- package/packages/orm/src/migration.ts +26 -8
- package/packages/orm/src/model.ts +4 -0
- package/packages/orm/src/queryBuilder.ts +12 -5
- package/packages/orm/src/types.ts +7 -74
- package/packages/swagger/dist/index.js +78 -20
- package/packages/swagger/src/generator.ts +172 -29
- package/types/core/src/index.d.ts +1 -3
- package/types/core/src/messenger.d.ts +45 -4
- package/types/core/src/server.d.ts +0 -4
- package/types/orm/src/database.d.ts +34 -30
- package/types/orm/src/databaseResult.d.ts +26 -36
- package/types/orm/src/index.d.ts +1 -2
- package/types/orm/src/migration.d.ts +4 -3
- package/types/orm/src/types.d.ts +7 -34
- package/packages/core/src/scss.ts +0 -623
- package/types/core/src/scss.d.ts +0 -19
package/CLAUDE.md
CHANGED
|
@@ -34,7 +34,6 @@ tina4-nodejs/
|
|
|
34
34
|
messenger.ts # Messaging system
|
|
35
35
|
queue.ts # Queue system
|
|
36
36
|
rateLimiter.ts # Rate limiting middleware
|
|
37
|
-
scss.ts # SCSS compilation
|
|
38
37
|
service.ts # Service layer helpers
|
|
39
38
|
session.ts # Session management
|
|
40
39
|
testing.ts # Inline testing framework (attach tests to functions)
|
|
@@ -132,7 +131,7 @@ The HTTP foundation. Handles request/response lifecycle, route matching, middlew
|
|
|
132
131
|
- `rateLimiter.ts` — Rate limiting middleware
|
|
133
132
|
- `dotenv.ts` — `.env` file loading
|
|
134
133
|
- `health.ts` — Health check endpoint
|
|
135
|
-
- `
|
|
134
|
+
- SCSS compilation is owned by the `tina4` Rust CLI (grass), not the framework
|
|
136
135
|
- `messenger.ts` — Messaging system
|
|
137
136
|
- `service.ts` — Service layer helpers
|
|
138
137
|
- `wsdl.ts` — WSDL / SOAP support. **Hardening:** a SOAP message containing a `<!DOCTYPE>` is rejected with a `Client` fault ("DOCTYPE declarations are not allowed in SOAP messages") BEFORE the body is parsed and the operation never runs — SOAP 1.1 forbids DTDs and this closes the XML entity-expansion (billion-laughs) / external-entity (XXE) surface (defence in depth — the hand-rolled parser is already immune). `convertValue` for an `int`/`float`/`integer`/`double`/`number` param throws on a non-numeric value (matching Python's `int()`/`float()` raise) so it becomes a `Server` fault instead of a silent `NaN`. An operation that throws is logged via `Log.error`; the real cause reaches the client **only** under `TINA4_DEBUG` (`isDebugMode()`), else a generic `Internal server error`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tina4-nodejs",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.96",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tina4 for Node.js/TypeScript - 54 built-in features, zero dependencies",
|
|
6
6
|
"keywords": [
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
"redis": "^4.7.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
+
"@apidevtools/swagger-parser": "^12.1.0",
|
|
97
98
|
"@types/node": "^22.10.0",
|
|
98
99
|
"@types/pg": "^8.20.0",
|
|
99
100
|
"esbuild": "^0.24.0",
|