Socket
Socket
Sign inDemoInstall

ink

Package Overview
Dependencies
43
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.0 to 2.7.1

6

build/render-node-to-output.js

@@ -41,3 +41,5 @@ "use strict";

const squashTextNodes = node => {
// If parent container is `<Box>`, text nodes will be treated as separate nodes in
if (node.childNodes.length === 0) {
return '';
} // If parent container is `<Box>`, text nodes will be treated as separate nodes in
// the tree and will have their own coordinates in the layout.

@@ -48,2 +50,4 @@ // To ensure text nodes are aligned correctly, take X and Y of the first text node

// so their coordinates will be relative to the first node anyway
const offsetX = node.childNodes[0].yogaNode.getComputedLeft();

@@ -50,0 +54,0 @@ const offsetY = node.childNodes[0].yogaNode.getComputedTop();

2

package.json
{
"name": "ink",
"version": "2.7.0",
"version": "2.7.1",
"description": "React for CLI",

@@ -5,0 +5,0 @@ "license": "MIT",

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