rtf-codec 4.3.0 → 4.4.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/dist/codec.d.cts CHANGED
@@ -897,6 +897,11 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
897
897
  even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
898
898
  first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
899
899
  }, z.core.$strip>>;
900
+ watermarks: z.ZodOptional<z.ZodObject<{
901
+ default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
902
+ even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
903
+ first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
904
+ }, z.core.$strip>>;
900
905
  source: z.ZodOptional<z.ZodObject<{
901
906
  format: z.ZodEnum<{
902
907
  docx: "docx";
package/dist/codec.d.ts CHANGED
@@ -897,6 +897,11 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
897
897
  even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
898
898
  first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
899
899
  }, z.core.$strip>>;
900
+ watermarks: z.ZodOptional<z.ZodObject<{
901
+ default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
902
+ even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
903
+ first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
904
+ }, z.core.$strip>>;
900
905
  source: z.ZodOptional<z.ZodObject<{
901
906
  format: z.ZodEnum<{
902
907
  docx: "docx";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rtf-codec",
3
- "version": "4.3.0",
3
+ "version": "4.4.1",
4
4
  "description": "Hand-written Rich Text Format (RTF 1.9.1) reader and writer against the shared document-schema.js content pivot.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -63,7 +63,7 @@
63
63
  "test:coverage": "turbo run _test:coverage",
64
64
  "_test:coverage": "vitest run --project unit --coverage",
65
65
  "test:mutation": "turbo run _test:mutation",
66
- "_test:mutation": "stryker run stryker.config.mjs",
66
+ "_test:mutation": "stryker run stryker.config.ts",
67
67
  "test:smoke": "turbo run _test:smoke",
68
68
  "_test:smoke": "vitest run --project smoke",
69
69
  "prepare": "husky",
@@ -82,8 +82,8 @@
82
82
  "license": "MIT",
83
83
  "packageManager": "pnpm@11.6.0",
84
84
  "dependencies": {
85
- "archive-codec": "1.10.8",
86
- "document-schema.js": "7.10.0",
85
+ "archive-codec": "1.11.1",
86
+ "document-schema.js": "7.11.1",
87
87
  "zod": "4.4.3"
88
88
  },
89
89
  "devDependencies": {