Nathan Woltman

Results 26 comments of Nathan Woltman

Being able to set defaults sounds useful enough that I'd accept a PR that adds the `default` property. Alternatively, you could try running the data through Ajv before using this...

[This test file](https://github.com/nwoltman/srt-to-vtt-cl/blob/master/test/input/subs1.srt) contains lots of apostrophes and it works correctly with that file. Can you provide an example file that causes the issue and tell me what operating system...

`html-to-image` is ignoring SVG classes. Here's the solution: https://github.com/BricksInc/html-to-image/commit/5c52978c13ae1c2071fc5e4d884507b470725162

@whistleEmil I'd consider it a bug. It seems like it was there as a performance optimization but that created the bug, so it makes more sense to remove the optimization.

This workaround patch fixed it for me: https://github.com/BricksInc/html-to-image/commit/1eb95586dda67dfc94e7d3bd1f74615301d1f023

Here's another example that seems like the same issue: [Playground Link](https://www.typescriptlang.org/play/?noImplicitAny=false&target=6&jsx=0&ts=5.9.2&ssl=10&ssc=2&pln=2&pc=1#code/PTAEEkGdIVwUwFygBYBdUAdIJAcwJarIwBGAdAMYD2AtsNQDb4B2yAhhQNaTABeVAE2D5o8HgFYAjOIAsAKHw0MVAE6pQAKlBtIoXqABmK2qABE-AablzqzSOragAvHrL2VLXAAoAlAG4bKjt1EmdXZhgaEjgVXwDUAE8MOFAAZQpkOBodMMTkqgNtUAAfUDy4AtASALkDGGYKVHwg0Aw2FUg4AB5U0DgAD1Q4ZgFddMzsyAA+L0gMrLYkVIAaUAA3JHrOZioAd2YfJF4yKhhMM56p0ABvOVBQFThUGBVmUDmJtjI2jrgvNf8cgAvnIgA) ```ts import * as z from "zod" const a = z.string(); const b = z.number(); type Schemas = typeof...