@rethinkhealth/hl7v2-lint-required-message-header 0.2.10 → 0.2.12
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 +7 -3
- package/dist/index.d.ts +1 -4
- package/dist/index.d.ts.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -114,7 +114,7 @@ This plugin only transforms AST nodes and does not execute code. Ensure you trus
|
|
|
114
114
|
|
|
115
115
|
## Contributing
|
|
116
116
|
|
|
117
|
-
We welcome contributions! Please see our [Contributing Guide]
|
|
117
|
+
We welcome contributions! Please see our [Contributing Guide][github-contributing] for more details.
|
|
118
118
|
|
|
119
119
|
1. Fork the repository
|
|
120
120
|
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
@@ -124,13 +124,17 @@ We welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING
|
|
|
124
124
|
|
|
125
125
|
## Code of Conduct
|
|
126
126
|
|
|
127
|
-
To ensure a welcoming and positive environment, we have a [Code of Conduct]
|
|
127
|
+
To ensure a welcoming and positive environment, we have a [Code of Conduct][github-code-of-conduct] that all contributors and participants are expected to adhere to.
|
|
128
128
|
|
|
129
129
|
## License
|
|
130
130
|
|
|
131
131
|
Copyright 2025 Rethink Health, SUARL. All rights reserved.
|
|
132
132
|
|
|
133
|
-
This program is licensed to you under the terms of the [MIT License](https://opensource.org/licenses/MIT). This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [LICENSE]
|
|
133
|
+
This program is licensed to you under the terms of the [MIT License](https://opensource.org/licenses/MIT). This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [LICENSE][github-license] file for details.
|
|
134
|
+
|
|
135
|
+
[github-code-of-conduct]: https://github.com/rethinkhealth/hl7v2/blob/main/CODE_OF_CONDUCT.md
|
|
136
|
+
[github-license]: https://github.com/rethinkhealth/hl7v2/blob/main/LICENSE
|
|
137
|
+
[github-contributing]: https://github.com/rethinkhealth/hl7v2/blob/main/CONTRIBUTING.md
|
|
134
138
|
|
|
135
139
|
[github-unified]: https://github.com/unifiedjs/unified
|
|
136
140
|
[github-hl7v2-parser]: https://github.com/rethinkhealth/hl7v2/tree/main/packages/hl7v2-parser
|
package/dist/index.d.ts
CHANGED
|
@@ -5,9 +5,6 @@ import type { Node } from '@rethinkhealth/hl7v2-ast';
|
|
|
5
5
|
* This rule is useful for ensuring that all messages start with a message
|
|
6
6
|
* header segment.
|
|
7
7
|
*/
|
|
8
|
-
declare const hl7v2LintSegmentRequiredMessageHeader:
|
|
9
|
-
(config?: import("node_modules/unified-lint-rule/lib").Label | import("node_modules/unified-lint-rule/lib").Severity | [level: import("node_modules/unified-lint-rule/lib").Label | import("node_modules/unified-lint-rule/lib").Severity, option?: undefined] | undefined): ((tree: Node, file: import("node_modules/unified-lint-rule/lib").VFile, next: import("unified").TransformCallback<Node>) => undefined) | undefined;
|
|
10
|
-
readonly name: string;
|
|
11
|
-
};
|
|
8
|
+
declare const hl7v2LintSegmentRequiredMessageHeader: import("unified-lint-rule").Plugin<Node, undefined>;
|
|
12
9
|
export default hl7v2LintSegmentRequiredMessageHeader;
|
|
13
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAiB,MAAM,0BAA0B,CAAC;AAIpE;;;;;GAKG;AACH,QAAA,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAiB,MAAM,0BAA0B,CAAC;AAIpE;;;;;GAKG;AACH,QAAA,MAAM,qCAAqC,qDA2B1C,CAAC;AAEF,eAAe,qCAAqC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rethinkhealth/hl7v2-lint-required-message-header",
|
|
3
3
|
"description": "hl7v2-lint rule to warn when message header segment is missing",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.12",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Melek Somai",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"unified": "11.0.1",
|
|
20
|
-
"unified-lint-rule": "3.0.
|
|
20
|
+
"unified-lint-rule": "3.0.1",
|
|
21
21
|
"unist-util-visit-parents": "6.0.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/node": "
|
|
24
|
+
"@types/node": "24.3.0",
|
|
25
25
|
"@types/unist": "^3.0.3",
|
|
26
26
|
"@vitest/coverage-c8": "^0.33.0",
|
|
27
27
|
"@vitest/coverage-v8": "^3.2.4",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"typescript": "^5.8.3",
|
|
30
30
|
"vfile-reporter": "^8.1.1",
|
|
31
31
|
"vitest": "^3.2.4",
|
|
32
|
-
"@rethinkhealth/hl7v2": "0.2.
|
|
33
|
-
"@rethinkhealth/hl7v2-ast": "0.2.10",
|
|
32
|
+
"@rethinkhealth/hl7v2": "0.2.12",
|
|
34
33
|
"@rethinkhealth/testing": "0.0.1",
|
|
35
|
-
"@rethinkhealth/tsconfig": "0.0.1"
|
|
34
|
+
"@rethinkhealth/tsconfig": "0.0.1",
|
|
35
|
+
"@rethinkhealth/hl7v2-ast": "0.2.12"
|
|
36
36
|
},
|
|
37
37
|
"repository": "rethinkhealth/hl7v2.git",
|
|
38
38
|
"homepage": "https://www.rethinkhealth.io/hl7v2/docs",
|