markdown-codec 4.1.0 → 4.1.1

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
@@ -69,7 +69,7 @@ pnpm add markdown-codec
69
69
  npm install markdown-codec
70
70
  ```
71
71
 
72
- Published to [npmjs.org](https://www.npmjs.com/package/markdown-codec) via OIDC trusted publishing. `dist/` is committed rather than gitignored a holdover from a pre-publish period when a git-tarball install needed a working build; now a known cleanup.
72
+ Published to [npmjs.org](https://www.npmjs.com/package/markdown-codec) via OIDC trusted publishing. `dist/` is gitignored like every other package's build output: the published tarball carries the release build, and a workspace consumer gets `dist/` from turbo's `^_build` ordering, never from the repository.
73
73
 
74
74
  ## Usage
75
75
 
package/dist/codec.d.cts CHANGED
@@ -84,9 +84,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
84
84
  symbol: z.ZodString;
85
85
  name: z.ZodOptional<z.ZodString>;
86
86
  dimension: z.ZodRecord<z.ZodEnum<{
87
- time: "time";
88
87
  length: "length";
89
88
  mass: "mass";
89
+ time: "time";
90
90
  electricCurrent: "electricCurrent";
91
91
  thermodynamicTemperature: "thermodynamicTemperature";
92
92
  amountOfSubstance: "amountOfSubstance";
@@ -208,9 +208,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
208
208
  symbol: z.ZodString;
209
209
  name: z.ZodOptional<z.ZodString>;
210
210
  dimension: z.ZodRecord<z.ZodEnum<{
211
- time: "time";
212
211
  length: "length";
213
212
  mass: "mass";
213
+ time: "time";
214
214
  electricCurrent: "electricCurrent";
215
215
  thermodynamicTemperature: "thermodynamicTemperature";
216
216
  amountOfSubstance: "amountOfSubstance";
@@ -332,9 +332,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
332
332
  symbol: z.ZodString;
333
333
  name: z.ZodOptional<z.ZodString>;
334
334
  dimension: z.ZodRecord<z.ZodEnum<{
335
- time: "time";
336
335
  length: "length";
337
336
  mass: "mass";
337
+ time: "time";
338
338
  electricCurrent: "electricCurrent";
339
339
  thermodynamicTemperature: "thermodynamicTemperature";
340
340
  amountOfSubstance: "amountOfSubstance";
@@ -456,9 +456,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
456
456
  symbol: z.ZodString;
457
457
  name: z.ZodOptional<z.ZodString>;
458
458
  dimension: z.ZodRecord<z.ZodEnum<{
459
- time: "time";
460
459
  length: "length";
461
460
  mass: "mass";
461
+ time: "time";
462
462
  electricCurrent: "electricCurrent";
463
463
  thermodynamicTemperature: "thermodynamicTemperature";
464
464
  amountOfSubstance: "amountOfSubstance";
@@ -609,9 +609,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
609
609
  symbol: z.ZodString;
610
610
  name: z.ZodOptional<z.ZodString>;
611
611
  dimension: z.ZodRecord<z.ZodEnum<{
612
- time: "time";
613
612
  length: "length";
614
613
  mass: "mass";
614
+ time: "time";
615
615
  electricCurrent: "electricCurrent";
616
616
  thermodynamicTemperature: "thermodynamicTemperature";
617
617
  amountOfSubstance: "amountOfSubstance";
@@ -702,9 +702,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
702
702
  symbol: z.ZodString;
703
703
  name: z.ZodOptional<z.ZodString>;
704
704
  dimension: z.ZodRecord<z.ZodEnum<{
705
- time: "time";
706
705
  length: "length";
707
706
  mass: "mass";
707
+ time: "time";
708
708
  electricCurrent: "electricCurrent";
709
709
  thermodynamicTemperature: "thermodynamicTemperature";
710
710
  amountOfSubstance: "amountOfSubstance";
@@ -825,9 +825,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
825
825
  symbol: z.ZodString;
826
826
  name: z.ZodOptional<z.ZodString>;
827
827
  dimension: z.ZodRecord<z.ZodEnum<{
828
- time: "time";
829
828
  length: "length";
830
829
  mass: "mass";
830
+ time: "time";
831
831
  electricCurrent: "electricCurrent";
832
832
  thermodynamicTemperature: "thermodynamicTemperature";
833
833
  amountOfSubstance: "amountOfSubstance";
@@ -1183,9 +1183,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1183
1183
  symbol: z.ZodString;
1184
1184
  name: z.ZodOptional<z.ZodString>;
1185
1185
  dimension: z.ZodRecord<z.ZodEnum<{
1186
- time: "time";
1187
1186
  length: "length";
1188
1187
  mass: "mass";
1188
+ time: "time";
1189
1189
  electricCurrent: "electricCurrent";
1190
1190
  thermodynamicTemperature: "thermodynamicTemperature";
1191
1191
  amountOfSubstance: "amountOfSubstance";
@@ -1550,9 +1550,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1550
1550
  symbol: z.ZodString;
1551
1551
  name: z.ZodOptional<z.ZodString>;
1552
1552
  dimension: z.ZodRecord<z.ZodEnum<{
1553
- time: "time";
1554
1553
  length: "length";
1555
1554
  mass: "mass";
1555
+ time: "time";
1556
1556
  electricCurrent: "electricCurrent";
1557
1557
  thermodynamicTemperature: "thermodynamicTemperature";
1558
1558
  amountOfSubstance: "amountOfSubstance";
@@ -1636,9 +1636,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1636
1636
  symbol: z.ZodString;
1637
1637
  name: z.ZodOptional<z.ZodString>;
1638
1638
  dimension: z.ZodRecord<z.ZodEnum<{
1639
- time: "time";
1640
1639
  length: "length";
1641
1640
  mass: "mass";
1641
+ time: "time";
1642
1642
  electricCurrent: "electricCurrent";
1643
1643
  thermodynamicTemperature: "thermodynamicTemperature";
1644
1644
  amountOfSubstance: "amountOfSubstance";
package/dist/codec.d.ts CHANGED
@@ -84,9 +84,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
84
84
  symbol: z.ZodString;
85
85
  name: z.ZodOptional<z.ZodString>;
86
86
  dimension: z.ZodRecord<z.ZodEnum<{
87
- time: "time";
88
87
  length: "length";
89
88
  mass: "mass";
89
+ time: "time";
90
90
  electricCurrent: "electricCurrent";
91
91
  thermodynamicTemperature: "thermodynamicTemperature";
92
92
  amountOfSubstance: "amountOfSubstance";
@@ -208,9 +208,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
208
208
  symbol: z.ZodString;
209
209
  name: z.ZodOptional<z.ZodString>;
210
210
  dimension: z.ZodRecord<z.ZodEnum<{
211
- time: "time";
212
211
  length: "length";
213
212
  mass: "mass";
213
+ time: "time";
214
214
  electricCurrent: "electricCurrent";
215
215
  thermodynamicTemperature: "thermodynamicTemperature";
216
216
  amountOfSubstance: "amountOfSubstance";
@@ -332,9 +332,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
332
332
  symbol: z.ZodString;
333
333
  name: z.ZodOptional<z.ZodString>;
334
334
  dimension: z.ZodRecord<z.ZodEnum<{
335
- time: "time";
336
335
  length: "length";
337
336
  mass: "mass";
337
+ time: "time";
338
338
  electricCurrent: "electricCurrent";
339
339
  thermodynamicTemperature: "thermodynamicTemperature";
340
340
  amountOfSubstance: "amountOfSubstance";
@@ -456,9 +456,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
456
456
  symbol: z.ZodString;
457
457
  name: z.ZodOptional<z.ZodString>;
458
458
  dimension: z.ZodRecord<z.ZodEnum<{
459
- time: "time";
460
459
  length: "length";
461
460
  mass: "mass";
461
+ time: "time";
462
462
  electricCurrent: "electricCurrent";
463
463
  thermodynamicTemperature: "thermodynamicTemperature";
464
464
  amountOfSubstance: "amountOfSubstance";
@@ -609,9 +609,9 @@ declare const markdownCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uin
609
609
  symbol: z.ZodString;
610
610
  name: z.ZodOptional<z.ZodString>;
611
611
  dimension: z.ZodRecord<z.ZodEnum<{
612
- time: "time";
613
612
  length: "length";
614
613
  mass: "mass";
614
+ time: "time";
615
615
  electricCurrent: "electricCurrent";
616
616
  thermodynamicTemperature: "thermodynamicTemperature";
617
617
  amountOfSubstance: "amountOfSubstance";
@@ -702,9 +702,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
702
702
  symbol: z.ZodString;
703
703
  name: z.ZodOptional<z.ZodString>;
704
704
  dimension: z.ZodRecord<z.ZodEnum<{
705
- time: "time";
706
705
  length: "length";
707
706
  mass: "mass";
707
+ time: "time";
708
708
  electricCurrent: "electricCurrent";
709
709
  thermodynamicTemperature: "thermodynamicTemperature";
710
710
  amountOfSubstance: "amountOfSubstance";
@@ -825,9 +825,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
825
825
  symbol: z.ZodString;
826
826
  name: z.ZodOptional<z.ZodString>;
827
827
  dimension: z.ZodRecord<z.ZodEnum<{
828
- time: "time";
829
828
  length: "length";
830
829
  mass: "mass";
830
+ time: "time";
831
831
  electricCurrent: "electricCurrent";
832
832
  thermodynamicTemperature: "thermodynamicTemperature";
833
833
  amountOfSubstance: "amountOfSubstance";
@@ -1183,9 +1183,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1183
1183
  symbol: z.ZodString;
1184
1184
  name: z.ZodOptional<z.ZodString>;
1185
1185
  dimension: z.ZodRecord<z.ZodEnum<{
1186
- time: "time";
1187
1186
  length: "length";
1188
1187
  mass: "mass";
1188
+ time: "time";
1189
1189
  electricCurrent: "electricCurrent";
1190
1190
  thermodynamicTemperature: "thermodynamicTemperature";
1191
1191
  amountOfSubstance: "amountOfSubstance";
@@ -1550,9 +1550,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1550
1550
  symbol: z.ZodString;
1551
1551
  name: z.ZodOptional<z.ZodString>;
1552
1552
  dimension: z.ZodRecord<z.ZodEnum<{
1553
- time: "time";
1554
1553
  length: "length";
1555
1554
  mass: "mass";
1555
+ time: "time";
1556
1556
  electricCurrent: "electricCurrent";
1557
1557
  thermodynamicTemperature: "thermodynamicTemperature";
1558
1558
  amountOfSubstance: "amountOfSubstance";
@@ -1636,9 +1636,9 @@ declare const markdownContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffe
1636
1636
  symbol: z.ZodString;
1637
1637
  name: z.ZodOptional<z.ZodString>;
1638
1638
  dimension: z.ZodRecord<z.ZodEnum<{
1639
- time: "time";
1640
1639
  length: "length";
1641
1640
  mass: "mass";
1641
+ time: "time";
1642
1642
  electricCurrent: "electricCurrent";
1643
1643
  thermodynamicTemperature: "thermodynamicTemperature";
1644
1644
  amountOfSubstance: "amountOfSubstance";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-codec",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Hand-written CommonMark+GFM <-> DocumentPackage codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {