Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

readline-utils

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readline-utils - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

7

index.js

@@ -350,3 +350,8 @@ 'use strict';

utils.breakLines = function(lines, width) {
var regex = new RegExp('(?:(?:\\033[[0-9;]*m)*.?){1,' + width + '}', 'g');
var quantifier = '';
if (width > 1) {
quantifier = '{1,' + width + '}';
}
var regex = new RegExp('(?:(?:\\033[[0-9;]*m)*.?)' + quantifier, 'g');
return lines.map(function(line) {

@@ -353,0 +358,0 @@ var matches = line.match(regex);

2

package.json
{
"name": "readline-utils",
"description": "Readline utils, for moving the cursor, clearing lines, creating a readline interface, and more.",
"version": "2.1.1",
"version": "2.1.2",
"homepage": "https://github.com/enquirer/readline-utils",

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

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