@inf-monkeys-tech/monkeys 1.0.54 → 1.0.55

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/lib/esm/index.mjs CHANGED
@@ -11507,7 +11507,8 @@ var ResolvedThemeTokensSchema = ThemeTokensSchema.superRefine((input, context) =
11507
11507
  var DesignTokenFileSourceSchema = z15.object({
11508
11508
  type: z15.literal("file"),
11509
11509
  path: z15.string().trim().min(1).superRefine((source, context) => {
11510
- if (/^[a-z][a-z\d+.-]*:/i.test(source)) {
11510
+ const isWindowsDrivePath = /^[a-z]:[\\/]/i.test(source);
11511
+ if (!isWindowsDrivePath && /^[a-z][a-z\d+.-]*:/i.test(source)) {
11511
11512
  context.addIssue({
11512
11513
  code: "custom",
11513
11514
  message: "Design token file sources must use local file paths."