fastify-hl7 2.2.0 → 3.1.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/README.md +30 -29
- package/lib/cjs/class/hL7Client.js +32 -27
- package/lib/cjs/class/hL7Server.js +8 -8
- package/lib/cjs/errors.js +2 -2
- package/lib/cjs/index.js +24 -22
- package/lib/cjs/validation.js +1 -1
- package/lib/esm/api.d.ts +5 -5
- package/lib/esm/api.js +3 -3
- package/lib/esm/class/hL7Client.d.ts +9 -9
- package/lib/esm/class/hL7Client.js +34 -29
- package/lib/esm/class/hL7Server.d.ts +1 -1
- package/lib/esm/class/hL7Server.js +10 -10
- package/lib/esm/decorate.d.ts +2 -2
- package/lib/esm/errors.js +3 -3
- package/lib/esm/index.d.ts +2 -2
- package/lib/esm/index.js +31 -29
- package/lib/esm/types.d.ts +6 -6
- package/lib/esm/validation.d.ts +1 -1
- package/lib/esm/validation.js +1 -1
- package/lib/types/api.d.ts +5 -5
- package/lib/types/class/hL7Client.d.ts +9 -9
- package/lib/types/class/hL7Server.d.ts +1 -1
- package/lib/types/decorate.d.ts +2 -2
- package/lib/types/index.d.ts +2 -2
- package/lib/types/types.d.ts +6 -6
- package/lib/types/validation.d.ts +1 -1
- package/package.json +31 -30
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fastify-hl7",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "A Fastify HL7 Plugin Developed in Pure TypeScript.",
|
|
5
5
|
"module": "./lib/esm/index.js",
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -14,18 +14,22 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
|
-
"lib/"
|
|
17
|
+
"lib/",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE"
|
|
18
20
|
],
|
|
19
21
|
"engines": {
|
|
20
|
-
"node": ">=20.
|
|
22
|
+
"node": ">=20.15.0"
|
|
21
23
|
},
|
|
22
24
|
"scripts": {
|
|
23
|
-
"clean": "rm -rf
|
|
25
|
+
"clean": "rm -rf coverage docs lib temp",
|
|
24
26
|
"build": "tsc -p src/tsconfig.esm.json && tsc -p src/tsconfig.cjs.json && tsc -p src/tsconfig.types.json && ./bin/build-types.sh",
|
|
25
27
|
"build:watch": "tsc -p src/tsconfig.esm.json -w",
|
|
26
|
-
"
|
|
27
|
-
"lint": "npmPkgJsonLint .
|
|
28
|
-
"
|
|
28
|
+
"build:watch:cjs": "tsc -p src/tsconfig.cjs.json -w",
|
|
29
|
+
"npm:lint": "npmPkgJsonLint .",
|
|
30
|
+
"format": "prettier --write 'README.md' 'src/**/*.ts' '__tests__/**/*.ts'",
|
|
31
|
+
"lint": "npm run npm:lint && eslint | snazzy",
|
|
32
|
+
"lint:fix": "npm run npm:lint && eslint --fix | snazzy",
|
|
29
33
|
"pack": "npm pack",
|
|
30
34
|
"prepublishOnly": "npm run clean && npm run build && npm run pack",
|
|
31
35
|
"test": "vitest run",
|
|
@@ -34,8 +38,6 @@
|
|
|
34
38
|
"test:coverage": "vitest --coverage",
|
|
35
39
|
"typedoc": "typedoc",
|
|
36
40
|
"typedoc:watch": "typedoc -watch",
|
|
37
|
-
"semantic-release": "semantic-release",
|
|
38
|
-
"semantic-release:dry-run": "semantic-release --dry-run",
|
|
39
41
|
"update": "npx npm-check-updates -u --enginesNode && npm run update:post-update",
|
|
40
42
|
"update:post-update": "npm install && npm run test"
|
|
41
43
|
},
|
|
@@ -58,36 +60,35 @@
|
|
|
58
60
|
"homepage": "https://github.com/Bugs5382/fastify-hl7#readme",
|
|
59
61
|
"dependencies": {
|
|
60
62
|
"@fastify/error": "^4.0.0",
|
|
61
|
-
"fastify-plugin": "^
|
|
62
|
-
"node-hl7-client": "^
|
|
63
|
-
"node-hl7-server": "^
|
|
63
|
+
"fastify-plugin": "^5.0.1",
|
|
64
|
+
"node-hl7-client": "^3.0.0",
|
|
65
|
+
"node-hl7-server": "^3.1.0"
|
|
64
66
|
},
|
|
65
67
|
"devDependencies": {
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@semantic-release/release-notes-generator": "^12.1.0",
|
|
70
|
-
"@the-rabbit-hole/semantic-release-config": "^1.5.0",
|
|
71
|
-
"@types/node": "^20.14.8",
|
|
72
|
-
"@types/randomstring": "^1.3.0",
|
|
68
|
+
"@eslint/js": "^9.15.0",
|
|
69
|
+
"@types/eslint__js": "^8.42.3",
|
|
70
|
+
"@types/node": "^22.9.0",
|
|
73
71
|
"@types/tcp-port-used": "^1.0.4",
|
|
74
|
-
"@typescript-eslint/
|
|
75
|
-
"@
|
|
76
|
-
"@vitest/
|
|
77
|
-
"
|
|
78
|
-
"
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
|
73
|
+
"@typescript-eslint/parser": "^8.14.0",
|
|
74
|
+
"@vitest/coverage-v8": "^2.1.5",
|
|
75
|
+
"@vitest/ui": "^2.1.5",
|
|
76
|
+
"eslint": "^9.14.0",
|
|
77
|
+
"eslint-config-prettier": "^9.1.0",
|
|
78
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
79
|
+
"fastify": "^5.1.0",
|
|
80
|
+
"npm-check-updates": "^17.1.11",
|
|
79
81
|
"npm-package-json-lint": "^8.0.0",
|
|
80
82
|
"portfinder": "^1.0.32",
|
|
81
83
|
"pre-commit": "^1.2.2",
|
|
82
|
-
"semantic-release": "^22.0.12",
|
|
83
84
|
"snazzy": "^9.0.0",
|
|
84
85
|
"tcp-port-used": "^1.0.2",
|
|
85
86
|
"ts-node": "^10.9.2",
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"typescript": "^
|
|
90
|
-
"vitest": "^1.
|
|
87
|
+
"tsd": "^0.31.2",
|
|
88
|
+
"typedoc": "^0.26.11",
|
|
89
|
+
"typescript": "^5.6.3",
|
|
90
|
+
"typescript-eslint": "^8.14.0",
|
|
91
|
+
"vitest": "^2.1.5"
|
|
91
92
|
},
|
|
92
93
|
"precommit": [
|
|
93
94
|
"lint:fix",
|