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

fluid-tailwind

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluid-tailwind - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

12

dist/index.js

@@ -394,3 +394,7 @@ "use strict";

const endBP = resolveBP(_endBP, "end", context, atContainer);
if (!start.unit || start.unit !== end.unit)
if (start.number === 0)
start.unit = end.unit;
else if (end.number === 0)
end.unit = start.unit;
else if (!start.unit || start.unit !== end.unit)
error("mismatched-units", start, end);

@@ -401,3 +405,7 @@ const unit = start.unit;

let comment = `/* fluid from ${start.cssText} at ${startBP.cssText} to ${end.cssText} at ${endBP.cssText}${atContainer ? " (container)" : ""} */`;
if (!startBP.unit || startBP.unit !== endBP.unit) {
if (startBP.number === 0) {
startBP.unit = endBP.unit;
} else if (endBP.number === 0) {
endBP.unit = startBP.unit;
} else if (!startBP.unit || startBP.unit !== endBP.unit) {
if (checkBP)

@@ -404,0 +412,0 @@ error("mismatched-bp-units", startBP, endBP);

4

package.json
{
"name": "fluid-tailwind",
"version": "0.1.3",
"version": "0.1.4",
"main": "dist/index.js",

@@ -26,3 +26,3 @@ "module": "dist/index.mjs",

"test": "bun test",
"build": "tsup src --format esm,cjs --no-splitting --clean",
"build": "tsup src/index.ts --format esm,cjs --no-splitting --clean",
"postbuild": "tsc -p tsconfig.build.json --emitDeclarationOnly",

@@ -29,0 +29,0 @@ "dev": "bun run build --watch",

@@ -1,2 +0,2 @@

[![Fluid for Tailwind CSS](https://fluid.tw/preview.png)](https://fluid.tw)
[![Fluid for Tailwind CSS](https://fluid.tw/preview.webp)](https://fluid.tw)

@@ -3,0 +3,0 @@ A Tailwind plugin to easily generate fluid `clamp()` values with every built-in utility.

Sorry, the diff of this file is not supported yet

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