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

@astrojs/cli-kit

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/cli-kit - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

12

dist/messages/index.js

@@ -14,3 +14,4 @@ import readline from 'node:readline';

process.stdin.off('keypress', done);
process.stdin.setRawMode(false);
if (process.stdin.isTTY)
process.stdin.setRawMode(false);
rl.close();

@@ -31,3 +32,4 @@ cancelled = true;

process.stdin.on('keypress', (str, key) => {
process.stdin.setRawMode(true);
if (process.stdin.isTTY)
process.stdin.setRawMode(true);
const k = action(key, false);

@@ -68,2 +70,4 @@ if (k === 'abort') {

eye = random(eyes);
if (i == 1)
eye = color.redBright(eye);
logUpdate('\n' + face(msg.join(' '), { mouth, eye }));

@@ -76,6 +80,6 @@ if (!cancelled)

await sleep(100);
const text = '\n' + face(_message.join(' '), { mouth: useAscii() ? 'u' : '◡', eye: useAscii() ? '^' : '◠' });
const text = '\n' + face(_message.join(' '), { mouth: useAscii() ? 'u' : i == 1 ? color.red('-') : '◡', eye: useAscii() ? '^' : i == 1 ? color.red('◡') : '◠' });
logUpdate(text);
if (!cancelled)
await sleep(randomBetween(800, 900));
await sleep(randomBetween(1200, 1400));
i++;

@@ -82,0 +86,0 @@ }

{
"name": "@astrojs/cli-kit",
"type": "module",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",

@@ -23,2 +23,6 @@ "types": "./dist/index.d.ts",

],
"repository": {
"type": "git",
"url": "https://github.com/withastro/cli-kit.git"
},
"scripts": {

@@ -25,0 +29,0 @@ "build": "tsc -p ."

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