🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

utilium

Package Overview
Dependencies
Maintainers
0
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utilium - npm Package Compare versions

Comparing version

to
0.8.8

4

dist/shell.js

@@ -1,2 +0,2 @@

function handleData($, data) {
async function handleData($, data) {
if ($.index == -1) {

@@ -54,3 +54,3 @@ $.currentInput = $.input;

$.terminal.write('\r\n');
$.onLine($.input);
await $.onLine($.input);
$.index = -1;

@@ -57,0 +57,0 @@ $.input = '';

{
"name": "utilium",
"version": "0.8.7",
"version": "0.8.8",
"description": "Typescript utilities",

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

@@ -48,3 +48,3 @@ /* A simple wrapper for xterm.js that makes implementing shells easier */

function handleData($: ShellContext, data: string) {
async function handleData($: ShellContext, data: string) {
if ($.index == -1) {

@@ -103,3 +103,3 @@ $.currentInput = $.input;

$.terminal.write('\r\n');
$.onLine($.input);
await $.onLine($.input);
$.index = -1;

@@ -106,0 +106,0 @@ $.input = '';