Socket
Socket
Sign inDemoInstall

tailwindcss-line-clamp

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

6

index.js

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

import map from "lodash/map";
const _ = require("lodash");
const plugin = require("tailwindcss/plugin");

@@ -8,3 +8,3 @@ // const getLogger = require("webpack-log");

function lineClamp({ addUtilities, theme, e, variants }) {
const utilities = map(theme("lineClamp"), (value, key) => {
const utilities = _.map(theme("lineClamp"), (value, key) => {
return {

@@ -20,4 +20,2 @@ [`.${e(`clamp-${key}`)}`]: {

// log.info(utilities);
addUtilities(utilities, variants("lineClamp", []));

@@ -24,0 +22,0 @@ },

{
"name": "tailwindcss-line-clamp",
"version": "1.0.1",
"version": "1.0.2",
"description": "Tailwind CSS plugin to generate webkit line clamp utilities",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc