New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@meetdomaine/tailwind-syrah

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meetdomaine/tailwind-syrah - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

2

package.json
{
"name": "@meetdomaine/tailwind-syrah",
"version": "1.0.12",
"version": "1.0.13",
"description": "A TailwindCSS plugin for Domaine",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -17,10 +17,22 @@ import { z } from "zod";

.filter(([_, value]) => typeof value.mobile !== "string")
.filter(([key]) => key.startsWith("Space/"))
.filter(
([key]) => key.startsWith("Space/") || key.startsWith("Inputs/")
)
);
})
.pipe(z.record(z.string().startsWith("Space/"), ResponsiveValuesSchema))
.pipe(
z.record(
z.string().startsWith("Space/").or(z.string().startsWith("Inputs/")),
ResponsiveValuesSchema
)
)
.transform((data) => {
return Object.fromEntries(
Object.entries(data).map(([key, value]) => [
key.replace("Space/", "").replace(/\s/g, "").toLowerCase(),
key
.replace("Space/", "")
.replace("Inputs/", "")
.replace(/\s/g, "")
.replaceAll("/", "-")
.toLowerCase(),
value,

@@ -90,7 +102,17 @@ ])

.filter(([_, value]) => typeof value.mobile !== "string")
.filter(([key]) => key.startsWith("Border/Radius"))
.filter(
([key]) =>
key.startsWith("Border/Radius") ||
key.startsWith("Inputs/Forms/Radius")
)
);
})
.pipe(
z.record(z.string().startsWith("Border/Radius"), ResponsiveValuesSchema)
z.record(
z
.string()
.startsWith("Border/Radius")
.or(z.string().startsWith("Inputs/Forms/Radius")),
ResponsiveValuesSchema
)
)

@@ -100,3 +122,9 @@ .transform((data) => {

Object.entries(data).map(([key, value]) => [
kebabcase(key.replace("Border/Radius", "").replace(/\s/g, "")),
kebabcase(
key
.replace("Border/Radius", "")
.replace("Inputs/", "")
.replace(/\s/g, "")
.replaceAll("/", "-")
),
value,

@@ -103,0 +131,0 @@ ])

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc