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

flex-text

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-text - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

index.js

@@ -20,3 +20,3 @@ (function (root, factory) {

span.style.visibility = 'hidden';
span.style.position = 'absolute';
span.style.position = 'fixed';
span.style.top = '99999999px';

@@ -84,4 +84,5 @@

this.items = [];
this.spacing = options.spacing || 0;
this.setSpacing(options.spacing);
if (options.items && options.items.length) {

@@ -88,0 +89,0 @@ var self = this;

2

package.json
{
"name": "flex-text",
"version": "1.1.0",
"version": "1.1.1",
"description": "Mastering font-size like flexbox!",

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

@@ -63,3 +63,3 @@ # flex-text

### new FlexText(options: object)
### new FlexText([options: object])

@@ -72,2 +72,4 @@ Construct new instance with supported options:

You can set container later by calling `instance#attachTo()`
#### spacing: number

@@ -100,2 +102,6 @@

### instance#attachTo(container: element)
Set the container element.
### instance#addItem(item: object)

@@ -102,0 +108,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