config-disassembler 1.0.0 → 1.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/CHANGELOG.md +7 -0
- package/README.md +68 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.min.umd.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/native/darwin-arm64/index.node +0 -0
- package/dist/native/darwin-x64/index.node +0 -0
- package/dist/native/linux-arm64/index.node +0 -0
- package/dist/native/linux-ia32/index.node +0 -0
- package/dist/native/linux-x64/index.node +0 -0
- package/dist/native/win32-x64/index.node +0 -0
- package/dist/typings/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@
|
|
|
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.1.0](https://github.com/mcarvin8/config-disassembler-node/compare/v1.0.0...v1.1.0) (2026-04-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* accept multiLevel as string or string[] ([#2](https://github.com/mcarvin8/config-disassembler-node/issues/2)) ([c9772f3](https://github.com/mcarvin8/config-disassembler-node/commit/c9772f368a708fa0220118209cfe6a661aa82114))
|
|
14
|
+
|
|
8
15
|
## 1.0.0 (2026-04-29)
|
|
9
16
|
|
|
10
17
|
|
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/config-disassembler)
|
|
4
4
|
[](https://raw.githubusercontent.com/mcarvin8/config-disassembler-node/main/LICENSE.md)
|
|
5
5
|
[](https://npmjs.org/package/config-disassembler)
|
|
6
|
+
[](https://codecov.io/gh/mcarvin8/config-disassembler-node)
|
|
6
7
|
|
|
7
8
|
Node.js bindings for the Rust [`config-disassembler`](https://crates.io/crates/config-disassembler) crate.
|
|
8
9
|
|
|
@@ -89,16 +90,16 @@ npm install config-disassembler
|
|
|
89
90
|
|
|
90
91
|
## Supported formats
|
|
91
92
|
|
|
92
|
-
| Format | Disassemble | Reassemble | Cross-format conversions
|
|
93
|
-
| ------ | ----------- | ---------- |
|
|
94
|
-
| XML | yes | yes | XML ↔ XML / JSON / JSON5 / YAML
|
|
95
|
-
| JSON | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON
|
|
96
|
-
| JSON5 | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON
|
|
93
|
+
| Format | Disassemble | Reassemble | Cross-format conversions |
|
|
94
|
+
| ------ | ----------- | ---------- | --------------------------------------------------------------------------------- |
|
|
95
|
+
| XML | yes | yes | XML ↔ XML / JSON / JSON5 / YAML |
|
|
96
|
+
| JSON | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON |
|
|
97
|
+
| JSON5 | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON |
|
|
97
98
|
| JSONC | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON (comments preserved on JSONC <-> JSONC) |
|
|
98
|
-
| YAML | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON
|
|
99
|
-
| TOON | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON
|
|
100
|
-
| TOML | yes | yes | TOML <-> TOML only
|
|
101
|
-
| INI | yes | yes | INI <-> INI only
|
|
99
|
+
| YAML | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON |
|
|
100
|
+
| TOON | yes | yes | within JSON / JSON5 / JSONC / YAML / TOON |
|
|
101
|
+
| TOML | yes | yes | TOML <-> TOML only |
|
|
102
|
+
| INI | yes | yes | INI <-> INI only |
|
|
102
103
|
|
|
103
104
|
See [TOML and INI isolation](#toml-and-ini-isolation) for the rationale on the same-format-only restriction.
|
|
104
105
|
|
|
@@ -126,17 +127,17 @@ handler.disassemble({
|
|
|
126
127
|
});
|
|
127
128
|
```
|
|
128
129
|
|
|
129
|
-
| Option | Description
|
|
130
|
-
| ------------------ |
|
|
131
|
-
| `filePath` | Path to the XML file or directory to disassemble.
|
|
132
|
-
| `uniqueIdElements` | Comma-separated element names used to derive filenames for nested elements.
|
|
133
|
-
| `multiLevel` | Optional.
|
|
134
|
-
| `splitTags` | Optional. With `strategy: "grouped-by-tag"`: split or group nested tags. See [Split tags](#split-tags-splittags).
|
|
135
|
-
| `prePurge` | Remove existing disassembly output before running (default: `false`).
|
|
136
|
-
| `postPurge` | Remove the source XML after disassembly (default: `false`).
|
|
137
|
-
| `ignorePath` | Path to the ignore file (default: `.cdignore`).
|
|
138
|
-
| `format` | Output format: `xml`, `json`, `json5`, `yaml`.
|
|
139
|
-
| `strategy` | `unique-id` or `grouped-by-tag`.
|
|
130
|
+
| Option | Description |
|
|
131
|
+
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
132
|
+
| `filePath` | Path to the XML file or directory to disassemble. |
|
|
133
|
+
| `uniqueIdElements` | Comma-separated element names used to derive filenames for nested elements. |
|
|
134
|
+
| `multiLevel` | Optional. One or more multi-level specs: `file_pattern:root_to_strip:unique_id_elements`. Pass a `string` (single rule) or a `string[]` for several rules; semicolon-separated strings are also accepted. See [Multi-level disassembly](#multi-level-disassembly). |
|
|
135
|
+
| `splitTags` | Optional. With `strategy: "grouped-by-tag"`: split or group nested tags. See [Split tags](#split-tags-splittags). |
|
|
136
|
+
| `prePurge` | Remove existing disassembly output before running (default: `false`). |
|
|
137
|
+
| `postPurge` | Remove the source XML after disassembly (default: `false`). |
|
|
138
|
+
| `ignorePath` | Path to the ignore file (default: `.cdignore`). |
|
|
139
|
+
| `format` | Output format: `xml`, `json`, `json5`, `yaml`. |
|
|
140
|
+
| `strategy` | `unique-id` or `grouped-by-tag`. |
|
|
140
141
|
|
|
141
142
|
### Disassembly strategies
|
|
142
143
|
|
|
@@ -207,6 +208,28 @@ A `.multi_level.json` config is written in the disassembly root so reassembly kn
|
|
|
207
208
|
|
|
208
209
|
**Caveat:** Multi-level reassembly removes disassembled directories after reassembling each level, even when you do not pass `postPurge`. This is required so the next level can merge the reassembled XML files.
|
|
209
210
|
|
|
211
|
+
#### Multiple multi-level rules
|
|
212
|
+
|
|
213
|
+
If a single XML file has more than one deeply-nested repeatable block, pass several specs in one `disassemble` call. Each rule is applied independently and persisted to `.multi_level.json` so reassembly replays them all in order. Use a `string[]` (preferred for clarity) or a single `;`-separated string:
|
|
214
|
+
|
|
215
|
+
```typescript
|
|
216
|
+
disassemble.disassemble({
|
|
217
|
+
filePath: "MyType.bigFile-meta.xml",
|
|
218
|
+
uniqueIdElements: "fullName,name,id",
|
|
219
|
+
multiLevel: ["sectionA:sectionA:id", "sectionB:sectionB:name"],
|
|
220
|
+
postPurge: true,
|
|
221
|
+
});
|
|
222
|
+
|
|
223
|
+
disassemble.disassemble({
|
|
224
|
+
filePath: "MyType.bigFile-meta.xml",
|
|
225
|
+
uniqueIdElements: "fullName,name,id",
|
|
226
|
+
multiLevel: "sectionA:sectionA:id;sectionB:sectionB:name",
|
|
227
|
+
postPurge: true,
|
|
228
|
+
});
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
> Sequential `disassemble` calls (one per rule, with `postPurge: false` to preserve prior output) are **not** equivalent — each call rewrites `.multi_level.json` and reorganises the on-disk wrappers, so only the last rule survives. Always pass every rule for a given file in a single call.
|
|
232
|
+
|
|
210
233
|
### Reassembling XML
|
|
211
234
|
|
|
212
235
|
```typescript
|
|
@@ -265,16 +288,16 @@ handler.disassemble({
|
|
|
265
288
|
});
|
|
266
289
|
```
|
|
267
290
|
|
|
268
|
-
| Option | Description
|
|
269
|
-
| -------------- |
|
|
270
|
-
| `input` | Path to a file or directory to disassemble.
|
|
271
|
-
| `inputFormat` | Override input format. Defaults to detecting from the file extension (or each file's extension when `input` is a directory).
|
|
272
|
-
| `outputFormat` | Format used for the split files. Defaults to `inputFormat`. Restricted to the input's compatible family.
|
|
273
|
-
| `outputDir` | Directory to write split files to (single-file input only). Defaults to `<stem>` next to the input. Rejected for directory inputs.
|
|
274
|
-
| `uniqueId`
|
|
275
|
-
| `prePurge` | Remove the output directory before writing (default: `false`).
|
|
276
|
-
| `postPurge` | Delete the input file (or input directory, when empty after disassembly) after a successful run (default: `false`).
|
|
277
|
-
| `ignorePath` | `.gitignore`-style ignore file for directory walks. Defaults to `.cdignore` in the input directory.
|
|
291
|
+
| Option | Description |
|
|
292
|
+
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
293
|
+
| `input` | Path to a file or directory to disassemble. |
|
|
294
|
+
| `inputFormat` | Override input format. Defaults to detecting from the file extension (or each file's extension when `input` is a directory). |
|
|
295
|
+
| `outputFormat` | Format used for the split files. Defaults to `inputFormat`. Restricted to the input's compatible family. |
|
|
296
|
+
| `outputDir` | Directory to write split files to (single-file input only). Defaults to `<stem>` next to the input. Rejected for directory inputs. |
|
|
297
|
+
| `uniqueId` | For array roots, name files by this field on each element. Falls back to a zero-padded index when missing. |
|
|
298
|
+
| `prePurge` | Remove the output directory before writing (default: `false`). |
|
|
299
|
+
| `postPurge` | Delete the input file (or input directory, when empty after disassembly) after a successful run (default: `false`). |
|
|
300
|
+
| `ignorePath` | `.gitignore`-style ignore file for directory walks. Defaults to `.cdignore` in the input directory. |
|
|
278
301
|
|
|
279
302
|
The handler returns the path of the directory containing the split files (single-file input) or the input directory itself (directory input).
|
|
280
303
|
|
|
@@ -300,12 +323,12 @@ handler.reassemble({
|
|
|
300
323
|
});
|
|
301
324
|
```
|
|
302
325
|
|
|
303
|
-
| Option | Description
|
|
304
|
-
| -------------- |
|
|
305
|
-
| `inputDir` | Directory containing the split files and `.config-disassembler.json` sidecar.
|
|
326
|
+
| Option | Description |
|
|
327
|
+
| -------------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
328
|
+
| `inputDir` | Directory containing the split files and `.config-disassembler.json` sidecar. |
|
|
306
329
|
| `output` | Output file path. Defaults to the original source filename recorded in the metadata, or `<dirname>.<ext>` next to it. |
|
|
307
|
-
| `outputFormat` | Format to write the rebuilt file in. Defaults to the source format recorded in the metadata.
|
|
308
|
-
| `postPurge` | Remove the disassembled directory after a successful reassembly (default: `false`).
|
|
330
|
+
| `outputFormat` | Format to write the rebuilt file in. Defaults to the source format recorded in the metadata. |
|
|
331
|
+
| `postPurge` | Remove the disassembled directory after a successful reassembly (default: `false`). |
|
|
309
332
|
|
|
310
333
|
### TOML and INI isolation
|
|
311
334
|
|
|
@@ -345,6 +368,16 @@ The Rust crate uses [env_logger](https://docs.rs/env_logger). Set `RUST_LOG` to
|
|
|
345
368
|
|
|
346
369
|
The core logic is implemented in Rust ([config-disassembler](https://crates.io/crates/config-disassembler)) and exposed to Node.js via [Neon](https://neon-bindings.com). Building from source requires Rust and Node.js.
|
|
347
370
|
|
|
371
|
+
This node plugin ships with native binaries for these platforms and architectures:
|
|
372
|
+
|
|
373
|
+
| Platform | Architectures |
|
|
374
|
+
| ----------- | ---------------------------------- |
|
|
375
|
+
| **macOS** | x64 (Intel), arm64 (Apple Silicon) |
|
|
376
|
+
| **Linux** | x64, arm64, ia32 |
|
|
377
|
+
| **Windows** | x64 |
|
|
378
|
+
|
|
379
|
+
If other platforms or architectures require support, please open an [issue](https://github.com/mcarvin8/config-disassembler-node/issues).
|
|
380
|
+
|
|
348
381
|
---
|
|
349
382
|
|
|
350
383
|
## Use case
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/native-dir.ts","../src/index.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;SAUgB,gBAAgB,CAC9B,OAAe,EACf,QAAgB,EAChB,IAAY,EAAA;IAEZ,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,MAAM;AAChD,IAAA,OAAO;AACL,UAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QA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;AACD;MAOY,wBAAwB,CAAA;AACnC,IAAA,UAAU,CAAC,IAIV,EAAA;AACC,QAAA,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC;IAC9B;AACD;MAaY,4BAA4B,CAAA;AACvC,IAAA,WAAW,CAAC,IASX,EAAA;AACC,QAAA,OAAO,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC5C;AACD;MAQY,2BAA2B,CAAA;AACtC,IAAA,UAAU,CAAC,IAKV,EAAA;AACC,QAAA,OAAO,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;IAC3C;AACD;;;;;;;"}
|
package/dist/index.min.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.min.cjs","sources":["../src/index.ts","../src/native-dir.ts"],"sourcesContent":[null,null],"names":["nativeDir","baseDir","__dirname","platform","process","arch","path","basename","join","nativeAddon","require","disassemble","opts","disassembleConfig","reassemble","reassembleConfig"],"mappings":"mCAGA,MAAMA,GCQJC,EDPAC,UCQAC,EDPAC,QAAQD,SCQRE,EDPAD,QAAQC,KCSkC,SAA3BC,EAAKC,SAASN,GAEzBK,EAAKE,KAAKP,EAAS,SAAU,GAAGE,KAAYE,KAC5CC,EAAKE,KAAKP,EAAS,KAAM,OAAQ,SAAU,GAAGE,KAAYE,UAP9DJ,EACAE,EACAE,EDLF,MAAMI,EAAcC,QAAQJ,EAAKE,KAAKR,EAAW,
|
|
1
|
+
{"version":3,"file":"index.min.cjs","sources":["../src/index.ts","../src/native-dir.ts"],"sourcesContent":[null,null],"names":["nativeDir","baseDir","__dirname","platform","process","arch","path","basename","join","nativeAddon","require","disassemble","opts","disassembleConfig","reassemble","reassembleConfig"],"mappings":"mCAGA,MAAMA,GCQJC,EDPAC,UCQAC,EDPAC,QAAQD,SCQRE,EDPAD,QAAQC,KCSkC,SAA3BC,EAAKC,SAASN,GAEzBK,EAAKE,KAAKP,EAAS,SAAU,GAAGE,KAAYE,KAC5CC,EAAKE,KAAKP,EAAS,KAAM,OAAQ,SAAU,GAAGE,KAAYE,UAP9DJ,EACAE,EACAE,EDLF,MAAMI,EAAcC,QAAQJ,EAAKE,KAAKR,EAAW,0DAyE/C,WAAAW,CAAYC,GAUV,OAAOH,EAAYI,kBAAkBD,EACvC,2CA7DA,WAAAD,CAAYC,GAmBVH,EAAYE,YAAYC,EAC1B,6CAmDA,UAAAE,CAAWF,GAMT,OAAOH,EAAYM,iBAAiBH,EACtC,0CAjDA,UAAAE,CAAWF,GAKTH,EAAYK,WAAWF,EACzB"}
|
package/dist/index.min.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.min.mjs","sources":["../src/native-dir.ts","../src/index.ts"],"sourcesContent":[null,null],"names":["fileURLToPath","__dirname","path","dirname","url","nativeDir","join","platform","process","arch","nativeAddon","createRequire","DisassembleXMLFileHandler","disassemble","opts","ReassembleXMLFileHandler","reassemble","DisassembleConfigFileHandler","disassembleConfig","ReassembleConfigFileHandler","reassembleConfig"],"mappings":"mFAUgBA,MACd,MAKA,MAAAC,EAAOC,EAAAC,QAAAH,cAAAI,MACLC,EAAOH,EAAKI,OAAmB,iBAAeC,SAAM,IAAAC,QAAAC,MACpDC,EAAYC,kBAAAA,CAA+BT,EAAKI,KAAAD,EAAgB,eACpE,MAAAO,iBChBMF,EAAYG,YAAAC,EAKlB,EAuBE,MAAAC,
|
|
1
|
+
{"version":3,"file":"index.min.mjs","sources":["../src/native-dir.ts","../src/index.ts"],"sourcesContent":[null,null],"names":["fileURLToPath","__dirname","path","dirname","url","nativeDir","join","platform","process","arch","nativeAddon","createRequire","DisassembleXMLFileHandler","disassemble","opts","ReassembleXMLFileHandler","reassemble","DisassembleConfigFileHandler","disassembleConfig","ReassembleConfigFileHandler","reassembleConfig"],"mappings":"mFAUgBA,MACd,MAKA,MAAAC,EAAOC,EAAAC,QAAAH,cAAAI,MACLC,EAAOH,EAAKI,OAAmB,iBAAeC,SAAM,IAAAC,QAAAC,MACpDC,EAAYC,kBAAAA,CAA+BT,EAAKI,KAAAD,EAAgB,eACpE,MAAAO,iBChBMF,EAAYG,YAAAC,EAKlB,EAuBE,MAAAC,EAmBE,UAAAC,CAAAF,GACFJ,EAAAM,WAAAF,EACD,EAQC,MAAAG,EAKE,WAAAJ,CAAAC,GACF,OAAAJ,EAAAQ,kBAAAJ,EACD,EAcC,MAAAK,EAUE,UAAAH,CAAOF,GACT,OAAAJ,EAAAU,iBAAAN,EACD,2CAesBF,+BAAsBO,iCAAAJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.min.umd.js","sources":["../src/index.ts","../src/native-dir.ts"],"sourcesContent":[null,null],"names":["nativeDir","baseDir","__dirname","platform","process","arch","path","basename","join","nativeAddon","require","disassemble","opts","disassembleConfig","reassemble","reassembleConfig"],"mappings":"iRAGA,MAAMA,GCQJC,EDPAC,UCQAC,EDPAC,QAAQD,SCQRE,EDPAD,QAAQC,KCSkC,SAA3BC,EAAKC,SAASN,GAEzBK,EAAKE,KAAKP,EAAS,SAAU,GAAGE,KAAYE,KAC5CC,EAAKE,KAAKP,EAAS,KAAM,OAAQ,SAAU,GAAGE,KAAYE,UAP9DJ,EACAE,EACAE,EDLF,MAAMI,EAAcC,QAAQJ,EAAKE,KAAKR,EAAW,
|
|
1
|
+
{"version":3,"file":"index.min.umd.js","sources":["../src/index.ts","../src/native-dir.ts"],"sourcesContent":[null,null],"names":["nativeDir","baseDir","__dirname","platform","process","arch","path","basename","join","nativeAddon","require","disassemble","opts","disassembleConfig","reassemble","reassembleConfig"],"mappings":"iRAGA,MAAMA,GCQJC,EDPAC,UCQAC,EDPAC,QAAQD,SCQRE,EDPAD,QAAQC,KCSkC,SAA3BC,EAAKC,SAASN,GAEzBK,EAAKE,KAAKP,EAAS,SAAU,GAAGE,KAAYE,KAC5CC,EAAKE,KAAKP,EAAS,KAAM,OAAQ,SAAU,GAAGE,KAAYE,UAP9DJ,EACAE,EACAE,EDLF,MAAMI,EAAcC,QAAQJ,EAAKE,KAAKR,EAAW,oDAyE/C,WAAAW,CAAYC,GAUV,OAAOH,EAAYI,kBAAkBD,EACvC,qCA7DA,WAAAD,CAAYC,GAmBVH,EAAYE,YAAYC,EAC1B,uCAmDA,UAAAE,CAAWF,GAMT,OAAOH,EAAYM,iBAAiBH,EACtC,oCAjDA,UAAAE,CAAWF,GAKTH,EAAYK,WAAWF,EACzB"}
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../src/native-dir.ts","../src/index.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;SAUgB,gBAAgB,CAC9B,OAAe,EACf,QAAgB,EAChB,IAAY,EAAA;IAEZ,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,MAAM;AAChD,IAAA,OAAO;AACL,UAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAA,EAAG,QAAQ,CAAA,CAAA,EAAI,IAAI,EAAE;AACpD,UAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAA,EAAG,QAAQ,IAAI,IAAI,CAAA,CAAE,CAAC;AACvE;;AChBA,MAAM,SAAS,GAAG,gBAAgB,CAChC,SAAS,EACT,OAAO,CAAC,QAAQ,EAChB,OAAO,CAAC,IAAI,CACb;AACD,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;MAsBlD,yBAAyB,CAAA;AACpC,IAAA,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../src/native-dir.ts","../src/index.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;SAUgB,gBAAgB,CAC9B,OAAe,EACf,QAAgB,EAChB,IAAY,EAAA;IAEZ,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,MAAM;AAChD,IAAA,OAAO;AACL,UAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAA,EAAG,QAAQ,CAAA,CAAA,EAAI,IAAI,EAAE;AACpD,UAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAA,EAAG,QAAQ,IAAI,IAAI,CAAA,CAAE,CAAC;AACvE;;AChBA,MAAM,SAAS,GAAG,gBAAgB,CAChC,SAAS,EACT,OAAO,CAAC,QAAQ,EAChB,OAAO,CAAC,IAAI,CACb;AACD,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;MAsBlD,yBAAyB,CAAA;AACpC,IAAA,WAAW,CAAC,IAkBX,EAAA;AACC,QAAA,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC;IAC/B;AACD;MAOY,wBAAwB,CAAA;AACnC,IAAA,UAAU,CAAC,IAIV,EAAA;AACC,QAAA,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC;IAC9B;AACD;MAaY,4BAA4B,CAAA;AACvC,IAAA,WAAW,CAAC,IASX,EAAA;AACC,QAAA,OAAO,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC5C;AACD;MAQY,2BAA2B,CAAA;AACtC,IAAA,UAAU,CAAC,IAKV,EAAA;AACC,QAAA,OAAO,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;IAC3C;AACD;;;;"}
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../src/native-dir.ts","../src/index.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;;;aAUgB,gBAAgB,CAC9B,OAAe,EACf,QAAgB,EAChB,IAAY,EAAA;QAEZ,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KA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A,WAAW,CAAC,IAkBX,EAAA;IACC,QAAA,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC;QAC/B;IACD;UAOY,wBAAwB,CAAA;IACnC,IAAA,UAAU,CAAC,IAIV,EAAA;IACC,QAAA,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC;QAC9B;IACD;UAaY,4BAA4B,CAAA;IACvC,IAAA,WAAW,CAAC,IASX,EAAA;IACC,QAAA,OAAO,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC;QAC5C;IACD;UAQY,2BAA2B,CAAA;IACtC,IAAA,UAAU,CAAC,IAKV,EAAA;IACC,QAAA,OAAO,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;QAC3C;IACD;;;;;;;;;;;"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/typings/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "config-disassembler",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Disassemble configuration files (XML, JSON, JSON5, JSONC, YAML, TOON, TOML, INI) into smaller, version-control friendly pieces and reassemble them on demand. Node.js bindings for the Rust `config-disassembler` crate.",
|
|
5
5
|
"author": "Matt Carvin",
|
|
6
6
|
"license": "MIT",
|