Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "line-clamp", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Line clamp a DOM element in vanilla JavaScript.", | ||
@@ -5,0 +5,0 @@ "author": "Lim Yuan Qing", |
@@ -8,3 +8,4 @@ # line-clamp [![npm Version](http://img.shields.io/npm/v/line-clamp.svg?style=flat)](https://www.npmjs.com/package/line-clamp) [![Build Status](https://img.shields.io/travis/yuanqing/line-clamp.svg?branch=master&style=flat)](https://travis-ci.org/yuanqing/line-clamp) | ||
- Supports appending a custom string instead of an ellipsis | ||
- Exit if we detect that no truncation is necessary (ie. content does not overflow the element) | ||
- Exit if we detect that content does not actually overflow the element | ||
- 494 bytes gzipped | ||
@@ -11,0 +12,0 @@ ## Usage |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
87
0
113733