@cosyte/mllp 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosyte/mllp",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "MLLP transport for HL7 v2 in Node.js and TypeScript: client and server, framing, ACK correlation, auto-reconnect, TLS, and an in-memory transport for tests.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -25,7 +25,9 @@
25
25
  "interoperability",
26
26
  "tcp",
27
27
  "tls",
28
- "typescript"
28
+ "typescript",
29
+ "client",
30
+ "server"
29
31
  ],
30
32
  "files": [
31
33
  "dist",
@@ -101,6 +103,7 @@
101
103
  "devDependencies": {
102
104
  "@arethetypeswrong/cli": "0.18.5",
103
105
  "@changesets/cli": "2.31.0",
106
+ "@cosyte/bench": "^0.1.1",
104
107
  "@cosyte/eslint-config": "^0.1.4",
105
108
  "@cosyte/hl7": "^0.1.0",
106
109
  "@cosyte/prettier-config": "^0.1",
@@ -143,8 +146,13 @@
143
146
  "test": "cosyte-process test",
144
147
  "test:watch": "cosyte-process test --watch",
145
148
  "test:coverage": "cosyte-process test --coverage",
149
+ "test:perf": "vitest run --config vitest.perf.config.ts",
146
150
  "fuzz": "vitest run test/property/fuzz.property.test.ts test/property/transport-fuzz.property.test.ts test/property/ack-fuzz.property.test.ts",
147
151
  "examples": "tsx scripts/run-examples.ts",
152
+ "bench:reading": "cosyte-bench run --suite bench/mllp.bench.mjs --target dist/index.mjs",
153
+ "bench:compare": "cosyte-bench compare --suite bench/mllp.bench.mjs",
154
+ "bench:profile": "node bench/profile.mjs",
155
+ "bench:socket": "node --expose-gc bench/socket.mjs",
148
156
  "certs:gen": "node scripts/generate-test-certs.mjs",
149
157
  "clean": "rm -rf dist coverage",
150
158
  "attw": "cosyte-attw",