@rethinkhealth/hl7v2-lint-segment-header-length 0.2.9 → 0.2.11

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 CHANGED
@@ -152,7 +152,7 @@ This plugin only transforms AST nodes and does not execute code. Ensure you trus
152
152
 
153
153
  ## Contributing
154
154
 
155
- We welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING.md) for more details.
155
+ We welcome contributions! Please see our [Contributing Guide][github-contributing] for more details.
156
156
 
157
157
  1. Fork the repository
158
158
  2. Create your feature branch (`git checkout -b feature/amazing-feature`)
@@ -162,13 +162,17 @@ We welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING
162
162
 
163
163
  ## Code of Conduct
164
164
 
165
- To ensure a welcoming and positive environment, we have a [Code of Conduct](../../CODE_OF_CONDUCT.md) that all contributors and participants are expected to adhere to.
165
+ 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.
166
166
 
167
167
  ## License
168
168
 
169
169
  Copyright 2025 Rethink Health, SUARL. All rights reserved.
170
170
 
171
- 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](../../LICENSE) file for details.
171
+ 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.
172
+
173
+ [github-code-of-conduct]: https://github.com/rethinkhealth/hl7v2/blob/main/CODE_OF_CONDUCT.md
174
+ [github-license]: https://github.com/rethinkhealth/hl7v2/blob/main/LICENSE
175
+ [github-contributing]: https://github.com/rethinkhealth/hl7v2/blob/main/CONTRIBUTING.md
172
176
 
173
177
  [github-unified]: https://github.com/unifiedjs/unified
174
178
  [github-hl7v2-parser]: https://github.com/rethinkhealth/hl7v2/tree/main/packages/hl7v2-parser
package/dist/index.d.ts CHANGED
@@ -4,9 +4,6 @@ import type { Node } from '@rethinkhealth/hl7v2-ast';
4
4
  *
5
5
  *
6
6
  */
7
- declare const hl7v2LintSegmentHeaderLength: {
8
- (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;
9
- readonly name: string;
10
- };
7
+ declare const hl7v2LintSegmentHeaderLength: import("unified-lint-rule").Plugin<Node, undefined>;
11
8
  export default hl7v2LintSegmentHeaderLength;
12
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,0BAA0B,CAAC;AAK9D;;;;GAIG;AACH,QAAA,MAAM,4BAA4B;;;CAiCjC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,0BAA0B,CAAC;AAK9D;;;;GAIG;AACH,QAAA,MAAM,4BAA4B,qDAiCjC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rethinkhealth/hl7v2-lint-segment-header-length",
3
3
  "description": "hl7v2-lint rule to warn when segment header length is invalid",
4
- "version": "0.2.9",
4
+ "version": "0.2.11",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Melek Somai",
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "pluralize": "8.0.0",
20
20
  "unified": "11.0.1",
21
- "unified-lint-rule": "3.0.0",
21
+ "unified-lint-rule": "3.0.1",
22
22
  "unist-util-visit-parents": "6.0.1"
23
23
  },
24
24
  "devDependencies": {
@@ -31,8 +31,8 @@
31
31
  "typescript": "^5.8.3",
32
32
  "vfile-reporter": "^8.1.1",
33
33
  "vitest": "^3.2.4",
34
- "@rethinkhealth/hl7v2": "0.2.9",
35
- "@rethinkhealth/hl7v2-ast": "0.2.9",
34
+ "@rethinkhealth/hl7v2": "0.2.11",
35
+ "@rethinkhealth/hl7v2-ast": "0.2.11",
36
36
  "@rethinkhealth/testing": "0.0.1",
37
37
  "@rethinkhealth/tsconfig": "0.0.1"
38
38
  },