@sdxc/zone-file 0.0.0-pre.1 → 2026.10.9

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -198,7 +198,7 @@ import { unwrap } from "@sdxc/result";
198
198
 
199
199
  function normalize(text: string, origin: string): string {
200
200
  let zone = unwrap(ZoneFile.parse(text, { origin }));
201
- let records = zone.records.toSorted((a, b) => a.name.localeCompare(b.name));
201
+ let records = [...zone.records].sort((a, b) => a.name.localeCompare(b.name));
202
202
  return ZoneFile.stringify({ origin, records }, { relative: true });
203
203
  }
204
204
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdxc/zone-file",
3
- "version": "0.0.0-pre.1",
3
+ "version": "2026.10.9",
4
4
  "description": "Read and write RFC 1035 DNS zone files, with the record data codec for every typed record",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10,7 +10,7 @@
10
10
  "dependencies": {
11
11
  "@sdxc/result": "2026.10.6"
12
12
  },
13
- "gitHead": "1c786b7f150de036687eda373ba05791637b9342",
13
+ "gitHead": "64fa732ed0a8ca8693a35aeef6345ae5be2534ef",
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },