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

@spare/liner

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spare/liner - npm Package Compare versions

Comparing version 0.8.11 to 0.8.12

5

dist/index.cjs.js

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

* @param {number} level - level of indent to each line
* @param {boolean} hover - first and last line void
* @param {boolean} hover - first and last line hang up
* @return {*}

@@ -21,4 +21,3 @@ */

const IND = level > 0 ? enumChars.TB.repeat(level) : '';
let tab;
return hover ? (tab = enumChars.LF + IND + enumChars.TB, `${tab}${lines.join(delim + tab)}${delim + enumChars.LF + IND}`) : (tab = IND + enumChars.TB, `${tab}${lines.join(delim + enumChars.LF + tab)}${delim}`);
return hover ? `${enumChars.LF + IND + enumChars.TB}${lines.join(delim + enumChars.LF + IND + enumChars.TB)}${delim + enumChars.LF + IND}` : `${IND + enumChars.TB}${lines.join(delim + enumChars.LF + IND + enumChars.TB)}${delim}`;
};

@@ -25,0 +24,0 @@ const LINEFEED = /\n/;

@@ -10,3 +10,3 @@ import { br } from '@spare/bracket';

* @param {number} level - level of indent to each line
* @param {boolean} hover - first and last line void
* @param {boolean} hover - first and last line hang up
* @return {*}

@@ -17,4 +17,3 @@ */

const IND = level > 0 ? TB.repeat(level) : '';
let tab;
return hover ? (tab = LF + IND + TB, `${tab}${lines.join(delim + tab)}${delim + LF + IND}`) : (tab = IND + TB, `${tab}${lines.join(delim + LF + tab)}${delim}`);
return hover ? `${LF + IND + TB}${lines.join(delim + LF + IND + TB)}${delim + LF + IND}` : `${IND + TB}${lines.join(delim + LF + IND + TB)}${delim}`;
};

@@ -21,0 +20,0 @@ const LINEFEED = /\n/;

10

package.json
{
"name": "@spare/liner",
"version": "0.8.11",
"version": "0.8.12",
"description": "Join lines together",

@@ -18,5 +18,5 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@spare/bracket": "^0.8.11",
"@spare/enum-brackets": "^0.8.11",
"@spare/enum-chars": "^0.8.11"
"@spare/bracket": "^0.8.12",
"@spare/enum-brackets": "^0.8.12",
"@spare/enum-chars": "^0.8.12"
},

@@ -39,3 +39,3 @@ "repository": {

"homepage": "https://github.com/gadge/spare#readme",
"gitHead": "55af6e8e71f77182f8a023a47342a43327f87d5b"
"gitHead": "33008a9b8b3be11d0ccdfc7bc3075a722e5086f2"
}
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