@rethinkhealth/hl7v2-jsonify 0.3.2 → 0.3.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/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { hl7v2Jsonify } from "./processor";
2
2
  export { toJsonRuntime } from "./runtime";
3
3
  export type { FieldJson, GroupJson, Hl7v2JsonResult, SegmentJson, } from "./types";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { Processor } from "unified";
2
2
  export declare function hl7v2Jsonify(this: Processor): void;
3
- //# sourceMappingURL=processor.d.ts.map
package/dist/runtime.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  import type { Nodes } from "@rethinkhealth/hl7v2-ast";
2
2
  import type { Hl7v2JsonResult } from "./types";
3
3
  export declare function toJsonRuntime(root: Nodes): Hl7v2JsonResult;
4
- //# sourceMappingURL=runtime.d.ts.map
package/dist/types.d.ts CHANGED
@@ -8,4 +8,3 @@ export type GroupJson = {
8
8
  children: Array<SegmentJson | GroupJson>;
9
9
  };
10
10
  export type Hl7v2JsonResult = Array<SegmentJson | GroupJson>;
11
- //# sourceMappingURL=types.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rethinkhealth/hl7v2-jsonify",
3
3
  "description": "hl7v2 plugin to transform hl7v2 messages to a simplified JSON representation",
4
- "version": "0.3.2",
4
+ "version": "0.3.4",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Melek Somai",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "unified": "11.0.5",
20
- "@rethinkhealth/hl7v2-ast": "0.3.2"
20
+ "@rethinkhealth/hl7v2-ast": "0.3.4"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "24.10.0",
@@ -26,10 +26,13 @@
26
26
  "tsup": "8.5.0",
27
27
  "typescript": "^5.9.3",
28
28
  "vitest": "^4.0.6",
29
- "@rethinkhealth/hl7v2-builder": "0.3.2",
29
+ "@rethinkhealth/hl7v2-builder": "0.3.4",
30
30
  "@rethinkhealth/tsconfig": "0.0.1",
31
31
  "@rethinkhealth/testing": "0.0.2"
32
32
  },
33
+ "engines": {
34
+ "node": ">=18"
35
+ },
33
36
  "repository": "rethinkhealth/hl7v2.git",
34
37
  "homepage": "https://www.rethinkhealth.io/hl7v2/docs",
35
38
  "keywords": [
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,YAAY,EACV,SAAS,EACT,SAAS,EACT,eAAe,EACf,WAAW,GACZ,MAAM,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"processor.d.ts","sourceRoot":"","sources":["../src/processor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,QAc3C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAKV,KAAK,EAIN,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAGV,eAAe,EAEhB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,aAAa,CAAC,IAAI,EAAE,KAAK,GAAG,eAAe,CAa1D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,CAAC,SAAS,GAAG,SAAS,EAAE,CAAC,EAAE,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC"}