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

sade

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sade - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

4

lib/utils.js

@@ -1,3 +0,1 @@

const rpad = require('pad-right');
const GAP = 4;

@@ -12,3 +10,3 @@ const __ = ' ';

let len = maxLen( arr.map(x => x[0]) ) + GAP;
let join = a => rpad(a[0], len, ' ') + a[1] + (a[2] == null ? '' : ` (default ${a[2]})`);
let join = a => a[0] + ' '.repeat(len - a[0].length) + a[1] + (a[2] == null ? '' : ` (default ${a[2]})`);
return arr.map(join);

@@ -15,0 +13,0 @@ }

{
"name": "sade",
"version": "1.4.1",
"version": "1.4.2",
"description": "Smooth (CLI) operator 🎶",

@@ -20,4 +20,3 @@ "repository": "lukeed/sade",

"dependencies": {
"mri": "^1.1.0",
"pad-right": "^0.2.2"
"mri": "^1.1.0"
},

@@ -24,0 +23,0 @@ "engines": {

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