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

swiss-ak

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiss-ak - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

36

dist/index.js

@@ -283,3 +283,4 @@ var __defProp = Object.defineProperty;

var printLn = (...text) => {
if (process == null ? void 0 : process.stdout) {
var _a, _b;
if (((_a = process == null ? void 0 : process.stdout) == null ? void 0 : _a.clearLine) && ((_b = process == null ? void 0 : process.stdout) == null ? void 0 : _b.cursorTo)) {
if (!text.length) {

@@ -324,17 +325,20 @@ process.stdout.write("\n");

};
var getFullOptions = (opts = {}) => ({
prefix: "",
prefixWidth: 1,
maxWidth: (process == null ? void 0 : process.stdout) ? process.stdout.columns : 100,
chalk: noChalk,
wrapperFn: noWrap,
showCount: true,
showPercent: false,
countWidth: 0,
progChar: "\u2588",
emptyChar: " ",
startChar: "\u2595",
endChar: "\u258F",
...opts
});
var getFullOptions = (opts = {}) => {
var _a;
return {
prefix: "",
prefixWidth: 1,
maxWidth: ((_a = process == null ? void 0 : process.stdout) == null ? void 0 : _a.columns) ? process.stdout.columns : 100,
chalk: noChalk,
wrapperFn: noWrap,
showCount: true,
showPercent: false,
countWidth: 0,
progChar: "\u2588",
emptyChar: " ",
startChar: "\u2595",
endChar: "\u258F",
...opts
};
};
var getProgressBar = (max, options = {}) => {

@@ -341,0 +345,0 @@ const opts = getFullOptions(options);

{
"name": "swiss-ak",
"version": "1.7.0",
"version": "1.7.1",
"author": "Jack Cannon <jackc@annon.co.uk> (http://c.annon.co.uk/)",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -26,3 +26,3 @@ import { noChalk, noWrap } from './fakeChalk';

export const printLn = (...text: any[]) => {
if (process?.stdout) {
if (process?.stdout?.clearLine && process?.stdout?.cursorTo) {
if (!text.length) {

@@ -90,3 +90,3 @@ process.stdout.write('\n');

prefixWidth: 1,
maxWidth: process?.stdout ? process.stdout.columns : 100,
maxWidth: process?.stdout?.columns ? process.stdout.columns : 100,
chalk: noChalk,

@@ -93,0 +93,0 @@ wrapperFn: noWrap,

Sorry, the diff of this file is not supported yet

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