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

@essex/shellrunner

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@essex/shellrunner - npm Package Compare versions

Comparing version 8.0.0-alpha.11 to 8.0.0-alpha.12

2

lib/log.d.ts

@@ -7,5 +7,3 @@ /*!

import { Job } from './types';
export declare function subtaskFail(text: string): void;
export declare function subtaskSuccess(text: string): void;
export declare function debug(text: string, ...args: any[]): void;
export declare function printJob(job: Job): void;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.printJob = exports.debug = exports.subtaskSuccess = exports.subtaskFail = void 0;
exports.printJob = exports.debug = void 0;
/*!

@@ -11,10 +11,2 @@ * Copyright (c) Microsoft. All rights reserved.

const debugLog = dbg('essex:shellrunner');
function subtaskFail(text) {
console.log(` ✘ ${text}`.red);
}
exports.subtaskFail = subtaskFail;
function subtaskSuccess(text) {
console.log(` ✔ ${text}`.green);
}
exports.subtaskSuccess = subtaskSuccess;
function debug(text,

@@ -21,0 +13,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any

4

lib/strategies/execute.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.execute = void 0;
const getHoistedPath_1 = require("./getHoistedPath");
const build_util_hoister_1 = require("@essex/build-util-hoister");
/* eslint-disable-next-line @typescript-eslint/no-var-requires */

@@ -53,3 +53,3 @@ const spawn = require('cross-spawn');

const stdio = toConsole ? 'inherit' : undefined;
const hoistedPath = getHoistedPath_1.getHoistedPath();
const hoistedPath = build_util_hoister_1.getHoistedPath();
return {

@@ -56,0 +56,0 @@ cwd,

@@ -11,13 +11,6 @@ "use strict";

async function single(job) {
const { exec, id } = job;
const { code } = await execute_1.execute(job);
log.printJob(job);
if (code > 0) {
log.subtaskFail(`${exec}${id ? `[${id}]` : ''} failed`);
}
else {
log.subtaskSuccess(`${exec}${id ? `[${id}]` : ''} passed`);
}
return { code };
}
exports.single = single;
{
"name": "@essex/shellrunner",
"version": "8.0.0-alpha.11",
"version": "8.0.0-alpha.12",
"description": "A set of utility libraries for executing shell commands",

@@ -18,2 +18,3 @@ "main": "lib/index.js",

"dependencies": {
"@essex/build-util-hoister": "^8.0.0-alpha.12",
"colors": "^1.4.0",

@@ -30,3 +31,3 @@ "cross-spawn": "^7.0.3",

},
"gitHead": "a75103991ed3a26f5d061a9606883055a3b22b6c"
"gitHead": "97228ac100cd981fedd72f5785953674dfc8faef"
}

@@ -10,10 +10,2 @@ /*!

export function subtaskFail(text: string): void {
console.log(` ✘ ${text}`.red)
}
export function subtaskSuccess(text: string): void {
console.log(` ✔ ${text}`.green)
}
export function debug(

@@ -20,0 +12,0 @@ text: string,

@@ -6,4 +6,4 @@ /*!

import { SpawnOptions, ChildProcess } from 'child_process'
import { getHoistedPath } from '@essex/build-util-hoister'
import { Job, JobResult } from '../types'
import { getHoistedPath } from './getHoistedPath'

@@ -10,0 +10,0 @@ /* eslint-disable-next-line @typescript-eslint/no-var-requires */

@@ -10,11 +10,5 @@ /*!

export async function single(job: Job): Promise<JobResult> {
const { exec, id } = job
const { code } = await execute(job)
log.printJob(job)
if (code > 0) {
log.subtaskFail(`${exec}${id ? `[${id}]` : ''} failed`)
} else {
log.subtaskSuccess(`${exec}${id ? `[${id}]` : ''} passed`)
}
return { code }
}
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