xml-disassembler 1.10.10 → 1.10.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/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@
5
5
 
6
6
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
7
7
 
8
+ ## [1.10.12](https://github.com/mcarvin8/xml-disassembler/compare/v1.10.11...v1.10.12) (2025-05-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * merge build and parse functions ([db7fce3](https://github.com/mcarvin8/xml-disassembler/commit/db7fce3989b7c7d243195663034aef12f5291b79))
14
+ * validate strategy is supported when disassembling ([dc944cc](https://github.com/mcarvin8/xml-disassembler/commit/dc944ccab53acdf4620c787403b4ba0175b21ff0))
15
+
16
+ ## [1.10.11](https://github.com/mcarvin8/xml-disassembler/compare/v1.10.10...v1.10.11) (2025-05-19)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * merge build disassemble file functions ([78c4c24](https://github.com/mcarvin8/xml-disassembler/commit/78c4c249a22dfe81aa598b072e06a84441469540))
22
+
8
23
  ## [1.10.10](https://github.com/mcarvin8/xml-disassembler/compare/v1.10.9...v1.10.10) (2025-05-18)
9
24
 
10
25
 
package/README.md CHANGED
@@ -77,15 +77,15 @@ await handler.disassemble({
77
77
  });
78
78
  ```
79
79
 
80
- | Option | Description |
81
- |--------------------|--------------------------------------------------------------------------|
82
- | `filePath` | Path to the XML file or directory |
83
- | `uniqueIdElements` | Comma-separated list of UID elements for naming nested files |
84
- | `prePurge` | Delete previous disassembly output before running |
85
- | `postPurge` | Delete the original XML after disassembly |
86
- | `ignorePath` | Path to the ignore file |
87
- | `format` | Output format: `xml`, `ini`, `json`, `json5`, `toml`, `yaml` |
88
- | `strategy` | Disassembly strategy: `unique-id` or `grouped-by-tag` |
80
+ | Option | Description |
81
+ | ------------------ | -------------------------------------------------------------------------------------- |
82
+ | `filePath` | Path to the XML file or directory |
83
+ | `uniqueIdElements` | Comma-separated list of UID elements for naming nested files |
84
+ | `prePurge` | Delete previous disassembly output before running (`true` or `false`, default `false`) |
85
+ | `postPurge` | Delete the original XML after disassembly (`true` or `false`, default `false`) |
86
+ | `ignorePath` | Path to the ignore file (default `.xmldisassemblerignore`) |
87
+ | `format` | Output format: `xml`, `ini`, `json`, `json5`, `toml`, `yaml` |
88
+ | `strategy` | Disassembly strategy: `unique-id` or `grouped-by-tag` |
89
89
 
90
90
  ---
91
91
 
@@ -101,7 +101,7 @@ Each nested element is written to a separate file based on its unique identifier
101
101
 
102
102
  **Example Outputs**
103
103
 
104
- | Format | UID Example | Hash Example |
104
+ | Format | UID Example | Hash Example |
105
105
  | --------- | ------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
106
106
  | **XML** | ![XML UID](https://raw.githubusercontent.com/mcarvin8/xml-disassembler/main/.github/images/disassembled.png)<br> | ![XML Hash](https://raw.githubusercontent.com/mcarvin8/xml-disassembler/main/.github/images/disassembled-hashes.png)<br> |
107
107
  | **YAML** | ![YAML UID](https://raw.githubusercontent.com/mcarvin8/xml-disassembler/main/.github/images/disassembled-yaml.png)<br> | ![YAML Hash](https://raw.githubusercontent.com/mcarvin8/xml-disassembler/main/.github/images/disassembled-hashes-yaml.png)<br> |
@@ -118,7 +118,7 @@ Groups all nested elements by tag into a single file. Leaf elements still go int
118
118
 
119
119
  **Example Outputs**
120
120
 
121
- | Format | Grouped by Tag Example |
121
+ | Format | Grouped by Tag Example |
122
122
  | --------- | ----------------------------------------------------------------------------------------------------------------------------- |
123
123
  | **XML** | ![XML tag](https://raw.githubusercontent.com/mcarvin8/xml-disassembler/main/.github/images/disassembled-tags.png)<br> |
124
124
  | **YAML** | ![YAML tag](https://raw.githubusercontent.com/mcarvin8/xml-disassembler/main/.github/images/disassembled-tags-yaml.png)<br> |
@@ -142,11 +142,11 @@ await handler.reassemble({
142
142
  });
143
143
  ```
144
144
 
145
- | Option | Description |
146
- |------------------|----------------------------------------------------------|
147
- | `filePath` | Directory containing disassembled files to reassemble |
148
- | `fileExtension` | Extension for the output XML file (default: `.xml`) |
149
- | `postPurge` | Delete disassembled files after successful reassembly |
145
+ | Option | Description |
146
+ | --------------- | ------------------------------------------------------------------------------------------ |
147
+ | `filePath` | Directory containing disassembled files to reassemble |
148
+ | `fileExtension` | Extension for the output XML file (default: `.xml`) |
149
+ | `postPurge` | Delete disassembled files after successful reassembly (`true` or `false`, default `false`) |
150
150
 
151
151
  ---
152
152
 
@@ -158,9 +158,9 @@ See [`sf-decomposer`](https://github.com/mcarvin8/sf-decomposer) for a Salesforc
158
158
 
159
159
  ## Ignore File
160
160
 
161
- Create an ignore file (`.xmldisassemblerignore` by default) to exclude XMLs from disassembly.
161
+ Create an ignore file, similar to a `.gitignore`, to exclude XMLs from disassembly.
162
162
 
163
- > uses [`node-ignore`](https://github.com/kaelzhang/node-ignore) (follows [.gitignore spec 2.22.1](https://git-scm.com/docs/gitignore))
163
+ > uses [`node-ignore`](https://github.com/kaelzhang/node-ignore)
164
164
 
165
165
  ---
166
166