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

putil-flattentext

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

putil-flattentext - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

8

lib/flattentext.js

@@ -50,4 +50,3 @@ /* putil-flattentext

}
if (k && ['(', '[', ' '].indexOf(pchr) < 0 &&
[')', ']'].indexOf(chr)< 0)
if (k && ['(', '[', ' '].indexOf(pchr) < 0 && [')', ']'].indexOf(chr) < 0)
out += ' ';

@@ -74,4 +73,4 @@

break;
default : {
if (newline) {
default: {
if (newline && chr !== ' ') {
out += fillChar(indent);

@@ -87,2 +86,1 @@ newline = false;

}
{
"name": "putil-flattentext",
"description": "Simple utility that converts manipulate \t \b \r characters and flattens text",
"version": "1.1.1",
"version": "1.1.2",
"author": "Panates Ltd.",

@@ -6,0 +6,0 @@ "contributors": [

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