Socket
Socket
Sign inDemoInstall

ink

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ink - npm Package Compare versions

Comparing version 2.0.0-4 to 2.0.0-5

6

build/create-renderer.js

@@ -45,3 +45,4 @@ "use strict";

config,
terminalWidth
terminalWidth,
skipStaticElements
});

@@ -96,3 +97,4 @@ node.insertChild(yogaNode, index);

config,
terminalWidth
terminalWidth,
skipStaticElements
});

@@ -99,0 +101,0 @@ node.insertChild(yogaNode, index);

@@ -14,3 +14,3 @@ "use strict";

var _debounceFn = _interopRequireDefault(require("debounce-fn"));
var _lodash = _interopRequireDefault(require("lodash.throttle"));

@@ -83,3 +83,6 @@ var _createReconciler = _interopRequireDefault(require("./create-reconciler"));

const debouncedRender = options.debug ? onRender : (0, _debounceFn.default)(onRender);
const debouncedRender = options.debug ? onRender : (0, _lodash.default)(onRender, 50, {
leading: true,
trailing: true
});
const reconciler = options.stdout._inkReconciler || (0, _createReconciler.default)(document, debouncedRender);

@@ -86,0 +89,0 @@

{
"name": "ink",
"version": "2.0.0-4",
"version": "2.0.0-5",
"description": "React for CLI",

@@ -44,3 +44,3 @@ "license": "MIT",

"cli-cursor": "^2.1.0",
"debounce-fn": "^1.0.0",
"lodash.throttle": "^4.1.1",
"log-update": "^2.3.0",

@@ -47,0 +47,0 @@ "prop-types": "^15.6.2",

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