@decimalturn/toml-patch 3.0.3 → 3.0.5
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 +27 -641
- package/dist/toml-patch.d.ts +5 -0
- package/dist/toml-patch.js +34 -23
- package/package.json +5 -4
- package/CHANGELOG.md +0 -400
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decimalturn/toml-patch",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"contributors": [
|
|
5
5
|
"Tim Hall <tim.hall.engr@gmail.com>",
|
|
6
6
|
"Martin Leduc <31558169+DecimalTurn@users.noreply.github.com>"
|
|
@@ -69,8 +69,7 @@
|
|
|
69
69
|
"printWidth": 100
|
|
70
70
|
},
|
|
71
71
|
"files": [
|
|
72
|
-
"dist/"
|
|
73
|
-
"CHANGELOG.md"
|
|
72
|
+
"dist/"
|
|
74
73
|
],
|
|
75
74
|
"json-comments": {
|
|
76
75
|
"tips": "Please install the JsonComments plugin to enable commenting functionality for JSON files, see: https://github.com/zhangfisher/json_comments_extension",
|
|
@@ -81,15 +80,17 @@
|
|
|
81
80
|
"scripts": {
|
|
82
81
|
"dev": "pnpm run typecheck && pnpm run build && npm-run-all2 --parallel test:all specs",
|
|
83
82
|
"test": "vitest run",
|
|
83
|
+
"test:js": "vitest run --config vitest.js.config.ts",
|
|
84
84
|
"test:watch": "vitest",
|
|
85
85
|
"test:go": "./run-toml-test.bash",
|
|
86
86
|
"test:playwright": "playwright test",
|
|
87
87
|
"playwright:install": "playwright install --with-deps chromium",
|
|
88
|
-
"test:all": "pnpm run test && pnpm run test:playwright",
|
|
88
|
+
"test:all": "pnpm run test && pnpm run test:js && pnpm run test:playwright",
|
|
89
89
|
"typecheck": "tsc",
|
|
90
90
|
"specs": "vitest run --config vitest.specs.config.ts",
|
|
91
91
|
"benchmark": "npm-run-all2 bench:*",
|
|
92
92
|
"benchmark:ci": "npm-run-all2 \"bench:* -- --sample --versions latest\"",
|
|
93
|
+
"fuzz": "npx -y tsx scripts/fuzz-run.ts --seed 0 --to 9999 --mutations 3 --progress 100",
|
|
93
94
|
"bench:parse": "node benchmark/parse-benchmark.mjs",
|
|
94
95
|
"bench:stringify": "node benchmark/stringify-benchmark.mjs",
|
|
95
96
|
"profile": "node benchmark/profile.mjs",
|
package/CHANGELOG.md
DELETED
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [Unreleased]
|
|
9
|
-
|
|
10
|
-
## [3.0.3] - 2026-08-21
|
|
11
|
-
|
|
12
|
-
### Fixed
|
|
13
|
-
|
|
14
|
-
- Stringify: Fix extra blank lines when extracting nested inline tables via `inlineTableStart` ([#281])
|
|
15
|
-
- Patching: Fix extra blank lines after tables emptied ([#281])
|
|
16
|
-
- Patching: Fix dotted-key truncation and whitespace bugs ([#282])
|
|
17
|
-
- Patching: Fixing 54+ patching bugs discovered with fuzzing harness (2M seeds) ([#288])
|
|
18
|
-
- Patching: preserve dotted-key formatting when appending array-of-tables entries after nested sub-tables ([#289])
|
|
19
|
-
- Patching: reorder dotted-key members inside array-of-tables entries when `updateOrder` is enabled ([#290])
|
|
20
|
-
|
|
21
|
-
### Changed
|
|
22
|
-
- Improve stringification performance ([#280])
|
|
23
|
-
|
|
24
|
-
## [3.0.2] - 2026-08-09
|
|
25
|
-
|
|
26
|
-
### Fixed
|
|
27
|
-
|
|
28
|
-
- Patching: add an element to an inline array of tables (`xs = [{ ... }]`) as an inline element rather than emitting a `[[xs]]` section alongside it, which defined the key twice. ([#267])
|
|
29
|
-
- Patching: match a sibling's inner trailing comma when adding an inline table to an array, instead of taking it from the array's own separator (`{ z = 0, }` beside `{ a = 1 }`). ([#267])
|
|
30
|
-
- Patching: match sibling bracket spacing when adding an inline table to an inline array (`{ z = 0 }` beside `{ a = 1 }`). ([#270])
|
|
31
|
-
- Patching: keep an implicit parent table as an empty header when its last child is removed (`[a.b]` → `{ a: {} }` now produces `[a]` instead of an empty document). Covers both table (`[a.b]`) and array-of-tables (`[[a.b]]`) cases. ([#270])
|
|
32
|
-
- Patching: pair renames one target each, so collapsing several equal-valued keys onto one no longer emits a key with an empty name. Keys sharing a value are matched in order, keeping their comments, and only the leftovers become removes or adds. ([#269])
|
|
33
|
-
- Patching: rename a `[table]` section key instead of throwing. The rename path read the key node directly, which only works for a key-value — a section wraps it in a `TableKey`. ([#269])
|
|
34
|
-
- Patching: rename a segment of a dotted section key (e.g. `[a.b]` → `[x.b]`, `[a.b]` → `[a.y]`, `[a.b.c]` → `[a.x.c]`) instead of throwing. The Rename handler now falls back to key-prefix search and handles segment-count mismatches when the target is rendered as a plain nested key. ([#269])
|
|
35
|
-
- Patching: avoid extra blank line when the first array-of-tables entry is converted to a table in-place during implicit parent materialisation. ([#271])
|
|
36
|
-
- Stringify: prevent float-to-bigint type change on round-trip. Whole-number values exceeding `Number.MAX_SAFE_INTEGER` (e.g. `743000000000000000` from TOML `743e+15`) are now always emitted with a decimal point so they stay as `number` on re-parse instead of being promoted to `bigint`. ([#273])
|
|
37
|
-
- Patching: modifying nested dotted-key values that change from a table to a scalar (e.g. `a.b.c = 1` → `a.b = 42` under `[a.b]`) no longer emits conflicting inline tables or misplaces the value. ([#274])
|
|
38
|
-
- Patching: adding a key to a nested table array element (e.g. `[[a.b]]`) no longer throws "Incompatible child type 'InlineItem'". ([#274])
|
|
39
|
-
- Patching: Move entire AOT entry + owned comments as a unit during reorder so comments follow their entries when updateOrder is enabled.
|
|
40
|
-
- Patching: tighten empty single-line inline tables and propagate to parent containers ([#276])
|
|
41
|
-
- Patching: unwrap InlineArrayItem when inserting into nested inline array ([#276])
|
|
42
|
-
- Patching: adjust commented out kv behavior to match expected behavior of comment ownership rules ([#277])
|
|
43
|
-
- Patching: ensure inline container tightening for deletions ([#278])
|
|
44
|
-
|
|
45
|
-
## [3.0.1] - 2026-08-03
|
|
46
|
-
|
|
47
|
-
### Fixed
|
|
48
|
-
|
|
49
|
-
- Parsing: reject surrogates in `\UXXXXXXXX` escapes. ([#261])
|
|
50
|
-
- Stringify/Patching: reject unpaired surrogates in string values and keys instead of emitting invalid UTF-8. ([#261])
|
|
51
|
-
- Patching: indent a new first element of a multi-line array to match its sibling rows instead of the opening bracket. ([#263])
|
|
52
|
-
- Patching: give each element its own row when inserting more than one into the same multi-line array in a single patch. ([#264])
|
|
53
|
-
- Patching: drop an array element's comment with it when the array is the value of a multi-line inline table key. ([#264])
|
|
54
|
-
- Patching: reclaim a removed section's blank separator, so deleting sections no longer accumulates blank lines. ([#265])
|
|
55
|
-
- Patching: stop reading the removal of a key whose value matches an untouched sibling as a rename onto that sibling, which emitted the key twice and produced invalid TOML. ([#262])
|
|
56
|
-
- Patching: remove an array-of-tables key entirely when it is deleted, instead of bringing it back as `key = []`. ([#266])
|
|
57
|
-
- Patching: re-materialise an emptied nested array-of-tables as `a.b = []` rather than a root key quoted `"a.b"`. ([#266])
|
|
58
|
-
|
|
59
|
-
## [3.0.0] - 2026-07-29
|
|
60
|
-
|
|
61
|
-
### Changed
|
|
62
|
-
|
|
63
|
-
- **BREAKING**: Raise minimum supported Node.js version from `>=14` to `>=16`.
|
|
64
|
-
- Patching: introducing explicit comment ownership. Comments describing a key, table, array-of-tables entry or an element inside a multi-line array or inline table now travel with it when removed or reordered via `patch()`, instead of being left behind to describe whatever ends up in that spot. See [docs/CommentOwnership.md](docs/CommentOwnership.md). ([#259])
|
|
65
|
-
- Improve stringification performance ([0e66e68])
|
|
66
|
-
|
|
67
|
-
### Added
|
|
68
|
-
|
|
69
|
-
- TomlDocument: New `parseDocument` function that parses a TOML string into a `TomlDocument`
|
|
70
|
-
- Patching: New `updateOrder` option in `TomlFormat`. When `true`, `patch()` reorders root key-values, section blocks and table-body rows to match the JS object's key order, carrying each entry's comments along. Off by default. Shapes not yet reordered are left in place and reported via `console.warn`. ([#260])
|
|
71
|
-
|
|
72
|
-
### Fixed
|
|
73
|
-
|
|
74
|
-
- Patching: Ensure all elements of nested tables are preserved when using `inlineTableStart` is 2 or higher. ([#253])
|
|
75
|
-
- Patching: prevent whitespace errors when swaping keys between tables.
|
|
76
|
-
- Patching: handle BigInt values in documents without throwing. ([#255])
|
|
77
|
-
- Patching: handle commented multiline arrays correctly when adding keys or emptying them. ([#255])
|
|
78
|
-
- Patching: fix wrong section nesting when replacing a table with a scalar value. ([#255])
|
|
79
|
-
- Patching: preserve key with inline empty array when emptying an array-of-tables. ([#255])
|
|
80
|
-
- Patching: fix `Node not found` errors on structural type replacements like nested table-to-scalar and AOT-to-scalar. ([#255])
|
|
81
|
-
- Patching: fix remaining structural type replacement bugs — offset corruption when removing multiple sibling tables/AOTs, outer key loss when replacing a table/AOT with an inline object, and errors converting an array-of-tables to a plain array.
|
|
82
|
-
- Patching: preserve `+nan` / `-nan` sign through parse and round-trip. ([#255])
|
|
83
|
-
- Patching: keep a regenerated root key at root level when a section header survives alongside it — emptying an array-of-tables appended the key past the header, which silently reparented it into that section. ([#260])
|
|
84
|
-
|
|
85
|
-
## [2.1.0] - 2026-07-21
|
|
86
|
-
|
|
87
|
-
### Added
|
|
88
|
-
|
|
89
|
-
- Parsing: New `temporal` option in `ParseOptions`. When `true`, TOML date/time values are returned as [Temporal](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Temporal) objects (`Temporal.PlainDate`, `Temporal.PlainTime`, `Temporal.PlainDateTime`, `Temporal.ZonedDateTime`) instead of custom `Date` subclasses.
|
|
90
|
-
- Stringify: Auto-detect Temporal objects in the input JS and serialize them to the correct TOML date/time type. Note that `ZonedDateTime` with IANA timezone annotations will throws an error (TOML only supports numerical offsets).
|
|
91
|
-
|
|
92
|
-
## [2.0.1] - 2026-07-19
|
|
93
|
-
|
|
94
|
-
### Fixed
|
|
95
|
-
- Patching: prevent error during implicit intermediate key/table removal for dotted table keys
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
## [2.0.0] - 2026-05-31
|
|
99
|
-
|
|
100
|
-
### Changed
|
|
101
|
-
|
|
102
|
-
- Build: Update TypeScript `target` and `lib` to `es2025`.
|
|
103
|
-
- **BREAKING**: Raise minimum supported Node.js version from `>=12` to `>=14`.
|
|
104
|
-
|
|
105
|
-
## [1.3.0] - 2026-05-10
|
|
106
|
-
|
|
107
|
-
### Added
|
|
108
|
-
|
|
109
|
-
- Formatting: Add `leadingBom` option to `TomlFormat` to preserve or add UTF-8 BOM (byte order mark) on output. This option is auto-detected from input strings and maintained through patch, stringify, and document update operations ([#198]).
|
|
110
|
-
|
|
111
|
-
## [1.2.2] - 2026-05-08
|
|
112
|
-
|
|
113
|
-
### Fixed
|
|
114
|
-
|
|
115
|
-
- Parsing: Strip leading UTF-8 BOM (byte order mark) from input strings and byte buffers ([#189]).
|
|
116
|
-
- Parsing: Reject disallowed control characters in bare tokens ([#189]).
|
|
117
|
-
- Parsing: Reject Arabic numerals and other Unicode digits in decimal integers ([#187]).
|
|
118
|
-
|
|
119
|
-
## [1.2.1] - 2026-05-05
|
|
120
|
-
|
|
121
|
-
### Fixed
|
|
122
|
-
|
|
123
|
-
- Patching: Correctly append to nested AOT (array of tables) ([#176]).
|
|
124
|
-
- Patching: Fixed `findByPath` scanning in AOT scope to continue looking at sibling entries after a partial prefix match fails ([#176]).
|
|
125
|
-
- Patching: Support replacement of a entire table section with a scalar value ([#176]).
|
|
126
|
-
|
|
127
|
-
## [1.2.0] - 2026-04-29
|
|
128
|
-
|
|
129
|
-
### Added
|
|
130
|
-
|
|
131
|
-
- Patching: Preserve trailing comments alignement when element of a row changes width ([#165]).
|
|
132
|
-
|
|
133
|
-
### Fixed
|
|
134
|
-
|
|
135
|
-
- Patching: New root-level key-values are now inserted at the top within the implicit root table scope (before the first `[table]` or `[[array]]` header) instead of being appended at the end of the document ([#171]).
|
|
136
|
-
- Patching: Ensure deleting last key of inline-table is done cleanly ([#164]).
|
|
137
|
-
- Patching: Preserving trailing comments on inline tables when deleting keys ([#164]).
|
|
138
|
-
- Patching: Support nested multiline inline-table patching inside arrays ([#164]).
|
|
139
|
-
|
|
140
|
-
## [1.1.1] - 2026-04-20
|
|
141
|
-
|
|
142
|
-
### Fixed
|
|
143
|
-
|
|
144
|
-
- Patching: Preserve inline comment alignment when patching existing TOML date values with regular JavaScript `Date` objects.
|
|
145
|
-
|
|
146
|
-
## [1.1.0] - 2026-04-15
|
|
147
|
-
|
|
148
|
-
### Added
|
|
149
|
-
- Patching: Preserve preferred escape sequence representation in basic strings ([#131])
|
|
150
|
-
- Parsing: Add support for raw UTF-8 bytes (`Uint8Array`/`Buffer`) as input for `parse()` and `TomlDocument` ([#153]).
|
|
151
|
-
- Parsing: Add parsing options for `integersAsBigInt` modes (`'asNeeded'`, `true`, `false`) with `'asNeeded'` as default ([#153]).
|
|
152
|
-
- Formatting: Add `minimumDecimals` option to `TomlFormat` to control float decimal padding during serialization ([#153]).
|
|
153
|
-
- Parsing: Add support for rejection of invalid UTF-8 encoding as specified in `toml-test` ([#153]).
|
|
154
|
-
|
|
155
|
-
### Fixed
|
|
156
|
-
- Patching: Editing a multiline basic string that uses a line ending backslash now preserves the original line-break structure and indentation. When the new value cannot be faithfully represented with a line ending backslash (e.g., values with leading or trailing whitespace), the format falls back to a regular multiline basic string to preserve content integrity ([#131]).
|
|
157
|
-
- Parsing: Preserve full integer precision by returning `BigInt` for values outside the JS safe integer range. Fallback to `Number` when integer cannot be parsed as a `BigInt` ([#153] & [#158]).
|
|
158
|
-
- Patching: Fixed mixed line endings bugs ([#131]).
|
|
159
|
-
- Date formatting: Ensure UTC year output is zero-padded to 4 digits for RFC3339 compliance ([#153]).
|
|
160
|
-
- Encoding: Fix encoding issue with DEL control character ([#153] & [#131]).
|
|
161
|
-
|
|
162
|
-
## [1.0.7] - 2026-04-08
|
|
163
|
-
|
|
164
|
-
### Fixed
|
|
165
|
-
- Stringifying: `undefined` values in objects are now silently ignored, matching `JSON.stringify` behavior ([#148]).
|
|
166
|
-
- Patching: Setting a key to `undefined` now correctly removes it, including in nested tables and inline tables ([#148]).
|
|
167
|
-
- Patching: Deleting a key from an inline table nested inside an inline array (e.g. `items = [{ name = "x", color = "y" }]`) now works correctly ([#148]).
|
|
168
|
-
|
|
169
|
-
## [1.0.6] - 2026-04-06
|
|
170
|
-
|
|
171
|
-
### Fixed
|
|
172
|
-
- Patching: Support patching multiline inline tables ([#127]).
|
|
173
|
-
- Styling: Respect `inlineTableStart` inside Table Arrays (ie. Array of Tables) ([#144]).
|
|
174
|
-
|
|
175
|
-
## [1.0.5] - 2026-03-17
|
|
176
|
-
|
|
177
|
-
### Fixed
|
|
178
|
-
- Patching: Adding keys to nested inline tables (e.g. `config = { server = { host = "localhost" } }`) now works correctly
|
|
179
|
-
|
|
180
|
-
### Changed
|
|
181
|
-
- Remove circular dependency between `toml-format` and `generate` modules ([#118])
|
|
182
|
-
- Reduce bundle size by deduplicating internal parsing and date-formatting helpers, implementing schema-based validation and shortening error messages ([#122])
|
|
183
|
-
- Improve internal representation handling for faster write performance (~3–4% speedup in benchmarks) by fixing inconsistencies in how positions are tracked internally ([#125])
|
|
184
|
-
|
|
185
|
-
## [1.0.2] - 2026-02-14
|
|
186
|
-
|
|
187
|
-
### Changed
|
|
188
|
-
- Improve stringification performance ([#106])
|
|
189
|
-
|
|
190
|
-
## [1.0.1] - 2026-02-14
|
|
191
|
-
|
|
192
|
-
### Changed
|
|
193
|
-
- Improve parsing and conversion performance ([#105])
|
|
194
|
-
- Better benchmarking ([#104])
|
|
195
|
-
- Migrate benchmarks from CommonJS to ESM modules
|
|
196
|
-
- Improve benchmark output with colored tables and formatted results
|
|
197
|
-
- Support benchmarking multiple package versions with automatic caching (`--versions`)
|
|
198
|
-
- Add CLI filters for benchmarks (`--package`, `--file`, `--example`)
|
|
199
|
-
|
|
200
|
-
### Added
|
|
201
|
-
- Profiling support via `npm run profile` ([#105])
|
|
202
|
-
|
|
203
|
-
## [1.0.0] - 2026-02-12
|
|
204
|
-
|
|
205
|
-
### Changed
|
|
206
|
-
- **BREAKING**: Migrate to ESM-only distribution, removing CommonJS and UMD builds ([#100])
|
|
207
|
-
- Package.json now declares `"type": "module"` and uses a modern `exports` field
|
|
208
|
-
- Single ESM build: `dist/toml-patch.js`
|
|
209
|
-
- Removed: `dist/toml-patch.cjs.min.js`, `dist/toml-patch.umd.min.js`, and all source maps
|
|
210
|
-
- Package size reduced by 90%
|
|
211
|
-
- Node.js 22.12.0+/23.3.0+ can directly `require()` this ESM package
|
|
212
|
-
- Users on older Node.js versions should use dynamic `import()` or stay on v0.x
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
## [0.7.0] - 2026-02-08
|
|
216
|
-
|
|
217
|
-
### Fixed
|
|
218
|
-
- Per official [toml-test](https://github.com/toml-lang/toml-test), return error for invalid TOML inputs (keys, strings, inline tables, tables, date/time, control characters, and newline handling) except for encoding issues ([#94]).
|
|
219
|
-
|
|
220
|
-
## [0.6.0] - 2026-02-01
|
|
221
|
-
|
|
222
|
-
### Added
|
|
223
|
-
- TOML v1.1 support
|
|
224
|
-
|
|
225
|
-
## [0.5.2] - 2026-01-19
|
|
226
|
-
|
|
227
|
-
### Fixed
|
|
228
|
-
- Remove circular reference warning ([#90])
|
|
229
|
-
|
|
230
|
-
## [0.5.1] - 2026-01-18
|
|
231
|
-
|
|
232
|
-
### Added
|
|
233
|
-
- Add CHANGELOG.md
|
|
234
|
-
|
|
235
|
-
### Fixed
|
|
236
|
-
- Fix multiline string handling when patching ([#87])
|
|
237
|
-
- Fix LocalTime timezone parsing issue (2dea07ffd8377ad2aa30678e7025dcbe6753a8e9)
|
|
238
|
-
|
|
239
|
-
## [0.5.0] - 2025-12-26
|
|
240
|
-
|
|
241
|
-
### Added
|
|
242
|
-
- Add `truncateZeroTimeInDates` formatting option for date serialization ([#86])
|
|
243
|
-
|
|
244
|
-
### Changed
|
|
245
|
-
- Update dependency dedent to v1.7.1
|
|
246
|
-
|
|
247
|
-
## [0.4.1] - 2025-12-25
|
|
248
|
-
|
|
249
|
-
### Added
|
|
250
|
-
- Introduce `TomlDocument` class ([#66])
|
|
251
|
-
- Add `TomlFormat` class ([#77])
|
|
252
|
-
- Better Inline vs Multiline Tables formatting ([#79])
|
|
253
|
-
- Handle TOML date formats when patching ([#82])
|
|
254
|
-
|
|
255
|
-
### Fixed
|
|
256
|
-
- Dates will now preserve their formatting when patched
|
|
257
|
-
|
|
258
|
-
### Changed
|
|
259
|
-
- Updated submodules/toml-test digest to b54f9ff
|
|
260
|
-
- Update actions/checkout action to v6
|
|
261
|
-
- Update actions/upload-artifact action to v6
|
|
262
|
-
- Updated Node.js to v24
|
|
263
|
-
- Updated glob to v13
|
|
264
|
-
- Updated rimraf to v6.1.2
|
|
265
|
-
- Updated js-yaml to v4.1.1
|
|
266
|
-
- Updated ts-jest to v29.4.6
|
|
267
|
-
- Updated rollup-plugin-dts to v6.3.0
|
|
268
|
-
- Skipped rollup v4.53.0 due to upstream issues
|
|
269
|
-
|
|
270
|
-
## [0.3.8] - 2025-10-25
|
|
271
|
-
|
|
272
|
-
### Fixed
|
|
273
|
-
- Add roundtrip tests and fix related issues ([#64])
|
|
274
|
-
- Ensure trailing end-of-line (EOL) preservation at the end-of-file (ie. if the original TOML doesn't have any EOL at EOF, don't add one and if there's more than one include them)
|
|
275
|
-
- Fix issues with float values (`Infinity`, `-Infinity`, `NaN`, `-0`)
|
|
276
|
-
- Fix the regular expression for bare TOML keys ensuring correct quoted keys interpretation (`"tater.man"` != `tater.man`)
|
|
277
|
-
- Fix nested inline tables issues
|
|
278
|
-
- Fix ghost offset when TOML has no top-level key/value pairs
|
|
279
|
-
- Fix regex for newline matching
|
|
280
|
-
|
|
281
|
-
### Security
|
|
282
|
-
- Add Socket Free Firewall ([#53])
|
|
283
|
-
|
|
284
|
-
### Changed
|
|
285
|
-
- Updated submodules/toml-test digest to 1d35870
|
|
286
|
-
- Update actions/upload-artifact action to v5
|
|
287
|
-
- Updated rollup to versions up to v4.52.5
|
|
288
|
-
- Updated TypeScript to v5.9.3
|
|
289
|
-
- Updated ts-jest to v29.4.5
|
|
290
|
-
- Updated jest monorepo to v30
|
|
291
|
-
- Updated dedent to v1.7.0
|
|
292
|
-
- Updated js-yaml to v4
|
|
293
|
-
- Updated @rollup/plugin-typescript to v12.3.0
|
|
294
|
-
- Updated actions/setup-node to v6
|
|
295
|
-
- Updated socketdev/action to v1.2.0
|
|
296
|
-
|
|
297
|
-
### Other
|
|
298
|
-
- Expand benchmarks ([#61])
|
|
299
|
-
|
|
300
|
-
## [0.3.7] - 2025-08-20
|
|
301
|
-
|
|
302
|
-
### Added
|
|
303
|
-
- Package is now available on jsr.io: https://jsr.io/@decimalturn/toml-patch
|
|
304
|
-
|
|
305
|
-
### Changed
|
|
306
|
-
- Documentation and package description update
|
|
307
|
-
|
|
308
|
-
## [0.3.3] - 2025-05-10
|
|
309
|
-
|
|
310
|
-
### Fixed
|
|
311
|
-
- Handle key-value vs inline-item mixup ([#4])
|
|
312
|
-
|
|
313
|
-
## [0.3.2] - 2025-04-13
|
|
314
|
-
|
|
315
|
-
### Fixed
|
|
316
|
-
- Fix replacement from Inline-Table to String Value ([#3])
|
|
317
|
-
|
|
318
|
-
## [0.3.1] - 2025-04-12
|
|
319
|
-
|
|
320
|
-
### Fixed
|
|
321
|
-
- Fix inline-table element deletion ([#1])
|
|
322
|
-
- Fix inline-table edition ([#2])
|
|
323
|
-
|
|
324
|
-
## [0.3.0] - 2025-04-12
|
|
325
|
-
|
|
326
|
-
This first forked version from [timhall/toml-patch](https://github.com/timhall/toml-patch):
|
|
327
|
-
|
|
328
|
-
### Added
|
|
329
|
-
- Now available from npm: https://www.npmjs.com/package/@decimalturn/toml-patch
|
|
330
|
-
|
|
331
|
-
### Fixed
|
|
332
|
-
- Fix [timhall/toml-patch#27](https://github.com/timhall/toml-patch/issues/27)
|
|
333
|
-
- Fix [timhall/toml-patch#25](https://github.com/timhall/toml-patch/issues/25)
|
|
334
|
-
- Fix [timhall/toml-patch#10](https://github.com/timhall/toml-patch/issues/10)
|
|
335
|
-
|
|
336
|
-
### Changed
|
|
337
|
-
- Updates dependencies
|
|
338
|
-
- Ensures all latest spec tests from https://github.com/iarna/toml-spec-tests are passing (1880b1a)
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
[#1]: https://github.com/DecimalTurn/toml-patch/pull/1
|
|
342
|
-
[#2]: https://github.com/DecimalTurn/toml-patch/pull/2
|
|
343
|
-
[#3]: https://github.com/DecimalTurn/toml-patch/pull/3
|
|
344
|
-
[#4]: https://github.com/DecimalTurn/toml-patch/pull/4
|
|
345
|
-
[#53]: https://github.com/DecimalTurn/toml-patch/pull/53
|
|
346
|
-
[#61]: https://github.com/DecimalTurn/toml-patch/pull/61
|
|
347
|
-
[#64]: https://github.com/DecimalTurn/toml-patch/pull/64
|
|
348
|
-
[#66]: https://github.com/DecimalTurn/toml-patch/pull/66
|
|
349
|
-
[#77]: https://github.com/DecimalTurn/toml-patch/pull/77
|
|
350
|
-
[#79]: https://github.com/DecimalTurn/toml-patch/pull/79
|
|
351
|
-
[#82]: https://github.com/DecimalTurn/toml-patch/pull/82
|
|
352
|
-
[#86]: https://github.com/DecimalTurn/toml-patch/pull/86
|
|
353
|
-
[#87]: https://github.com/DecimalTurn/toml-patch/pull/87
|
|
354
|
-
[#90]: https://github.com/DecimalTurn/toml-patch/pull/90
|
|
355
|
-
[#94]: https://github.com/DecimalTurn/toml-patch/pull/94
|
|
356
|
-
[#100]: https://github.com/DecimalTurn/toml-patch/pull/100
|
|
357
|
-
[#104]: https://github.com/DecimalTurn/toml-patch/pull/104
|
|
358
|
-
[#105]: https://github.com/DecimalTurn/toml-patch/pull/105
|
|
359
|
-
[#106]: https://github.com/DecimalTurn/toml-patch/pull/106
|
|
360
|
-
[#118]: https://github.com/DecimalTurn/toml-patch/pull/118
|
|
361
|
-
[#122]: https://github.com/DecimalTurn/toml-patch/pull/122
|
|
362
|
-
[#125]: https://github.com/DecimalTurn/toml-patch/pull/125
|
|
363
|
-
[#127]: https://github.com/DecimalTurn/toml-patch/pull/127
|
|
364
|
-
[#131]: https://github.com/DecimalTurn/toml-patch/pull/131
|
|
365
|
-
[#144]: https://github.com/DecimalTurn/toml-patch/pull/144
|
|
366
|
-
[#148]: https://github.com/DecimalTurn/toml-patch/pull/148
|
|
367
|
-
[#153]: https://github.com/DecimalTurn/toml-patch/pull/153
|
|
368
|
-
[#158]: https://github.com/DecimalTurn/toml-patch/pull/158
|
|
369
|
-
[#164]: https://github.com/DecimalTurn/toml-patch/pull/164
|
|
370
|
-
[#165]: https://github.com/DecimalTurn/toml-patch/pull/165
|
|
371
|
-
[#176]: https://github.com/DecimalTurn/toml-patch/pull/176
|
|
372
|
-
[#187]: https://github.com/DecimalTurn/toml-patch/pull/187
|
|
373
|
-
[#189]: https://github.com/DecimalTurn/toml-patch/pull/189
|
|
374
|
-
[#198]: https://github.com/DecimalTurn/toml-patch/pull/198
|
|
375
|
-
[#255]: https://github.com/DecimalTurn/toml-patch/pull/255
|
|
376
|
-
[#253]: https://github.com/DecimalTurn/toml-patch/pull/253
|
|
377
|
-
[#259]: https://github.com/DecimalTurn/toml-patch/pull/259
|
|
378
|
-
[#260]: https://github.com/DecimalTurn/toml-patch/pull/260
|
|
379
|
-
[#261]: https://github.com/DecimalTurn/toml-patch/pull/261
|
|
380
|
-
[#262]: https://github.com/DecimalTurn/toml-patch/issues/262
|
|
381
|
-
[#263]: https://github.com/DecimalTurn/toml-patch/pull/263
|
|
382
|
-
[#264]: https://github.com/DecimalTurn/toml-patch/pull/264
|
|
383
|
-
[#265]: https://github.com/DecimalTurn/toml-patch/pull/265
|
|
384
|
-
[#266]: https://github.com/DecimalTurn/toml-patch/pull/266
|
|
385
|
-
[#267]: https://github.com/DecimalTurn/toml-patch/pull/267
|
|
386
|
-
[#269]: https://github.com/DecimalTurn/toml-patch/pull/269
|
|
387
|
-
[#270]: https://github.com/DecimalTurn/toml-patch/pull/270
|
|
388
|
-
[#271]: https://github.com/DecimalTurn/toml-patch/pull/271
|
|
389
|
-
[#273]: https://github.com/DecimalTurn/toml-patch/pull/273
|
|
390
|
-
[#274]: https://github.com/DecimalTurn/toml-patch/pull/274
|
|
391
|
-
[#276]: https://github.com/DecimalTurn/toml-patch/pull/276
|
|
392
|
-
[#277]: https://github.com/DecimalTurn/toml-patch/pull/277
|
|
393
|
-
[#278]: https://github.com/DecimalTurn/toml-patch/pull/278
|
|
394
|
-
[#280]: https://github.com/DecimalTurn/toml-patch/pull/280
|
|
395
|
-
[#281]: https://github.com/DecimalTurn/toml-patch/pull/281
|
|
396
|
-
[#282]: https://github.com/DecimalTurn/toml-patch/pull/282
|
|
397
|
-
[#288]: https://github.com/DecimalTurn/toml-patch/pull/288
|
|
398
|
-
[#289]: https://github.com/DecimalTurn/toml-patch/pull/289
|
|
399
|
-
[#290]: https://github.com/DecimalTurn/toml-patch/pull/290
|
|
400
|
-
[0e66e68]: https://github.com/DecimalTurn/toml-patch/commit/0e66e68cbf42a07bc44445e46c3ea7bea97f95c1
|