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.2 to 0.8.3

6

dist/index.cjs.js

@@ -10,5 +10,5 @@ 'use strict';

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

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

@@ -6,5 +6,5 @@ import { br } from '@spare/bracket';

const joinLines = (lines, de = '', lv, hover = true) => {
const IND = lv > 0 ? TB.repeat(lv) : '',
LFI = LF + IND;
return hover ? `${LFI + TB}${lines.join(de + LFI + TB)}${de + LFI}` : `${IND + TB}${lines.join(de + LFI + TB)}${de}`;
const IND = lv > 0 ? TB.repeat(lv) : '';
let tab;
return hover ? (tab = LF + IND + TB, `${tab}${lines.join(de + tab)}${de + LF + IND}`) : (tab = IND + TB, `${tab}${lines.join(de + tab)}${de}`);
};

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

{
"name": "@spare/liner",
"version": "0.8.2",
"version": "0.8.3",
"description": "Join lines together",

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

"dependencies": {
"@spare/bracket": "^0.8.2",
"@spare/enum-brackets": "^0.8.2",
"@spare/enum-chars": "^0.8.2"
"@spare/bracket": "^0.8.3",
"@spare/enum-brackets": "^0.8.3",
"@spare/enum-chars": "^0.8.3"
},

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

"homepage": "https://github.com/gadge/spare#readme",
"gitHead": "84194e53475bac97d5593eb2376d14454339229f"
"gitHead": "8b334467f585c2572bfbb78f8400b79f72655256"
}
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